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

1071 Commits

Author SHA1 Message Date
iwconfig
91cc1a18a2 Fixed minor bug with manual mappings options for ffmpeg
also a tiny cleanup
2016-07-11 23:05:03 +00:00
iwconfig
c5eea95c3f Now --remux is on by default with --merge-subtitle.
Also fixed small bug when using --all-subtitles with only one available
subtitle.
2016-06-30 23:57:27 +00:00
iwconfig
3c1d45a37c Fixed issue with --force-subtitle.
--force-subtitle and -S did not respect each other but now it is
working as it should. If --force-subtitle is used with -S it downloads
only the subtitles, and if --force-subtitle is used alone it overwrites
the existing subtitles and continues with the audio/video stream.
2016-06-30 23:57:27 +00:00
iwconfig
4e63c15ef9 Added -M, --merge-subtitle to merge subtitle(s).
The option gets the correct ISO639-3 language code using my own simple
language detection api, and merges with correct metadata using ffmpeg.
If ffmpeg is not installed an error message is raised since avconv
doesn't seem keep up with ffmpeg.

I also did a little cleanup in postprocess().
2016-06-30 23:57:27 +00:00
iwconfig
4f6c4821d7 remux only if file is not mp4 2016-06-02 01:47:25 +02:00
Johan Andersson
cf7380211f mtvnn: add support for nickelodeon.dk
fixes #394
2016-06-02 00:54:35 +02:00
Johan Andersson
10a259982e smi: it should be three decimals and not two
this fixes #398
2016-06-01 22:54:11 +02:00
Johan Andersson
c0b4d278b4 sami: dont crash on &
this fixes #396
2016-06-01 22:43:39 +02:00
Johan Andersson
b298e823eb nrk: add some error checks if geoblocked 2016-06-01 22:15:45 +02:00
Johan Andersson
53d702708b get_one_media: include version crash 2016-06-01 22:11:01 +02:00
Johan Andersson
704fc6dee8 disney: move down the exclude so it catch the new name 2016-06-01 22:11:01 +02:00
Svein Hansen
56a404686a tv.nrk.no website html change. Error when finding the video id. 2016-05-26 23:09:47 +02:00
Johan Andersson
fa730a5564 remove options in argument for exclude 2016-05-14 22:54:30 +02:00
Johan Andersson
c324374ba7 service: exclude should use options in the class 2016-05-14 22:41:33 +02:00
Johan Andersson
af66859dd5 get_one_media: move force_subtitle to main function
with this it will work for every site with subtitles
2016-05-14 22:38:23 +02:00
Johan Andersson
23814a9bf5 select_quality: fix crash while using range
fixes: #392
2016-05-14 11:17:34 +02:00
Johan Andersson
c6abc2e6d9 New release 1.1 2016-05-05 14:02:03 +02:00
Johan Andersson
468f36c62c main: move all-subtitles to the rest of subtitles agruments 2016-05-05 12:34:05 +02:00
Johan Andersson
7a29dcb65a Add a silent-semi argument
It that will only print error, warning and
when the file is downloaded.
2016-05-05 11:34:10 +02:00
qnorsten
7d575ee382 get_one_media: added missing checks if subtitles exists before trying to print url using -g 2016-05-05 10:38:43 +02:00
Johan Andersson
f49354387a urplay: dont crash when there is no label 2016-05-03 20:35:16 +02:00
Johan Andersson
435e58436e Merge pull request #379 from qnorsten/master
Added support for download of all available subtitles on a video
2016-05-03 20:18:32 +02:00
Johan Andersson
45be38c39d twitch: Fix so we can get live url again
fixes: #385
2016-05-02 22:26:30 +02:00
Johan Andersson
3ea58c0461 fetcher: dont print newline when its silent 2016-05-01 13:12:19 +02:00
Johan Andersson
1a2b3001cc main: add dash in the help text for preferred
fixes: #383
2016-04-30 22:15:35 +02:00
Johan Andersson
5cf6e0fe45 tv4play: free videos with premuim showed up as None 2016-04-30 14:10:43 +02:00
Johan Andersson
03a6307f38 tv4play: fix unicode errors in showname
fixes: #336
2016-04-30 13:54:26 +02:00
qnorsten
26a027517c Merge pull request #1 from spaam/master
postprocess: ext includes dot before fileextention
2016-04-28 23:14:08 +02:00
qnorsten
156d60f8de Fixed missing space error 2016-04-27 19:41:23 +02:00
qnorsten
428d4c5022 Some minor code improvments 2016-04-27 19:37:32 +02:00
Johan Andersson
003c494e0b postprocess: ext includes dot before fileextention
this fixes: #380
2016-04-27 18:53:47 +02:00
qnorsten
56e07188ee Added support for subfix in filename of subtitles, when several languages are available
Added command to download all available subtitles for a video (--all-subtitles)
Added support to print all the subtitle urls when the get url parameter is used
Fixed so subtitle url and stream url get printed if -S and -g but not --force-subtitles parameter is used
Added support for downloading all subtitles and auto subfix them with language name for Urplay and Urskola (even when just one subtitle is downloaded)
2016-04-27 10:37:47 +02:00
Johan Andersson
f159ebd9e3 get_one_media: dont download subtile with -g and -S
fixes: #366
2016-04-27 00:38:44 +02:00
Johan Andersson
d56a5f4deb get_one_media: print subtitle url
with --force-subtile, -g and -S it will print the url for subtitle
fixes: #367
2016-04-27 00:34:25 +02:00
Johan Andersson
0fe57c52a2 select_quality: support for range to -q
this is similar to -Q  but instead its -q 2000,3000  . it will choose one in between
fixes: #372
2016-04-26 23:48:12 +02:00
Johan Andersson
92b734daab urplay: fix scrape so it works again
this fixes: #374
2016-04-26 23:22:59 +02:00
Johan Andersson
254edb99b7 get_all_episodes: copy options to the next service
this fixes: #373
2016-04-26 23:18:45 +02:00
Johan Andersson
4d392d6664 subtitle: strip line endings 2016-04-20 18:42:46 +02:00
Johan Andersson
e5059afb7a tv4play: add client to post data 2016-04-19 21:58:11 +02:00
Johan Andersson
fcbcb25fce picsearch: new type of embedded video 2016-04-19 21:08:17 +02:00
Johan Andersson
6d79ce9c04 tv4play: new url for login 2016-04-19 21:06:51 +02:00
Olof Johansson
5393dc1929 Fix various pylint warnings
None of these were any real problems, but easier to spot real issues if pylint
is a bit quieter. Apart from the pylint overrides being sprinkled over the code
base, this commit also fixes occurences of the following issues:

 - logging-not-lazy
 - logging-format-interpolation
 - unused-import
 - unused-variable
2016-04-03 19:06:45 +02:00
Johan Andersson
f15df72ff2 Merge pull request #362 from olof/dash_complete_progressbar
dash: complete the progress bar after file is downloaded
2016-04-02 17:52:12 +02:00
Olof Johansson
556d85e31f dash: complete the progress bar after file is downloaded
The progress bar wasn't updated after the downloaded completed,
so the final progress bar would look something like this:

   [99/100][===============================.] ETA: 0:00:00

This can be interpreted as the file didn't download completely.

Reported-by: rooth
2016-04-02 17:35:10 +02:00
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