Now, there is the ability to run random episodes in a TV series, without ruining your place in the series designation.
To do so, simply edit your xml file so the lines title=<<name of show as usual>>, and the line's type=random.
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.
As pointed out in the original fork of this project through an issue, the modulus in the script has been removed, so commercials longer than an minute will not be passed over. Hopefully, this will not lead to other issues in the commercial injection process.
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".