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

2019 Commits

Author SHA1 Message Date
Johan Andersson
dd0f1f8a9e subtitle: probe the subs
this will hopefully fix some subs switching from one type
to another one.
2022-12-10 14:05:56 +01:00
Johan Andersson
757c571a48 svtplay: support for old subtitles
they seems to switch from new to the old one now
2022-12-01 01:12:29 +01:00
Johan Andersson
73d2bb7831 svtplay: fix subtitles 2022-11-30 22:40:08 +01:00
Johan Andersson
6cf94c93eb output.sanitize: windows windows windows.. 2022-11-21 14:22:51 +01:00
Johan Andersson
94eb8543f7 svtplay: dont process hls-cmaf-full 2022-11-21 14:06:32 +01:00
Johan Andersson
2c16302f25 output: sanitize the filename a little 2022-11-21 14:05:36 +01:00
Johan Andersson
8950be8eec tv4play: New month, they updated their site again 2022-11-14 17:39:44 +01:00
Johan Andersson
a188104e30 Update versioneer to 0.28 2022-11-05 10:42:32 +01:00
Johan Andersson
872d6bcb8c tv4play: they changed the json stuff 2022-10-24 13:04:47 +02:00
Yan
1c9dcfa403 make: just for looks
Editor didn't treat the lone "'" right...
2022-10-07 12:02:51 +02:00
Yan
213e6bfa41 make: report correct dir when lib/.build is present
Now correctly shows
ERROR: build already in progress? (or remove /src/svtplay-dl/lib/.build/)
instead of
ERROR: build already in progress? (or remove /src/svtplay-dl/.build/)

Makes it easier to find the culprit. ;)
2022-10-07 12:02:51 +02:00
Johan Andersson
248b1d9270 tv4play: improve detection of geoblocking
for some reason tv4 sends http 500 when the video is geoblocked
2022-09-01 17:18:57 +02:00
Johan Andersson
29809470c8 filenamify: replace two dots with one 2022-08-28 23:22:04 +02:00
Johan Andersson
16af7a3111 parser: add filename template argument
this was only exposed via config before
2022-08-28 23:18:02 +02:00
Johan Andersson
1f55acc3d4 nrk: update to make it work again 2022-07-09 14:26:53 +02:00
Johan Andersson
270105e3af pluto.tv: try to find what hls to use
in some cases they have several entries for the same
show. one is working. one is not. random place in the list
2022-07-09 12:56:15 +02:00
Johan Andersson
48f376a285 postprocess: improve audio-only
when HLS only have audio this failed
2022-07-03 13:25:42 +02:00
Johan Andersson
a292df838e plutotv: rewrite and fix season/episode number 2022-07-02 02:33:16 +02:00
Johan Andersson
c936b334fe subtitle: remove debug code 2022-06-20 14:41:48 +02:00
Johan Andersson
c547125921 filter_files: increase the ratio to 0.7
0.6 was to low because it was good enough for the first
entry and the ads
2022-06-18 21:23:37 +02:00
Johan Andersson
8f9552e0f5 remove debug print.. 2022-06-10 21:33:34 +02:00
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