aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/livestreamer/plugins/ownedtv.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/livestreamer/plugins/ownedtv.py b/src/livestreamer/plugins/ownedtv.py
index b203bb9..0b89745 100644
--- a/src/livestreamer/plugins/ownedtv.py
+++ b/src/livestreamer/plugins/ownedtv.py
@@ -70,11 +70,12 @@ class OwnedTV(Plugin):
name = streamel.getAttribute("label").lower().replace(" ", "_")
playpath = streamel.getAttribute("name")
- streams[name] = {
- "base": base,
- "name": name,
- "playpath": playpath
- }
+ if not name in streams:
+ streams[name] = {
+ "base": base,
+ "name": name,
+ "playpath": playpath
+ }
return streams