Bug 342090 - allow scripts to specify their own sorting of items in collection pane
Summary: allow scripts to specify their own sorting of items in collection pane
Status: REPORTED
Alias: None
Product: amarok
Classification: Applications
Component: Internet Services (show other bugs)
Version: 2.8-git
Platform: Other Other
: NOR wishlist
Target Milestone: 2.9
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-21 20:57 UTC by Be
Modified: 2015-01-04 13:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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