Two new functions added, "update_box <NAME>" will create a new folder that is identical to your master folder, and name it "channels_<NAME>" so it will play to the correct client. "update_box.sh" will go through ALL made boxes and update from gitHub (either master or develop branch, depending on what you want).
The installer has been made a bit more user friendly.
- To install, simply PLACE the installer in the folder you would like to use. You can make it yourself with mkdir, then drop it in there. first_run is still a valid variable, and will make some "pseudo-channel_#" files for you to start
- Input is now accepted as either "develop" or "master" to choose the branch you would like to download from
"master" will download the master branch and install/update
"develop" will download the develop branch and install/update.
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.
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.
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".