From 41566ede4532f91a4e3cf9abfa802c02f52a18eb Mon Sep 17 00:00:00 2001 From: Et0h Date: Fri, 19 Jun 2015 00:05:35 +0100 Subject: [PATCH] Check for url rather than title before returning URL in Syncplay Lua --- resources/lua/intf/syncplay.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lua/intf/syncplay.lua b/resources/lua/intf/syncplay.lua index bacf9d6..4541a34 100644 --- a/resources/lua/intf/syncplay.lua +++ b/resources/lua/intf/syncplay.lua @@ -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