Comment 10 for bug 1835876

Revision history for this message
Uwe Klotz (uklotzde-deactivatedaccount) wrote :

You can provide a hierarchical structure for those imported queries by generating a JSON file with prepared queries that could be loaded into Mixxx:

https://github.com/uklotzde/mixxx/blob/dev_aoide/res/aoide/example_prepared_queries.json

Each leaf node is a query for a playlist tag:

{
    "@type": "query",
    "name": "<visible playlist name>",
    "filter": {
        "tag": {
            "facets": [
                "crate"
            ],
            "label": {
                "equals": "<internal playlist name>"
            }
        }
    }
}

You need to ensure that the playlist names are unique. The internal playlist names in the tag could differ from the visible names in this file.