Check for url rather than title before returning URL in Syncplay Lua

This commit is contained in:
Et0h 2015-06-19 00:05:35 +01:00
parent 843e5a0565
commit 41566ede45

View File

@ -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