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

74 Commits

Author SHA1 Message Date
Johan Andersson
18009e7dc3 pylint fixes 2021-12-19 13:40:15 +01:00
Johan Andersson
e20d753a15 logging f-strings fixes 2021-12-18 21:36:16 +01:00
iwconfig
487da6b643 postprocess: add comment about use of -S and -M 2021-12-09 20:42:50 +01:00
iwconfig
4c90677089 Revert "postprocess: when merge subtitle into file remove it"
This reverts commit a03fabc5ab.
2021-12-09 20:42:50 +01:00
Johan Andersson
4796e618f8 postprocess: we should use the filename without extension 2021-10-31 02:42:35 +02:00
Johan Andersson
d44a838298 postprocess: use a different function to detect ffmpeg.exe
the previous function said it was a file but there was none
2021-10-30 14:24:44 +02:00
Johan Andersson
a03fabc5ab postprocess: when merge subtitle into file remove it
fixes: 1427
2021-10-27 14:54:01 +02:00
Johan Andersson
adcaa73210 postprocess: support for finding ffmpeg in same directory
this will be helpful on windows if you dont have ffmpeg in
your PATH. it will look for ffmpeg in same directory
as svtplay-dl.exe.
2021-09-22 20:49:24 +02:00
Johan Andersson
c5ae97565e postprocess: handle multiple subs better
there was an issue with multiple subs and seperated
audio and video files. the counting became a bit wrong
and added the audio track twice and skipped the last
subtitle. it worked great when a/v was in the same file
2021-07-05 17:45:17 +02:00
Johan Andersson
09843d632a postprocess: add support for mkv 2021-06-25 09:52:25 +02:00
Johan Andersson
313aed4e33 postprocess: use re that we already imported 2021-06-24 23:21:15 +02:00
Johan Andersson
00e5c84196 postprocess: remux and merge is more or less the same.
they do the same. better to have one function to do it.
2021-06-13 01:22:16 +02:00
iwconfig
19d63f1eb9 Added some boolean flags to the postprocess
* replaced `--remux` with `--no-remux`
    * added `--no-merge`
    * added `--no-postprocess`
    * added `--keep-original`

This should be sufficient to consider issue #1194 fixed.
2021-06-04 19:50:03 +02:00
Johan Andersson
e6379d9a28 postprocess: tell the filenames to be strings.
this is an issue on windows.
2021-05-10 20:51:55 +02:00
Johan Andersson
2175e8d6a5 postprocess: when merge and all subs do all of them 2021-05-09 21:51:48 +02:00
Johan Andersson
bb09d0fc76 postprocess: the output is an .mp4 file 2021-05-09 21:50:41 +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
10e365f695 pyupgrade fixes 2021-04-27 19:44:09 +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
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
Johannes Holmberg
806fc1d9d7 postprocess: figure out audio_filename before looking for tracks 2019-09-29 20:48:14 +02:00
Johan Andersson
b0b9582f63 test.postprocess: add some tests for sublanguage 2019-09-15 19:00:38 +02:00
Johan Andersson
5fc9bf49d7 test: postprrocess: _streams, _getcodec and _checktracks 2019-09-15 17:31:49 +02:00
Johan Andersson
ee717a71a4 postprocess: return the actual codec 2019-09-15 16:54:57 +02:00
Johan Andersson
32e54c773e postprocess: better handling when its separated tracks 2019-09-14 22:53:03 +02:00
Johan Andersson
b428bcc398 postprocess: fix a crash during remuxing because it could not find tracks
fixes: #1153
2019-09-14 20:12:56 +02:00
Johan Andersson
d51113df36 postprocess: handle when we done have a video track and switch bitstream only on aac ts files. 2019-09-14 14:17:45 +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
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
Johan Andersson
36116c7a3b Remove old logging 2018-11-18 12:47:19 +01:00
Johan Andersson
ca295d461d flake8: new version detecting more stuff 2018-10-28 23:16:00 +01:00
Johan Andersson
c97ec9030e subtitle.remux: remove copyts
copyts made that videos started at 10s and made subtitles be wrong.
2018-07-12 00:53:55 +02:00
Johan Andersson
d61e5793e6 use which from stdlib instead our own version 2018-07-05 01:26:43 +02:00
Johan Andersson
7aba2589ec _checktracks: support for language in the stream 2018-06-24 21:55:18 +02:00
Johan Andersson
a5f1ee4c25 postprocess: set the right output filename when using remux 2018-05-13 13:18:36 +02:00
Johan Andersson
9ce61f499d postprocess: generate correct filename 2018-05-13 13:09:27 +02:00
Johan Andersson
5474da2251 postprocess: use config 2018-05-13 13:09:27 +02:00
Johan Andersson
d4dc9693df postprocess: use output in streams instead of options 2018-05-13 13:07:37 +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
a051418dab utils: move functions out of init to its own files. 2018-05-13 12:10:19 +02:00
Johan Andersson
2283d3e593 postprocess: fix indentation 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
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