fix DLNA IDs

This commit is contained in:
nikk gitanes
2021-09-07 10:34:28 +03:00
parent 6d499aa655
commit 4d22d8f131
2 changed files with 8 additions and 8 deletions

View File

@@ -92,13 +92,13 @@ func onBrowse(path, rootObjectPath, host, userAgent string) (ret []interface{},
if path == "/" {
ret = getRoot()
return
} else if path == "/Torrents" {
} else if path == "/TR" {
ret = getTorrents()
return
} else if isHashPath(path) {
ret = getTorrent(path, host)
return
} else if filepath.Base(path) == "Load Torrent" {
} else if filepath.Base(path) == "LD" {
ret = loadTorrent(path, host)
}
return