Skip to content

Commit

Permalink
Merge pull request #14 from wirthmi/master
Browse files Browse the repository at this point in the history
oprava pro stahovani poradu z CT
  • Loading branch information
Limoto committed Sep 18, 2012
2 parents 40f0462 + 092e932 commit 5bd6cbc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion engines/ct.py
Expand Up @@ -116,7 +116,8 @@ def download(self, quality, movie):
base = self.movie.get('base')
src = video.get('src')
filename = os.path.basename( src)[:-3] + 'flv'
app = urlparse(base).path[1:]
parsedurl = urlparse(base)
app = parsedurl.path[1:] + '?' + parsedurl.query

# rtmpdump --live kvůli restartům - viz http://www.abclinuxu.cz/blog/pb/2011/5/televize-9-ctstream-3#18
return ('rtmp', filename, { 'url': base, 'playpath': src, 'app' : app, 'rtmpdump_args' : '--live'} )
Expand Down

0 comments on commit 5bd6cbc

Please sign in to comment.