21 lines
913 B
Plaintext
21 lines
913 B
Plaintext
$OpenBSD: patch-yle-dl_py,v 1.2 2011/12/13 13:10:47 sthen Exp $
|
|
--- yle-dl.py.orig Tue Nov 29 21:41:58 2011
|
|
+++ yle-dl.py Mon Dec 12 18:52:45 2011
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/python
|
|
+#!${MODPY_BIN}
|
|
|
|
"""
|
|
yle-dl - Frontend for rtmpdump-yle, the YLE Areena stream downloader
|
|
@@ -21,8 +21,8 @@ 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_SWF = 'http://yle.fi/elavaarkisto/flowplayer/flowplayer.commercial-3.2.7.swf?0.739011391531676'
|