2014-02-12, 23:39
Hi, folks! The Next Aired script has been updated to v6.0.x to provide better performance and fix a bunch of bugs. This should take care of the slow updating that everyone was seeing and make the 7-day Guide view much more accurate. To do all this I switched the scraping over to using TheTVDB as its data source. It makes use of the update zip files to efficiently grab only shows that have changes, so it can update more frequently during the day (by default it checks every 8 hours) as well as updating when the user enters the guide display (also defaults to 8 hours).
I've taken over as maintainer from ronie, in order to make a variety of improvements, such as allowing skins to show more upcoming guide info and also improving the translation support.
Here are some improvements that you may notice:
The end result is now in the addons, so anyone with this installed should have it by now. I'm also continuing to make my latest work available via zip file, so if you want to try any new features I mention later in this thread, snag the beta zip file and either unzip it into the XBMC/addons dir over the current code or use the menu prompts to install from zip. The file will include a unique 8-character string (right before the .zip suffix) for each changed version in order to work around a bug in the xbmc zip installer. If you use wget, be sure to use the --trust-server-names option if you plan to install the file via xbmc.
After installation, you should exit XBMC and start it up again so that the background updating process gets going on the new code (assuming that your skin starts it up).
If you're interested in helping out with the coding/fixing, feel free to check out the code's git repo.
This thread started out as a WIP discussion of the 6.0.0 version, as seen in the first comments below. Enjoy!
..wayne..
I've taken over as maintainer from ronie, in order to make a variety of improvements, such as allowing skins to show more upcoming guide info and also improving the translation support.
Here are some improvements that you may notice:
- There is now a Today-week guide that shows the upcoming shows beginning with today (or even yesterday) instead of the default Monday-Sunday guide.
- You can choose to display more upcoming shows than just 7 days (including today). The Monday-week guide can also display 14 days (with next week's shows at the end of each day's list. The Today-week guide can display 15 upcoming days (Today + 2 weeks) plus the option of including Yesterday in the list.
- The TV Guide now uses actual future episodes for displaying a show name on a particular date (not the former "normally appears on these days" info), so each day that has a show visible has real data behind it.
- A show with multiple shows per week will display each show's unique info (title, episode num, etc.) rather than only showing the one next episode's info. (This does not include broadcast time, which is a per-show item in the available data, not per episode.)
- A show can appear multiple times per day if there are going to be multiple shows that day.
- Updating should be much faster. For instance, it typically takes my computer about 5 seconds to do an update after an 8 hour wait.
- Since updating is more efficient, it occurs more frequently -- every 8 hours by default (see the settings to change this). The update times are elapsed times (not fixed at a particular hour and minute) which should help to distribute the updating over a wider range of times (the old code used to update most people at their local midnight hour).
- A failure to grab updates does not cause shows to vanish from the list (which seemed to happen a lot before).
- The way that dates get displayed for the future episodes can be a little more friendly now, with the day-of-the-week included and the current year omitted. This is particularly nice for a skin that shows next-show info as you visit a show's folder. Some examples (these in the US English form): "Sat, Feb 1" or "Tue, Dec 31, 2013". To see dates like this you need to enable it in the settings.
- Changing the update values in the settings now affects the running background-updating process w/o needing to restart xbmc.
- The GUI will now notice if the background updater is doing an update and just wait for it to finish (if it was time for a GUI-proc initiated update). (The older code would do multiple simultaneous updates in such a situation.)
- Switching users no longer results in a proliferation of extra background update processes (which would all do redundant update work at the same time in the old code).
- If the addon updates, the old background updater is stopped and a new one started.
- The Status field is more limited than before, though I improve the 3 values that TheTVDB provides (empty, Continuing, Ended) and try to intuit a few more based on the show's data. See the README.txt for the shorter list.
The end result is now in the addons, so anyone with this installed should have it by now. I'm also continuing to make my latest work available via zip file, so if you want to try any new features I mention later in this thread, snag the beta zip file and either unzip it into the XBMC/addons dir over the current code or use the menu prompts to install from zip. The file will include a unique 8-character string (right before the .zip suffix) for each changed version in order to work around a bug in the xbmc zip installer. If you use wget, be sure to use the --trust-server-names option if you plan to install the file via xbmc.
After installation, you should exit XBMC and start it up again so that the background updating process gets going on the new code (assuming that your skin starts it up).
If you're interested in helping out with the coding/fixing, feel free to check out the code's git repo.
This thread started out as a WIP discussion of the 6.0.0 version, as seen in the first comments below. Enjoy!
..wayne..