media/tapuz.lua: Rewrite parse function
commit5f5bb57bec4a70a5571959dfe6e65a4c9c3cb0c1
authorToni Gundogdu <legatvs@gmail.com>
Mon, 14 Oct 2013 20:19:14 +0000 (14 23:19 +0300)
committerToni Gundogdu <legatvs@gmail.com>
Tue, 15 Oct 2013 08:17:20 +0000 (15 11:17 +0300)
tree4b8e7e98d67e22e65509c88fd27c9924f2ba19a2
parent2f9cb5fa53c3658ccb7a0e21d758ff057f84c68c
media/tapuz.lua: Rewrite parse function

Rewrite the `parse' function for the libquvi 0.9+ series.
* Use LuaExpat to parse the media {title,stream,thumb} properties
* Remove now obsolete code (e.g. self.host_id)
* Apply 2-space indentation
* Update vim modeline
* Parse duration (ms)

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