Skip to content

Commit a5b0990

Browse files
committed
Fixed: NPO Luister radio stations.
1 parent 866dd83 commit a5b0990

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

changelog.txt

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
[B]Retrospect v5.7.23 - Changelog - 2025-01-25[/B]
1+
[B]Retrospect v5.7.x - Changelog - 2025-xx-xx[/B]
22

3-
Some small channel bugfixes and Python 3.13 support.
3+
t.b.d.
44

55
[B]Framework related[/B]
6-
* Fixed: Import issue with Python 3.13 and above.
7-
* Fixed: Remove search history item with space or special chars.
6+
_None_
87

98
[B]GUI/Settings/Language related[/B]
109
_None_
1110

1211
[B]Channel related[/B]
13-
* Fixed: Video land duplicate entries.
14-
* Fixed: TV4 Latest News.
12+
* Fixed: NPO Luister radio stations.

channels/channel.nos/nos2010/chn_nos2010.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def __init__(self, channel_info: ChannelInfo):
167167
# live radio, the folders and items
168168
self._add_data_parser(
169169
"https://www.npoluister.nl/", name="Live Radio Streams",
170-
parser=Regexer.from_expresso('<li><a[^>]+href="(?<url>https:[^"]+)"[^>]*><img[^>]+src="(?<thumb>https:[^"]+)[^>]+alt="(?<title>[^"]+)"'),
170+
parser=Regexer.from_expresso('<li><a[^>]+href="(?<url>https:[^"]+)"[^>]*>(?<title>[^<]+)'),
171171
creator=self.create_live_radio
172172
)
173173
self._add_data_parser(
@@ -1126,11 +1126,9 @@ def create_live_radio(self, result_set: dict) -> Optional[MediaItem]:
11261126
if "blend" in url:
11271127
return None
11281128
title = result_set["title"]
1129-
logo = result_set["thumb"]
11301129
item = MediaItem(title, url, media_type=mediatype.VIDEO)
11311130
item.isLive = True
11321131
item.complete = False
1133-
item.thumb = logo
11341132
item.isLive = True
11351133
item.metaData["retrospect:parser"] = "liveRadio"
11361134
return item

0 commit comments

Comments
 (0)