Skip to content

Commit

Permalink
Remove "YouTube - " prefix in category labels
Browse files Browse the repository at this point in the history
- Some skins show the path structure rather than just the label (e.g. Estuary)
- Remove the prefix to avoid duplication
  • Loading branch information
MoojMidge committed Jan 11, 2024
1 parent 75488c3 commit 569e7a9
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -423,11 +423,6 @@ def set_content(self, content_type, sub_type=None, category_label=None):
xbmcplugin.setContent(self._plugin_handle, content_type)
if category_label is None:
category_label = self.get_param('category_label')
if category_label:
category_label = ' - '.join((
self.localize('youtube'),
category_label,
))
if category_label:
xbmcplugin.setPluginCategory(self._plugin_handle, category_label)
if sub_type == 'history':
Expand Down

0 comments on commit 569e7a9

Please sign in to comment.