You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[cli][info] Found matching plugin ustreamtv for URL http://www.ustream.tv/channel/xfm-kenya
[cli][info] Available streams: live (worst, best)
[cli][info] Opening stream: live (uhs)
Traceback (most recent call last):
File "/usr/local/bin/livestreamer", line 9, in
load_entry_point('livestreamer==1.12.2', 'console_scripts', 'livestreamer')()
File "/usr/local/lib/python2.7/dist-packages/livestreamer_cli/main.py", line 886, in main
handle_url()
File "/usr/local/lib/python2.7/dist-packages/livestreamer_cli/main.py", line 491, in handle_url
handle_stream(plugin, streams, stream_name)
File "/usr/local/lib/python2.7/dist-packages/livestreamer_cli/main.py", line 378, in handle_stream
success = output_stream(stream)
File "/usr/local/lib/python2.7/dist-packages/livestreamer_cli/main.py", line 245, in output_stream
stream_fd, prebuffer = open_stream(stream)
File "/usr/local/lib/python2.7/dist-packages/livestreamer_cli/main.py", line 222, in open_stream
stream_fd = stream.open()
File "/usr/local/lib/python2.7/dist-packages/livestreamer/plugins/ustreamtv.py", line 403, in open
reader.open()
File "/usr/local/lib/python2.7/dist-packages/livestreamer/stream/segmented.py", line 185, in open
self.worker = self.worker(self)
File "/usr/local/lib/python2.7/dist-packages/livestreamer/plugins/ustreamtv.py", line 257, in init
self.process_module_info()
File "/usr/local/lib/python2.7/dist-packages/livestreamer/plugins/ustreamtv.py", line 310, in process_module_info
self.update_chunk_info(stream)
File "/usr/local/lib/python2.7/dist-packages/livestreamer/plugins/ustreamtv.py", line 319, in update_chunk_info
chunk_range = dict(map(partial(map, int), chunk_range.items()))
ValueError: invalid literal for int() with base 10: 'dc14dae661'
The text was updated successfully, but these errors were encountered:
I'm new to python and new to livestreamer programming, but i've made a change that solves this problem for me. I'm not sure if this is the best solution, but it's what i think the code is trying to do.
running the following command on a raspberry pi:
livestreamer http://www.ustream.tv/channel/xfm-kenya best --p layer omxplayer --fifo
gives the output:
[cli][info] Found matching plugin ustreamtv for URL http://www.ustream.tv/channel/xfm-kenya
[cli][info] Available streams: live (worst, best)
[cli][info] Opening stream: live (uhs)
Traceback (most recent call last):
File "/usr/local/bin/livestreamer", line 9, in
load_entry_point('livestreamer==1.12.2', 'console_scripts', 'livestreamer')()
File "/usr/local/lib/python2.7/dist-packages/livestreamer_cli/main.py", line 886, in main
handle_url()
File "/usr/local/lib/python2.7/dist-packages/livestreamer_cli/main.py", line 491, in handle_url
handle_stream(plugin, streams, stream_name)
File "/usr/local/lib/python2.7/dist-packages/livestreamer_cli/main.py", line 378, in handle_stream
success = output_stream(stream)
File "/usr/local/lib/python2.7/dist-packages/livestreamer_cli/main.py", line 245, in output_stream
stream_fd, prebuffer = open_stream(stream)
File "/usr/local/lib/python2.7/dist-packages/livestreamer_cli/main.py", line 222, in open_stream
stream_fd = stream.open()
File "/usr/local/lib/python2.7/dist-packages/livestreamer/plugins/ustreamtv.py", line 403, in open
reader.open()
File "/usr/local/lib/python2.7/dist-packages/livestreamer/stream/segmented.py", line 185, in open
self.worker = self.worker(self)
File "/usr/local/lib/python2.7/dist-packages/livestreamer/plugins/ustreamtv.py", line 257, in init
self.process_module_info()
File "/usr/local/lib/python2.7/dist-packages/livestreamer/plugins/ustreamtv.py", line 310, in process_module_info
self.update_chunk_info(stream)
File "/usr/local/lib/python2.7/dist-packages/livestreamer/plugins/ustreamtv.py", line 319, in update_chunk_info
chunk_range = dict(map(partial(map, int), chunk_range.items()))
ValueError: invalid literal for int() with base 10: 'dc14dae661'
The text was updated successfully, but these errors were encountered: