libquvi-scripts.git
11 years agoplaylist/youtube.lua: Parse {title,thumb_url}
Toni Gundogdu [Sat, 20 Apr 2013 11:11:34 +0000 (20 14:11 +0300)]
playlist/youtube.lua: Parse {title,thumb_url}

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoMerge branch 'tg/next__add_quvi/time.lua' into next
Toni Gundogdu [Sat, 20 Apr 2013 10:42:51 +0000 (20 13:42 +0300)]
Merge branch 'tg/next__add_quvi/time.lua' into next

11 years agoDOC: quvi-modules.7.txt: Add quvi/time
Toni Gundogdu [Sat, 20 Apr 2013 10:30:20 +0000 (20 13:30 +0300)]
DOC: quvi-modules.7.txt: Add quvi/time

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoexport/subrip.lua: Use to_timecode from quvi/time module
Toni Gundogdu [Sat, 20 Apr 2013 10:24:39 +0000 (20 13:24 +0300)]
export/subrip.lua: Use to_timecode from quvi/time module

Now that to_timecode is available through the quvi/time module,
use it and remove the SubRip.to_timecode implementation.

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agomedia/arte.lua: Use quvi/time module
Toni Gundogdu [Sat, 20 Apr 2013 10:23:14 +0000 (20 13:23 +0300)]
media/arte.lua: Use quvi/time module

Use the quvi/time module now that the to_timestamp function
has been moved from quvi/util module.

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoAdd quvi/time module
Toni Gundogdu [Sat, 20 Apr 2013 10:22:04 +0000 (20 13:22 +0300)]
Add quvi/time module

* Move to_timestamp from quvi/util to this module
* Add to_timecode_str and to_timecode functions

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoMerge branch 'tg/next__media_port_senat.lua' into next
Toni Gundogdu [Fri, 19 Apr 2013 13:25:32 +0000 (19 16:25 +0300)]
Merge branch 'tg/next__media_port_senat.lua' into next

11 years agotests: Add a test for media/senat.lua
Toni Gundogdu [Fri, 19 Apr 2013 13:22:40 +0000 (19 16:22 +0300)]
tests: Add a test for media/senat.lua

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agomedia/senat.lua: Rewrite parse function
Toni Gundogdu [Fri, 19 Apr 2013 12:59:43 +0000 (19 15:59 +0300)]
media/senat.lua: Rewrite parse function

Rewrite `parse' function for libquvi 0.9+ series.
* Remove any now obsolete code (e.g. self.host_id)
* Force conversion from iso-8859-1 to UTF-8
* Add Senat.iter_streams function
* Parse {width,height} properties
* Update vim modeline

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agomedia/senat.lua: Remove query_formats function
Toni Gundogdu [Fri, 19 Apr 2013 12:49:19 +0000 (19 15:49 +0300)]
media/senat.lua: Remove query_formats function

Remove the now obsolete `query_formats' function. libquvi 0.9 no longer
supports this.

11 years agomedia/senat.lua: Rewrite ident function
Toni Gundogdu [Fri, 19 Apr 2013 12:48:59 +0000 (19 15:48 +0300)]
media/senat.lua: Rewrite ident function

Rewrite the `ident' function for the 0.9+ series.
* Add local Senat table and implement `can_parse_url' function
* Remove any now obsolete code

11 years agomedia/senat.lua: Relicense under AGPLv3+
Toni Gundogdu [Fri, 19 Apr 2013 12:44:19 +0000 (19 15:44 +0300)]
media/senat.lua: Relicense under AGPLv3+

See also:
* http://article.gmane.org/gmane.comp.web.flash.quvi/226

11 years agoMove website/senat.lua to media/senat.lua
Toni Gundogdu [Fri, 19 Apr 2013 12:43:20 +0000 (19 15:43 +0300)]
Move website/senat.lua to media/senat.lua

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoMerge branch 'tg/next__media_port_publicsenat.lua' into next
Toni Gundogdu [Fri, 19 Apr 2013 12:38:28 +0000 (19 15:38 +0300)]
Merge branch 'tg/next__media_port_publicsenat.lua' into next

11 years agotests: Add a test for media/publicsenat.lua
Toni Gundogdu [Fri, 19 Apr 2013 12:32:12 +0000 (19 15:32 +0300)]
tests: Add a test for media/publicsenat.lua

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agomedia/publicsenat.lua: Rewrite parse function
Toni Gundogdu [Fri, 19 Apr 2013 12:10:31 +0000 (19 15:10 +0300)]
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>
11 years agomedia/publicsenat.lua: Remove query_formats function
Toni Gundogdu [Fri, 19 Apr 2013 08:34:40 +0000 (19 11:34 +0300)]
media/publicsenat.lua: Remove query_formats function

Remove the now obsolete `query_formats' function. The libquvi 0.9+ no
longer supports this function.

11 years agomedia/publicsenat.lua: Rewrite ident function
Toni Gundogdu [Fri, 19 Apr 2013 08:34:03 +0000 (19 11:34 +0300)]
media/publicsenat.lua: Rewrite ident function

Rewrite the `ident' function for the 0.9+ series.
* Add local PublicSenat table and implement `can_parse_url' function
* Remove any now obsolete code from the function

11 years agomedia/publicsenat.lua: Relicense under AGPLv3+
Toni Gundogdu [Fri, 19 Apr 2013 08:33:23 +0000 (19 11:33 +0300)]
media/publicsenat.lua: Relicense under AGPLv3+

11 years agoMove website/publicsenat.lua to media/publicsenat.lua
Toni Gundogdu [Fri, 19 Apr 2013 08:26:38 +0000 (19 11:26 +0300)]
Move website/publicsenat.lua to media/publicsenat.lua

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoFIX: a typo in URL
Toni Gundogdu [Fri, 19 Apr 2013 12:23:22 +0000 (19 15:23 +0300)]
FIX: a typo in URL

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoMerge branch 'tg/next__media_port_cbsnews.lua' into next
Toni Gundogdu [Wed, 17 Apr 2013 16:06:58 +0000 (17 19:06 +0300)]
Merge branch 'tg/next__media_port_cbsnews.lua' into next

11 years agotests: Add test for media/cbsnews.lua
Toni Gundogdu [Wed, 17 Apr 2013 16:04:32 +0000 (17 19:04 +0300)]
tests: Add test for media/cbsnews.lua

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agomedia/cbsnews.lua: Rewrite parse function
Toni Gundogdu [Wed, 17 Apr 2013 14:56:33 +0000 (17 17:56 +0300)]
media/cbsnews.lua: Rewrite parse function

Rewrite the "parse" function for libquvi 0.9+ series.
* Add CBSNews.{parse_optional,iter_streams,get_data,to_id} functions
* qargs.id would normally be optional, but required by CBSNews.get_data
* Add CBSNews.{parse_optional,iter_streams,get_data,to_id} functions
* Remove any now obsolete code (e.g. self.host_id)
* Update vim modeline

NOTES:

  quvi/lxp:find_first_tag will raise an error if something isn't found.
  This means that any optional media properties parsed using this
  function, will result in the script exiting with an error.  This is
  acceptable, although not ideal.

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agomedia/cbscnews.lua: Remove query_formats function
Toni Gundogdu [Wed, 17 Apr 2013 12:14:10 +0000 (17 15:14 +0300)]
media/cbscnews.lua: Remove query_formats function

Remove the `query_formats' function which is no longer used by the
libquvi 0.9+ series.

11 years agomedia/cbsnews.lua: Rewrite ident function
Toni Gundogdu [Wed, 17 Apr 2013 12:07:07 +0000 (17 15:07 +0300)]
media/cbsnews.lua: Rewrite ident function

