In an effort to update this code to fit standards of Python3, changes have been made to code allowing it to run.
NOTE: At this point the basics have been tested. i.e. -g -xml -u -m -r in that order. More extensive testing should occur before we throw this to master.
New feature! Now, if your directory is named "channels_<NAME>" your script will override and always play to the client <NAME>. This is going to be helpful for when we add mutli-box support.
Modifications were made to allow for commercials to be generated for the last show before midnight. This had been an issue in the past, and should be fixed with this update.
Further modifications were also made to the -m flag script, hopefully removing the issues surrounding multiple items being declared running.
Bug reports were coming in where like-named shows were not all being played.
This fix attempts to solve the problem, by checking show title AND duration. This ensures that you find exactly the right thing to play.
The fix has also been translated to the website creation as well, so the correct artwork will be portrayed for each movie/show.
Before making changes to the update-channels-from-git.sh file, I wanted to have everything stored in such a way that it made logical sense where it went.
Anything that goes to the root folder is in "main-dir", channel specific files are in "channel-dir", and the files for both sections are in "both-dir". These directories will eventually be referenced in the new version of "update-channels-from-git.sh".