1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-30 15:14:14 +01:00
Commit Graph

1998 Commits

Author SHA1 Message Date
Johan Andersson
dc77e8f046 subtitle: wsrtsegment work with 0 time 2022-06-10 21:29:21 +02:00
Johan Andersson
6bd9be5555 urplay: add support for only audio streams 2022-06-09 21:56:37 +02:00
Johan Andersson
578b7f2754 add support for only audio when its one media file 2022-06-09 21:55:53 +02:00
Johan Andersson
7cdb7f2345 hls.subtitle: use the correct playlist 2022-06-06 10:34:44 +02:00
Johan Andersson
301d57d090 test.hls: fix filename 2022-06-05 17:46:45 +02:00
Johan Andersson
eac21b3979 m3u8: add support for ext-x-byterange x-map
add tests for x-map ext-byte-range
2022-06-05 17:44:11 +02:00
Johan Andersson
5cb26d20a8 Move filter_files to its own file 2022-06-04 00:45:55 +02:00
Johan Andersson
911d222159 Add support for pluto.tv 2022-06-04 00:34:35 +02:00
Johan Andersson
bdc0724906 Add support for filter files 2022-06-03 06:19:01 +02:00
Johan Andersson
d5956faf3c fetcher: print resolution also 2022-06-03 06:19:01 +02:00
Johan Andersson
1b74c3a862 stream.resolution: dont crash on no resolution info 2022-06-03 06:19:01 +02:00
Johan Nilsson
7dc0b3bb6e Fixes better language on error message when there's no video file found. 2022-06-04 00:33:17 +02:00
Johan Andersson
cf5b774d8e Add --resolution argument 2022-05-13 08:36:34 +02:00
Johan Andersson
a1ed05bfeb cosmetic fix 2022-05-11 21:21:18 +02:00
Johan Andersson
6ebdf50d71 tv4play: update the service 2022-05-05 00:39:51 +02:00
Johan Andersson
4a2e11f351 solidtango: update to make it work on their sports page
they have updated their site to use a better api stuff

fixes: #1467
2022-04-17 00:08:26 +02:00
Johan Andersson
4bf49f160c config: fix so proxy option work
for some reason i forgot these special
settings for config values.

