1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 21:54:17 +01:00
Commit Graph

136 Commits

Author SHA1 Message Date
Johan Andersson
2e08c35c3c subtitles: fix an issue related to urplay 2024-05-19 22:24:19 +02:00
Johan Andersson
d713d33e67 subtitle: they have css align after the timecode 2023-12-12 20:28:39 +01:00
Johan Andersson
b01124a4ab subtitle: for some reason sequence number is a hash or uuid sometimes. 2023-12-10 22:46:11 +01:00
Johan Andersson
37393c733e dash: fix bad xml data from urplay
urplay sends & when its need to be &
2023-10-10 00:56:55 +02:00
Johan Andersson
f15f366cd5 Add support for caption subtitles 2023-10-09 00:09:27 +02:00
Johan Andersson
5587062181 subtitles: add support for encrypted subs
this need to be done better...
2023-03-16 22:24:10 +01:00
Johan Andersson
251688e7a8 subtitle: add support for two digit timestamps 2023-03-15 06:55:35 +01:00
Johan Andersson
fd0ad54ecb wrstsegments: remove sequence number 2023-01-10 23:05:28 +01:00
Johan Andersson
77c9b0da98 wsrt_colors: break out this to its own function
this will be used with the segmented stuff
2022-12-22 09:06:34 +01:00
Johan Andersson
b581196957 wsrtsegmented: dont skip over a bunch of text
for some reason this code skipped over the first lines in a single
segmented file and the end of it.
2022-12-22 09:05:03 +01:00
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
c936b334fe subtitle: remove debug code 2022-06-20 14:41:48 +02:00
Johan Andersson
dc77e8f046 subtitle: wsrtsegment work with 0 time 2022-06-10 21:29:21 +02:00
Johan Andersson
5cb26d20a8 Move filter_files to its own file 2022-06-04 00:45:55 +02:00
Johan Andersson
bdc0724906 Add support for filter files 2022-06-03 06:19:01 +02:00
Johan Andersson
4815feb196 subtitle.wrst: handle styles in the subtitle 2022-03-26 08:56:56 +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
0f9e1908c7 f-string fixes 2021-12-18 19:52:08 +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
e79bb2b3d3 dr: support for segmented vtt subs 2021-10-20 15:01:07 +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
012286201f subtitle.wrstsegment: replace dot with comma
fixes: #1413
2021-09-09 19:47:49 +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
3497e0577d Rewrite how we detect already downloaded files
this will also check if we already downloaded
the files if we already have it or not
2021-05-09 02:13:13 +02:00
Johan Andersson
10e365f695 pyupgrade fixes 2021-04-27 19:44:09 +02:00
Johan Andersson
c1bfd0fc11 subtitle: stpp support
this is used in dash
2021-03-13 15:17:29 +01:00
Johan Andersson
6ef5d61c37 subtitle: fix spelling mistake
Co-authored-by: bartdedecker
fixes: #1339
2021-03-13 00:53:42 +01:00
Johan Andersson
cb3612b313 viafree: they have m3u8 subtitles in json
For some reason they got some bad data in the first file that we need to skip
fixes: #1332
2021-03-05 00:42:27 +01:00
Johan Andersson
4ec553e0ed Add py3.6 changes 2021-02-28 22:05:33 +01:00
Johan Andersson
938ae7d9b9 pre-commit: add-trailing-comma 2020-12-31 15:19:22 +01: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
Johan Andersson
93088a76cc subtitle: dont read another byte if bom
fixes: #1124
2019-08-22 07:57:40 +02:00
Johan Andersson
f429cfc634 Remove unused import 2019-08-20 15:56:49 +02:00
Johan Andersson
3dc2cf5079 subtitle: encode the text to utf-8
this will be the same on windows and *nix

fixes: #1119
2019-08-20 15:49:38 +02:00
Johan Andersson
d33186e54e wrstsegments: fix sync issues
Fixes: #1063
2019-04-13 17:45:29 +02:00
Johan Andersson
60c043da62 wrstsegments: fix so we handle newlines better
Fixes: #1050
Fixes: #1038
2019-04-08 23:21:59 +02:00
Johan Andersson
36116c7a3b Remove old logging 2018-11-18 12:47:19 +01:00
Johan Andersson
d5a1ec1197 subtitle.sami: in some cases they have extra xml code in Text element
fixes: #990
2018-11-02 00:38:39 +01:00
Johan Andersson
ca295d461d flake8: new version detecting more stuff 2018-10-28 23:16:00 +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
1e72958dc4 subtitle.sami: handle characters in squeeze number.
Fixes: #987
2018-10-28 14:17:27 +01: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
Johan Andersson
3ad8c509f9 subtitle: wrstsegment is ten second off 2018-07-12 00:52:19 +02:00
Johan Andersson
6a324ed319 subtitle: missing whitespace around arithmetic operator 2018-07-10 23:00:44 +02:00