LoremPizza commited on
Commit
6bb8265
·
verified ·
1 Parent(s): abe9e9a

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +10 -13
run.py CHANGED
@@ -48,26 +48,22 @@ STREAM = {
48
  {
49
  "id": "la7",
50
  "title": "LA7",
 
 
51
  "url": "https://d3749synfikwkv.cloudfront.net/v1/master/3722c60a815c199d9c0ef36c5b73da68a62b09d1/cc-74ylxpgd78bpb/Live.m3u8"
52
  },
53
  {
54
  "id": "rai1",
55
  "title": "Rai 1",
56
- "name": "FULL HD",
57
- "url": "http://173.208.52.200/rai1/index.m3u8",
58
- "behaviorHints": {
59
- "notWebReady": True,
60
- "proxyHeaders": {
61
- "request": {
62
- "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"
63
- }
64
- }
65
- }
66
  },
67
  {
68
  "id": "rai2",
69
  "title": "Rai 2",
70
- "name": "FULL HD",
 
71
  "url": "http://173.208.52.200/rai2/index.m3u8"
72
  }
73
  ]
@@ -75,6 +71,7 @@ STREAM = {
75
 
76
 
77
 
 
78
  okru = {
79
  "rai1": "https://ok.ru/videoembed/7703488765552?nochat=1",
80
  "rai2": "https://ok.ru/videoembed/7805618364016?nochat=1"
@@ -107,7 +104,7 @@ def addon_catalog(type, id):
107
  "id": channel["id"],
108
  "type": "tv",
109
  "name": channel["title"],
110
- "poster": "", # Add poster URL if available
111
  "description": f"Watch {channel['title']}"
112
  })
113
 
@@ -124,7 +121,7 @@ def addon_meta(type, id):
124
  "id": id,
125
  "type": "tv",
126
  "name": channel["title"],
127
- "poster": "", # Add poster URL if available
128
  "description": f"Watch {channel['title']}",
129
  "background": "", # Add background image URL if available
130
  "logo": "", # Add logo URL if available
 
48
  {
49
  "id": "la7",
50
  "title": "LA7",
51
+ "name": "LA7",
52
+ "poster": "https://static.wikia.nocookie.net/logopedia/images/0/02/LA7_-_Logo_2011.svg/revision/latest?cb=20190728152519",
53
  "url": "https://d3749synfikwkv.cloudfront.net/v1/master/3722c60a815c199d9c0ef36c5b73da68a62b09d1/cc-74ylxpgd78bpb/Live.m3u8"
54
  },
55
  {
56
  "id": "rai1",
57
  "title": "Rai 1",
58
+ "name": "Full HD",
59
+ "poster": "https://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Rai_1_-_Logo_2016.svg/1280px-Rai_1_-_Logo_2016.svg.png",
60
+ "url": "http://173.208.52.200/rai1/index.m3u8"
 
 
 
 
 
 
 
61
  },
62
  {
63
  "id": "rai2",
64
  "title": "Rai 2",
65
+ "name": "Full HD",
66
+ "poster": "https://upload.wikimedia.org/wikipedia/commons/thumb/9/99/Rai_2_-_Logo_2016.svg/1280px-Rai_2_-_Logo_2016.svg.png",
67
  "url": "http://173.208.52.200/rai2/index.m3u8"
68
  }
69
  ]
 
71
 
72
 
73
 
74
+
75
  okru = {
76
  "rai1": "https://ok.ru/videoembed/7703488765552?nochat=1",
77
  "rai2": "https://ok.ru/videoembed/7805618364016?nochat=1"
 
104
  "id": channel["id"],
105
  "type": "tv",
106
  "name": channel["title"],
107
+ "poster": channel["poster"], # Add poster URL if available
108
  "description": f"Watch {channel['title']}"
109
  })
110
 
 
121
  "id": id,
122
  "type": "tv",
123
  "name": channel["title"],
124
+ "poster": channel["poster"], # Add poster URL if available
125
  "description": f"Watch {channel['title']}",
126
  "background": "", # Add background image URL if available
127
  "logo": "", # Add logo URL if available