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

1383 Commits

Author SHA1 Message Date
Olof Johansson
fa66beff9b select_quality: Simplify and add comments 2016-03-31 20:33:44 +02:00
Olof Johansson
f59207302d prio_streams: Rename to protocol_prio 2016-03-31 20:33:44 +02:00
Olof Johansson
84ca17a14c select_quality: Replace sys.exits with UIExceptions 2016-03-31 20:19:44 +02:00
Olof Johansson
dad2790d9e select_quality: Filter out unwanted protocols before bitrate
It was easily possible to end up in a state where the bitrate prioritization
wanted a bitrate only avaiable via protocols outside of our set of accepted
protocols, like trying to disable dash for svtplay. By doing the protocol
filtering first, we end up only considering "valid" bitrates.
2016-03-31 20:19:44 +02:00
Olof Johansson
9d2054b4bc select_quality: handle when no requested proto is available
Needs to widen the scope of the try: catch block in svtplay_dl/__init__.py
a little, since select_quality can now also fire away UIExceptions.
2016-03-31 20:19:44 +02:00
Olof Johansson
51c71aa1cb error: New exception, NoRequestedProtocols
This excpetion is thrown when the stream can't be accessed by any accepted
protocol (as decided by options.stream_prio).
2016-03-31 20:19:44 +02:00
Olof Johansson
a6e05e4502 prio_streams: make protocol_prio param mandatory
Move the responsibility for extracting it to select_quality (prio_streams'
caller). This makes the prio_streams function simpler.

And at the same time, move the default protocol_prio list to global scope. This
can for instance be used for improved error reporting.
2016-03-31 20:19:44 +02:00
Olof Johansson
b6541100a3 select_quality: fix argument parsing
Instead of parsing the argument to --stream-prio as a comma separated listed, it
was accidentally handled as a space separated list.
2016-03-31 20:19:44 +02:00
Johan Andersson
c125540498 postprocess: this should be None and not False 2016-03-30 18:18:43 +02:00
Johan Andersson
41440ae4c7 readme: move avconv and ffmpeg comment bit higher up 2016-03-29 01:05:53 +02:00
Johan Andersson
f0c00090d9 New release 1.0 2016-03-28 21:32:26 +02:00
Johan Andersson
5930bb4e7d new version number 2016-03-28 21:32:16 +02:00
Johan Andersson
a343178d46 update pod file 2016-03-28 21:15:39 +02:00
Johan Andersson
e20f1212c0 update tests 2016-03-28 21:11:32 +02:00
Johan Andersson
0f67ee1a82 add a spec file for pyinstaller 2016-03-28 19:17:56 +02:00
Johan Andersson
c31cdfeeec postprocess: add copyts 2016-03-28 19:17:06 +02:00
Johan Andersson
1627abc956 tv4play: show an error message when the video is not there 2016-03-27 13:02:49 +02:00
Johan Andersson
f92e94a8d2 expressen: update way to download the videos 2016-03-27 12:49:27 +02:00
Johan Andersson
2941cb31eb include the dash.py file 2016-03-26 23:08:22 +01:00
Johan Andersson
e523141a04 support for dash streams 2016-03-26 21:38:31 +01:00
Johan Andersson
f7488af095 get_media: split all_episodes to its own function 2016-03-26 13:08:45 +01:00
Johan Andersson
504b3ccf22 makefile: include postprocess in the binary
fixes #360
2016-03-25 21:46:41 +01:00
Johan Andersson
a42fa62852 update readme 2016-03-23 00:39:16 +01:00
Johan Andersson
78ceb3c669 dplay: check 401 if we are geoblocked 2016-03-23 00:22:37 +01:00
Johan Andersson
d0d0b2ad21 Update readme 2016-03-23 00:08:05 +01:00
Johan Andersson
22614e1aa6 postprocess: dont hardcode avconv 2016-03-22 23:31:32 +01:00
Johan Andersson
4c8cb7c5d2 which: detect if you have the app in your cwd 2016-03-22 23:31:07 +01:00
Johan Andersson
60a54d7c0a postprocess: do check for ffmpeg and avconv 2016-03-22 23:00:50 +01:00
Johan Andersson
4218dd5a5b postprocess: basic remux files to .mp4 with ffmpeg/avconv
fixes #121
fixes #36
2016-03-22 22:36:39 +01:00
Johan Andersson
2d43702828 fetcher: set a variable if the stream is finished. 2016-03-22 22:28:41 +01:00
Johan Andersson
bb861a4062 utils: implement a function to find program in path 2016-03-22 22:28:07 +01:00
Johan Andersson
cad24eebd4 svtplay: it should be parse.path to detect klipp 2016-03-22 22:26:15 +01:00
Johan Andersson
b9c8851ab1 svtplay: more ways to detect embedded videos or clips 2016-03-20 23:21:21 +01:00
Johan Andersson
ab2741f6bf solidtango: more ways to detect solidtango 2016-03-20 21:04:09 +01:00
Johan Andersson
ab3646e4e2 tv4play: dont encode the showname 2016-03-20 19:15:51 +01:00
Johan Andersson
67fa41fcc5 tv4play: they change the name from user_name to username 2016-03-20 18:40:24 +01:00
Johan Andersson
260bd6c5c6 tv4play: wrong user/passwd crashes the script.
exception handling cant handle unicode on py2
2016-03-20 18:35:53 +01:00
Johan Andersson
a32074dbbe urplay: support for urskola
fixes: #358
2016-03-20 18:21:07 +01:00
Johan Andersson
ca6bb5c9c0 picsearch: more ways to detect the service 2016-03-20 18:20:19 +01:00
Johan Andersson
aba4d892f8 progressbar: this should be bit smaller because of fetcher.http
using bytes instead of low number takes more room
2016-03-20 00:32:01 +01:00
Johan Andersson
ccc502f4a1 fetcher_http: update to use progressbar instead of progress 2016-03-20 00:30:43 +01:00
Johan Andersson
9a86493ea9 Support for python wheel 2016-03-17 17:01:25 +01:00
Johan Andersson
05a20520b0 svtplay: fix embedded videos on svt.se 2016-03-17 16:57:58 +01:00
Johan Andersson
8da9cab05b filenamify: dont remove the char before and after - 2016-03-17 16:57:12 +01:00
Johan Andersson
05b245dfaa filenamify: replace .-. with only - 2016-03-16 22:51:19 +01:00
Johan Andersson
d3b0e106c3 generic: download embedded picsearch videos
fixes: #356
2016-03-16 22:50:43 +01:00
Johan Andersson
af70db9431 generic: download embedded lemonwhale videos
fixes: #355
2016-03-16 22:47:03 +01:00
Johan Andersson
ef22f9885e generic: service need one more argument 2016-03-16 19:36:40 +01:00
Johan Andersson
2bb8f82287 lemonwhale: add support for vk.se 2016-03-16 18:58:17 +01:00
Johan Andersson
6d57453278 hls._get_full_url: dont append query string to the url 2016-03-16 18:56:52 +01:00