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

260 Commits

Author SHA1 Message Date
Johan Andersson
759feec608 output: fix adding extensions even when its not specified 2024-10-25 21:42:06 +02:00
Carl Christerson
85d93464e2 Avoid overwrite config for merge subtitle 2024-10-06 19:45:26 +02:00
Johan Andersson
0424d7005f stream: we should choose the default audio when no languages are set 2024-05-19 22:23:26 +02:00
Mikael Larsson
103ce2f958 introduce reverse download order (-R) 2024-04-26 21:46:32 +02:00
Johan Andersson
d814ba7165 utils.parser: remove resume option 2024-04-26 20:58:49 +02:00
Johan Andersson
c6e0b3124c Rename audio_role to video_role to make it work with signlanguage
This will fix a bug with dash when sometimes got a sign video when
it should have been a normal one.
2024-04-26 20:19:47 +02:00
Johan Andersson
6465b1d4da stream.resolution: Add support for <,<=,> and >= 2023-12-12 20:28:45 +01:00
Johan Andersson
471e4d6063 http: remove range because we dont need it all the time
for some reason once you set it, it will be in every request
after it.
2023-12-10 22:46:11 +01:00
Johan Andersson
924cc0dd50 subs: when using --all-subtitles download all files that have a subfix 2023-12-10 22:46:11 +01:00
Johan Andersson
0440e10241 parser: add token support 2023-10-12 00:55:51 +02:00
Johan Andersson
d35796ff66 utils.stream: forgot .get to fetch the config value 2023-06-02 20:26:32 +02:00
Johan Andersson
485f3fa6d8 postprocess: remove file when only use merge subtitles
In some cases we could end up with two subtitles
but we only have "one" subtitle. like one from HLS and one from
a different way.
2023-06-01 21:11:31 +02:00
Johan Andersson
7882f6ddf1 utils.http: increase number of headers
akamai seems to add a bunch of headers for some reason
2023-04-19 03:30:09 +02:00
Johan Andersson
ce43d1ba4a Update user-agent to something newer 2023-04-19 03:30:06 +02:00
Johan Andersson
46077b7cd2 svtplay: improve detection of episode number 2023-04-09 21:32:39 +02:00
Johan Andersson
cbfd09f6b0 stream.resolution: using config the value is int
we want this to be an string
2023-03-30 22:12:43 +02:00
Johan Andersson
6cf94c93eb output.sanitize: windows windows windows.. 2022-11-21 14:22:51 +01:00
Johan Andersson
2c16302f25 output: sanitize the filename a little 2022-11-21 14:05:36 +01:00
Johan Andersson
29809470c8 filenamify: replace two dots with one 2022-08-28 23:22:04 +02:00
Johan Andersson
16af7a3111 parser: add filename template argument
this was only exposed via config before
2022-08-28 23:18:02 +02:00
Johan Andersson
c547125921 filter_files: increase the ratio to 0.7
0.6 was to low because it was good enough for the first
entry and the ads
2022-06-18 21:23:37 +02:00
Johan Andersson
5cb26d20a8 Move filter_files to its own file 2022-06-04 00:45:55 +02:00
Johan Andersson
1b74c3a862 stream.resolution: dont crash on no resolution info 2022-06-03 06:19:01 +02:00
Johan Andersson
cf5b774d8e Add --resolution argument 2022-05-13 08:36:34 +02:00
Johan Andersson
4bf49f160c config: fix so proxy option work
for some reason i forgot these special
settings for config values.

fixes: #1463
2022-03-31 23:53:57 +02:00
Johan Andersson
f7b3d1b135 getmedia: this should only be two arguments 2022-02-21 13:57:23 +01:00
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
Johan Andersson
96544ae2f8 fix some return values 2021-12-18 21:32:41 +01:00
Johan Andersson
0f9e1908c7 f-string fixes 2021-12-18 19:52:08 +01:00
iwconfig
aee5d90f0f parser: -M does not necessarily imply -S 2021-12-09 20:42:50 +01:00
iwconfig
f3d8371eb5 parser: updated help descriptions of -S and -M if used together 2021-12-09 20:42:50 +01:00
Johan Andersson
4cb985a03c formatname: add support for subfolder and output directory
before it only worked if you had subfolder.
when you added output as a directory it would override the
subfolder content
2021-10-31 15:23:26 +01:00
Johan Andersson
08a85a97e9 formatname: fix tilde so it actually works 2021-09-10 20:34:07 +02:00
Johan Andersson
0cfc53d176 output.formatname: expanduser 2021-09-09 20:30:01 +02:00
Johan Andersson
404373ee30 parser: set subtitle when --all-subtitle is used 2021-08-27 20:22:44 +02:00
Johan Andersson
c4b2747217 utils.download_thumbnails: unescape url
tv4play escape their thumb urls for some reason
2021-07-09 20:30:31 +02:00
Johan Andersson
09843d632a postprocess: add support for mkv 2021-06-25 09:52:25 +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
Johan Andersson
82151fd1ed subtitle_filter: return empty list if no subs. 2021-06-13 01:20:39 +02:00
Johan Andersson
a3642b897d Add missing comma 2021-06-04 20:02:00 +02:00
iwconfig
4fce57bcb9 Fixed semi silent logging message bug 2021-06-04 19:50:03 +02:00
iwconfig
0e0363b5cb Removed otiose if statement 2021-06-04 19:50:03 +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
88432ed5ea subtitle: when preferred is none get all subs.
fixes: #1391
2021-06-02 20:43:04 +02:00
Johan Andersson
d68b3e3d7a subtitle_filter: rewrite function to work as intended 2021-05-24 20:50:38 +02:00
Johan Andersson
0fdcb1e1f0 getmedia: make the subtitle section a bit easier to read. 2021-05-22 23:01:26 +02:00
Johan Andersson
0e8e64b478 select_quality: just show a better error message when a specified quality is not available 2021-05-16 21:40:01 +02:00
Johan Andersson
ee940cc207 list_quality: make the output a bit smaller 2021-05-16 21:00:57 +02:00
Johan Andersson
6bb0b5d065 list_quality: align the columns 2021-05-16 13:55:33 +02:00