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

981 Commits

Author SHA1 Message Date
Olof Johansson
e781a1e89b prio_streams: add unit tests 2016-03-13 16:56:51 +01:00
Olof Johansson
4740a42050 prio_streams: remove selected from parameters
Moving the responsibility for filtering out "unwanted" bitrates,
as opposed to just present a prioritized list, makes writing
unit tests easier.
2016-03-13 16:56:51 +01:00
Olof Johansson
fe23b971a5 prio_streams: remove options from parameters
Instead, pass the protocol prio list; this was the only reason
we used to pass options. Removing options makes it easier to
unit test.
2016-03-13 16:56:51 +01:00
Olof Johansson
af298e86d9 prio_streams: fix issues with prioritization
Previously, prio_streams didn't correctly account for the protocol,
and we ended up with HDS videos by default, instead of HLS as exected,
because HDS sorts before HLS alphabetically.

Fixes #349
2016-03-13 16:56:51 +01:00
Olof Johansson
fac120c692 make: pylint --report=no should be --reports=no
According to pylint's changelog, --reports has been the officially
documented flag since its introduction, but until recently, --report
also seems to have worked. This has now changed.
2016-03-08 20:32:29 +01:00
Johan Andersson
f047331b8c pylint fixes 2016-02-29 23:19:01 +01:00
Johan Andersson
eb5e2fe5d4 dplay: new way to detect video id
fixes: #347
2016-02-29 23:18:27 +01:00
Johan Andersson
8a4469c810 Anomalous backslash in string fixes 2016-02-22 20:43:57 +01:00
Johan Andersson
55d811286d solidtango: support for embedded and videos on solidtango.com
fixes: #343
2016-02-19 21:29:49 +01:00
Johan Andersson
7f1e2d6fd7 New release 0.30.2016.02.08 2016-02-08 21:47:54 +01:00
Johan Andersson
cd75cd5b63 subtitle.tt: dont crash on negative milliseconds. 2016-02-08 21:28:39 +01:00
Johan Andersson
013b6d1d82 dplay: support for all_last episodes
fixes: #329
2016-02-07 22:16:45 +01:00
Johan Andersson
293b6ae7e5 dplay: better show a error message instead of crashing 2016-02-07 20:44:03 +01:00
Johan Andersson
8db85270c8 dplay: better support for .dk, .no sites
fixes #339
2016-02-07 20:43:51 +01:00
Johan Andersson
e1459fab2f svtplay: need to encode the string before hashing it
fixes #344
2016-02-07 20:10:36 +01:00
Johan Andersson
901ae80c88 unused import 2016-02-07 10:44:49 +01:00
Johan Andersson
595d5a97ac efn: unused variable 2016-02-07 10:44:38 +01:00
Johan Andersson
70254e3429 unused imports 2016-02-07 10:41:43 +01:00
Johan Andersson
4b6393c060 dplay: change to “is” instead of == 2016-02-07 10:32:47 +01:00
Johan Andersson
0f340b194e hds: remove some left over debug code.. 2016-02-07 10:31:28 +01:00
Johan Andersson
4e88894f0c remove some empty lines. 2016-02-07 10:28:07 +01:00
Johan Andersson
4e88d27cbc hls, hds: dont try to parse bad data
fixes: #342
2016-02-07 10:27:01 +01:00
Johan Andersson
1fa3204374 viaplay: we should get the subtitle after we set name
fixes #341
2016-02-07 10:25:49 +01:00
Johan Andersson
3f04ae2a56 swap place on py2 and py3 checks 2016-01-27 19:49:38 +01:00
Johan Andersson
219a134069 tv4play: dont quote unicode strings
fixes #336
2016-01-27 19:28:37 +01:00
Olof Johansson
5c76619e5e Reraise exception proplery to UI with --verbose
When doing raise without arguments in an exception handler, the
exception is reraised with the original exception details.
Currently, the exceptions raised are all attributed the line
changed in this commit.
2016-01-26 00:20:17 +01:00
Johan Andersson
99a0a1169a hdsparse: we should use bootstrapinfoid instead of 0 2016-01-17 00:36:15 +01:00
Johan Andersson
83e63d3e7a New release 0.30.2016.01.10 2016-01-10 21:39:18 +01:00
Johan Andersson
f965b4a00b hls argument never worked. 2016-01-10 21:18:55 +01:00
Johan Andersson
7f2325cc10 main: show which order we preferred download method 2016-01-10 21:17:34 +01:00
Johan Andersson
9274870f81 svtplay: unused import 2016-01-10 20:58:30 +01:00
Johan Andersson
caf936947f svtplay: update the data from the new vid 2016-01-10 20:43:10 +01:00
Johan Andersson
5d61cb9371 svtplay: use the data we already have 2016-01-10 20:42:23 +01:00
Johan Andersson
00114f6750 svtplay: another videoid from the url 2016-01-10 20:36:13 +01:00
Johan Andersson
e895e02d70 svtplay: move find video id into its own function 2016-01-10 20:36:13 +01:00
Johan Andersson
f4b32cb1df Merge pull request #326 from olof/filenamify_improvements
filenamify: disallow shell metachars + improvements
2016-01-10 20:36:07 +01:00
Olof Johansson
7803472713 utils: specify utf-8 encoding in editor modelines 2016-01-10 15:03:45 +01:00
Olof Johansson
f4005505d9 filenamify: Simplify and add unittests 2016-01-10 15:03:45 +01:00
Olof Johansson
9689dc78b0 filenamify: Make title regexp stricter
The - character is a range operator when used in character classes
(e.g. [0-9]). In our case, we want it to match a literal - (which it
coindicentally does, since it's within the range [ -.]. But we don't
want it to match other characters within this range.
2016-01-10 14:33:22 +01:00
Johan Andersson
1ddaad7beb öppetarkiv: all episodes need option 2016-01-07 17:18:38 +01:00
Johan Andersson
9dcf203923 option to select which type of streams you prefer
fixes #321
2016-01-03 16:15:27 +01:00
Johan Andersson
1481e7effd tv4play: fix so we can download normal shows again
fixes #320
2016-01-03 15:10:24 +01:00
Johan Andersson
fc58956e9a fetcher: better output when printing the class 2016-01-03 02:43:23 +01:00
Johan Andersson
c5460b999d svtplay: dont include other in the filename
Sometimes other is the same as name.
fixes #319
2016-01-03 02:43:23 +01:00
Johan Andersson
e0ad3b9967 svtplay: öppetarkiv still use the old names for format 2016-01-03 02:43:23 +01:00
Patrik Ragnarsson
11da233ddf Improve the error message given on crash
Use stderr.
2016-01-01 18:20:34 +01:00
Johan Andersson
2901305818 mtvnn: fix support for downloading every episode
fixes: #316
2016-01-01 14:09:44 +01:00
Johan Andersson
4e24870519 disney: support for disney junior
fixes #317
2016-01-01 13:18:08 +01:00
Johan Andersson
4237021bc7 svtplay: it should be websrt and not wsrt 2015-12-28 11:41:39 +01:00
Johan Andersson
0a20279a94 svtplay: we should check if the user is using svtplay.se 2015-12-28 11:41:15 +01:00