diff options
author | sinanmohd <sinan@sinanmohd.com> | 2023-10-05 17:45:01 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2023-10-05 17:45:01 +0530 |
commit | 048496da427917056c3331e3482590e59955b685 (patch) | |
tree | f6611599d101351181c3c4af537a833ccb581272 /server | |
parent | f0d0eded1f9b7f2a244d414d09ad97e197601fab (diff) |
mpv: use media-title as key for http streams
Diffstat (limited to 'server')
-rw-r--r-- | server/subscene.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/subscene.lua b/server/subscene.lua index 4c99e8a..8da1e63 100644 --- a/server/subscene.lua +++ b/server/subscene.lua @@ -160,10 +160,10 @@ local link_fetch = function (id) return link, rc end -local search = function (path, out) +local search = function (path, out, name) local title, id, link, rc, key - key = util.string_vid_path_to_name(path) + key = name or util.string_vid_path_to_name(path) title, rc = title_search(key) if not rc then return false |