Close

livestreamer seems to cause problems

A project log for ISS HDEV image availability

The "High Definition Earth Viewing" experiment onboard the ISS runs a few cameras, but not always. Let's find out when video is available!

christophChristoph 10/22/2016 at 21:070 Comments

Currently, using livestreamer on the Pi to get stream data results in this error:

Traceback (most recent call last):
  File "01_parsepipeline.py", line 195, in <module>
    main()
  File "01_parsepipeline.py", line 172, in main
    streams = livestreamer.streams(url)
  File "/usr/local/lib/python2.7/dist-packages/livestreamer/session.py", line 355, in streams
    return plugin.streams(**params)
  File "/usr/local/lib/python2.7/dist-packages/livestreamer/plugin/plugin.py", line 233, in streams
    ostreams = list(ostreams)
  File "/usr/local/lib/python2.7/dist-packages/livestreamer/plugins/ustreamtv.py", line 550, in _get_live_streams
    streams = self._get_desktop_streams(channel_id)
  File "/usr/local/lib/python2.7/dist-packages/livestreamer/plugins/ustreamtv.py", line 513, in _get_desktop_streams
    provider_url = provider["url"]
KeyError: 'url'
Using the exact same code on my laptop works, kinda.

Discussions