Knots documentation

Installation

Server

Client

Updating

Server

Client

Back

TIPS 

Installing WorldTV99

./scripts/install_worldtv99
./knots restart

Enabling Knots on startup

OS X

./scripts/launchd_osx install (uninstall to remove)

Linux

./scripts/initd install username (uninstall to remove)
update-rc.d knots defaults as root (on Debian systems)

Setting up authentication

Edit ~/.config/knots/config.yaml and set auth_remote: true

Add / Remove username

./scripts/auth add username password
./scripts/auth delete username

Add client to / Remove client from whitelist

./scripts/auth add client_id
./scripts/auth delete client_id

You can find your clients id from the logfile (~/.config/knots/knots.log)

Live-TV on Linux without VDR

Scan your channels with dvb-scan using the vdr-format and then create an xml-playlist from it.

(dvb-)scan -o vdr /usr/share/doc/dvb-utils/examples/scan/dvb-t/your_city > /tmp/channels.conf ./scripts/create_dvb_playlist /tmp/channels.conf
./knots restart

You may need to edit ~/.config/knots/dvb.xml to make it work with your dvb-card.

Converting non-utf-8 filenames

If you for example have german umlauts that are iso-8859-1 in your filenames, libxml fails to parse them. You can convert them to utf-8 easily (but use at your own risk):

./scripts/fix_filenames

Using the html-frontend

Just point your desktop's browser to the server's address. If you don't know what it is, check the the logfile or start the server with ./knots stick. It will print out the address on the first line. If you use the bundled Flash-profile, it will try to open the video in the browser. If you select a different transcoding-profile, it prints out a link to a playlist. You can then open this playlist with your favorite video player. You can seek using the browser.

Sound in Flash-video

Flash-video (flv) requires mp3 -support. Make sure your ffmpeg is compiled with libmp3lame-support.

Back