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
Johan Andersson
04a510e65c
Fix cache after github actions changes
2020-10-10 15:18:26 +02:00
Johan Andersson
d6dc139925
urplay: Fix so we can download videos again
2020-10-10 13:30:44 +02:00
Johan Andersson
9756bcfbd1
requirements-dev: add twine as dependency.
...
we need this for pypi
2020-10-10 12:59:59 +02:00
Johan Andersson
26657e47e4
dplay: fix a crash when getting info for video
2020-10-10 12:59:14 +02:00
Johan Andersson
7f5a70007d
Add py39 to github actions
2020-10-10 12:59:01 +02:00
Johan Andersson
ddefda1cf6
svtplay: fix a crash when using -A
...
fixes : #1257
2020-09-30 21:11:09 +02:00
Johan Andersson
f5e967bffc
dplay: add some error checks.
2020-09-29 20:39:27 +02:00
Johan Andersson
7db9f7ef7f
solidtango: add support for user / passwd for solidsport
2020-09-27 20:37:13 +02:00
Johan Andersson
e94f9b3cd8
remove old debug print..
2020-09-27 20:37:13 +02:00
Martin Carlberg
a25b50d077
Fixed: removed whitespace on solidsport domain
2020-09-23 21:47:46 +02:00
Johan Andersson
e92ebbbcab
setup: force reading readme encoding to utf-8
2020-09-20 17:29:28 +02:00
Johan Andersson
882c7f4ec9
solidtango: add basic support for solidsport
2020-09-20 14:00:15 +02:00
Johan Andersson
f57a4f821f
readme: add build status from gitlab actions
2020-09-20 13:59:39 +02:00
Johan Andersson
b26e677264
cibuild: glob is only one argument
2020-09-20 10:16:15 +02:00
Johan Andersson
07deb1baa5
test: formatname platform tests
2020-09-19 15:16:52 +02:00
Johan Andersson
d1e8c34a6e
setup: open readme without arguments
2020-09-19 14:53:55 +02:00
Johan Andersson
d1f5b3fb1b
test: add more formatname tests
2020-09-19 14:49:26 +02:00
Johan Andersson
0cdad19205
setup: add long decription
2020-09-18 00:24:33 +02:00
Johan Andersson
5fc7750e17
dplay: fix so it works with the updated website
2020-09-15 23:44:18 +02:00
Johan Andersson
1e32678ba9
Add support for cookies
...
it works similar to headers
2020-09-15 23:43:20 +02:00
Johan Andersson
c5f777b548
setup: add py3.7 and 3.8, remove 3.4
2020-09-14 23:07:58 +02:00
Johan Andersson
964b2d3d20
viafree: fix subtitles
2020-09-14 23:07:58 +02:00
Simon Vallebro
478fd3b399
Applied similar fix for get all episodes i.e. -A ( #1 )
2020-09-13 20:21:53 +02:00
Jan
43542355a7
tv4play: Adapt to modified json structure
2020-09-13 20:21:53 +02:00
Sebastian Kemi
35e3b58453
Add support for webvtt subtitles in Oppetarkiv
2020-09-13 20:16:59 +02:00
Johan Andersson
54412eb823
We should add the file too..
2020-09-13 20:13:31 +02:00
Johan Andersson
799eae3f0a
cibuild: specify region.
...
for some reason this fail to detect via magic
2020-09-13 20:09:32 +02:00
Johan Andersson
2920bb9965
cibuild: only build docker on linux and exit when cibuild is no
2020-09-10 20:21:44 +02:00
Johan Andersson
192a3a042b
cibuild: only build stuff for specific builders
2020-09-10 20:13:54 +02:00
Johan Andersson
bc7b94ed0d
Revert "Only upload binaries for a specifc job"
...
This reverts commit bfee2714d6
.
2020-09-10 11:55:58 +02:00
Johan Andersson
2ea376ba0e
github: install awscli
2020-09-10 11:14:57 +02:00
Johan Andersson
bfee2714d6
Only upload binaries for a specifc job
2020-09-08 22:49:19 +02:00
Johan Andersson
5b79cc5da6
Add missing env for actions
2020-09-08 22:42:42 +02:00
Johan Andersson
295d924a44
Switch to github actions
2020-09-08 22:29:45 +02:00
Johan Andersson
7c2b93bcc4
remove travis and appveyor
2020-09-08 11:01:29 +02:00
Johan Andersson
70a0804796
Use python3.8 windows
2020-09-06 14:32:40 +02:00
Johan Andersson
9877a2c558
pre-commit fixes
2020-09-06 14:19:24 +02:00
Johan Andersson
5020f50023
Use cx_Freeze from pypi instead of git
2020-09-06 14:12:15 +02:00
Johan Andersson
6bde2e76bf
dr: fix so it work with the new site
2020-07-30 22:39:27 +02:00
Johan Andersson
2bddaba826
cmore: fix user and password
2020-07-29 23:14:54 +02:00
Johan Andersson
8019a7e464
testcases fixes
2020-07-29 20:45:17 +02:00
Johan Andersson
b88f63ee65
cmore.mpd format
2020-07-29 20:45:17 +02:00
Johan Andersson
503eb17dc2
utils.getmedia: support for different codecs
2020-07-29 20:45:17 +02:00
Johan Andersson
74ef2a709f
svtplay: support for codecs
2020-07-29 20:45:17 +02:00
Johan Andersson
0a201259d8
dash: support for codecs
2020-07-29 20:45:12 +02:00
Johan Andersson
7c35b3032f
hls: support for detecting codecs
2020-07-28 21:26:13 +02:00