File tree Expand file tree Collapse file tree 4 files changed +12
-5
lines changed Expand file tree Collapse file tree 4 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,9 @@ leave a message at [our Facebook page](https://facebook.com/kodivrtnu/).
5959</table >
6060
6161## Releases
62+ ### v2.5.45 (2025-10-29)
63+ - Fix TV guide menu listings (@mediaminister )
64+
6265### v2.5.44 (2025-10-10)
6366- Improve TV guide menu listings (@mediaminister )
6467- Fix api requests for long episode lists (@mediaminister )
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" standalone =" yes" ?>
2- <addon id =" plugin.video.vrt.nu" name =" VRT MAX" version =" 2.5.44 +matrix.1" provider-name =" Martijn Moreel, dagwieers, mediaminister" >
2+ <addon id =" plugin.video.vrt.nu" name =" VRT MAX" version =" 2.5.45 +matrix.1" provider-name =" Martijn Moreel, dagwieers, mediaminister" >
33 <requires >
44 <import addon =" resource.images.studios.white" version =" 0.0.22" />
55 <import addon =" script.module.beautifulsoup4" version =" 4.6.2" />
4242 <website >https://github.com/add-ons/plugin.video.vrt.nu/wiki</website >
4343 <source >https://github.com/add-ons/plugin.video.vrt.nu</source >
4444 <news >
45+ v2.5.45 (2025-10-29)
46+ - Fix TV guide menu listings
47+
4548v2.5.44 (2025-10-10)
4649- Improve TV guide menu listings
4750- Fix api requests for long episode lists
Original file line number Diff line number Diff line change @@ -1444,8 +1444,8 @@ def convert_episode(episode_tile, destination=None):
14441444 program_type = 'epg'
14451445 comp_id = episode_tile .get ('componentId' , '' ).lstrip ('#' )
14461446 decoded = b64decode (comp_id .encode ('utf-8' )).decode ('utf-8' )
1447- epg_parts = decoded .split ('|' )[ 3 ]. split ( ' #1' )
1448- channel_id , start_str = epg_parts [0 ], epg_parts [- 1 ]
1447+ epg_parts = decoded .split ('#1' )
1448+ channel_id , start_str = epg_parts [1 ], epg_parts [2 ]. split ( '|' )[ 0 ]
14491449
14501450 start_dt = datetime .fromisoformat (start_str .replace ('Z' , '+00:00' ))
14511451 if not duration :
Original file line number Diff line number Diff line change @@ -189,15 +189,16 @@ def get_epg_data(self):
189189 # Decode start datetime
190190 comp_id = node .get ('componentId' , '' ).lstrip ('#' )
191191 decoded = b64decode (comp_id .encode ('utf-8' )).decode ('utf-8' )
192- start_str = decoded .split ('| ' )[3 ].split ('#1 ' )[- 1 ]
192+ start_str = decoded .split ('#1 ' )[2 ].split ('| ' )[0 ]
193193 start_dt = datetime .fromisoformat (start_str .replace ('Z' , '+00:00' ))
194194
195195 episode = node .get ('episode' )
196196 duration = None
197197
198198 if episode and (dur_raw := episode .get ('durationRaw' )):
199199 duration = parse_duration (dur_raw )
200- elif node .get ('statusMeta' ):
200+
201+ if duration == timedelta (0 ) and node .get ('statusMeta' ):
201202 minutes_str = node ['statusMeta' ][0 ].get ('value' , '' ).split ()[0 ]
202203 if minutes_str .isdigit ():
203204 duration = timedelta (minutes = int (minutes_str ))
You can’t perform that action at this time.
0 commit comments