tv show next aired script - new features for skinners

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
`Black Offline
Team-Kodi Member
Posts: 2,430
Joined: Apr 2009
Reputation: 72
Location: Germany
Post: #31
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.

[Image: xp1080-21.png]
find quote
ronie Offline
Team-Kodi Member
Posts: 9,153
Joined: Jan 2009
Reputation: 157
Post: #32
`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.

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
ronie Offline
Team-Kodi Member
Posts: 9,153
Joined: Jan 2009
Reputation: 157
Post: #33
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

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
eddiem Offline
Senior Member
Posts: 115
Joined: Oct 2010
Reputation: 0
Location: Edinburgh, Scotland
Post: #34
Jezz_X Wrote:Well I just get nothing Sad
[Image: screenshot025gi.png]

Nothing here either, have deleted both *.db files.
http://pastebin.com/zh8C89aT
find quote
Hitcher Offline
Skilled Skinner
Posts: 10,740
Joined: Aug 2007
Reputation: 97
Location: Eastleigh, UK
Post: #35
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.
find quote
`Black Offline
Team-Kodi Member
Posts: 2,430
Joined: Apr 2009
Reputation: 72
Location: Germany
Post: #36
We'll figure this out (I have a solution) but it may take some time. Smile

[Image: xp1080-21.png]
find quote
ronie Offline
Team-Kodi Member
Posts: 9,153
Joined: Jan 2009
Reputation: 157
Post: #37
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.

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
eddiem Offline
Senior Member
Posts: 115
Joined: Oct 2010
Reputation: 0
Location: Edinburgh, Scotland
Post: #38
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.
find quote
ronie Offline
Team-Kodi Member
Posts: 9,153
Joined: Jan 2009
Reputation: 157
Post: #39
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 :-)

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
eddiem Offline
Senior Member
Posts: 115
Joined: Oct 2010
Reputation: 0
Location: Edinburgh, Scotland
Post: #40
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.
(This post was last modified: 2011-10-10 13:32 by eddiem.)
find quote
Sharpe Offline
Skilled Skinner
Posts: 1,026
Joined: Jul 2006
Reputation: 13
Location: North West England
Post: #41
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.
find quote
Jeroen Offline
Skilled Skinner
Posts: 2,498
Joined: Feb 2008
Reputation: 23
Location: The Netherlands
Post: #42
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
find quote
ronie Offline
Team-Kodi Member
Posts: 9,153
Joined: Jan 2009
Reputation: 157
Post: #43
mind testing script.tv.show.next.aired-4.0.2.zip ?

it should fix all issues reported so far.

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
Tobby Offline
Fan
Posts: 457
Joined: Jul 2011
Reputation: 1
Post: #44
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?
find quote
`Black Offline
Team-Kodi Member
Posts: 2,430
Joined: Apr 2009
Reputation: 72
Location: Germany
Post: #45
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.

[Image: xp1080-21.png]
find quote
Post Reply