Make VLC show URL instead of Title for #65

This commit is contained in:
Et0h 2015-06-19 00:02:03 +01:00
parent d4eabcebca
commit 843e5a0565
2 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@
Principal author: Etoh Principal author: Etoh
Other contributors: DerGenaue, jb Other contributors: DerGenaue, jb
Project: http://syncplay.pl/ Project: http://syncplay.pl/
Version: 0.2.6 Version: 0.2.7
Note: Note:
* This interface module is intended to be used in conjunction with Syncplay. * This interface module is intended to be used in conjunction with Syncplay.
@ -84,7 +84,7 @@ You may also need to re-copy the syncplay.lua file when you update VLC.
--]==========================================================================] --]==========================================================================]
local connectorversion = "0.2.6" local connectorversion = "0.2.7"
local vlcversion = vlc.misc.version() local vlcversion = vlc.misc.version()
local durationdelay = 500000 -- Pause for get_duration command etc for increased reliability (uses microseconds) local durationdelay = 500000 -- Pause for get_duration command etc for increased reliability (uses microseconds)
local loopsleepduration = 2500 -- Pause for every event loop (uses microseconds) local loopsleepduration = 2500 -- Pause for every event loop (uses microseconds)
@ -330,7 +330,7 @@ function get_filepath ()
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["title"] and string.len(metas["title"]) > 0 then
response = ":::(Stream: "..metas["title"]..")" response = metas["url"]
else else
response = unknownstream response = unknownstream
end end

View File

@ -63,7 +63,7 @@ COMMANDS_AUTH = ['a','auth']
COMMANDS_TOGGLE = ['t','toggle'] COMMANDS_TOGGLE = ['t','toggle']
MPC_MIN_VER = "1.6.4" MPC_MIN_VER = "1.6.4"
VLC_MIN_VERSION = "2.2.1" VLC_MIN_VERSION = "2.2.1"
VLC_INTERFACE_MIN_VERSION = "0.2.6" VLC_INTERFACE_MIN_VERSION = "0.2.7"
VLC_LATENCY_ERROR_THRESHOLD = 2.0 VLC_LATENCY_ERROR_THRESHOLD = 2.0
CONTROLLED_ROOMS_MIN_VERSION = "1.3.0" CONTROLLED_ROOMS_MIN_VERSION = "1.3.0"
USER_READY_MIN_VERSION = "1.3.0" USER_READY_MIN_VERSION = "1.3.0"