media/canalplus.lua: Relicense under AGPLv3+
Notable differences to the 0.4 script:
- Supports also d8.tv and d17.tv which share the same video database
- Uses the JSON interface provided by Canal+
Differences (:editor:) to the original patch[1]:
- Concatenate strings using a table, or "the Lua way"[2]
- Remove the old script from the repo
test:
- Update expected media {title,ID} for the first test URL
- Rename test function to `test_media_canalplus'
Links:
[1]: http://thread.gmane.org/gmane.comp.web.flash.quvi/364
[2]: http://www.luafaq.org/#T1.9
Signed-off-by: Mohamed El Morabity <melmorabity@fedoraproject.org>
Edited-by: Toni Gundogdu <legatvs@gmail.com>