diff --git a/resources/lib/modules/channels.py b/resources/lib/modules/channels.py index c1c54a9..9459b01 100644 --- a/resources/lib/modules/channels.py +++ b/resources/lib/modules/channels.py @@ -64,6 +64,7 @@ def show_channel_menu(self, uuid): raise channel = next(channel for channel in items if channel.uuid == uuid) + channel_id = (channel.brand or channel.title).lower() listing = [] @@ -86,7 +87,7 @@ def show_channel_menu(self, uuid): listing.append( kodiutils.TitleItem( title=kodiutils.localize(30055, channel=channel.title), # Catalog for {channel} - path=kodiutils.url_for('show_channel_catalog', channel=channel.brand.lower()), + path=kodiutils.url_for('show_channel_catalog', channel=channel_id), art_dict={ 'icon': 'DefaultMovieTitle.png', 'fanart': channel.fanart,