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

69 Commits

Author SHA1 Message Date
Johan Andersson
6a13d15715 test: add some m3u8 test files 2021-08-14 17:21:06 +02:00
Johan Andersson
c66590c807 dash.parse_dates: support everything between miliseconds and nanoseconds 2021-06-30 12:45:06 +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
45fceaaa8f test: add some for new functions 2021-05-24 20:51:14 +02:00
Johan Andersson
fed357e432 dash: support for vod files when a live video stops 2021-05-23 23:37:21 +02:00
Johan Andersson
0b35220e2f tests: rewrite dash tests 2021-05-23 23:31:21 +02:00
Johan Andersson
6305dbcc9c Add support for audio language and audio role 2021-05-16 13:55:28 +02:00
Johan Andersson
494c9e3eb7 Add some tests to dash.parse_date 2021-05-13 13:33:14 +02:00
Johan Andersson
d5751122f4 fix test_text tests 2021-05-10 12:14:30 +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
938ae7d9b9 pre-commit: add-trailing-comma 2020-12-31 15:19:22 +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
Johan Andersson
07deb1baa5 test: formatname platform tests 2020-09-19 15:16:52 +02:00
Johan Andersson
d1f5b3fb1b test: add more formatname tests 2020-09-19 14:49:26 +02:00
Johan Andersson
9877a2c558 pre-commit fixes 2020-09-06 14:19:24 +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
389b21bde5 pre-commit: use a newer pyupgrade version 2020-05-03 11:35:03 +02:00
Johan Andersson
0826b8fa11 test: add some more generic service tests. 2019-09-16 00:53:30 +02:00
Johan Andersson
c08e5460fe test: add tests for service_handler 2019-09-15 23:41:39 +02:00
Johan Andersson
dc8e62103f Add test files for sublanguage 2019-09-15 19:06:12 +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
7271370c84 test: add test for sort_quality 2019-09-07 12:28:51 +02:00
Johan Andersson
f121567834 test: add ensure_unicode and test_decode_html code 2019-09-07 12:28:21 +02:00
Johan Andersson
addf05baa9 test: improve get_full_url 2019-09-07 12:27:36 +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
9678370dce Add a bunch of subtitle function unittests 2019-09-06 22:09:07 +02:00
Johan Andersson
375f7d8946 Add support for pytest 2019-09-06 22:09:07 +02:00
Johan Andersson
76a699d25a pyupgrade fixes 2019-09-06 22:09:07 +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
Johan Andersson
a84b89bafd Rewrote big parts of the _dashparser 2019-07-13 14:31:13 +02:00
Johan Andersson
feb503e013 daskparse: search for contentType on adaptationset instead of mimype
Svtplay stopped using mime type on adaptionset.
Fixes: #1054
2019-03-23 01:20:56 +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
f0efb1b685 tests.dash: add some basic tests for _dashparse 2018-10-07 19:53:09 +02:00
Johan Andersson
b5aed11c17 tests._formatname: add some test on different format test configurations 2018-10-05 23:28:05 +02:00
Olof Johansson
8c19f96e46 output: Adapt test suite to new location of module
The output module was moved from svtplay_dl.output to
svtplay_dl.utils.output some time ago.
2018-09-30 19:00:13 +02:00
Olof Johansson
bbf10ee077 hls: Break out get_full_url tests to new test suite (http)
The get_full_url was moved some time ago from the hls module to the
svtplay_dl.utils.http module.
2018-09-30 19:00:13 +02:00
Olof Johansson
228d34c500 filenamify: Make the test suite import module from right location 2018-09-30 19:00:13 +02:00
Olof Johansson
5f087f0efa protocol_prio: Make the test suite import module from right location
The tests are still failing, but not from ImportError anymore.
2018-09-30 19:00:13 +02:00
Johan Andersson
ca49366002 Options to config 2018-05-13 13:06:45 +02:00
Johan Andersson
7b6ceb4737 Flake8 fixes 2018-01-30 20:17:33 +01:00
Olof Johansson
251965ed7e tests/hls: Specify static m3u in module instead of fetching with http
This avoids dependency on networking to run the test suite, as well as
making the test suite more robust in case of changes at the remote
location. Because of possible copyright issues, I opted not the use the
m3u file, but create a new one with similar properties.

This change also avoids hash ordering issues, by comparing the python
data structures directly, instead of a dumped json representation. There
are no guarantees that keys are ordered the same way when run in
different environments (and possibly in the same environment at
different times).
2018-01-27 00:29:23 +01:00
dalgr
c28e35b1cb Add tag 'URI' and simplify m3u json 2018-01-07 01:53:00 +01:00
dalgr
73bdf87b38 Fix bug in m3u8 parser, add a test for 'parse_m3u8.master_playlist' 2018-01-07 01:53:00 +01:00