Johan Andersson
178dea24fd
hls: refactor some code
2014-12-20 21:07:55 +01:00
Johan Andersson
72ec064cc3
hls: handle error when getting key
2014-12-20 21:04:37 +01:00
Johan Andersson
67b3c8bb54
Rewrite http request handling.
2014-12-08 23:07:02 +01:00
Johan Andersson
ab4a7ee704
hls: start on 1 instead of 0
...
this fixes #127
2014-09-02 19:54:06 +02:00
Johan Andersson
8eec519577
output: make pylint happier.
2014-08-21 22:10:16 +02:00
Johan Andersson
686f5f615a
refactor output to its own function
...
Almost the same code for all the fetchers.
2014-08-20 20:27:45 +02:00
Johan Andersson
3f6bd29a13
fetchers: fix a crash on stdout python3
2014-08-12 17:14:12 +02:00
Johan Andersson
8fd7639b1a
Space after #
2014-07-28 16:01:27 +02:00
Olof Johansson
a8e63f4e60
hls: avoid unused variable warning (pylint)
2014-07-22 10:12:51 +02:00
Johan Andersson
e811bd2513
HLS: 1000 is the new thing
2014-07-10 18:55:59 +02:00
Johan Andersson
cdf9216694
hlsparse: get the full url to playlists
2014-06-18 21:02:03 +02:00
Johan Andersson
e87c236c51
option to choose which download method is preferred.
2014-06-02 21:27:51 +02:00
Johan Andersson
663e69eca6
hls: Unused import select_quality
2014-06-02 21:27:51 +02:00
Johan Andersson
9bbf861e1b
hls: complain when the file exists
2014-06-02 21:27:50 +02:00
Johan Andersson
4265d1222b
hls: we select quality before we go here.
2014-06-02 21:27:50 +02:00
Johan Andersson
8ef2e2454a
hls: use bandwidth instead of resolution now.
2014-06-02 21:27:50 +02:00
Johan Andersson
188e47517c
services: parse hls playlist first.
2014-06-02 21:27:50 +02:00
Johan Andersson
28a918fa7b
HLS: export resolution.
2014-06-02 21:27:49 +02:00
Johan Andersson
330d7dd925
fetcher: convert to VideoRetriever
2014-06-02 21:27:48 +02:00
Olof Johansson
79f1ea04be
hls: don't output progressbar if --silent
2014-05-03 17:58:10 +02:00
Johan Andersson
b72211b6f9
hls: move live check to the beginning of the function
2014-05-01 22:11:54 +02:00
Johan Andersson
ad7cdb4265
hls: a way to skip the first playlist with bandwidth info
2014-05-01 22:11:54 +02:00
Olof Johansson
b9107b20b6
hls: Error on live streams
...
This can be overriden using the --force flag, but the output may
be a bit disappointing --- only the current state of the HLS
playlist is downloaded, and no reload is attempted.
2014-02-11 18:46:53 +01:00
Olof Johansson
38b3c7820b
hls: automatically detect baseurl
2014-02-08 17:40:25 +01:00
Johan Andersson
54ac6ccd3c
hls: dont search for bandwidth at a fixed position.
...
On svtplay they added subtitle info in the playlist.
Beacuse of that the script crashed when we tried to access it
2013-10-14 20:18:09 +02:00
Johan Andersson
08280809ad
hls: simplify encrypted part
2013-09-03 19:10:07 +02:00
Olof Johansson
b5c9339b2c
hls: support keys over https as well as http
2013-08-29 20:46:02 +02:00
Johan Andersson
f7760ee640
Adding missing r prefixes to regex string
2013-05-05 12:57:42 +02:00
Olof Johansson
bd1ae14e53
Isolate py3/2.7 conditional imports to own modules
2013-04-21 13:45:43 +02:00
Olof Johansson
2d2cead9bc
hls: catch KeyError exception by name
2013-04-21 13:45:43 +02:00
Olof Johansson
a4202238c9
Remove unused imports
2013-04-21 13:45:43 +02:00
Olof Johansson
13c2ee494e
Use ETA class in HDS and HLS fetchers
2013-03-25 19:54:41 +01:00
Johan Andersson
cfd20232ab
Rename module from lib/svtplay to lib/svtplay_dl
...
less confusion with the service.
2013-03-17 19:55:19 +01:00