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

198 Commits

Author SHA1 Message Date
Johan Andersson
6b2c860279 Update .pod file 2016-09-06 00:23:14 +02:00
Johan Andersson
7f8906ae3f pokemon: support for downloading videos 2016-09-04 20:44:25 +02:00
Johan Andersson
4ecb24d0ce riksdagen: Adding support
fixes: #436
2016-09-02 01:20:54 +02:00
Johan Andersson
74eae8791f flowonline: add support for the site
fixes: #429
2016-08-23 00:59:57 +02:00
Johan Andersson
356cdff704 viasatsport: Adding support for vod-videos.
fixes: #200
2016-08-20 14:17:54 +02:00
Johan Andersson
1ed9e2aaf2 filmarkivet: adding support for the site
fixes: #423
2016-08-17 19:53:56 +02:00
Johan Andersson
ce367f2b3e main: rewrite some code so it easier to read 2016-08-01 20:55:19 +02:00
Johan Andersson
b295d4f2b0 main: improve output help text
show that we can output to a folder too.
fixes #419
2016-08-01 20:43:24 +02:00
Johan Andersson
9a0eda8b90 spell fixes 2016-08-01 20:40:46 +02:00
Johan Andersson
f8f25cf2a4 Merge remote-tracking branch 'qnorsten/master' into qnorsten 2016-07-24 12:15:11 +02:00
Johan Andersson
75c94a6acd Merge pull request #414 from iwconfig/patch-1
Support for merging subtitles with corresponding ISO639-3 language code
2016-07-24 11:50:47 +02: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
Johan Andersson
8973f19bf7 New release 1.2 2016-06-03 00:12:08 +02:00
Johan Andersson
53d702708b get_one_media: include version crash 2016-06-01 22:11:01 +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
qnorsten
24a1789949 subtitles: --convert-subtitle-colors command added to convert color information in wsrt subtitle files to <font color=""> tags. 2016-05-09 15:10:58 +02:00
qnorsten
4b9cd2a954 Merge branch 'master' of https://github.com/spaam/svtplay-dl.git
# By Johan Andersson (7) and qnorsten (1)
# Via Johan Andersson
* 'master' of https://github.com/spaam/svtplay-dl.git:
  New release 1.1
  Update makefile version number
  makefile: fix a sed error
  diff_man: detect extented regex for sed
  Add new agruments to pod file
  main: move all-subtitles to the rest of subtitles agruments
  Add a silent-semi argument
  get_one_media: added missing checks if subtitles exists before trying to print url using -g
2016-05-05 17:08:45 +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
qnorsten
f807f48b7a get_one_media: added missing checks if subtitles exists before trying to print url using -g 2016-05-05 09:46:12 +02:00
qnorsten
a774a8052b Merge branch 'master' of https://github.com/spaam/svtplay-dl.git into rawsubs
# By Johan Andersson (7) and qnorsten (4)
# Via Johan Andersson (2) and qnorsten (1)
* 'master' of https://github.com/spaam/svtplay-dl.git:
  urplay: dont crash when there is no label
  twitch: Fix so we can get live url again
  fetcher: dont print newline when its silent
  main: add dash in the help text for preferred
  tv4play: free videos with premuim showed up as None
  tv4play: fix unicode errors in showname
  Fixed missing space error
  Some minor code improvments
  postprocess: ext includes dot before fileextention
  Updated gitignore
  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-05-03 22:43:57 +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
1a2b3001cc main: add dash in the help text for preferred
fixes: #383
2016-04-30 22:15:35 +02:00
Johan Andersson
03a6307f38 tv4play: fix unicode errors in showname
fixes: #336
2016-04-30 13:54:26 +02:00
qnorsten
e2093c9a4d subtile: minor code improvments 2016-04-29 11:50:17 +02:00
qnorsten
617f519977 subtitle: added command --raw-subtitles to download raw subtitle file also 2016-04-29 11:49:44 +02:00
qnorsten
162901b263 subtitle: added command --all-subtitle to download all available
subtitles.
subtitle: Added support for subfix in subtile filename.
urplay: added support to download more than 1 subtitle
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-29 11:41:34 +02:00
qnorsten
428d4c5022 Some minor code improvments 2016-04-27 19:37:32 +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
254edb99b7 get_all_episodes: copy options to the next service
this fixes: #373
2016-04-26 23:18:45 +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
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
Johan Andersson
f0c00090d9 New release 1.0 2016-03-28 21:32:26 +02:00
Johan Andersson
a343178d46 update pod file 2016-03-28 21:15:39 +02: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
4218dd5a5b postprocess: basic remux files to .mp4 with ffmpeg/avconv
fixes #121
fixes #36
2016-03-22 22:36:39 +01:00
Johan Andersson
7f1e2d6fd7 New release 0.30.2016.02.08 2016-02-08 21:47:54 +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
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
9dcf203923 option to select which type of streams you prefer
fixes #321
2016-01-03 16:15:27 +01:00
Patrik Ragnarsson
11da233ddf Improve the error message given on crash
Use stderr.
2016-01-01 18:20:34 +01:00