media/publicsenat.lua: Rewrite parse function
commit0a88e815a7495e9270fec4a54c116231f5c4def5
authorToni Gundogdu <legatvs@gmail.com>
Fri, 19 Apr 2013 12:10:31 +0000 (19 15:10 +0300)
committerToni Gundogdu <legatvs@gmail.com>
Fri, 19 Apr 2013 12:37:24 +0000 (19 15:37 +0300)
tree260c1396fe7ab7367c628f5446f5a4c4c387c3dd
parenta5ebb74b4a7f8fc860242774cd42cba8dab0a9ba
media/publicsenat.lua: Rewrite parse function

Rewrite "parse" function for libquvi 0.9+ series.
* Remove any now obsolete code (e.g. self.host_id)
* Add PublicSenat.iter_streams function
* Update vim modeline

NOTE:

  This port takes a shortcut to parse the media stream URL and the
  thumbnail URL. They are now parsed from the input URL, rather than a
  secondary URL -- put together using a static URL prefix and the media
  ID. If that, really, is necessary, we can add the additional steps
  later.

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