To follow the changes made for the individual PseudoChannel.py file, now the global database update can be done for only certain sections. This is accomplished with -um, -utv, and -uc.
At the request of some, I have modified the Global_DatabaseUpdate file to import the previous database's daily_schedule.
NOTE: If you end up experiencing issues with your shows playing, this may be because your new database does not have the resources to play the listed shows. May be time to run -g at that point.
Initial testing pointed out a bug where if the movies or tv shows library was not defined in the config dictionary, and made it so not defining it would return a "blank" set of libraries for that given channel, as expected.
Issues were occurring where manual.sh could not accept incorrect channel input. Now, if an invalid channel is input, you will simply be diverted to your first channel. This can be changed later in many ways, one of which is to simply kill the script; I did not choose this since going to channel 1 kind of serves as an "error report" since you didn't make it to the channel you requested.
In an effort to make this easier to install/repair, I have changed the procedure of the update-channels-from-git.sh file.
This now takes on the form of an "installer" which will move any files that are currently on GitHub to their corrsponding sections (main-dir, channel-dir, or both-dir). NOTE: this will NOT overwrite files you have made on your own to customize, and all databases, xml files, config files, and tokens will be preserved.
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".