In the --last-episode/-le function to manually set the last scheduled episode in the database for any show or playlist, the ability to use the unique plex id (ratingKey in the API, or the unique digits near the end (before the Plex Token) of the URL when going from File Info -> View XML Data on an episode page within Plex) instead of season and episode numbers. This better allows support for this function with Playlists, which may have multiple files with the same season and episode numbers.
Updated metadata filtering to use locally stored data
Updated database scans to download metadata to local database on update
Added rerun mode, random show sequential episode mode, range of ratings filtering and episode air date filtering
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.
Users pointed out that there was an issue where the strict_time entries were still creating 24 hr sets of commercials. This issue has been fixed; if there is an issue of overlap with strict time, no commercials will be played as expected.
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.
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".