1f04402be0
RTMPDump-YLE is a command-line program for downloading media files from the two video streaming services of the Finnish national broadcasting company Yle. Some content is only available to users connecting from Finnish addresses.
25 lines
1.1 KiB
Plaintext
25 lines
1.1 KiB
Plaintext
$OpenBSD: patch-yle-dl_py,v 1.1.1.1 2011/10/19 09:16:08 sthen Exp $
|
|
--- yle-dl.py.orig Tue Oct 11 21:39:25 2011
|
|
+++ yle-dl.py Tue Oct 18 18:04:21 2011
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/python
|
|
+#!${MODPY_BIN}
|
|
|
|
"""
|
|
yle-dl - Frontend for rtmpdump-yle, the YLE Areena stream downloader
|
|
@@ -21,11 +21,11 @@ import htmlentitydefs
|
|
import json
|
|
import string
|
|
|
|
-RTMPDUMPYLE_BINARY = './rtmpdump-yle' # @BINARY@ make install replaces this line with the real path
|
|
-AREENA_RTMP = 'rtmp://flashk.yle.fi/AreenaServer'
|
|
+RTMPDUMPYLE_BINARY = '${TRUEPREFIX}/bin/rtmpdump-yle' # @BINARY@ make install replaces this line with the real path
|
|
+AREENA_RTMP = 'rtmp://flashu.yle.fi/AreenaServer'
|
|
AREENA_SWF = 'http://areena.yle.fi/player/Application.swf?build=2'
|
|
RTMPDUMPYLE_OPTIONS = ['-r', AREENA_RTMP, '-s', AREENA_SWF, '-m', '60']
|
|
-ARKISTO_RTMP = 'rtmp://flashk.yle.fi/ElavaArkisto'
|
|
+ARKISTO_RTMP = 'rtmp://flashu.yle.fi/ElavaArkisto'
|
|
ARKISTO_SWF = 'http://www.yle.fi/elavaarkisto/flowplayer/flowplayer.commercial-3.2.2-dev2.swf'
|
|
RTMPDUMPYLE_OPTIONS_ARKISTO = \
|
|
['-r', ARKISTO_RTMP, '-s', ARKISTO_SWF, '-m', '60']
|