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


- ronie - 2011-10-09

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


- Sharpe - 2011-10-09

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


- BigNoid - 2011-10-09

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.


- `Black - 2011-10-09

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!


- ronie - 2011-10-09

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.


- humferier - 2011-10-09

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


- `Black - 2011-10-09

ronie Wrote:hmm...will have a look-see at that.

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


- ronie - 2011-10-09

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


- defluo - 2011-10-09

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


- Hitcher - 2011-10-09

`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.


- `Black - 2011-10-09

The .db files are just plain text. Smile


- ronie - 2011-10-09

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.


- Hitcher - 2011-10-09

ronie Wrote:they're just plain text files ;-)

Doh.

Cheers.


- BigNoid - 2011-10-09

@ ronie and `Black: any chance of making the canceled/ended shows available to backend mode of the script?


- ronie - 2011-10-09

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.