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

2112 Commits

Author SHA1 Message Date
Johan Andersson
bd73466265 fetcher.http: rename options to config 2018-10-28 22:36:22 +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
Harald Gustafsson
c86c111931 Barnkanal have started missing season number for some shows, now defaults to "01" if episode number exist. 2018-10-28 22:34:49 +01:00
Harald Gustafsson
171bd25084 SVT changed thumbnail path, fix for using the new path (and still old until we know it is completely gone). 2018-10-28 22:34:49 +01:00
Johan Andersson
4fbf861985 subtitle.wrst: add translation of names to hex
fixes: #963
2018-10-28 20:47:41 +01:00
Johan Andersson
647d119ce8 tv4play: better message if the video is not available
fixes: #981
2018-10-28 16:37:58 +01:00
Johan Andersson
0596ee743b riksdagen: add support without subdomain.
fixes: #976
2018-10-28 16:29:17 +01:00
Johan Andersson
1e72958dc4 subtitle.sami: handle characters in squeeze number.
Fixes: #987
2018-10-28 14:17:27 +01:00
Johan Andersson
41cee01ab3 cmore: new site, new update 2018-10-13 13:55:25 +02:00
Johan Andersson
a72d8e4e3c hls.download: when we see key url as skd:// abort 2018-10-13 13:53:10 +02: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
f0efb1b685 tests.dash: add some basic tests for _dashparse 2018-10-07 19:53:09 +02:00
Johan Andersson
5ac273dc47 dash.parse_dates: add a new time of date format.. 2018-10-06 23:17:45 +02:00
Johan Andersson
72591c20f0 dashparse: split the function into two 2018-10-06 23:17:19 +02:00
Johan Andersson
f183c3014e service.test: add some opengraph_get test cases 2018-10-05 23:46:52 +02:00
Johan Andersson
2b49c2259b service.test: add one more handler test case 2018-10-05 23:45:09 +02:00
Johan Andersson
b5aed11c17 tests._formatname: add some test on different format test configurations 2018-10-05 23:28:05 +02:00
Johan Andersson
7c2d86375e utils.output: dot and dash is optional 2018-10-05 23:28:05 +02:00
Johan Andersson
22d387717e service.tests: more service tests. 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
518f1ffd26 travis: add few more py versions and some more tests 2018-10-01 22:05:21 +02:00
Johan Andersson
437212402e tox: this will only use system python3 2018-10-01 22:05:21 +02:00
Kristoffer Hallqvist
0c1ccf9c51 Added leading space in line comment 2018-10-01 22:02:39 +02:00
Kristoffer Hallqvist
1d716d5963 Ignores unexpected empty lines in subtitle format 2018-10-01 22:02:39 +02:00
Olof Johansson
8c19f96e46 output: Adapt test suite to new location of module
The output module was moved from svtplay_dl.output to
svtplay_dl.utils.output some time ago.
2018-09-30 19:00:13 +02:00
Olof Johansson
bbf10ee077 hls: Break out get_full_url tests to new test suite (http)
The get_full_url was moved some time ago from the hls module to the
svtplay_dl.utils.http module.
2018-09-30 19:00:13 +02:00
Olof Johansson
228d34c500 filenamify: Make the test suite import module from right location 2018-09-30 19:00:13 +02:00
Olof Johansson
5f087f0efa protocol_prio: Make the test suite import module from right location
The tests are still failing, but not from ImportError anymore.
2018-09-30 19:00:13 +02:00
Johan Andersson
559e950e68 getmedia: in some cases after_case is None
fixed: #974
2018-09-24 00:27:24 +02:00
Johan Andersson
e292e39a59 tv4play: fixed a crash if someone tried to download a geoblock file
fixed: #972
2018-09-23 21:32:02 +02:00
Johan Andersson
ad75ef77f0 tv4play: fix so all episodes work again 2018-09-23 20:05:36 +02:00
Johan Andersson
be1a20a1f9 tox: add support for py34 and py37 2018-09-23 19:43:04 +02:00
Johan Andersson
f90267b9f9 main: fix so --cmore-operatorlist work again
fixes: #955
2018-09-23 19:43:04 +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
dbdf7dc851 Get extra metadata, like thumbnails and descriptions. Currently implemented for svtplay and barnkanalen. 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
Jakob Schlyter
57e51c8bb1 parse date periods with hours and seconds only 2018-09-05 21:37:38 +02:00
Harald Gustafsson
7736af04b5 Fix find all episodes for tv4play, some dictionary keys sometimes missing. 2018-09-05 21:37:08 +02:00
Gustav Ahlberg
dd76a21fbe use vars 2018-09-05 21:36:27 +02:00
Gustav Ahlberg
8cc2d5625e more cleanup 2018-09-05 21:36:27 +02:00
Gustav Ahlberg
471a3a8711 small cleanup 2018-09-05 21:36:27 +02:00
Gustav Ahlberg
47655df815 service for koket to download lessons 2018-09-05 21:36:27 +02:00