chen870647924 / xot-uzg

Automatically exported from code.google.com/p/xot-uzg
0 stars 0 forks source link

Joox.net not working.. #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start script..
2. Hit Joox.net button
3. Pick anything :)

What is the expected output? What do you see instead?

Expected somekind of playing motion picture...
Instead... nothing happens when you select a file...

What version of the product are you using? On what operating system?
2.7.0 on latest BigFoot87 XBMC (28-10)

Please provide any additional information below.

This is from the logfile:

20071109 01:32:09 - INFO     - uriopener.py   - 195 - Url
http://www.joox.net/cat/2/id/1649961 was opened successfully
20071109 01:32:09 - CRITICAL - chn_class.py   - 171 - Error initialising
the Joox.Net Window.
20071109 01:32:09 - CRITICAL - chn_class.py   - 171 - | Traceback (most
recent call last):
20071109 01:32:09 - CRITICAL - chn_class.py   - 171 - |   File
"Q:\scripts\uitzendinggemist\libs\chn_class.py", line 165, in onInit
20071109 01:32:09 - CRITICAL - chn_class.py   - 171 - |    
self.DisplayFolderList(self.listItems, 0)
20071109 01:32:09 - CRITICAL - chn_class.py   - 171 - |   File
"Q:\scripts\uitzendinggemist\libs\chn_class.py", line 597, in DisplayFolderList
20071109 01:32:09 - CRITICAL - chn_class.py   - 171 - |     _item =
self.UpdateVideoItem(self.listItems[position])
20071109 01:32:09 - CRITICAL - chn_class.py   - 171 - |   File
"Q:\scripts\uitzendinggemist\libs\chn_class.py", line 549, in UpdateVideoItem
20071109 01:32:09 - CRITICAL - chn_class.py   - 171 - |     item.mediaurl =
common.DoRegexFindAll(self.mediaUrlRegex, _data)[-1]
20071109 01:32:09 - CRITICAL - chn_class.py   - 171 - | IndexError: list
index out of range
20071109 01:32:09 - DEBUG    - chn_class.py   - 184 - Cancelling and
starting onKeyUpDown timer

Original issue reported on code.google.com by Fre...@gmail.com on 9 Nov 2007 at 7:22

GoogleCodeExporter commented 9 years ago
The Joox.net layout changed a bit. However, I decided to change how the 
MediaUrl is
determined. It is now statically created using the
http://video.stage6.com/________/.divx url-holder.

The new version of XOT will contain the fix. For those who want to use it right 
away
edit the chn_joox.py and 

1. add this line:

item.mediaurl = "http://video.stage6.com/%s/.divx" % (resultSet[2])

AFTER line 173/174: 

item.thumb = self.noImage
item.type = 'video'        

2. And CHANGE 'item.complete = False' to 'item.complete = True'.

It should look like:

Finally it should look like:
---------------------------
item.type = 'video'
item.mediaurl = "http://video.stage6.com/%s/.divx" % (resultSet[2])

# getting the URL is part of the PlayVideo
item.complete = True
return item
---------------------------

Original comment by basrie...@gmail.com on 9 Nov 2007 at 8:40

GoogleCodeExporter commented 9 years ago
Hallo,

Ik heb chn_joox.py ge-edit, maar daarna kreeg ik een LEEG uitzending gemist 
scherm, 
dus zonder de iconen van NL1, etc.(?)
Ik dacht dat er wat mis was met de site, op mijn computer bleek dat dat niet 
het 
geval was, heb de originele chn_joox.py teruggezet, en het werkte weer!?
Ik zou zeggen dat het een niets met het ander te maken zou maken, maar dus wel?

Groet,
Kees

Original comment by cdgbo...@gmail.com on 17 Nov 2007 at 11:33

GoogleCodeExporter commented 9 years ago
Ja dat heeft zeker met elkaar te maken! Er zit waarschijnlijk een fout in je
editting, hierdoor kan het joox.net kanaal niet starten en dus klapt XOT er ook 
uit!
Let er op je indentations (tabs, spaties) niet vergeet, die zijn essentieel! Je 
kan
altijd de logfile nalezen, daarin staat waarschijnlijk wat er fout is. 

Dan nog een opmerking: aangezien hier ook niet NL mensen komen, zou ik het 
graag in
het engels houden. Dus:

In english: When you edit the file, please make sure that the indentations 
(spaces
and tabs) are correct. They are essential for pythonscripts. If it is not 
working,
check the logfile, for details on the error.

Original comment by basrie...@gmail.com on 17 Nov 2007 at 1:32

GoogleCodeExporter commented 9 years ago
Indeed! I replaced 2 TABS with 10 spaces and now it works!
Great!

Original comment by cdgbo...@gmail.com on 17 Nov 2007 at 4:31

GoogleCodeExporter commented 9 years ago
Changed status to Done

Original comment by basrie...@gmail.com on 24 Jun 2012 at 11:42