Adds dynamic path templates for media libraries, so that the scanner can derive the meaning of each path part

This commit is contained in:
BinaryAlley committed 2026-10-05 18:42:00 +03:00
1 parent 62b0e9297a
commit ca4f308b0a
86 files changed
+7406 -151

No files matched your search

@@ -11,7 +11,11 @@ Content-Type: application/json
"coverImage": null,
"isEnabled": true,
"isLocked": false,
"downloadMetadataFromWeb": true,
"canDownloadMetadataFromWeb": true,
"shouldSaveMetadataInMediaDirectories": true,
"shouldSkipUnchangedDirectoriesDuringScan": true
"shouldSkipUnchangedDirectoriesDuringScan": true,
"pathTemplateParts": [
{ "kind": "Artist", "representation": "{0}", "isOptional": false },
{ "kind": "Separator", "representation": "", "isOptional": false }
]
}
@@ -0,0 +1,2 @@
GET {{host}}/api/v1/libraries/path-template-parts/Music
Authorization: Bearer {{ACCESS_TOKEN}}
@@ -13,7 +13,11 @@ Content-Type: application/json
"coverImage": null,
"isEnabled": true,
"isLocked": false,
"downloadMetadataFromWeb": true,
"canDownloadMetadataFromWeb": true,
"shouldSaveMetadataInMediaDirectories": true,
"shouldSkipUnchangedDirectoriesDuringScan": true
"shouldSkipUnchangedDirectoriesDuringScan": true,
"pathTemplateParts": [
{ "kind": "Artist", "representation": "{0}", "isOptional": false },
{ "kind": "Separator", "representation": "", "isOptional": false }
]
}