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

217 Commits

Author SHA1 Message Date
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
Johan Andersson
6305dbcc9c Add support for audio language and audio role 2021-05-16 13:55:28 +02:00
Johan Andersson
0ae0b6ae54 Rename old service names to the new one
fixes: #1369
2021-05-13 22:47:14 +02:00
Johan Andersson
da31b75ec9 output.formatname: slap the extension at the end of the output 2021-05-13 13:32:17 +02:00
Johan Andersson
6c172284a8 exclude: convert the filename to a string 2021-05-10 12:09:35 +02:00
Johan Andersson
f9718902a9 postprocess: only do merge to mp4 no need for remux. 2021-05-09 21:49:58 +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
55bf8edcbe hds is dead. thanks for the time.
No one is using this anymore. flash  is dead
2021-05-09 01:20:32 +02:00
Johan Andersson
10e365f695 pyupgrade fixes 2021-04-27 19:44:09 +02:00
Johan Andersson
7a85dc7d74 Add resolution info to --list-quality 2021-04-18 14:06:25 +02:00
Johan Andersson
4ec553e0ed Add py3.6 changes 2021-02-28 22:05:33 +01:00
Johan Andersson
145c81c7fc http: check if split_header value is correct 2021-02-23 23:45:35 +01:00
Johan Andersson
02012221c9 parser: when using -M force -S at the same time 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
Olof Johansson
0e4fc4899c utils.parser: Allow direct access to argparse object before use
The svtplay_dl.util.parser.parser() function builds an argparse object
and applies it to sys.argv. This change splits this to two functions: a
gen_parser() that generates the argparse object and the parser()
function that still implements the old behavior (by itself calling
gen_parser()).

By being able to intercept the generated argparse object before it has
consumed the command line arguments, we can do things like generating
manpages directly from the argument definitions (kudos to the
argparse-manpage project). Such a tool can either be integrated in the
release process of svtplay-dl (affecting the set of dependencies for
everybody), or integrated as part of the distribution building process
(limiting the dependency to opt-in usage from distributions --- or
opening up for other solutions). This change will allow for either, but
does not introduce any new dependencies.

Whereas svtplay-dl supplies its version number as input to the argparse
generation, the argparse-manpage tool requires the function to be
callable without arguments; hence the "unknown" default value for the
version parameter to gen_parser(). It is overriden when used by
svtplay-dl and does not end up in the manpage when used with
argparse-manpage.

This change is backwards compatible; the interface or behavior of
parser() does not change.
2020-10-12 15:03:20 +02:00
Johan Andersson
1e32678ba9 Add support for cookies
it works similar to headers
2020-09-15 23:43:20 +02:00
Johan Andersson
9877a2c558 pre-commit fixes 2020-09-06 14:19:24 +02:00
Johan Andersson
503eb17dc2 utils.getmedia: support for different codecs 2020-07-29 20:45:17 +02:00
Johan Andersson
389b21bde5 pre-commit: use a newer pyupgrade version 2020-05-03 11:35:03 +02:00
Johan Andersson
f85a9d4425 Revert "output: cut the episode names to to 30 chars."
This reverts commit 1721ca1003.

This need to be fixed in a better way
2019-10-18 16:26:21 +02:00
Johan Andersson
1721ca1003 output: cut the episode names to to 30 chars.
fixes: #1004
2019-09-26 22:50:32 +02:00
Johan Andersson
9255069da1 get_one_media: show error message if force-subtitle and no subs
fixes: #1101
2019-09-15 04:01:34 +02:00
Johan Andersson
97f651837a util.output: make download video while using thumbnail and nfo work
When we download a video , nfo and thumbnail,
it will video will complain that the files already exists but its just the nfo and thumbnail.

fixes: #1148
2019-09-09 21:18:40 +02:00
Johan Andersson
e9fca7a771 utils.text: py3 version of html.unescape 2019-09-07 12:24:59 +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
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
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
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
iwconfig
256ca145b2 flake8 fix 2018-12-12 00:20:17 +01:00
iwconfig
1d1574a019 Added option to only download nfo 2018-12-12 00:20:17 +01:00
Johan Andersson
79f77cb785 get_media: check for all_episode from the service config
Fixes: #1009
2018-12-11 01:03:12 +01:00
Johan Andersson
72143b7172 output.findexpisode: don’t crash if we don’t have an id
fixes: #1000
2018-11-18 12:54:37 +01:00
Johan Andersson
36116c7a3b Remove old logging 2018-11-18 12:47:19 +01:00
Johan Andersson
74f68a535b fetcher.rtmp: RIP. Who use flash in 2018 anyway.
Removing old RTMP and related code.
qbrick is not used anyway.
2018-11-12 19:05:41 +01:00
Johan Andersson
772670b6c9 parser.readconfig: handle permission denied while reading config 2018-11-04 22:04:50 +01:00
Johan Andersson
884ad99f9f parser.readconfig: don’t crash on empty file
fixes: #992
2018-11-04 22:01:24 +01:00