update dlna

This commit is contained in:
nikk gitanes
2021-09-06 03:36:08 +03:00
parent c86a186e03
commit 66d3e6402f
4 changed files with 66 additions and 15 deletions

View File

@@ -90,6 +90,9 @@ func Stop() {
func onBrowse(path, rootObjectPath, host, userAgent string) (ret []interface{}, err error) {
if path == "/" {
ret = getRoot()
return
} else if path == "/Torrents" {
ret = getTorrents()
return
} else if isHashPath(path) {