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 - 2012-01-09

You could set the focus with onload.


- nessus - 2012-01-10

Thanks Balck.
How do i set focus to the same list id but with different visible conditions ?. I've try this but didn't work.
Code:
<onload condition="IsEmpty(Window.Property(Monday))">SetFocus(200)</onload>



- Hitcher - 2012-01-10

The property might be cleared because it's loaded again, maybe set the clearing property to onunload?


- nessus - 2012-01-10

It's already there : <onload>ClearProperty(Monday)</onload>


- Hitcher - 2012-01-10

onunload


- nessus - 2012-01-10

Sorry Hitcher. My bad.

I've added but is not working : <onunload>ClearProperty(Monday)</onunload>

Also i have one minor problem with the animation. What i am doing wrong and my slide animation runs with different speed only the first time ?


- ferent - 2012-01-15

In spanish I can't see the dates:

Image


- ronie - 2012-01-15

ferent Wrote:In spanish I can't see the dates:

Image

should be fixed in the next release of the nextaired addon.


- nessus - 2012-01-20

nessus Wrote:Sorry Hitcher. My bad.

I've added but is not working : <onunload>ClearProperty(Monday)</onunload>

Also i have one minor problem with the animation. What i am doing wrong and my slide animation runs with different speed only the first time ?

bump

anyone have any other ideas ??


- `Black - 2012-01-20

Use ClearProperty(Monday,script-NextAired-TVGuide.xml) on onunload.


- nessus - 2012-01-20

agrrr....!!!.... sorry Black... is not working again.

Maybe this can be done by the script...??... something similar to ActivateWindow versus ReplaceWindow...??


- BigNoid - 2012-01-20

make sure the defaultcontrol isn't set to always="true".


- nessus - 2012-01-20

There is no defaultcontrol in script-NextAired-TVGuide.xml.


- BigNoid - 2012-01-20

Oh right, the default control is handled by the script.


- Pillzbury - 2012-01-22

After upgrading to Eden B2, I get the following error when running an update in NextAired:

Quote:15:29:56 T:1220 ERROR: Traceback (most recent call last):
15:29:56 T:1220 ERROR: File "C:\Users\Da5id Meier\AppData\Roaming\XBMC\addons\script.tv.show.next.aired\default.py", line 52, in get_html_source
15:29:56 T:1220 ERROR: sock = urllib.urlopen(url)
15:29:56 T:1220 ERROR: File "E:\XBMC\system\python\Lib\urllib.py", line 86, in urlopen
15:29:56 T:1220 ERROR: return opener.open(url)
15:29:56 T:1220 ERROR: File "E:\XBMC\system\python\Lib\urllib.py", line 207, in open
15:29:56 T:1220 ERROR: return getattr(self, name)(url)
15:29:56 T:1220 ERROR: File "E:\XBMC\system\python\Lib\urllib.py", line 349, in open_http
15:29:56 T:1220 ERROR: errcode, errmsg, headers = h.getreply()
15:29:56 T:1220 ERROR: File "E:\XBMC\system\python\Lib\httplib.py", line 1064, in getreply
15:29:56 T:1220 ERROR: response = self._conn.getresponse()
15:29:56 T:1220 ERROR: File "E:\XBMC\system\python\Lib\httplib.py", line 990, in getresponse
15:29:56 T:1220 ERROR: response.begin()
15:29:56 T:1220 ERROR: File "E:\XBMC\system\python\Lib\httplib.py", line 391, in begin
15:29:56 T:1220 ERROR: version, status, reason = self._read_status()
15:29:56 T:1220 ERROR: File "E:\XBMC\system\python\Lib\httplib.py", line 349, in _read_status
15:29:56 T:1220 ERROR: line = self.fp.readline()
15:29:56 T:1220 ERROR: File "E:\XBMC\system\python\Lib\socket.py", line 427, in readline
15:29:56 T:1220 ERROR: data = recv(1)
15:29:56 T:1220 ERROR: IOError: [Errno socket error] timed out

Full debug log available here:
http://pastebin.com/Zq2H0Vg2

It seems like tvrage is taking longer than the timeout period to load the pages, but I'm not particularly certain. XBMC is saying it's timing out. Took over 5 minutes to get through 7% of the update.