update youtube-dl to 2012.02.27

ok sthen@
This commit is contained in:
dcoppa 2012-03-07 22:00:07 +00:00
parent 5954d0a55c
commit ee41268740
3 changed files with 14 additions and 14 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.28 2012/01/26 10:55:51 dcoppa Exp $
# $OpenBSD: Makefile,v 1.29 2012/03/07 22:00:07 dcoppa Exp $
COMMENT = command-line program to download videos from YouTube.com
V = 2012.01.08b
V = 2012.02.27
DISTNAME = youtube-dl-${V}
WRKDIST = ${WRKDIR}/youtube-dl
DIST_SUBDIR = youtube-dl

View File

@ -1,5 +1,5 @@
MD5 (youtube-dl/youtube-dl-2012.01.08b) = pEVCA3bZdaIfApLfX/bluQ==
RMD160 (youtube-dl/youtube-dl-2012.01.08b) = jQypMzsjLTNqNOT9QqH0+71x/gs=
SHA1 (youtube-dl/youtube-dl-2012.01.08b) = UstRLcBGDtFSYDjeqTt8c5SmmbI=
SHA256 (youtube-dl/youtube-dl-2012.01.08b) = W/1u0OaSyQR8gUmLcNvkkpogecLfpAGIYrs9NBdemIw=
SIZE (youtube-dl/youtube-dl-2012.01.08b) = 159180
MD5 (youtube-dl/youtube-dl-2012.02.27) = vS8dsvPtr8vyB/q4BdNuIw==
RMD160 (youtube-dl/youtube-dl-2012.02.27) = TFxHeLi/CyitVwzkapeMN2jT0kw=
SHA1 (youtube-dl/youtube-dl-2012.02.27) = X564nZVnDI91J8yehMjLCicHUmM=
SHA256 (youtube-dl/youtube-dl-2012.02.27) = mBRqUQ/tPTmjSmhuEQDW3076K5ueGUZJ5hWvwf9kaDQ=
SIZE (youtube-dl/youtube-dl-2012.02.27) = 159848

View File

@ -1,12 +1,12 @@
$OpenBSD: patch-youtube-dl,v 1.8 2012/01/26 10:55:51 dcoppa Exp $
--- youtube-dl.orig Mon Jan 23 13:19:29 2012
+++ youtube-dl Mon Jan 23 13:19:29 2012
@@ -888,7 +888,7 @@ class FileDownloader(object):
$OpenBSD: patch-youtube-dl,v 1.9 2012/03/07 22:00:07 dcoppa Exp $
--- youtube-dl.orig Wed Mar 7 14:51:21 2012
+++ youtube-dl Wed Mar 7 14:52:02 2012
@@ -899,7 +899,7 @@ class FileDownloader(object):
# Download using rtmpdump. rtmpdump returns exit code 2 when
# the connection was interrumpted and resuming appears to be
# possible. This is part of rtmpdump's normal usage, AFAIK.
- basic_args = ['rtmpdump', '-q'] + [[], ['-W', player_url]][player_url is not None] + ['-r', url, '-o', tmpfilename]
+ basic_args = ['rtmpdump'] + [[], ['-W', player_url]][player_url is not None] + ['-r', url, '-o', tmpfilename]
retval = subprocess.call(basic_args + [[], ['-e', '-k', '1']][self.params.get('continuedl', False)])
while retval == 2 or retval == 1:
prevsize = os.path.getsize(_encodeFilename(tmpfilename))
args = basic_args + [[], ['-e', '-k', '1']][self.params.get('continuedl', False)]
if self.params.get('verbose', False):
try: