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

1882 Commits

Author SHA1 Message Date
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
b0187a089a Add pyyaml as deps 2018-05-13 13:06:50 +02:00
Johan Andersson
e17fce987f appveyor: use nuitka instead of pyinstaller 2018-05-13 13:06:50 +02:00
Johan Andersson
ca49366002 Options to config 2018-05-13 13:06:45 +02:00
Johan Andersson
28dcc90d7e flake8 fixes 2018-05-13 12:10:19 +02:00
Johan Andersson
52ee45b742 Add pycryptodome to requirements.txt 2018-05-13 12:10:19 +02:00
Johan Andersson
698ad195b7 rewrite logging a bit 2018-05-13 12:10:19 +02:00
Johan Andersson
a051418dab utils: move functions out of init to its own files. 2018-05-13 12:10:19 +02:00
Johan Andersson
b7c2faad07 Update setup.py
Remove py2 references and add pycryptodome as a deps.
fixes #850
2018-05-13 12:09:27 +02:00
Johan Andersson
39f1f2c162 change order of operator 2018-05-13 12:09:27 +02:00
Johan Andersson
a7dfff596b svtplay: missing import 2018-05-13 12:09:27 +02:00
Johan Andersson
859fd50efa flake8 break long lines 2018-05-13 12:09:27 +02:00
Johan Andersson
50ef5821f4 flake8 add some space for the operator 2018-05-13 12:09:27 +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
8f126c3d49 flake8 add new line end of file 2018-05-13 12:09:27 +02:00
Johan Andersson
bb8d10bed6 Add E402 to ignore list for flake8 2018-05-13 12:09:27 +02:00
Johan Andersson
abee3fea4f tox, we should also run lint 2018-05-13 12:09:27 +02:00
Johan Andersson
b025849a89 change some flake8 configs 2018-05-13 12:09:27 +02:00
Johan Andersson
22e3c8e5ac urljoin in hls 2018-05-13 12:09:27 +02:00
Johan Andersson
6fd34bcd65 travis, install deps 2018-05-13 12:09:27 +02:00
Johan Andersson
f6c9bd2d28 Add travis cache option 2018-05-13 12:09:27 +02:00
Johan Andersson
892d40f932 Add a travis script 2018-05-13 12:09:27 +02:00
Johan Andersson
8f74539a9c Add appveyor script 2018-05-13 12:09:27 +02:00
Johan Andersson
5d1f86d8fc flake8 fixes 2018-05-13 12:09:27 +02:00
Johan Andersson
defa24b566 Add some files that will be used for testing 2018-05-13 12:09:27 +02:00
Johan Andersson
5a97c4048d lets remove max-complexity from setup.cfg 2018-05-13 12:09:27 +02:00
Johan Andersson
8af26fb5c7 unused imports 2018-05-13 12:09:27 +02:00
Johan Andersson
903a4ae71d No need for utils.io 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
Johan Andersson
86a8ea52e9 use logging? 2018-05-13 12:09:27 +02:00
Johan Andersson
7137278213 Do the merge and check some options in main 2018-05-13 12:09:27 +02:00
Johan Andersson
a6c4de8d9d flake fix 2018-05-13 12:09:27 +02:00
Johan Andersson
b82831df03 Move services to its own file 2018-05-13 12:09:27 +02:00
Johan Andersson
d496955cb4 Move Options to parser? 2018-05-13 12:09:27 +02:00
Johan Andersson
03c8b68bb6 Move get_* to its own file 2018-05-13 12:09:27 +02:00
Johan Andersson
3da6728ae3 move mergeparseroption to parser.py 2018-05-13 12:08:11 +02:00
Johan Andersson
c135ed3593 move parser to its own file 2018-05-13 12:08:11 +02:00
Johan Andersson
8109b592a6 pep8 fixes 2018-05-13 12:08:11 +02:00
Johan Andersson
e5fff7a15f get_one_media: remove some stdout code 2018-05-13 12:08:11 +02:00
Johan Andersson
2283d3e593 postprocess: fix indentation 2018-05-13 12:08:11 +02:00
Johan Andersson
2c4e3b5843 main: no need for usage 2018-05-13 12:08:11 +02:00
Johan Andersson
022eda0c56 postprocess: rewrite some subfixes checks 2018-05-13 12:08:11 +02:00
Johan Andersson
ddce6ae2aa use argparse instead of optionparser 2018-05-13 12:08:11 +02:00
Johan Andersson
b8c1163852 remove a bunch of is_py. time for py3. 2018-05-13 12:08:11 +02:00
iwconfig
bdf33167d3 check subtitle length before random.sample()
Pass random.sample() the total number of sentences in the subtitle if less than 8.
i.e. max 8 sentences.

fixes #659
2018-05-06 20:02:07 +02:00
dalgr
6ee5cbbc80 Make '_autoname' in 'Tv4play' safer by adding value checks and try/except 2018-05-06 19:03:50 +02:00
dalgr
a5ad609a6c Add a new service npo, for 'npo.nl' 2018-05-06 15:36:04 +02:00
dalgr
f474fb9b0c Fix for issue #888, viafree not working 2018-05-06 15:35:23 +02:00