mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-12 15:33:23 -05:00
Fix DAAP request regexps - IDs can (thankfully) be more than 1-digit long
This commit is contained in:
parent
9229f3dff9
commit
c36b3c360d
@ -1700,23 +1700,23 @@ static struct uri_map daap_handlers[] =
|
||||
.handler = daap_reply_dblist
|
||||
},
|
||||
{
|
||||
.regexp = "^/databases/[[:digit:]]/browse/[^/]+$",
|
||||
.regexp = "^/databases/[[:digit:]]+/browse/[^/]+$",
|
||||
.handler = daap_reply_browse
|
||||
},
|
||||
{
|
||||
.regexp = "^/databases/[[:digit:]]/items$",
|
||||
.regexp = "^/databases/[[:digit:]]+/items$",
|
||||
.handler = daap_reply_dbsonglist
|
||||
},
|
||||
{
|
||||
.regexp = "^/databases/[[:digit:]]/items/[[:digit:]][.][^/]+$",
|
||||
.regexp = "^/databases/[[:digit:]]+/items/[[:digit:]]+[.][^/]+$",
|
||||
.handler = daap_stream
|
||||
},
|
||||
{
|
||||
.regexp = "^/databases/[[:digit:]]/containers$",
|
||||
.regexp = "^/databases/[[:digit:]]+/containers$",
|
||||
.handler = daap_reply_playlists
|
||||
},
|
||||
{
|
||||
.regexp = "^/databases/[[:digit:]]/containers/[[:digit:]]/items$",
|
||||
.regexp = "^/databases/[[:digit:]]+/containers/[[:digit:]]+/items$",
|
||||
.handler = daap_reply_plsonglist
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user