$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']