Rewrite the `ident' function for the 0.9+ series.
* Remove any now obsolete code from the function
* Add CBSNews.can_parse_url

11 years agomedia/cbsnews.lua: Relicense under AGPLv3+
Toni Gundogdu [Wed, 17 Apr 2013 12:06:39 +0000 (17 15:06 +0300)]
media/cbsnews.lua: Relicense under AGPLv3+

11 years agoMove website/cbsnews.lua to media/cbsnews.lua
Toni Gundogdu [Wed, 17 Apr 2013 11:58:32 +0000 (17 14:58 +0300)]
Move website/cbsnews.lua to media/cbsnews.lua

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoFIX: quvi/stream: stream_new: audio.encoding: empty
Toni Gundogdu [Wed, 17 Apr 2013 15:51:39 +0000 (17 18:51 +0300)]
FIX: quvi/stream: stream_new: audio.encoding: empty

Set the initial value of audio.encoding to an empty string, rather than
a zero.

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agogen-news.sh: Do not print commits with >1 one parent
Toni Gundogdu [Tue, 16 Apr 2013 16:28:53 +0000 (16 19:28 +0300)]
gen-news.sh: Do not print commits with >1 one parent

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoMerge branch 'tg/next__media_port_audioboo.lua' into next
Toni Gundogdu [Tue, 16 Apr 2013 16:22:00 +0000 (16 19:22 +0300)]
Merge branch 'tg/next__media_port_audioboo.lua' into next

11 years agotests: Add media_audioboo
Toni Gundogdu [Tue, 16 Apr 2013 16:00:13 +0000 (16 19:00 +0300)]
tests: Add media_audioboo

Add a test for the media/audioboo.lua script.

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agomedia/audioboo.lua: Rewrite parse function
Toni Gundogdu [Tue, 16 Apr 2013 15:59:10 +0000 (16 18:59 +0300)]
media/audioboo.lua: Rewrite parse function

Rewrite the `parse' function for libquvi 0.9+ series.
* Remove now obsolete code (e.g. self.host_id)
* Make qargs.{title,id} optional
* Add Audioboo.iter_streams
* Update vim modeline

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agomedia/audioboo.lua: Remove obsolete query_formats
Toni Gundogdu [Tue, 16 Apr 2013 15:07:23 +0000 (16 18:07 +0300)]
media/audioboo.lua: Remove obsolete query_formats

The `query_formats' is no longer used by libquvi 0.9+, remove the
function from the script altogether.

11 years agomedia/audioboo.lua: Rewrite ident function
Toni Gundogdu [Tue, 16 Apr 2013 15:06:56 +0000 (16 18:06 +0300)]
media/audioboo.lua: Rewrite ident function

Rewrite the `ident' function for libquvi 0.9+ series.
* Remove now obsolete code from the function
* Add Audioboo.can_parse_url

11 years agomedia/audioboo.lua: Relicense under AGPLv3+
Toni Gundogdu [Tue, 16 Apr 2013 14:59:10 +0000 (16 17:59 +0300)]
media/audioboo.lua: Relicense under AGPLv3+

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoMove website/audioboo.lua to media/audioboo.lua
Toni Gundogdu [Tue, 16 Apr 2013 14:57:57 +0000 (16 17:57 +0300)]
Move website/audioboo.lua to media/audioboo.lua

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agodist: Include playlist/soundcloud.lua
Toni Gundogdu [Mon, 15 Apr 2013 19:58:00 +0000 (15 22:58 +0300)]
dist: Include playlist/soundcloud.lua

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoMerge branch 'tg/next__relicense_soundcloud' into next
Toni Gundogdu [Mon, 15 Apr 2013 19:55:07 +0000 (15 22:55 +0300)]
Merge branch 'tg/next__relicense_soundcloud' into next

11 years agotests: Enable media_soundcloud
Toni Gundogdu [Mon, 15 Apr 2013 19:49:06 +0000 (15 22:49 +0300)]
tests: Enable media_soundcloud

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agomedia/soundcloud.lua: Relicense under AGPLv3+
Toni Gundogdu [Mon, 15 Apr 2013 19:47:36 +0000 (15 22:47 +0300)]
media/soundcloud.lua: Relicense under AGPLv3+

See also:
* http://article.gmane.org/gmane.comp.web.flash.quvi/230

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agotest_media_arte: Rewrite using the capture_*
Toni Gundogdu [Mon, 15 Apr 2013 11:04:26 +0000 (15 14:04 +0300)]
test_media_arte: Rewrite using the capture_*

Besides using the new capture_* function set, pick a random media URL
from the page, instead of the the first one.

Some attempts to access the video pages results in a random binary blob
that the server returns instead of the page HTML. Geoblocked in some
bizarre new way?

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoMerge branch 'tg/next__revise_test_lib' into next
Toni Gundogdu [Mon, 15 Apr 2013 18:59:57 +0000 (15 21:59 +0300)]
Merge branch 'tg/next__revise_test_lib' into next

