-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
strict_time="False" shows are piling up #69
Comments
@mutto233 I haven't run into this issue. |
@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 due to having a lot of shows scheduled each day. What is even weirder is running with -xml then -g you get a "get_start_time" error returned, but run it again in 5-10 minutes and there are no problems at all. |
So I have been looking into this issue, and I think I have a lead. Looking into the calculate_start_time function, I noticed (unsurprisingly) that midnight is an issue again. It seems like if a show intended start time and previous end time fall on opposite ends of midnight, it causes one of the variables to behave incorrectly. This causes the start time to actually just break in error, and simply repeat the previous show's start time. There are two "stupid" fixes at present. Either just start a show right at midnight and force it to start then, OR put a REALLY long show to cross over midnight so there is no issue with the crossover. I will try to look into a fix for this when I can. EDIT: I have actually found a pretty good fix to the problem and incorporated it into my PseudoChannel.py script. It is uploaded to my fork of the project. Would love others to test. |
When running the schedule generation, I am having the issue of pile up around midnight of certain shows.
When setting up my .xml file, I am careful not to put shows too close together (cartoons 30 mins apart, movies 2 hrs apart), but for some reason on certain channels the generator likes to schedule almost 5 shows at 11:30PM. If I take away approximately 2 hours of shows, this problem seems to go away however.
Is this just an issue of scheduling too many shows in a day?
The text was updated successfully, but these errors were encountered: