Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
teve [t̪eːveː] is a CLI downloader for online TV sites.
Scheme PHP Makefile Shell
Tree: 0f39be216e

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
sites
tests
.gitignore
Makefile
README
apple-hls.scm
intarweb-hack.scm
misc-helpers.scm
parse-flags.scm
talk-is-cheap.scm
teve.scm
url2vid.scm
video.scm

README

teve [te:ve:] is a work-in-progress CLI streamer and downloader for
online TV sites. The name is derived from "tee video", which is one of
the main points of the program.

The current implementation (written in Scheme) is a prototype. Which
programming language the final implementation will use has yet to be
decided.

teve will replace SVTPlay.sh as soon as feature-by-feature compatiblity
is achieved. The script is freely available from this GitHub repo:

    https://github.com/simio/media-scripts

Please be aware that it will only talk you in Swedish.


1. REQUIREMENTS

Chicken Scheme is required to run and compile, preferably 4.7 or later.
If your package manager does not contain Chicken, or contains only an
outdated version, building it from source is mind-numbingly simple on
most platforms.

The source code is available from the Chicken home page:

    http://code.call-cc.org/

After installing Chicken, you'll also need to install a few eggs:

    # make install-eggs

Or if you'd like to see what you're installing:

    # make print-eggs
    utf8 intarweb srfi-37 json http-client vector-lib packrat ...
    # chicken-install $(make print-eggs)


2. BUILDING

Just 'make' to get a binary, and then run it:

    $ ./teve -h
    teve prototype-1
    Usage: teve [-hlv] [-d id] [-o outfile] url
      -d <id>   Download stream #<id>
      -h        Show this message.
      -l        List available streams.
      -o <file> Download to <file>. (Default is 'movie'.)
      -v        Be verbose.

You may optionally install it somewhere:

    # make PREFIX=/usr/local install

The default PREFIX is /usr/opt, which puts the binary in /usr/opt/bin.

If you don't like binaries, you may run teve as a script:

    $ csi -s teve.scm -h


3. TESTING

The tests are contained in tests/. They use the srfi-78 egg, so you
will need to install that before running the tests:

    # chicken-install srfi-78

To run all tests in a batch, just 'make check'.
Something went wrong with that request. Please try again.