Lars Kruse
d50923553d
web: add API functions for retrieving unique values of specific keys
...
the following API paths are added:
* /item/values/FIELD
* /album/values/FIELD
Both paths will deliver a json dictionary with the key 'values' containing a
list of unique values belonging to the requested table and field.
Sorting is possible by supplying the query argument "sort_key".
This feature is useful for remote clients, e.g. Mopidy-Beets:
* track genres: /item/unique/genre
* track languages: /album/unique/language
* album artists: /album/unique/albumartist?sort_key=albumartist_sort
* album years: /album/unique/year
2016-05-27 04:12:09 +02:00
..
2016-02-28 15:03:51 -08:00
2016-02-28 15:03:51 -08:00
2016-04-16 18:33:54 +02:00
2016-05-27 04:12:09 +02:00
2016-02-28 15:03:51 -08:00
2016-05-20 01:08:15 +02:00
2016-02-28 15:03:51 -08:00
2016-01-19 21:43:32 +01:00
2016-02-28 15:03:51 -08:00
2016-04-27 20:15:10 +01:00
2016-02-28 15:03:51 -08:00
2016-05-18 11:24:34 -07:00
2016-04-16 18:33:54 +02:00
2016-02-28 15:03:51 -08:00
2016-02-28 15:03:51 -08:00
2016-02-28 15:03:51 -08:00
2016-04-03 17:42:25 -04:00
2016-02-28 15:03:51 -08:00
2016-02-28 15:03:51 -08:00
2016-04-27 20:15:10 +01:00
2016-04-26 16:59:23 -07:00
2016-04-16 18:33:54 +02:00
2016-02-28 15:03:51 -08:00
2016-02-28 15:03:51 -08:00
2016-02-28 15:03:51 -08:00
2016-04-27 20:15:10 +01:00
2016-05-03 17:45:38 +01:00
2016-02-28 15:03:51 -08:00
2016-03-22 06:24:09 +01:00
2016-02-28 15:03:51 -08:00
2016-02-28 15:03:51 -08:00
2016-02-28 15:03:51 -08:00
2016-04-16 18:33:54 +02:00
2016-02-28 15:03:51 -08:00
2016-02-28 15:21:43 -08:00
2016-04-30 01:25:02 +02:00
2016-03-11 16:50:32 -05:00
2016-02-28 15:03:51 -08:00
2016-03-06 02:12:43 +03:00
2016-02-28 15:03:51 -08:00
2016-02-28 15:03:51 -08:00
2016-02-28 15:03:51 -08:00
2016-02-28 15:03:51 -08:00
2016-02-28 15:03:51 -08:00
2016-02-28 15:03:51 -08:00
2016-02-28 15:03:51 -08:00
2016-02-28 15:21:43 -08:00
2016-02-28 15:03:51 -08:00
2016-03-15 23:06:10 -04:00
2016-02-28 15:03:51 -08:00
2016-02-28 15:03:51 -08:00
2016-02-28 15:03:51 -08:00
2016-04-27 20:41:09 +01:00
2016-02-28 15:03:51 -08:00
2016-02-28 15:03:51 -08:00