Johan Andersson
|
7c2d86375e
|
utils.output: dot and dash is optional
|
2018-10-05 23:28:05 +02:00 |
|
Johan Andersson
|
1499a006f7
|
get_one_media: fix a crash in older versions of py3
fixes #969
|
2018-10-01 22:33:27 +02:00 |
|
Johan Andersson
|
10e1413eb6
|
get_media: use logging instead of log
|
2018-10-01 22:07:01 +02:00 |
|
Johan Andersson
|
559e950e68
|
getmedia: in some cases after_case is None
fixed: #974
|
2018-09-24 00:27:24 +02:00 |
|
Harald Gustafsson
|
fd0171d257
|
New option to only download videos that are published on or after a certain date. Relies on the new metadata extraction. When metadata is missing defaults to download. Useful for channels that don't publish episodes in order e.g. barnkanalen.
|
2018-09-05 21:43:52 +02:00 |
|
Harald Gustafsson
|
073f26e618
|
Added broadcast/publishing datetime to metadata extraction and NFO file creation.
|
2018-09-05 21:43:52 +02:00 |
|
Harald Gustafsson
|
4388e57112
|
Move the new metadata based thumbnail download into a reusable class instead of directly in Svtplay (requires that the service extract thumbnail urls during parsing of the video info into the self.output variable and the keys 'showthumbnailurl' and 'episodethumbnailurl'). Change OpenGraphThumbMixin to use the new download_thumbnails which makes correct filenames. Removed the old download_thumbnail.
|
2018-09-05 21:43:52 +02:00 |
|
Harald Gustafsson
|
fc71a8d8e4
|
flake8 fixes.
|
2018-09-05 21:43:52 +02:00 |
|
Harald Gustafsson
|
c15d7607eb
|
Create NFO files with the extracted metadata. TVshows get a tvshow.nfo file as well.
|
2018-09-05 21:43:52 +02:00 |
|
Harald Gustafsson
|
184f79a377
|
Option to automatically create a subfolder for tvshows, named as the show title. When not a series will use a subfolder titled movies.
|
2018-09-05 21:43:52 +02:00 |
|
Harald Gustafsson
|
bf0e38a6f9
|
Working thumbnail download. Used by svtplay and barnkanalen, downloads both episode and show thumbnails.
|
2018-09-05 21:43:52 +02:00 |
|
Harald Gustafsson
|
71b40f975a
|
Fix bug that get_thumbnail could never be called, due to overwrite of the stream variable.
|
2018-09-05 21:43:52 +02:00 |
|
Johan Andersson
|
a6e2bae955
|
utils.stream: remove some debug prints
|
2018-09-05 16:40:56 +02:00 |
|
Johan Andersson
|
d693e16596
|
get_multiple_media: this should be config
|
2018-07-16 21:21:18 +02:00 |
|
Johan Andersson
|
e377ee7386
|
output: --force should work on subtitles too
|
2018-07-05 01:26:43 +02:00 |
|
Johan Andersson
|
a0ab26a939
|
utilis.http: move get_full_url from hls to http
|
2018-07-05 01:26:43 +02:00 |
|
Johan Andersson
|
d61e5793e6
|
use which from stdlib instead our own version
|
2018-07-05 01:26:43 +02:00 |
|
Johan Andersson
|
8b54c05ca8
|
getmedia: use logging instead of log
|
2018-06-24 16:14:57 +02:00 |
|
Johan Andersson
|
138995925e
|
_formatname: check if we have season in output
|
2018-06-03 18:03:09 +02:00 |
|
Johan Andersson
|
2a94b927d0
|
_formatname: in some cases we dont have the episode and only season.
we want to have like "name.s01.new.stuff.service.id.ext"
its better than "name.new.stuff.service.id.ext"
|
2018-06-03 15:48:48 +02:00 |
|
Johan Andersson
|
fa3b16bfcd
|
get_one_media: use logging instead of log.
|
2018-06-03 12:49:49 +02:00 |
|
Johan Andersson
|
276b55dc8c
|
get_one_media: we get the config nowadays
|
2018-06-03 00:12:15 +02:00 |
|
Johan Andersson
|
12021ee355
|
get_one_media: dont try to run exclude on exceptions
|
2018-05-31 01:30:25 +02:00 |
|
Johan Andersson
|
d69244d39c
|
merge: dont try to merge when new is None
|
2018-05-26 01:26:30 +02:00 |
|
Johan Andersson
|
526c6bbdbe
|
get_one_media: always remux hls
fixes #903
|
2018-05-25 22:49:05 +02:00 |
|
Johan Andersson
|
bbf2f82b79
|
fetcher: make name a property
|
2018-05-25 22:47:26 +02:00 |
|
Johan Andersson
|
dea461c198
|
get_one_media: instead of using hardcoded name of fetcher check for audio
|
2018-05-24 21:18:14 +02:00 |
|
Johan Andersson
|
30f09b4bad
|
output: we can have separate a/v stream in .ts but there is no extension to separate them
fixes: #902
|
2018-05-24 21:15:14 +02:00 |
|
Johan Andersson
|
b77b78b121
|
output: dont try to check empty values
|
2018-05-21 23:37:00 +02:00 |
|
Johan Andersson
|
8b340bb103
|
get_media: use config inside of stream
|
2018-05-20 21:09:49 +02:00 |
|
Johan Andersson
|
a8fa7a8aa3
|
get_media: we already have this code in parser
|
2018-05-20 21:05:24 +02:00 |
|
Johan Andersson
|
2605f4ff94
|
output.formatname: this should be path
|
2018-05-20 20:51:34 +02:00 |
|
Johan Andersson
|
600afef12b
|
parser.setup_default: add missing default values
|
2018-05-20 20:29:16 +02:00 |
|
Johan Andersson
|
c41dba7077
|
parser.merge: rewrite and dont update items with std values
|
2018-05-20 20:28:49 +02:00 |
|
Johan Andersson
|
2e0bf58a3f
|
parser: this can be on one line
|
2018-05-20 19:05:35 +02:00 |
|
Johan Andersson
|
e97b104573
|
unused imports
|
2018-05-20 19:05:17 +02:00 |
|
Johan Andersson
|
6dfdc8c6c0
|
Support for config files
this will search for config file in
unix: ~/.svtplay-dl.yaml
windows: %APPDATA%\svtplay-dl\svtplay-dl.yaml
|
2018-05-20 18:21:40 +02:00 |
|
Johan Andersson
|
2543ed7f46
|
move some special config values to parser
|
2018-05-20 13:16:00 +02:00 |
|
Johan Andersson
|
d2776c3b12
|
Remove some debug prints
|
2018-05-13 13:18:36 +02:00 |
|
Johan Andersson
|
8192fe025d
|
getmedia: right import path to which
|
2018-05-13 13:18:36 +02:00 |
|
Johan Andersson
|
836084f1fb
|
output: user should be able to set its own output name
|
2018-05-13 13:18:36 +02:00 |
|
Johan Andersson
|
9a2aafefda
|
parser: set output to None
|
2018-05-13 13:18:36 +02:00 |
|
Johan Andersson
|
335ff16c8c
|
output: fix detection of already downloaded files
|
2018-05-13 13:09:27 +02:00 |
|
Johan Andersson
|
bf21419afd
|
output.formatname: this should be ints
|
2018-05-13 13:09:27 +02:00 |
|
Johan Andersson
|
850ec4612d
|
getmedia: do exclude inside of the streams loop.
|
2018-05-13 13:09:25 +02:00 |
|
Johan Andersson
|
d3841e17da
|
options to commit
|
2018-05-13 13:08:24 +02:00 |
|
Johan Andersson
|
f300e24ca3
|
more options to config replaces
|
2018-05-13 13:07:34 +02:00 |
|
Johan Andersson
|
ca49366002
|
Options to config
|
2018-05-13 13:06:45 +02:00 |
|
Johan Andersson
|
28dcc90d7e
|
flake8 fixes
|
2018-05-13 12:10:19 +02:00 |
|
Johan Andersson
|
a051418dab
|
utils: move functions out of init to its own files.
|
2018-05-13 12:10:19 +02:00 |
|