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

2454 Commits

Author SHA1 Message Date
Johan Andersson
9678370dce Add a bunch of subtitle function unittests 2019-09-06 22:09:07 +02:00
Johan Andersson
4bee4e161c Add pre-commit tox.ini 2019-09-06 22:09:07 +02:00
Johan Andersson
375f7d8946 Add support for pytest 2019-09-06 22:09:07 +02:00
Johan Andersson
4a91967144 Remove dev from setup.py 2019-09-06 22:09:07 +02:00
Johan Andersson
b1cf0e28cb Add pre-commit as dep for dev 2019-09-06 22:09:07 +02:00
Johan Andersson
76a699d25a pyupgrade fixes 2019-09-06 22:09:07 +02:00
Johan Andersson
6278d0074f New version of pre-commit hooks 2019-09-06 22:09:07 +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
38fd2fdb51 svtplay: fix a crash with season and episode info
fixes: #1136
2019-09-06 22:06:33 +02:00
Johan Andersson
ba14bf3ed5 Flake8 fixes 2019-09-06 19:16:47 +02:00
Johan Andersson
91ff7cdbff cibuild: move build python package up 2019-09-06 19:15:31 +02:00
Johan Andersson
cf2d50125b cibuild: fix some docker issues 2019-09-06 18:53:05 +02:00
Johan Andersson
bb0689d300 cibuild: for some reason pypi didnt work. 2019-09-06 18:22:16 +02:00
Johan Andersson
5a819afa2f svtplay: they changed the website.
fixes: #1134
2019-09-06 17:26:39 +02:00
Johan Andersson
462e700485 cibuild: run this on custom branches and not on tagged builds 2019-09-06 17:26:33 +02:00
toran4
d1904b2747 Set get_url if get_only_episode_url is set 2019-09-01 22:57:42 +02:00
toran4
e3a88d1a7a removed tabs on empty line 2019-09-01 22:57:42 +02:00
toran4
325ecd71d4 Added option to list only episode urls 2019-09-01 22:57:42 +02:00
dalgr
838b3ecc23 Live download not working from SVTBARN, fix #1121, #1122 2019-08-31 14:57:24 +02:00
Jacob
9146d0d451 Fix appveyor badge and update Solus wording
The appveyor badge was first and formost using the wrong link which meant that clicking on it sent you to look at the image and not the actual project page for it. The old image was blurry and looked bad, so I switched to the SVG badge instead. While at it I also updated the link to the new Solus site and updated the wording.
2019-08-25 17:21:42 +02:00
iwconfig
b64dbf3c3e merge: Map video and audio tracks only once
When dealing with multiple subtitles, the singular video and audio tracks is added with each subtitle. This of course results in a multiplied file size which we don't want.
2019-08-22 20:47:39 +02:00
Harald Gustafsson
f06d3a85c2 Bug fixes for NFO file. Some misunderstand of Kodi tags and happened to swap episode and show plots.
fixes: #991
2019-08-22 20:44:03 +02:00
Sopor
ea59d768d7 readme: fix urls for requests and adding url for ffmpeg for windows
fixes: #1110
2019-08-22 19:35:47 +02:00
Johan Andersson
7e245444b7 nfo: title and showtitle was swapped
fixes: #1125
2019-08-22 19:19:22 +02:00
Johan Andersson
26b0ae19be parsertoconfig: set the wrong value to force_nfo
fixes: #1126
2019-08-22 18:48:59 +02:00
Johan Andersson
6a922a86db barnkanalen: dont crash on show page 2019-08-22 18:10:09 +02:00
Johan Andersson
a89c54dabf cibuild: tag tagged build with latest when building docker image 2019-08-22 08:01:25 +02:00
Johan Andersson
93088a76cc subtitle: dont read another byte if bom
fixes: #1124
2019-08-22 07:57:40 +02:00
Johan Andersson
f429cfc634 Remove unused import 2019-08-20 15:56:49 +02:00
Johan Andersson
3dc2cf5079 subtitle: encode the text to utf-8
this will be the same on windows and *nix

fixes: #1119
2019-08-20 15:49:38 +02:00
Johan Andersson
8c08be1bf4 Add some more warnings to ignore 2019-07-13 14:31:23 +02:00
Johan Andersson
a84b89bafd Rewrote big parts of the _dashparser 2019-07-13 14:31:13 +02:00
Johan Andersson
d33186e54e wrstsegments: fix sync issues
Fixes: #1063
2019-04-13 17:45:29 +02:00
Johan Andersson
be21f7d695 Tv4play: support for the new site
fixes: #1058
2019-04-08 23:24:07 +02:00
Johan Andersson
60c043da62 wrstsegments: fix so we handle newlines better
Fixes: #1050
Fixes: #1038
2019-04-08 23:21:59 +02:00
Johan Andersson
2c3352c57e Tell cx_freeze to include cffi when building windows files
fixes: #1057
2019-03-26 00:05:15 +01:00
Johan Andersson
7649c2dad5 Remove newline and the end of the file 2019-03-25 23:33:31 +01:00
Johan Andersson
7fb5f02032 dr: they have started to use encrypted url’s
Fixes: #1056
Fixes: #1047
2019-03-24 21:06:23 +01: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
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
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
525d33a516 Cosmetic changes from flake8 2019-03-23 00:57:19 +01:00
Johan Andersson
dcbf6a8a0e sr: they have updated the site a little.
Fixes #1033
2019-01-09 21:35:12 +01:00
Johan Andersson
f47e729c01 fetcher.http: if we can detect its mp3, use that as extension. 2019-01-09 21:34:21 +01:00
Johan Andersson
806fd55d3b svt: support for subtitles on the page.
fixes #1026
2019-01-06 21:55:48 +01:00
Johan Andersson
a4d4769457 service: don’t crash if configfile is not set
Fixes #1015
2019-01-06 20:21:45 +01:00