2013-05-16, 17:24
I got tired of having to switch to the SVTPlay addon so I came up with this hack instead:
1. Run the following two commands in two separate terminals (you can do it inside a dedicated screen session by running "screen -S vlc" first):
cvlc -v "http://svt12hls-lh.akamaihd.net/i/svt12hls_0@78144/index_6_av-p.m3u8?sd=10&rebase=on&e=1" --sout "#standard{access=udp,mux=ts,dst=238.0.0.1:1234}"
cvlc -v "http://svt10hls-lh.akamaihd.net/i/svt10hls_0@78142/index_6_av-p.m3u8?sd=10&rebase=on&e=1" --sout "#standard{access=udp,mux=ts,dst=239.0.0.1:1234}"
2. In tvheadend's web interface, go to Configuration -> DVB Inputs -> IPTV and add the following services:
Channel name: SVT1 HD
Interface: eth0
Group: 239.0.0.1
UDP Port: 1234
Channel name: SVT2 HD
Interface: eth0
Group: 238.0.0.1
UDP Port: 1234
The interface is usually eth0, if it's not you probably know that already.
3. Assign a channel number to these services from Configuration -> Channel/EPG -> Channels and restart XBMC to make the new channels show up (assuming you've configured XBMC to retrieve the channels from the backend).
That's it, you should now be able to recieve SVT1 and 2 in HD.
People outside Sweden (like me) will have to do some proxying magic in order to circumvent the geo-blocking but that's an exercise for the reader.
1. Run the following two commands in two separate terminals (you can do it inside a dedicated screen session by running "screen -S vlc" first):
cvlc -v "http://svt12hls-lh.akamaihd.net/i/svt12hls_0@78144/index_6_av-p.m3u8?sd=10&rebase=on&e=1" --sout "#standard{access=udp,mux=ts,dst=238.0.0.1:1234}"
cvlc -v "http://svt10hls-lh.akamaihd.net/i/svt10hls_0@78142/index_6_av-p.m3u8?sd=10&rebase=on&e=1" --sout "#standard{access=udp,mux=ts,dst=239.0.0.1:1234}"
2. In tvheadend's web interface, go to Configuration -> DVB Inputs -> IPTV and add the following services:
Channel name: SVT1 HD
Interface: eth0
Group: 239.0.0.1
UDP Port: 1234
Channel name: SVT2 HD
Interface: eth0
Group: 238.0.0.1
UDP Port: 1234
The interface is usually eth0, if it's not you probably know that already.
3. Assign a channel number to these services from Configuration -> Channel/EPG -> Channels and restart XBMC to make the new channels show up (assuming you've configured XBMC to retrieve the channels from the backend).
That's it, you should now be able to recieve SVT1 and 2 in HD.
People outside Sweden (like me) will have to do some proxying magic in order to circumvent the geo-blocking but that's an exercise for the reader.