Skip to content

Set default sort order for Kodi virtual directory #539

Open
@dagwieers

Description

Currently it is not possible to set a default sort order (ascending, descending) of a virtual directory in Kodi.

This would be quite useful as now we have to use the "Default" sort view and order the entries ourselves. Which means we have to add specific information to the title so ordering is still possible by the user.

This needs to be fixed in Kodi.

Activity

added
bugSomething isn't working
vrtmaxRelated to VRT MAX
confirmedThe issue has been confirmed by upstream project
enhancementNew feature or request
kodiRelated to the Kodi media player
and removed
bugSomething isn't working
confirmedThe issue has been confirmed by upstream project
vrtmaxRelated to VRT MAX
on Oct 23, 2019
changed the title Some HLS videos fail with "415 Unsupported Media Type" Set default sort order for Kodi virtual directory on Oct 23, 2019
dagwieers

dagwieers commented on Jan 5, 2020

@dagwieers
CollaboratorAuthor

Ideally what we would like is that the Kodi python interface provides us:

    xbmcplugin.setDefaultSortOrder(order=xbmcplugin.SORT_ORDER_NONE)
    xbmcplugin.setDefaultSortOrder(order=xbmcplugin.SORT_ORDER_ASCENDING)
    xbmcplugin.setDefaultSortOrder(order=xbmcplugin.SORT_ORDER_DESCENDING)

And just as with addSortMethod() this would force the default behaviour (now it is always ascending), but leaves it up to the user to change it manually. Best of both worlds.

added
reportedThis issue has been reported to upstream project
on Jan 5, 2020
dagwieers

dagwieers commented on Jan 5, 2020

@dagwieers
CollaboratorAuthor

I opened a feature request upstream at: https://forum.kodi.tv/showthread.php?tid=350699

moved this from To do to Reported in Kodi issues follow-upon Apr 10, 2020

6 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is neededkodiRelated to the Kodi media playerreportedThis issue has been reported to upstream project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Set default sort order for Kodi virtual directory · Issue #539 · add-ons/plugin.video.vrt.nu