veveykocute / xot-uzg

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

URPlay.se no program listed... #413

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
URPlay have change layout and no program are listed. I can see this is the log 
file "HTTPError: HTTP Error 404: Not Found"

Original issue reported on code.google.com by jagflash...@gmail.com on 9 Feb 2013 at 7:11

Attachments:

GoogleCodeExporter commented 8 years ago
the site layout changed. will work on it after I fix a Dutch channel.

Original comment by basrie...@gmail.com on 9 Feb 2013 at 8:07

GoogleCodeExporter commented 8 years ago

Original comment by basrie...@gmail.com on 10 Feb 2013 at 10:52

GoogleCodeExporter commented 8 years ago
Please try the attached updated channel and let me know. As far as I could test 
(not all streams are available in The Netherlands) it seems to work.

Original comment by basrie...@gmail.com on 10 Feb 2013 at 9:53

Attachments:

GoogleCodeExporter commented 8 years ago
Working!

Original comment by jagflash...@gmail.com on 10 Feb 2013 at 11:37

GoogleCodeExporter commented 8 years ago
Good work!

Mostly working, there's just a problem when loading subtitles for programs with 
subtitles in more than one language.

See error messages in attached log file.

On line 206 in chn_urplay.py "subtitles" can be multiple URLs separated by 
comma. Just split on comma and use the first one, that's the default usually 
Swedish. "subtitle_labels" contains the names of the languages for each 
subtitle file separated by comma, same order as URLs.
Is it possible for the user to select subtitle language if there are more than 
one?

On line 184 you don't have to hardcode the URL for the loadbalancer. It's 
available in the json data you're fetching as json.GetValue("streaming_config", 
"loadbalancer")

On line 213 maybe should be an "else if" and use fileMobile on line 214, but 
file_flash should be the first choice. file_flash is 900 kbps and file_mobile 
is 700 kbps baseline encoded.

Soon there will be a flag (true/false) if the stream is only available in Sweden
json.GetValue("only_in_sweden"), you can also determine that if the video file 
name starts with "se/"

Let me know if you need any more tips.

Original comment by jo...@beroni.us on 11 Feb 2013 at 8:13

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for the feedback Johan. I will certainly make those changes (the proxy 
change was already in my local code)

Original comment by basrie...@gmail.com on 11 Feb 2013 at 8:16

GoogleCodeExporter commented 8 years ago
About the bitrates: I keep all of them and then let the user determine the 
maximum allowed bitrate and select that stream. 

Original comment by basrie...@gmail.com on 11 Feb 2013 at 8:24

GoogleCodeExporter commented 8 years ago
Fixed in the net.rieter.xot.channel.se-3.3.3.1 update.

Original comment by basrie...@gmail.com on 11 Feb 2013 at 9:32

GoogleCodeExporter commented 8 years ago
Included in net.rieter.xot-3.3.4

Original comment by basrie...@gmail.com on 23 Mar 2013 at 7:43

GoogleCodeExporter commented 8 years ago

Original comment by basrie...@gmail.com on 23 Mar 2013 at 7:44