media/1tvru.lua: Rewrite parse function
media/1tvru.lua: Rewrite parse function

Rewrite the `parse' function for the libquvi 0.9+ series.
* Check for 'og:video' to determine if input URL contains a video
* Use LuaJSON to parse the media {title,stream,thumb} properties
* Use 'windows-1251' charset encoding with quvi.http.fetch
* Media duration (ms) is now parsed and returned
* Remove now obsolete code (e.g. self.host_id)
* Apply 2-space indentation
* Update vim modeline

Signed-off-by: Toni Gundogdu <eac2284b3c43676907b96f08de9d3d52d5df0361@gmail.com>

alech/libquvi-scripts,legatvs/libquvi-scripts,alech/libquvi-scripts,legatvs/libquvi-scripts