mirror of https://github.com/Syncplay/syncplay
Check for url rather than title before returning URL in Syncplay Lua
This commit is contained in:
parent
843e5a0565
commit
41566ede45
|
@ -329,7 +329,7 @@ function get_filepath ()
|
|||
response = ":::DVD:::"
|
||||
else
|
||||
local metas = item:metas()
|
||||
if metas and metas["title"] and string.len(metas["title"]) > 0 then
|
||||
if metas and metas["url"] and string.len(metas["url"]) > 0 then
|
||||
response = metas["url"]
|
||||
else
|
||||
response = unknownstream
|
||||
|
|
Loading…
Reference in New Issue