wdrmaus.lua: fail if required properties cannot be parsed
commit3096ff93834e4ec719c710fd5c6492d586ff8a70
authorToni Gundogdu <legatvs@gmail.com>
Thu, 3 Jan 2013 22:39:27 +0000 (4 00:39 +0200)
committerToni Gundogdu <legatvs@gmail.com>
Thu, 3 Jan 2013 22:40:37 +0000 (4 00:40 +0200)
tree33889e6c22951ae049d0f82d33ca196c768cf902
parent9266abb685f400613f6dc5ec4e512fc9ff7ab727
wdrmaus.lua: fail if required properties cannot be parsed

Fail with an error of the required media properties {title,id,url}
could not be parsed. Do not set self.default (unused). Cleanup code
for improved readability.

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