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
1 changed files with 1 additions and 1 deletions

View File

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