mirror of
https://github.com/anxdpanic/plugin.video.youtube.git
synced 2025-12-06 02:30:50 -08:00
Fix comments not using correct sort methods
- Allow any content sub-type to set sort methods regardless of main type
This commit is contained in:
parent
a989752ad8
commit
23282aa51d
1 changed files with 24 additions and 25 deletions
|
|
@ -711,7 +711,6 @@ class XbmcContext(AbstractContext):
|
|||
xbmcplugin.setPluginCategory(self._plugin_handle, category_label)
|
||||
|
||||
detailed_labels = self.get_settings().show_detailed_labels()
|
||||
if content_type == CONTENT.VIDEO_CONTENT:
|
||||
if sub_type == CONTENT.HISTORY:
|
||||
self.add_sort_method(
|
||||
SORT.HISTORY_CONTENT_DETAILED
|
||||
|
|
@ -730,7 +729,7 @@ class XbmcContext(AbstractContext):
|
|||
if detailed_labels else
|
||||
SORT.PLAYLIST_CONTENT_SIMPLE
|
||||
)
|
||||
else:
|
||||
elif content_type == CONTENT.VIDEO_CONTENT:
|
||||
self.add_sort_method(
|
||||
SORT.VIDEO_CONTENT_DETAILED
|
||||
if detailed_labels else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue