1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 12:15:40 +01:00
Commit Graph

130 Commits

Author SHA1 Message Date
Johan Andersson
eea6f29d4e hls: use 'und' when language is missing in subtitle 2021-06-17 21:54:31 +02:00
Johan Andersson
cb3ec04b04 hls: add support for subtitles via viafree 2021-05-22 22:55:38 +02:00
Johan Andersson
c0e34dfaac hls: support for different audio streams 2021-05-22 14:29:54 +02:00
Johan Andersson
6305dbcc9c Add support for audio language and audio role 2021-05-16 13:55:28 +02:00
Johan Andersson
3497e0577d Rewrite how we detect already downloaded files
this will also check if we already downloaded
the files if we already have it or not
2021-05-09 02:13:13 +02:00
Johan Andersson
7a85dc7d74 Add resolution info to --list-quality 2021-04-18 14:06:25 +02:00
Johan Andersson
b91ca11e85 hls: x-map update 2021-03-12 00:20:18 +01:00
Johan Andersson
4ec553e0ed Add py3.6 changes 2021-02-28 22:05:33 +01:00
Johan Andersson
c3ff0527fc hls: dont decrypt the already unencrypted files.
fixes: #1301
2020-12-31 15:19:22 +01:00
Johan Andersson
938ae7d9b9 pre-commit: add-trailing-comma 2020-12-31 15:19:22 +01:00
Johan Andersson
18a8758ee8 Add support for only-audio/-video option
It wont work with using both at the same time.
fixes: #1286
2020-12-06 18:56:52 +01:00
Johan Andersson
7c35b3032f hls: support for detecting codecs 2020-07-28 21:26:13 +02:00
Johan Andersson
389b21bde5 pre-commit: use a newer pyupgrade version 2020-05-03 11:35:03 +02:00
Johan Andersson
fd729f7f53 hls.parse: use AVERAGE-BANDWIDTH instead of BANDWIDTH 2019-10-18 15:48:37 +02:00
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
dalgr
838b3ecc23 Live download not working from SVTBARN, fix #1121, #1122 2019-08-31 14:57:24 +02:00
Johan Andersson
c4bf81fa9e hls: move cryptography to top imports. 2019-03-24 21:04:41 +01:00
Johan Andersson
05c322a52a hls: don’t finalize after we decrypt the data.
In cases where we have several keys in a stream we can run finalize on the data.
2019-03-23 02:36:01 +01:00
Johan Andersson
5b6779edf2 Replace pycryptodome with cryptography.
This will make it easier to support older distros. For example ubuntu 16.04 and Debian stable (9)
2019-03-23 01:00:44 +01:00
Johan Andersson
ca295d461d flake8: new version detecting more stuff 2018-10-28 23:16:00 +01:00
Johan Andersson
a72d8e4e3c hls.download: when we see key url as skd:// abort 2018-10-13 13:53:10 +02:00
Johan Andersson
9b839dfaf4 subtitle.wrst: tv4play split their wrst into several .m3u8 files
it have some dupe codes. that we need to fix in the future....
2018-07-05 01:26:43 +02:00
Johan Andersson
a0ab26a939 utilis.http: move get_full_url from hls to http 2018-07-05 01:26:43 +02:00
Johan Andersson
fbffce1c12 hlsparse: return dict instead of nothing 2018-06-03 15:20:46 +02:00
Johan Andersson
9619936f2a flake8 fixes 2018-05-27 16:10:22 +02:00
Johan Andersson
af8fcc7581 hlsparse: put together subtitles when we are done with the other media.
use random bitrate so we can extract several subtitles if we need to extract it.
2018-05-27 16:00:05 +02:00
Johan Andersson
bbf2f82b79 fetcher: make name a property 2018-05-25 22:47:26 +02:00
Johan Andersson
7275829dae hls.download: the extension should be ts not tls 2018-05-21 00:05:31 +02:00
Johan Andersson
55b07c1dfb fetcher: set output extension 2018-05-13 13:09:27 +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
859fd50efa flake8 break long lines 2018-05-13 12:09:27 +02:00
Johan Andersson
22e3c8e5ac urljoin in hls 2018-05-13 12:09:27 +02:00
dalgr
e77b5e12cd Adjust 'end_time_stamp' for tv4 live, to avid fetching before the stream is publlished 2018-03-30 22:52:20 +02:00
dalgr
ec483a7045 Fix for the problem cused by 'Crypto.Random' 2018-03-11 10:19:29 +01:00
dalgr
f818993bcd Fixes: 'Another ViaFree issue'
...
2018-03-10 22:16:16 +01:00
Johan Andersson
4b64e1bb9f hlsparse: sometimes we thought that subtitles was audio track
fixes #853
2018-03-09 23:20:52 +01:00
Johan Andersson
0eaf0ec8f8 don't hide import errors 2018-03-09 22:53:33 +01:00
Johan Andersson
35691d85cc hls: we should use .ts and not .mp4 2018-03-06 21:49:43 +01:00
dalgr
8b3a5dacbe hls AES use avilable IV or 'Random.new()' from 'Crypto' 2018-03-04 19:48:17 +01:00
Johan Andersson
497771a478 hls: support for extracting subtitles
we need this for dplay
2018-02-21 21:28:44 -05:00
dalgr
ccf22ec692 Determine segments if URI attribute is incuded
Fix bug in '__str__'
2018-02-12 21:40:27 +01:00
dalgr
0813dfbb70 Alternet way of detecting segments for hls 2018-02-12 21:40:27 +01:00
Johan Andersson
c4f3c8d6f2 fetcher: we need to send a custom header to fetch key in HLS 2018-02-12 00:08:09 +01:00
dalgr
7aaa68b267 Compare URI when appending a 'm3u8.media_segment' list 2018-02-10 14:54:38 +01:00
Johan Andersson
6ed19abb62 hls: we need to add slash at the end of srcurl for urljoin 2018-02-10 00:38:52 +01:00