Kodi Community Forum
tv show next aired script - new features for skinners - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+---- Forum: Skin helper addons (https://forum.kodi.tv/forumdisplay.php?fid=300)
+---- Thread: tv show next aired script - new features for skinners (/showthread.php?tid=111986)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


- `Black - 2011-10-09

I think I've found that problem... it has to do with adding the same listitem object to multiple containers which seems to cause the focus problem. But there are more problems with shows which are running on multiple days of the week and that's the date which is the same for all days the show is airing because we use the next aired date for that.


- ronie - 2011-10-09

`Black Wrote:I think I've found that problem... it has to do with adding the same listitem object to multiple containers which seems to cause the focus problem. But there are more problems with shows which are running on multiple days of the week and that's the date which is the same for all days the show is airing because we use the next aired date for that.

a possible solution could be to store those shows multiple times in the db.
give them a separate entry for each day the show is aired.


- ronie - 2011-10-09

ronie Wrote:a possible solution could be to store those shows multiple times in the db.
give them a separate entry for each day the show is aired.

edit: scratch that


- eddiem - 2011-10-09

Jezz_X Wrote:Well I just get nothing Sad
Image

Nothing here either, have deleted both *.db files.
http://pastebin.com/zh8C89aT


- Hitcher - 2011-10-09

At least you know what's causing it now.

By the way, I've managed to remove over 1400 lines of code from XeeBo to display the next airing date to TV shows thanks to this update.

Cheers.


- `Black - 2011-10-09

We'll figure this out (I have a solution) but it may take some time. Smile


- ronie - 2011-10-10

eddiem Wrote:Nothing here either, have deleted both *.db files.
http://pastebin.com/zh8C89aT

thanx, found the issue.

tvrage does not list on which day Kommissar Rex is aired.

guess we'll have to adjust the script to ignore those,
since we can't add them to the tv guide if we don't know the weekday.


- eddiem - 2011-10-10

ronie Wrote:thanx, found the issue.

tvrage does not list on which day Kommissar Rex is aired.

guess we'll have to adjust the script to ignore those,
since we can't add them to the tv guide if we don't know the weekday.

Thanks Ronie, moved Kommissar Rex out and working OK.


- ronie - 2011-10-10

Sharpe Wrote:I have a widget on the home screen that used to display the first 4 items in the next aired script that were airing on that particular day.

eg,

Code:
<texture background="true">$INFO[Window(Home).Property(NextAired.1.Showpath)]logo.png</texture>

Code:
<texture background="true">$INFO[Window(Home).Property(NextAired.2.Showpath)]logo.png</texture>

And so on for the first 4 items.

I used various visibility conditions to make sure the correct items were visible even if the scripts first few items were for previous days (ie if the script hadn't been run for a while).

Is there any way to keep this working?

Cheers

ideally the script would provide a list of shows airing today,
without the need for the skin to use all kinds of visible-foo on them.

but to keep that list up-to-date, the script will have to run quite often...
or...at least it should run at midnight, when the day changes

i'll give it some thought :-)


- eddiem - 2011-10-10

Just noticed that if "Enable 16:9 preview thumbs" is selected,
there must be a "landscape.jpg" in series folder.
If not, the "landscape.jpg" of the previously selected show is shown.
There is no fallback to fanart for example.

EDIT. This does not happen in T! svn.


- Sharpe - 2011-10-10

ronie Wrote:ideally the script would provide a list of shows airing today,
without the need for the skin to use all kinds of visible-foo on them.

but to keep that list up-to-date, the script will have to run quite often...
or...at least it should run at midnight, when the day changes

i'll give it some thought :-)

/Appreciate that ronie thanks

I'm thinking just some sort of only display if that particular script item number is airing today condition would do for now. (like it how it used to work below).

Code:
<visible>substring(Window(Home).Property(NextAired.1.Today),true)</visible>

Anyway - no worries.


- Jeroen - 2011-10-10

Nice, I've been wanting to support this script but the amount of work always made me put it off. So, definitely going to take a look at this. Cheers Smile


- ronie - 2011-10-10

mind testing script.tv.show.next.aired-4.0.2.zip ?

it should fix all issues reported so far.


- Tobby - 2011-10-10

ronie Wrote:mind testing script.tv.show.next.aired-4.0.2.zip ?

it should fix all issues reported so far.
How fo you view the list?


- `Black - 2011-10-10

Seems to work now, tested it with Hitcher's next_aired.db... only thing that needs an update is the date if a show has multiple airdays, it's the same now for all days.

Btw. logo downloader 3.0.7 needs a push to the repo, there's still 3.0.6.