media/tagtele.lua: Rewrite parse function
commitcc40857845d344b6dd9095b136bc5151d502c877
authorToni Gundogdu <legatvs@gmail.com>
Wed, 23 Oct 2013 19:05:36 +0000 (23 22:05 +0300)
committerToni Gundogdu <legatvs@gmail.com>
Thu, 24 Oct 2013 07:11:01 +0000 (24 10:11 +0300)
treeff48a87cedc9e7200f0881fd844e5c336a013a99
parent6e73a9aa6dcd64babcf540e5a91c4026a09a5758
media/tagtele.lua: Rewrite parse function

Rewrite the `parse' function for the libquvi 0.9+ series.
* Remove now obsolete code (e.g. self.host_id)
* Use LuaJSON to parse the media stream URL
* Parse all available media streams
* Apply 2-space indentation
* Update vim modeline

Notable changes:
* Skip: playlist fetch: the page HTML contains the stream URL data

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
share/media/tagtele.lua