Skip to content

Commit

Permalink
plugin: added media_ccc_de api and protocol changes
Browse files Browse the repository at this point in the history
* the media.ccc.de url scheme was changed after upgrading to a new frontend
* streaming.media.ccc.de supports also https
  • Loading branch information
meise committed Oct 31, 2015
1 parent 8dd6a69 commit ad38446
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/livestreamer/plugins/media_ccc_de.py
Expand Up @@ -26,15 +26,15 @@
from livestreamer.stream import HTTPStream, HLSStream

API_URL_MEDIA = "https://api.media.ccc.de"
API_URL_STREAMING_MEDIA = "http://streaming.media.ccc.de/streams/v1.json"
API_URL_STREAMING_MEDIA = "https://streaming.media.ccc.de/streams/v1.json"

# http(s)://media.ccc.de/path/to/talk.html
_url_media_re = re.compile("(?P<scheme>http|https)"
":\/\/"
"(?P<server>media\.ccc\.de)"
"\/.*\.html")
# http://streaming.media.ccc.de/room/
_url_streaming_media_re = re.compile("(?P<scheme>http)"
"\/")
# https://streaming.media.ccc.de/room/
_url_streaming_media_re = re.compile("(?P<scheme>http|https)"
":\/\/"
"(?P<server>streaming\.media\.ccc\.de)"
"\/"
Expand Down

0 comments on commit ad38446

Please sign in to comment.