tv show next aired script - new features for skinners

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
ronie Offline
Team-Kodi Member
Posts: 9,189
Joined: Jan 2009
Reputation: 158
Post: #16
Jezz_X Wrote:Well I just get nothing Sad

* ronie spanks Jezz_X for cluttering up the forum with logs :-)

i'll fix the error, though i'm unsure if it's related to you getting no results.

full Debug Log on pastebin please ;-p

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
Sharpe Offline
Skilled Skinner
Posts: 1,029
Joined: Jul 2006
Reputation: 13
Location: North West England
Post: #17
ronie Wrote:i'd like to remove all NextAired.%d.Today labels, unless are still needed for some reason of course.

i have no clue in what ways skins are currently using the info provided by next aired, so if the new labels aren't sufficient, let me know.

you can now do
Code:
<visible>substring(Window(Home).Property(NextAired.Today),true)</visible>
on the focused listitem...if that's what you mean Smile

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
find quote
BigNoid Offline
Team-Kodi Member
Posts: 3,138
Joined: Jul 2010
Reputation: 101
Location: Below sea level
Post: #18
ronie Wrote:yes please.



the readme might not be entirely clear on this i guess,
but for totals use:
Window(Home).Property(NextAired.TodayTotal)

in case you're already using that, let me know and i'll have a closer look.

here you go. I was indeed using that. It literally returned a 0.
find quote
`Black Offline
Team-Kodi Member
Posts: 2,434
Joined: Apr 2009
Reputation: 72
Location: Germany
Post: #19
Just tested on Confluence with mouse and everything is fine here, no problems. Hitchers results are indeed a little weird, I would say the same, delete canceled.db & next_aired.db, then try again.

Another important thing is to use a very recent nightly build, this is maybe missing in the readme!

[Image: xp1080-21.png]
find quote
ronie Offline
Team-Kodi Member
Posts: 9,189
Joined: Jan 2009
Reputation: 158
Post: #20
humferier Wrote:2 bugs :
- 2 shows have the correct date but displayed on wrong day (red ellipse)

this can be either a script fault or it could be due to incorrect info listed at tvrage.com

could you give me the names of those 2 shows?

humferier Wrote:- 3 shows airing today, none at total (green ellipse)

hmm...will have a look-see at 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
humferier Offline
Member
Posts: 92
Joined: Oct 2009
Reputation: 4
Location: Belgium
Post: #21
eddiem Wrote:These days and dates come from TVRage.
New Girl: normal air day is Tuesday.
http://www.tvrage.com/The_New_Girl

i deleted the next_aired.db and that correct the error with "new girl", the second one ( "The Penguins of Madagascar" ) the error is on tvrage.com

My name is Erier, Humf Erier
[Image: double0smile.gif]
find quote
`Black Offline
Team-Kodi Member
Posts: 2,434
Joined: Apr 2009
Reputation: 72
Location: Germany
Post: #22
ronie Wrote:hmm...will have a look-see at that.

I've found the problem for that, will commit it to svn.

[Image: xp1080-21.png]
find quote
ronie Offline
Team-Kodi Member
Posts: 9,189
Joined: Jan 2009
Reputation: 158
Post: #23
Big_Noid Wrote:here you go. I was indeed using that. It literally returned a 0.

cheers for Debug Log, the error in there can be ignored.

^ 'Black has a fix pending for the incorrect TodayTotal

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
defluo Offline
Senior Member
Posts: 106
Joined: Aug 2010
Reputation: 2
Post: #24
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

Yes I also had something like this on my home screen. If there was a way to get it back that would be awesome. But the changes you've made are all great

TV LG 50PJ350 50 inch HDTV
Receiver Sony STRDH520 7.1
HTPC 1 Custom built 8GB 64GB SSD 250GB SATA Win 7 x64, VRC 1100 remote, AMBX lighting HTPC 2 TV LG 32LK330U 32 inch HDTV HTPC eMachines ER1401 2GB RAM 250GB HDD Win 7 x64
Server Custom built 6GB RAM, 7.5TB total storage, Sickbeard, SABnzbd+, CouchPotato
XBMC Frodo, Aeon Nox 4
find quote
Hitcher Offline
Skilled Skinner
Posts: 10,778
Joined: Aug 2007
Reputation: 100
Location: Eastleigh, UK
Post: #25
`Black Wrote:@Hitcher
I'll fix that, never tested with mouse. Smile
I just used the mouse to highlight what had focus.
ronie Wrote:you've got some pretty weird results Smile

what skin are you running this on?

mind posting your nextaired db so i can try to reproduce?
(..\userdata\addon_data\script.tv.show.next.aired\next_aired.db)
Originally Precession but I just deleted the databases and ran it again on Confluence - same results.

canceled.db

next_aired.db

Also, they can't be opened with SQLiteSpy.
find quote
`Black Offline
Team-Kodi Member
Posts: 2,434
Joined: Apr 2009
Reputation: 72
Location: Germany
Post: #26
The .db files are just plain text. Smile

[Image: xp1080-21.png]
find quote
ronie Offline
Team-Kodi Member
Posts: 9,189
Joined: Jan 2009
Reputation: 158
Post: #27
Hitcher Wrote:canceled.db

next_aired.db

Also, they can't be opened with SQLiteSpy.

they're just plain text files ;-)

thanx, let's see what i get with those.

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
Hitcher Offline
Skilled Skinner
Posts: 10,778
Joined: Aug 2007
Reputation: 100
Location: Eastleigh, UK
Post: #28
ronie Wrote:they're just plain text files ;-)

Doh.

Cheers.
find quote
BigNoid Offline
Team-Kodi Member
Posts: 3,138
Joined: Jul 2010
Reputation: 101
Location: Below sea level
Post: #29
@ ronie and `Black: any chance of making the canceled/ended shows available to backend mode of the script?
find quote
ronie Offline
Team-Kodi Member
Posts: 9,189
Joined: Jan 2009
Reputation: 158
Post: #30
Hitcher Wrote:Doh.

Cheers.

can reproduce.

looks like the script is chocking on shows that are aired several times a week.

Quote:'Airtime': 'Thursday, Friday at 04:35 pm'

i thought we had that one fixed, but apparently not.

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
Post Reply