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:::"
|
response = ":::DVD:::"
|
||||||
else
|
else
|
||||||
local metas = item:metas()
|
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"]
|
response = metas["url"]
|
||||||
else
|
else
|
||||||
response = unknownstream
|
response = unknownstream
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user