1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-28 06:04:17 +01:00
Commit Graph

50 Commits

Author SHA1 Message Date
Johan Andersson
4e187f9553 pre-commit: its a good thing to commit config... 2019-09-06 22:49:49 +02:00
Johan Andersson
3aef9a796e black fixes 2019-09-06 22:31:52 +02:00
Johan Andersson
7f0cf6eb82 pre-commit: reorder imports 2019-09-06 22:09:07 +02:00
Johan Andersson
e9b16fda77 pre-commit: pyupgrade 2019-09-06 22:09:07 +02:00
Johan Andersson
e105855fb7 pre-commit: black fixes 2019-09-06 22:09:07 +02:00
Johan Andersson
a84b89bafd Rewrote big parts of the _dashparser 2019-07-13 14:31:13 +02:00
Johan Andersson
ecaced7b5c dashparse: use == compare ints.. 2019-03-23 02:02:11 +01:00
Johan Andersson
feb503e013 daskparse: search for contentType on adaptationset instead of mimype
Svtplay stopped using mime type on adaptionset.
Fixes: #1054
2019-03-23 01:20:56 +01:00
Johan Andersson
ca295d461d flake8: new version detecting more stuff 2018-10-28 23:16:00 +01:00
Johan Andersson
5ac273dc47 dash.parse_dates: add a new time of date format.. 2018-10-06 23:17:45 +02:00
Johan Andersson
72591c20f0 dashparse: split the function into two 2018-10-06 23:17:19 +02:00
Jakob Schlyter
57e51c8bb1 parse date periods with hours and seconds only 2018-09-05 21:37:38 +02:00
Johan Andersson
bbf2f82b79 fetcher: make name a property 2018-05-25 22:47:26 +02:00
Johan Andersson
8fcd201ddc dash: use exception instead of nothin 2018-05-13 14:21:27 +02:00
Johan Andersson
55b07c1dfb fetcher: set output extension 2018-05-13 13:09:27 +02:00
Johan Andersson
1a14d26b1b Return empty dict instead of None 2018-05-13 13:07:37 +02:00
Johan Andersson
f300e24ca3 more options to config replaces 2018-05-13 13:07:34 +02:00
Johan Andersson
ca49366002 Options to config 2018-05-13 13:06:45 +02:00
Johan Andersson
07b84c1f2e flake8 no need for extra space 2018-05-13 12:09:27 +02:00
Johan Andersson
5339bdc265 flake8 over-indented for visual indent 2018-05-13 12:09:27 +02:00
Johan Andersson
7e351530e9 No need for utils.urllib anymore 2018-05-13 12:09:27 +02:00
dalgr
346b40dfbf Add better parsing of dates in dash fetcher 2018-03-30 22:52:20 +02:00
dalgr
4c62d87087 Modify after review, issue 846 2018-03-06 21:04:48 +01:00
dalgr
f06c09e9c3 Fix issue 846, DASH crash on a video on svtplay 2018-03-06 21:04:48 +01:00
dalgr
70fafc7f90 Improve parsing of 'mediaPresentationDuration', for dash 2018-02-25 18:27:19 +01:00
dalgr
b800322f06 Remove usage of 'dateutil.parser' 2018-02-25 18:27:19 +01:00
dalgr
bad41cb1ed Fix support for svt melodifestivalen 2018-02-25 18:27:19 +01:00
dalgr
a82f5fed40 Improvements to dash pasing, avoid empty lists
Quick fix for added MPD Live support
2018-02-25 18:27:19 +01:00
Johan Andersson
7b6ceb4737 Flake8 fixes 2018-01-30 20:17:33 +01:00
dalgr
939f277f86 Add support for live svtplay using hls 2018-01-08 20:15:54 +01:00
dalgr
1379ac9c85 Continue with hls, 'EXT-X-MEDIA' 2018-01-07 01:53:00 +01:00
Johan Andersson
fc4c659ae9 output: make bit more generic
Remove the output "-". it have been a bit broken for a while.
2017-11-24 23:11:48 +01:00
Johan Andersson
59d2513dee fetcher: change str formating from '%s' to '.format' 2017-10-09 22:35:33 +02:00
dalgr
bc3141a8c7 Avoid 'EXT-X-BYTERANGE', fix for 'hls.py'
Fix support for vidme in 'dash.py'
2017-10-09 20:38:56 +02:00
Johan Andersson
73306eef4d dashparse: dont try to parse 0 length mpd files.
Akamai sent a zero length playlist for svtplay
fixes #701
2017-10-04 23:26:47 +02:00
dalgr
e8a9157f20 add check 'is not None' to avoid FutureWarning 2017-09-19 21:41:17 +02:00
Johan Andersson
44703b47e8 dashparse: we don't need to "/ 1000" one more time 2017-09-18 14:46:57 +02:00
Johan Andersson
8e5c7ddd30 dash: fix a warning 2017-09-17 21:03:10 +02:00
Johan Andersson
d1b6ba2ee1 dash: rewrote the parsing of the .mpd files. 2017-09-16 21:38:14 +02:00
Johan Andersson
3d8a516d1c dash: don't crash if we get a total files.
fixes #559
2017-02-12 11:08:22 +01:00
Johan Andersson
41b826cee0 dash: dont use the the same init file for every video.
fixes: #545
2017-01-31 23:40:40 +01:00
Johan Andersson
3bd5f498c6 dash: don’t overwrite the init file 2016-11-05 18:51:21 +01:00
Johan Andersson
c038c67af3 dash: in some cases the SegmentTemplate is inside of Representation class. 2016-11-01 01:49:49 +01:00
Johan Andersson
fa590117de fetcher: handle errors from parsing playlists 2016-10-16 19:35:38 +02:00
Johan Andersson
9dc52589b9 dash: support for segmented files
fixes #448
2016-09-26 00:42:42 +02:00
Johan Andersson
74ff9359dd dashparse: don’t crash when we can’t find BaseURL 2016-09-17 19:43:03 +02:00
Johan Andersson
f8eb0b8a45 fetcher: dont crash if we cant read the playlists
fixes #446
2016-09-09 22:56:05 +02:00
Olof Johansson
5393dc1929 Fix various pylint warnings
None of these were any real problems, but easier to spot real issues if pylint
is a bit quieter. Apart from the pylint overrides being sprinkled over the code
base, this commit also fixes occurences of the following issues:

 - logging-not-lazy
 - logging-format-interpolation
 - unused-import
 - unused-variable
2016-04-03 19:06:45 +02:00
Olof Johansson
556d85e31f dash: complete the progress bar after file is downloaded
The progress bar wasn't updated after the downloaded completed,
so the final progress bar would look something like this:

   [99/100][===============================.] ETA: 0:00:00

This can be interpreted as the file didn't download completely.

Reported-by: rooth
2016-04-02 17:35:10 +02:00
Johan Andersson
2941cb31eb include the dash.py file 2016-03-26 23:08:22 +01:00