fixes: #1463
2022-03-31 23:53:57 +02:00
Johan Andersson
36a087aba3 subtitle.wrst: tests 2022-03-26 09:46:33 +01:00
Johan Andersson
4815feb196 subtitle.wrst: handle styles in the subtitle 2022-03-26 08:56:56 +01:00
Johan Andersson
29f9f8fd82 Angelstudios: add support for it 2022-03-19 23:24:08 +01:00
Johan Andersson
005a39979f dr.dk: add support for bonanza videos
fixes: #1458
2022-03-19 19:25:25 +01:00
Johan Andersson
0ef9d1fa6d update versioneer 2022-03-16 22:28:08 +01:00
Johan Andersson
f7b3d1b135 getmedia: this should only be two arguments 2022-02-21 13:57:23 +01:00
Johan Andersson
18009e7dc3 pylint fixes 2021-12-19 13:40:15 +01:00
Johan Andersson
e20d753a15 logging f-strings fixes 2021-12-18 21:36:16 +01:00
Johan Andersson
96544ae2f8 fix some return values 2021-12-18 21:32:41 +01:00
Johan Andersson
091e84659c update versioneer 2021-12-18 19:52:37 +01:00
Johan Andersson
0f9e1908c7 f-string fixes 2021-12-18 19:52:08 +01:00
Johan Andersson
6966876384 tv4play: fix so find all episodes work 2021-12-15 20:17:11 +01:00
Johan Andersson
5a4a07b71e discoveryplus: show a error message that this service got DRM now 2021-12-15 20:15:48 +01:00
iwconfig
aee5d90f0f parser: -M does not necessarily imply -S 2021-12-09 20:42:50 +01:00
iwconfig
f3d8371eb5 parser: updated help descriptions of -S and -M if used together 2021-12-09 20:42:50 +01:00
iwconfig
487da6b643 postprocess: add comment about use of -S and -M 2021-12-09 20:42:50 +01:00
iwconfig
4c90677089 Revert "postprocess: when merge subtitle into file remove it"
This reverts commit a03fabc5ab.
2021-12-09 20:42:50 +01:00
Johan Andersson
14e1e6585c subtitle.tt: return empty string
in some cases the xml is empty
2021-12-09 20:38:47 +01:00
Johan Andersson
d9209f843e svtplay: dont download related videos with -A
fixes: #1443
2021-11-24 22:56:24 +01:00
Johan Andersson
6d821ae60e koket: update so it work again 2021-11-23 23:33:51 +01:00
Johan Andersson
5f5079de6c urplay: grab the thumb from json
sometimes it seems like the og:image to
be bad or 404.
2021-11-13 14:31:47 +01:00
Johan Andersson
4f2fa55f6a discoveryplus: spelling 2021-11-10 10:37:15 +01:00
Johan Andersson
95045abc8c viafree: dont crash on empty video info 2021-11-10 10:34:17 +01:00
Johan Andersson
b5694e4d07 svtplay: check for validFrom in the correct place 2021-11-07 11:20:21 +01:00
Johan Andersson
4cb985a03c formatname: add support for subfolder and output directory
before it only worked if you had subfolder.
when you added output as a directory it would override the
subfolder content
2021-10-31 15:23:26 +01:00
Johan Andersson
4796e618f8 postprocess: we should use the filename without extension 2021-10-31 02:42:35 +02:00
Johan Andersson
d44a838298 postprocess: use a different function to detect ffmpeg.exe
the previous function said it was a file but there was none
2021-10-30 14:24:44 +02:00
Johan Andersson
c5d52ec202 hls: add init file in m3u8 instead of download section 2021-10-30 12:48:31 +02:00
Johan Andersson
f97d838412 svtplay: revert change to only use cmaf files 2021-10-30 12:37:52 +02:00
Johan Andersson
9d5b6de59a urplay: update the detection 2021-10-30 12:05:08 +02:00
Johan Andersson
04fce0bd77 svtplay: this happen when a video have been unpublished
the page is up but the video is gone
2021-10-29 09:47:06 +02:00
Johan Andersson
a03fabc5ab postprocess: when merge subtitle into file remove it
fixes: 1427
2021-10-27 14:54:01 +02:00
Johan Andersson
b8d51a7dcd svtplay: they updated their site again
fixes: #1429
2021-10-27 14:52:36 +02:00
Johan Andersson
e79bb2b3d3 dr: support for segmented vtt subs 2021-10-20 15:01:07 +02:00
Johan Andersson
d8f5e5157b dr: dont crash on files without subs 2021-10-20 15:00:24 +02:00
Johan Andersson
1cf16a91a4 viafree: add missing self 2021-10-19 21:52:19 +02:00
Johan Andersson
c4540927be viafree: use same json grab 2021-10-18 16:23:59 +02:00
Johan Andersson
163df0ea14 tv4play: update the regex to catch the json stuff we need 2021-10-18 16:22:48 +02:00
Johan Andersson
7a01f041b3 tv4play: override thumbnail download
in some videos they dont have og:image
2021-10-18 16:22:02 +02:00
Johan Andersson
adcaa73210 postprocess: support for finding ffmpeg in same directory
this will be helpful on windows if you dont have ffmpeg in
your PATH. it will look for ffmpeg in same directory
as svtplay-dl.exe.
2021-09-22 20:49:24 +02:00
Johan Andersson
1c9642c0bf tv4play: improve detection
fixes: #1418
2021-09-13 21:52:47 +02:00
Johan Andersson
4edb96f18d riksdagen: update the service 2021-09-12 23:56:16 +02:00
Johan Andersson
3e4a36d896 tv4: update detection 2021-09-12 23:36:01 +02:00
Johan Andersson
8771cde5f6 subtitle.wrstsegment: fix a crash from a fix in 4.3 2021-09-11 16:33:42 +02:00
Johan Andersson
08a85a97e9 formatname: fix tilde so it actually works 2021-09-10 20:34:07 +02:00
Johan Andersson
4527edd962 pokemon: add support for different languages 2021-09-10 20:14:24 +02:00
Johan Andersson
0cfc53d176 output.formatname: expanduser 2021-09-09 20:30:01 +02:00
Johan Andersson
012286201f subtitle.wrstsegment: replace dot with comma
fixes: #1413
2021-09-09 19:47:49 +02:00
Johan Andersson
b6a8c0e715 barnkanalen: update to make it work again 2021-09-09 19:40:31 +02:00
Johan Andersson
1737a162e2 pokemon: make it work with the website 2021-09-08 10:16:00 +02:00
Johan Andersson
404373ee30 parser: set subtitle when --all-subtitle is used 2021-08-27 20:22:44 +02:00
Johan Andersson
6a13d15715 test: add some m3u8 test files 2021-08-14 17:21:06 +02:00
Johan Andersson
c8a5cae060 svtplay: detect hls streams in a better way 2021-08-13 21:49:05 +02:00
Johan Andersson
52d98a8934 viafree: for some reason they send undefined text in json. 2021-08-13 12:31:39 +02:00
Johan Andersson
f3db402b82 hlsparse: check if media has a value or not
This happen when the audio group dont have a URI in it
2021-08-13 11:31:12 +02:00
Johan Andersson
c05a7364af hls.parse: fix an issue when audio info is at the end of the file 2021-07-23 14:47:36 +02:00
Johan Andersson
e2e0678bb9 service: fix spelling mistake 2021-07-23 14:46:47 +02:00
Johan Andersson
2aa342fccb discoveryplus: fix an issue with some videos 2021-07-23 14:46:07 +02:00
Johan Andersson
ef63b8a881 svtplay: remove debug print 2021-07-23 01:03:42 +02:00
Johan Andersson
fd67b6e354 discoveryplus: add support for olympic games 2021-07-23 00:36:57 +02:00
Johan Andersson
c4b2747217 utils.download_thumbnails: unescape url
tv4play escape their thumb urls for some reason
2021-07-09 20:30:31 +02:00
Johan Andersson
a162357a64 svtplay: add support for downloading genre
this can take a long time to load.
2021-07-06 23:44:25 +02:00
Johan Andersson
c5ae97565e postprocess: handle multiple subs better
there was an issue with multiple subs and seperated
audio and video files. the counting became a bit wrong
and added the audio track twice and skipped the last
subtitle. it worked great when a/v was in the same file
2021-07-05 17:45:17 +02:00
Johan Andersson
c66590c807 dash.parse_dates: support everything between miliseconds and nanoseconds 2021-06-30 12:45:06 +02:00
Johan Andersson
09843d632a postprocess: add support for mkv 2021-06-25 09:52:25 +02:00
Johan Andersson
313aed4e33 postprocess: use re that we already imported 2021-06-24 23:21:15 +02:00
Johan Andersson
eea6f29d4e hls: use 'und' when language is missing in subtitle 2021-06-17 21:54:31 +02:00
Johan Andersson
00e5c84196 postprocess: remux and merge is more or less the same.
they do the same. better to have one function to do it.
2021-06-13 01:22:16 +02:00
Johan Andersson
82151fd1ed subtitle_filter: return empty list if no subs. 2021-06-13 01:20:39 +02:00
Johan Andersson
8a2bd08b25 dr: update so it works with the website
fixes: 1394
2021-06-06 23:13:28 +02:00
Johan Andersson
a3642b897d Add missing comma 2021-06-04 20:02:00 +02:00
iwconfig
4fce57bcb9 Fixed semi silent logging message bug 2021-06-04 19:50:03 +02:00
iwconfig
0e0363b5cb Removed otiose if statement 2021-06-04 19:50:03 +02:00
iwconfig
19d63f1eb9 Added some boolean flags to the postprocess
* replaced `--remux` with `--no-remux`
    * added `--no-merge`
    * added `--no-postprocess`
    * added `--keep-original`

This should be sufficient to consider issue #1194 fixed.
2021-06-04 19:50:03 +02:00
Johan Andersson
d32bc0280d cmore: fix --all-episodes work again and dash strems support 2021-06-04 00:41:09 +02:00
Johan Andersson
9ebb2e9c01 tv4play: add support for dash streams 2021-06-04 00:38:49 +02:00
Johan Andersson
88432ed5ea subtitle: when preferred is none get all subs.
fixes: #1391
2021-06-02 20:43:04 +02:00
Johan Andersson
be4d2ec296 dash: set language as empty string as default 2021-06-02 20:37:14 +02:00
Johan Andersson
89284c9d46 subtitle: wrstegment files from viaplay is utf8 encoded
fixes: #1390
2021-05-29 23:58:10 +02:00
Johan Andersson
45fceaaa8f test: add some for new functions 2021-05-24 20:51:14 +02:00
Johan Andersson
d68b3e3d7a subtitle_filter: rewrite function to work as intended 2021-05-24 20:50:38 +02:00
Johan Andersson
fed357e432 dash: support for vod files when a live video stops 2021-05-23 23:37:21 +02:00
Johan Andersson
0b35220e2f tests: rewrite dash tests 2021-05-23 23:31:21 +02:00