1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-23 19:55:38 +01:00
Commit Graph

2506 Commits

Author SHA1 Message Date
Johan Andersson
6ef5d61c37 subtitle: fix spelling mistake
Co-authored-by: bartdedecker
fixes: #1339
2021-03-13 00:53:42 +01:00
Johan Andersson
970d397d44 readme: update the required python version to match the reality 2021-03-12 10:25:34 +01:00
Johan Andersson
be8e935228 svtplay: new site update 2021-03-12 00:20:30 +01:00
Johan Andersson
b91ca11e85 hls: x-map update 2021-03-12 00:20:18 +01:00
Johan Andersson
cb3612b313 viafree: they have m3u8 subtitles in json
For some reason they got some bad data in the first file that we need to skip
fixes: #1332
2021-03-05 00:42:27 +01:00
awabom
998f51fdf6
urplay: extracting filename metadata - title (and title_nice), season, episode, episodename, id (#1299)
Co-authored-by: Johan Andersson <j@i19.se>
2021-02-28 23:14:34 +01:00
Johan Andersson
4ec553e0ed Add py3.6 changes 2021-02-28 22:05:33 +01:00
Johan Andersson
ce06f2c5f4 only support py36+ 2021-02-28 22:03:50 +01:00
Johan Andersson
9a28a1abd5 pre-commit: deps updated 2021-02-28 21:57:59 +01:00
Johan Andersson
e423c1cd35 tv4play: new way to find episodes and clips related to the show
fixes: 1327
2021-02-23 23:45:35 +01:00
Johan Andersson
145c81c7fc http: check if split_header value is correct 2021-02-23 23:45:35 +01:00
Christoffer Holmesland
8cd5793ed4 discoveryplus: changed domain check when finding all espisodes 2021-02-20 16:13:16 +01:00
Johan Andersson
68e9906323 svtplay: better way to detect live channels
fixes: 1325
2021-02-20 14:47:37 +01:00
Johan Andersson
32ba3463e0 barnkanalen: fix so it works with the new site
fixes: #1231
fixes: #1325
2021-02-20 14:13:03 +01:00
Johan Andersson
29744a58af urplay: use wsrt subtitles instead of tt
fixes: #1324
2021-02-16 23:58:18 +01:00
Simon Vallebro
0bcf162083 Fixed issue with series with not active episodes. 2021-02-16 23:57:42 +01:00
Johan Andersson
a263a66a49 discoveryplus: identify free and premium better
fixes: #1321
2021-02-14 16:59:21 +01:00
Johan Andersson
664a9e22bb svtplay: fixed a crash downloading a show thumbnail
fixes: #1319
2021-02-10 22:57:27 +01:00
Johan Andersson
774e29a104 disoveryplus: only add showid when we need it 2021-02-10 21:47:43 +01:00
Johan Andersson
a06a138d90 discoveryplus: need showid to get video data
fixes: #1313
2021-02-10 20:45:00 +01:00
Johan Andersson
4ca255b232 discoveryplus: show an error message if we cant find any videos 2021-02-10 20:41:41 +01:00
Johan Andersson
682ecd9763 service: read the config before we setup HTTP class
fixes: #1316
2021-02-09 22:18:04 +01:00
Johan Andersson
9d34704b47 urplay: sometimes it adds country code several times
this happen when you download all subtitles.
2021-02-09 21:51:11 +01:00
Johan Andersson
9e03fcde7f viaplay: try to find correct subtitle based on domain
fixes: #1315
2021-02-09 21:50:15 +01:00
Martin Evald
4aa528bf7a svtplay: fix so it work with the latest update to the website
fixes: #1312
2021-02-07 14:36:19 +01:00
Johan Andersson
a639f9a9db svt: add support for recipe section
fixes: #1310
2021-02-07 12:07:14 +01:00
Johan Andersson
9536e23619 tv4play: change so its the same url we see on desktop 2021-02-05 20:37:58 +01:00
Johan Andersson
d193679855 dplay: add discoveryplus support 2021-01-18 21:48:46 +01:00
Johan Andersson
4fce58c892 urplay: look for programcontainer to get the json we need
fixes: #1308
2021-01-18 21:48:38 +01:00
Johan Andersson
c3ff0527fc hls: dont decrypt the already unencrypted files.
fixes: #1301
2020-12-31 15:19:22 +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
fb03af3f4d Update pre-commit deps versions 2020-12-31 15:19:22 +01:00
awabom
009aa90ed0 urplay: fixes download of sd-only programs
Fixes download of programs without hd streams on urplay.se
2020-12-29 19:26:53 +01:00
Johan Andersson
82265dab50 svtplay: kanaler will work again
fixes: #1246
2020-12-12 21:44:24 +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
Johan Andersson
53eddea15e dplay: dont crash when we have wrong cookie 2020-12-05 16:44:10 +01:00
Johan Andersson
47aeb1b907 dplay: better message about the st cookie 2020-12-05 16:03:04 +01:00
Johan Andersson
749fd53f63 Fix some warnings in previous commit 2020-11-19 22:21:52 +01:00
Jespor
80a8094661 Updated the API URL to work for NO and DK. It's testet to work. 2020-11-19 22:17:53 +01:00
amigatomte
dae39fae24 Update urplay.py to get videos without hardcoded subtitles 2020-11-19 22:14:43 +01:00
Johan Andersson
09f69b158a workflow: only build docker in the pypi buildstep. 2020-11-19 22:06:47 +01:00
Johan Andersson
d5fecf3682 dockerfile: remove rtmpdump dep 2020-11-19 22:06:12 +01:00
Johan Andersson
14a22916a7 dockerfile: replace MAINTAINER with label
MAINTAINER is deprecated
2020-11-19 22:05:46 +01:00
Johan Andersson
336bf726f2 Split up workflows into different parts 2020-11-19 21:46:06 +01:00
Johan Andersson
bf1f9c545a viafree: check if we have any subtitles
fixes a crash where we expected to see subs but the list is empty
2020-11-13 11:30:42 +01:00
Johan Andersson
ef557cb9fb svtplay: they changed the name of they key for related episodes.
this should hopefully be more future proof.
2020-11-02 23:08:56 +01:00
Johan Andersson
a550bd185f Fix pre-commit comment 2020-10-12 19:32:06 +02:00
Olof Johansson
ac17a4f620 test_postprocess: Avoid depending on network service for tests
The sublanguage detection is handled by a webservice; having the tests
fail because of network issues/service outages would be nice to aovid.
Some environments are even designed to run without network connectivity
(e.g. debian package builds).
2020-10-12 19:27:13 +02: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