mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 15:30:06 +08:00
serve dlna: make BrowseMetadata more compliant - fixes #7883
This commit is contained in:
parent
3f3e4b055e
commit
fea61cac9e
|
@ -289,7 +289,10 @@ func (cds *contentDirectoryService) Handle(action string, argsXML []byte, r *htt
|
|||
return nil, err
|
||||
}
|
||||
return map[string]string{
|
||||
"Result": didlLite(string(result)),
|
||||
"TotalMatches": "1",
|
||||
"NumberReturned": "1",
|
||||
"Result": didlLite(string(result)),
|
||||
"UpdateID": cds.updateIDString(),
|
||||
}, nil
|
||||
default:
|
||||
return nil, upnp.Errorf(upnp.ArgumentValueInvalidErrorCode, "unhandled browse flag: %v", browse.BrowseFlag)
|
||||
|
|
Loading…
Reference in New Issue
Block a user