[vlc-commits] lua: icecast: fix icecast meta import

Francois Cartegnie git at videolan.org
Tue May 22 17:52:01 CEST 2012


vlc/vlc-2.0 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue May  8 12:43:45 2012 +0200| [bf763ff9d12e8c287191dd9456cd461b164dbe61] | committer: Jean-Baptiste Kempf

lua: icecast: fix icecast meta import
(cherry picked from commit 7f9b3efc8c7d347b28c8af9ba32043b7629c69fb)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=bf763ff9d12e8c287191dd9456cd461b164dbe61
---

 share/lua/sd/icecast.lua |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/share/lua/sd/icecast.lua b/share/lua/sd/icecast.lua
index 8540a08..253988f 100644
--- a/share/lua/sd/icecast.lua
+++ b/share/lua/sd/icecast.lua
@@ -38,7 +38,9 @@ function main()
                           title=station_name,
                           genre=station.children_map["genre"][1].children[1],
                           nowplaying=station.children_map["current_song"][1].children[1],
-                          meta={["Icecast"]={["Bitrate"]=station.children_map["bitrate"][1].children[1];
-                                             ["Server type"]=station.children_map["server_type"][1].children[1]}}} )
+                          meta={
+				  ["Icecast Bitrate"]=station.children_map["bitrate"][1].children[1];
+				  ["Icecast Server Type"]=station.children_map["server_type"][1].children[1];
+			  }} )
     end
 end



More information about the vlc-commits mailing list