11 years agotests: lib: Revise re.c transl. unit
Toni Gundogdu [Mon, 15 Apr 2013 18:21:45 +0000 (15 21:21 +0300)]
tests: lib: Revise re.c transl. unit

Add a more flexible set of capture_* functions, replacing the old
`capture' function.

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agotests: lib: Add slist.c transl. unit
Toni Gundogdu [Mon, 15 Apr 2013 18:15:48 +0000 (15 21:15 +0300)]
tests: lib: Add slist.c transl. unit

Add slist_free_full to the library. This function provides a convenient
way (for those who still use an earlier version of GLib) to release an
entire singly-linked list. Normally we'd just use g_slist_free_full
(since GLib 2.28).

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoMerge branch 'tg/next__relicense_arte' into next
Toni Gundogdu [Mon, 15 Apr 2013 18:56:41 +0000 (15 21:56 +0300)]
Merge branch 'tg/next__relicense_arte' into next

11 years agotests: media: Enable media_arte
Toni Gundogdu [Mon, 15 Apr 2013 11:03:58 +0000 (15 14:03 +0300)]
tests: media: Enable media_arte

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agomedia/arte.lua: Relicense under AGPLv3+
Toni Gundogdu [Mon, 15 Apr 2013 11:03:13 +0000 (15 14:03 +0300)]
media/arte.lua: Relicense under AGPLv3+

See also:
* http://article.gmane.org/gmane.comp.web.flash.quvi/226

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoFIX: playlist/soundcloud.lua: item pattern
Toni Gundogdu [Sun, 14 Apr 2013 19:58:25 +0000 (14 22:58 +0300)]
FIX: playlist/soundcloud.lua: item pattern

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoMerge branch 'tg/next/1.0' into nextv0.9.0
Toni Gundogdu [Sun, 14 Apr 2013 13:50:03 +0000 (14 16:50 +0300)]
Merge branch 'tg/next/1.0' into next

Conflicts:
m4/version.m4
share/Makefile.am
share/lua/website/break.lua
share/lua/website/dailymotion.lua
share/lua/website/gaskrank.lua
share/lua/website/quvi/util.lua
share/lua/website/soundcloud.lua
share/lua/website/youtube.lua
tests/data/format/default/audioboo.json
tests/data/format/default/break.json
tests/data/format/default/fixme/bloomberg.json
tests/data/format/default/fixme/collegehumor.json
tests/data/format/default/fixme/mgnetwork.json
tests/data/format/default/funnyordie.json
tests/data/format/default/gaskrank.json
tests/data/format/default/metacafe.json
tests/data/format/default/nsfw/empflix.json
tests/data/format/default/nsfw/fixme/pornhub.json
tests/data/format/default/nsfw/xvideos.json
tests/data/format/default/nsfw/youjizz.json
tests/data/format/default/soundcloud-2.json
tests/data/format/default/soundcloud.json
tests/data/format/default/spiegel.json
tests/data/format/default/theonion.json
tests/data/format/default/theonion_2.json
tests/data/format/default/tvlux.json
tests/data/format/default/videobash.json
tests/data/format/default/vimeo.json
tests/t/expire.t

11 years agoshare/README: Revise
Toni Gundogdu [Sun, 14 Apr 2013 11:47:58 +0000 (14 14:47 +0300)]
share/README: Revise

Add missing directories, revise descriptions.

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoFIX: tests/lib/fetch.c: include "tests.h"
Toni Gundogdu [Sun, 7 Apr 2013 13:15:19 +0000 (7 16:15 +0300)]
FIX: tests/lib/fetch.c: include "tests.h"

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoMerge branch 'tg/next/1.0__asciidoc.conf' into tg/next/1.0
Toni Gundogdu [Mon, 25 Mar 2013 21:10:36 +0000 (25 23:10 +0200)]
Merge branch 'tg/next/1.0__asciidoc.conf' into tg/next/1.0

11 years agoman7: Add footer.txt
Toni Gundogdu [Mon, 25 Mar 2013 21:10:19 +0000 (25 23:10 +0200)]
man7: Add footer.txt

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoman7: quvi-modules-3rdparty.7.txt: Revise for footer.txt
Toni Gundogdu [Mon, 25 Mar 2013 21:10:06 +0000 (25 23:10 +0200)]
man7: quvi-modules-3rdparty.7.txt: Revise for footer.txt

* Use linkman from asciidoc.conf
* Include footer.txt

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoman7: quvi-modules.7.txt: Revise for footer.txt
Toni Gundogdu [Mon, 25 Mar 2013 21:08:59 +0000 (25 23:08 +0200)]
man7: quvi-modules.7.txt: Revise for footer.txt

* Use linkman from asciidoc.conf
* Include footer.txt

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoman7: libquvi-scripts.7.txt: Revise for footer.txt
Toni Gundogdu [Mon, 25 Mar 2013 21:07:53 +0000 (25 23:07 +0200)]
man7: libquvi-scripts.7.txt: Revise for footer.txt

* Use linkman from asciidoc.conf
* Include footer.txt

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoman7: Revise Makefile.am for asciidoc.conf
Toni Gundogdu [Mon, 25 Mar 2013 21:06:36 +0000 (25 23:06 +0200)]
man7: Revise Makefile.am for asciidoc.conf

Add ASCIIDOC_OPTS, call a2x with --asciidoc-opts, and add footer.txt to
EXTRA_DIST.

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agodoc: Add asciidoc.conf
Toni Gundogdu [Mon, 25 Mar 2013 20:53:30 +0000 (25 22:53 +0200)]
doc: Add asciidoc.conf

This file adds the linkman macro. See the comment field for the
instructions. This is a modified version from the pacman (of Arch Linux)
source tree uses to produce the manpages: this macro does not insert
<date>.

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoAC_CHECK_HEADERS: Add string.h
Toni Gundogdu [Sun, 24 Mar 2013 10:21:44 +0000 (24 12:21 +0200)]
AC_CHECK_HEADERS: Add string.h

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoAC_CHECK_FUNCS: Add memset
Toni Gundogdu [Sun, 24 Mar 2013 10:17:11 +0000 (24 12:17 +0200)]
AC_CHECK_FUNCS: Add memset

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoWorkaround: AM_PROG_AR
Toni Gundogdu [Sun, 24 Mar 2013 10:16:05 +0000 (24 12:16 +0200)]
Workaround: AM_PROG_AR

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoMerge branch 'tg/next/1.0__cookie' into tg/next/1.0
Toni Gundogdu [Sun, 24 Mar 2013 10:15:10 +0000 (24 12:15 +0200)]
Merge branch 'tg/next/1.0__cookie' into tg/next/1.0

11 years agoBump version to 0.4.14v0.4.14
Toni Gundogdu [Tue, 19 Mar 2013 16:01:43 +0000 (19 18:01 +0200)]
Bump version to 0.4.14

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoUpdate NEWS for v0.4.14
Toni Gundogdu [Tue, 19 Mar 2013 16:01:25 +0000 (19 18:01 +0200)]
Update NEWS for v0.4.14

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoChange soundcloud test URL
Toni Gundogdu [Tue, 19 Mar 2013 15:37:24 +0000 (19 17:37 +0200)]
Change soundcloud test URL

Some of the content may be 'protected' in which case the server will
return HTTP/401 (unauthorized) when the stream URL is being accessed.

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoquvi/const: Remove qoo_http_user_agent
Toni Gundogdu [Sun, 3 Mar 2013 12:17:47 +0000 (3 14:17 +0200)]
quvi/const: Remove qoo_http_user_agent

quvi.http.header provides a way to set the UA.

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agomedia/dailymotion.lua: Set cookie using quvi.http.header
Toni Gundogdu [Fri, 1 Mar 2013 11:30:03 +0000 (1 13:30 +0200)]
media/dailymotion.lua: Set cookie using quvi.http.header

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoquvi-modules(7): Document quvi/http/cookie module
Toni Gundogdu [Thu, 28 Feb 2013 13:29:07 +0000 (28 15:29 +0200)]
quvi-modules(7): Document quvi/http/cookie module

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoAdd quvi/http/cookie.lua
Toni Gundogdu [Thu, 28 Feb 2013 12:24:15 +0000 (28 14:24 +0200)]
Add quvi/http/cookie.lua

This module provides a set of shorthand functions that wrap the use of
quvi.http.cookie function.

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoquvi/const: Add quvi-object http cookie options
Toni Gundogdu [Wed, 27 Feb 2013 14:14:23 +0000 (27 16:14 +0200)]
quvi/const: Add quvi-object http cookie options

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoshare/Makefile.am: Add wimp.lua
Toni Gundogdu [Fri, 8 Mar 2013 17:38:57 +0000 (8 19:38 +0200)]
share/Makefile.am: Add wimp.lua

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agotests: default: add wimp.json
Toni Gundogdu [Fri, 8 Mar 2013 17:37:59 +0000 (8 19:37 +0200)]
tests: default: add wimp.json

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoAdd website script for wimp.com
Martin Herkt [Fri, 8 Mar 2013 12:58:03 +0000 (8 13:58 +0100)]
Add website script for wimp.com

Signed-off-by: Martin Herkt <lachs0r@srsfckn.biz>
11 years agowebsite utils: add base64 decoder
Martin Herkt [Fri, 8 Mar 2013 12:58:02 +0000 (8 13:58 +0100)]
website utils: add base64 decoder

Signed-off-by: Martin Herkt <lachs0r@srsfckn.biz>
11 years agoBump version to 0.4.13v0.4.13
Toni Gundogdu [Sun, 3 Mar 2013 09:09:56 +0000 (3 11:09 +0200)]
Bump version to 0.4.13

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoUpdate NEWS for v0.4.13
Toni Gundogdu [Sun, 3 Mar 2013 09:09:43 +0000 (3 11:09 +0200)]
Update NEWS for v0.4.13

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agotests: default: Change xvideos test URL
Toni Gundogdu [Sun, 3 Mar 2013 08:45:35 +0000 (3 10:45 +0200)]
tests: default: Change xvideos test URL

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoquvi/const: Remove qoo_http_cookie
Toni Gundogdu [Wed, 27 Feb 2013 14:14:01 +0000 (27 16:14 +0200)]
quvi/const: Remove qoo_http_cookie

11 years agoRename ard.lua to ardmediathek.lua
Toni Gundogdu [Sat, 16 Feb 2013 12:42:26 +0000 (16 14:42 +0200)]
Rename ard.lua to ardmediathek.lua

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoFIX: ard.lua: Assign self.script_dir to package.path
Toni Gundogdu [Sat, 16 Feb 2013 09:25:58 +0000 (16 11:25 +0200)]
FIX: ard.lua: Assign self.script_dir to package.path

Assign the value of the self.script_dir to the package.path so that
the 'quvi/*' modules can be found.

Reported-by: Fabian Homborg <fhomborg@gmail.com>
Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoUpdate NEWS for v0.4.12v0.4.12
Toni Gundogdu [Sun, 10 Feb 2013 20:11:04 +0000 (10 22:11 +0200)]
Update NEWS for v0.4.12

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoBump version to 0.4.12
Toni Gundogdu [Sun, 10 Feb 2013 20:09:18 +0000 (10 22:09 +0200)]
Bump version to 0.4.12

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoMove mgnetwork.lua under FIXME
Toni Gundogdu [Sun, 10 Feb 2013 20:00:33 +0000 (10 22:00 +0200)]
Move mgnetwork.lua under FIXME

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agotests: default: xvideos.json: Update test URL
Toni Gundogdu [Sun, 10 Feb 2013 19:51:40 +0000 (10 21:51 +0200)]
tests: default: xvideos.json: Update test URL

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoMove fastjizz.lua under FIXME
Toni Gundogdu [Sun, 10 Feb 2013 19:47:49 +0000 (10 21:47 +0200)]
Move fastjizz.lua under FIXME

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agotests: default: videobash.json: Update page_title
Toni Gundogdu [Sun, 10 Feb 2013 19:37:26 +0000 (10 21:37 +0200)]
tests: default: videobash.json: Update page_title

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agotests: default: tvlux.json: Update
Toni Gundogdu [Sun, 10 Feb 2013 19:35:48 +0000 (10 21:35 +0200)]
tests: default: tvlux.json: Update

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoFIX: tvlux.lua: Update patterns, parse thumb URL
Toni Gundogdu [Sun, 10 Feb 2013 19:35:12 +0000 (10 21:35 +0200)]
FIX: tvlux.lua: Update patterns, parse thumb URL

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agosoundcloud-2.json: Update test URL
Toni Gundogdu [Sun, 10 Feb 2013 19:10:35 +0000 (10 21:10 +0200)]
soundcloud-2.json: Update test URL

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoard.lua: cleanup
Thomas Weißschuh [Fri, 8 Feb 2013 18:45:20 +0000 (8 18:45 +0000)]
ard.lua: cleanup

* remove superfluous fsk table from test_availability()
* s/films/videos/ in test_availability()
* move the call to test_availability() into iter_formats(), so it
  gets always executed
* remove superfluous match in container_from()

11 years agoMerge branch 'tg/next/0.4__ard.lua_misc_improvements' into next
Toni Gundogdu [Fri, 8 Feb 2013 16:54:28 +0000 (8 18:54 +0200)]
Merge branch 'tg/next/0.4__ard.lua_misc_improvements' into next

11 years agoard.lua: Ard.to_s: Use service internal stream ID
Toni Gundogdu [Fri, 8 Feb 2013 16:38:57 +0000 (8 18:38 +0200)]
ard.lua: Ard.to_s: Use service internal stream ID

Since the service provides an ID (1,2,3,...), use it in
the media stream ID to make them unique. Otherwise we'll
end up with identical media stream IDs in some cases.

Use 'i' for the lack of a better prefix. This is similar to
that of youtube.lua (0.9) and the use of the "itag" value in
YouTube the media stream IDs.

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoard.lua: Cleanup Ard.iter_formats
Toni Gundogdu [Fri, 8 Feb 2013 16:16:13 +0000 (8 18:16 +0200)]
ard.lua: Cleanup Ard.iter_formats

Realign, remove webX extraction which is now done in Ard.quality_from,
make the for loop more compact.

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoard.lua: Add Ard.container_from function
Toni Gundogdu [Fri, 8 Feb 2013 16:13:15 +0000 (8 18:13 +0200)]
ard.lua: Add Ard.container_from function

11 years agoard.lua: Add Ard.height_from function
Toni Gundogdu [Fri, 8 Feb 2013 16:11:18 +0000 (8 18:11 +0200)]
ard.lua: Add Ard.height_from function

11 years agoard.lua: Add Ard.quality_from function
Toni Gundogdu [Fri, 8 Feb 2013 16:01:02 +0000 (8 18:01 +0200)]
ard.lua: Add Ard.quality_from function

Have the Ard.quality function return a string containing one of the
strings 'ld', 'md', 'sd', 'hd'. Other websites.

Plenty of guessing going on here, these strings are roughly based on
the findings posted here:
  http://article.gmane.org/gmane.comp.web.flash.quvi/170

  0 = '256x144' -- ld
  1 = '512x288' -- md
  2 = '960x540' -- sd
  3 ='1280x720' -- hd

11 years agoard.lua: Rewrite Ard.to_s for 0.9 compatibility
Toni Gundogdu [Fri, 8 Feb 2013 15:56:21 +0000 (8 17:56 +0200)]
ard.lua: Rewrite Ard.to_s for 0.9 compatibility

The 0.9 series of libquvi-scripts will attempt to return the media
stream IDs as "$quality_$container_$encoding_$height(p)" whenever
possible.  Prepare for the foreseeable future.

11 years agoAdd ard.lua
Thomas Weißschuh [Sun, 14 Oct 2012 20:17:15 +0000 (14 20:17 +0000)]
Add ard.lua

This adds support for the 'ARD mediathek', the movie archive of the
primary national television broadcaster of Germany. It's mediathek also
servers videos from many smaller german broadcasters.

Note: films are only available online for two weeks after airing.
Certain films are only available at certain daytimes. In this case an
error is raised.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
Tested-by: Toni Gundogdu <legatvs@gmail.com>
11 years agoFIX: wdrmaus.lua:101: invalid escape sequence
Toni Gundogdu [Thu, 7 Feb 2013 19:02:54 +0000 (7 21:02 +0200)]
FIX: wdrmaus.lua:101: invalid escape sequence

Fix the "wdrmaus.lua:101: invalid escape sequence near \/" by
removing the backslash.

Reported-by: Thomas Weißschuh <thomas@t-8ch.de>
Signed-off-by: Toni Gundogdu <legatvs@gmail.com>