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.
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).
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.
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.
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.
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.
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.