Bug 342090

Summary: allow scripts to specify their own sorting of items in collection pane
Product: [Applications] amarok Reporter: Be <be.0>
Component: Internet ServicesAssignee: Amarok Developers <amarok-bugs-dist>
Status: REPORTED ---    
Severity: wishlist CC: kretschmann, simonandric5
Priority: NOR    
Version: 2.8-git   
Target Milestone: 2.9   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed In:

Description Be 2014-12-21 20:57:28 UTC
Currently, Amarok automatically sorts items for service scripts by the default sorting mechanism depending on how many levels there are, such as Track Artist / Year - Album for 3 levels, sorted alphanumerically. This is inconvenient in a number of ways. For example, if a service returns search results ordered by relevance, Amarok automatically sorts them alphabetically. Also, tracks are sorted alphabetically with no way to specify track numbers.

I think the simplest way to implement this would be to display items in the order that the script inserts them. A more complicated and perhaps more flexible way would be to create an API for scripts to specify their own arbitrary rules for sorting.

Reproducible: Always