2014-01-21, 02:52
In /addons/service.skin.widgets/default.py, the "_fetch_tvshows_recommended" method retrieves an unplayed Episode for recently watched Shows.
However, the current implementation just grabs the first Episode it finds with "playcount=0", rather than looking for one AFTER a viewed episode later in the series.
This isn't ideal for shows like "The Colbert Report" or "Late Night" where you may have hundreds of unwatched episodes (that you want to keep unwatched), but are looking for the one that aired last night. (Yes, switching to Recent Episodes gives you that, but then the older series you're watching are unavailable.)
A simple and ideal solution would be to improve the query to retrieve the first "playcount=0" after the Show's most recent "lastplayed" episode.
I took a crack at updating the json queries myself, but wasn't able to add "episodeid > x " to the filter list because the service didn't like "episodeid" as a filter. I played around with adding a third query but couldn't get that to work for some unknown reason and have run out of time.
If anyone can figure out how to do this, I think it would make a nice addition to XBMC, especially the Metropolis skin, which nicely displays these shows on the home screen for easy access.
However, the current implementation just grabs the first Episode it finds with "playcount=0", rather than looking for one AFTER a viewed episode later in the series.
This isn't ideal for shows like "The Colbert Report" or "Late Night" where you may have hundreds of unwatched episodes (that you want to keep unwatched), but are looking for the one that aired last night. (Yes, switching to Recent Episodes gives you that, but then the older series you're watching are unavailable.)
A simple and ideal solution would be to improve the query to retrieve the first "playcount=0" after the Show's most recent "lastplayed" episode.
I took a crack at updating the json queries myself, but wasn't able to add "episodeid > x " to the filter list because the service didn't like "episodeid" as a filter. I played around with adding a third query but couldn't get that to work for some unknown reason and have run out of time.
If anyone can figure out how to do this, I think it would make a nice addition to XBMC, especially the Metropolis skin, which nicely displays these shows on the home screen for easy access.