mutto233

Results 11 comments of mutto233

So the issue falls to how the code interacts with the actual server. At present, that is all handled behind the scenes by plexapi. Plexapi does all the "heavy lifting"...

Hmm looks interesting! Then it may be possible. Though it would take some time to learn how to use it, then implement it.

ahh, this actually makes sense looking at the code. The problem falls to the following line: `random_commercial_dur_seconds = (int(random_commercial[4])/1000)%60` Notice the modulus operator? This means that any time you surpass...

this function actually isn't looking through "everything" per-say. It is actually simpler than that, and its whole purpose is just to find a commercial that is longer than the shortest...

it makes me wonder @justinemter if that specific function (get_commercial) is a "legacy" function that isn't really being used anymore. I bet if I go back and check all the...

Not a problem; this project has helped me cut the chord and will be saving me a lot of money over the course of just the next few months! So...

gotcha. Well if thats the case, I will keep that change in my fork. I have removed the modulus, so hopefully this won't be an issue for the near future.

@bud86 I suggest checking out my fork to see some more changes that have been made. If not interested in that, simply comment out the modulus part of the script...

Here is my guess. @justinemter has commercials that are long but their modulus just HAPPENS to fall in that range. So this bug was never noticed. We have noticed it...

@justinemter It is something that has popped up only recently as I try to actually schedule a set of channels for most of the day. I believe it is mostly...