diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vdr-plugin/webvideo.c | 2 | ||||
-rw-r--r-- | src/webvicli/webvicli/client.py | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/vdr-plugin/webvideo.c b/src/vdr-plugin/webvideo.c index 90e018a..002c58d 100644 --- a/src/vdr-plugin/webvideo.c +++ b/src/vdr-plugin/webvideo.c @@ -254,6 +254,8 @@ void cPluginWebvideo::HandleFinishedRequests(void) streamurl = req->GetResponse(); if (streamurl[0] == '\0') Skins.Message(mtError, tr("Streaming failed: no URL")); + else if (strncmp(streamurl, "wvt://", 6) == 0) + Skins.Message(mtError, tr("Streaming not supported, try downloading")); else if (!StartStreaming(streamurl)) Skins.Message(mtError, tr("Failed to launch media player")); break; diff --git a/src/webvicli/webvicli/client.py b/src/webvicli/webvicli/client.py index 6618ec3..c1fd1d1 100644 --- a/src/webvicli/webvicli/client.py +++ b/src/webvicli/webvicli/client.py @@ -437,6 +437,10 @@ class WVClient: print 'Did not find URL' return False + if streamurl.startswith('wvt://'): + print 'Streaming not supported, try downloading' + return False + # Found url, now find a working media player for player in self.streamplayers: if '%s' not in player: |