Johan Andersson
1e32678ba9
Add support for cookies
...
it works similar to headers
2020-09-15 23:43:20 +02:00
Johan Andersson
9877a2c558
pre-commit fixes
2020-09-06 14:19:24 +02:00
Johan Andersson
503eb17dc2
utils.getmedia: support for different codecs
2020-07-29 20:45:17 +02:00
Johan Andersson
389b21bde5
pre-commit: use a newer pyupgrade version
2020-05-03 11:35:03 +02:00
Johan Andersson
f85a9d4425
Revert "output: cut the episode names to to 30 chars."
...
This reverts commit 1721ca1003
.
This need to be fixed in a better way
2019-10-18 16:26:21 +02:00
Johan Andersson
1721ca1003
output: cut the episode names to to 30 chars.
...
fixes : #1004
2019-09-26 22:50:32 +02:00
Johan Andersson
9255069da1
get_one_media: show error message if force-subtitle and no subs
...
fixes : #1101
2019-09-15 04:01:34 +02:00
Johan Andersson
97f651837a
util.output: make download video while using thumbnail and nfo work
...
When we download a video , nfo and thumbnail,
it will video will complain that the files already exists but its just the nfo and thumbnail.
fixes : #1148
2019-09-09 21:18:40 +02:00
Johan Andersson
e9fca7a771
utils.text: py3 version of html.unescape
2019-09-07 12:24:59 +02:00
Johan Andersson
4e187f9553
pre-commit: its a good thing to commit config...
2019-09-06 22:49:49 +02:00
Johan Andersson
3aef9a796e
black fixes
2019-09-06 22:31:52 +02:00
Johan Andersson
7f0cf6eb82
pre-commit: reorder imports
2019-09-06 22:09:07 +02:00
Johan Andersson
e9b16fda77
pre-commit: pyupgrade
2019-09-06 22:09:07 +02:00
Johan Andersson
e105855fb7
pre-commit: black fixes
2019-09-06 22:09:07 +02:00
toran4
d1904b2747
Set get_url if get_only_episode_url is set
2019-09-01 22:57:42 +02:00
toran4
e3a88d1a7a
removed tabs on empty line
2019-09-01 22:57:42 +02:00
toran4
325ecd71d4
Added option to list only episode urls
2019-09-01 22:57:42 +02:00
Harald Gustafsson
f06d3a85c2
Bug fixes for NFO file. Some misunderstand of Kodi tags and happened to swap episode and show plots.
...
fixes : #991
2019-08-22 20:44:03 +02:00
Johan Andersson
7e245444b7
nfo: title and showtitle was swapped
...
fixes : #1125
2019-08-22 19:19:22 +02:00
Johan Andersson
26b0ae19be
parsertoconfig: set the wrong value to force_nfo
...
fixes : #1126
2019-08-22 18:48:59 +02:00
iwconfig
256ca145b2
flake8 fix
2018-12-12 00:20:17 +01:00
iwconfig
1d1574a019
Added option to only download nfo
2018-12-12 00:20:17 +01:00
Johan Andersson
79f77cb785
get_media: check for all_episode from the service config
...
Fixes : #1009
2018-12-11 01:03:12 +01:00
Johan Andersson
72143b7172
output.findexpisode: don’t crash if we don’t have an id
...
fixes : #1000
2018-11-18 12:54:37 +01:00
Johan Andersson
36116c7a3b
Remove old logging
2018-11-18 12:47:19 +01:00
Johan Andersson
74f68a535b
fetcher.rtmp: RIP. Who use flash in 2018 anyway.
...
Removing old RTMP and related code.
qbrick is not used anyway.
2018-11-12 19:05:41 +01:00
Johan Andersson
772670b6c9
parser.readconfig: handle permission denied while reading config
2018-11-04 22:04:50 +01:00
Johan Andersson
884ad99f9f
parser.readconfig: don’t crash on empty file
...
fixes : #992
2018-11-04 22:01:24 +01:00
Johan Andersson
ca295d461d
flake8: new version detecting more stuff
2018-10-28 23:16:00 +01:00
Harald Gustafsson
61c76824a9
Added some checks in the NFO writing to not throw exception if some metadata is None. Also skips NFO if not even the title is available.
2018-10-28 22:34:49 +01:00
Johan Andersson
8595586053
get_multiple_media: fix a crash when outputting to folder
2018-10-13 13:52:10 +02:00
Johan Andersson
7ac0b5fc65
get_media: support for raw mpd files
2018-10-07 19:54:43 +02:00
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