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
Johan Andersson
1c3d8f114b
viafree: set a preferred language on subtitle
2021-05-22 23:01:31 +02:00
Johan Andersson
0fdcb1e1f0
getmedia: make the subtitle section a bit easier to read.
2021-05-22 23:01:26 +02:00
Johan Andersson
cb3ec04b04
hls: add support for subtitles via viafree
2021-05-22 22:55:38 +02:00
Johan Andersson
c0e34dfaac
hls: support for different audio streams
2021-05-22 14:29:54 +02:00
Johan Andersson
cffb70e3a8
svtplay: sometimes the titleheading was the same as the name.
2021-05-22 14:02:14 +02:00
Johan Andersson
3d46e85dfc
svtplay: add the language to the subtitle.
2021-05-20 14:33:48 +02:00
Johan Andersson
197985b540
dashparse: use the correct subtype.
2021-05-20 14:33:18 +02:00
Johan Andersson
94ed271397
discoveryplus: streams is a list and not a dict
2021-05-18 20:54:19 +02:00
Johan Andersson
c9a606d306
dashparse: handle subtitles after the rewrite
2021-05-16 22:02:20 +02:00
Johan Andersson
0e8e64b478
select_quality: just show a better error message when a specified quality is not available
2021-05-16 21:40:01 +02:00
Johan Andersson
ee940cc207
list_quality: make the output a bit smaller
2021-05-16 21:00:57 +02:00
Johan Andersson
3c3ed9f63c
dash: support resolution in the representation element
2021-05-16 15:09:33 +02:00
Johan Andersson
6bb0b5d065
list_quality: align the columns
2021-05-16 13:55:33 +02:00
Johan Andersson
1c47b0602c
viafree: modify the hls url little bit
2021-05-16 13:55:33 +02:00
Johan Andersson
6305dbcc9c
Add support for audio language and audio role
2021-05-16 13:55:28 +02:00
Johan Andersson
2c5101ad85
discoveryplus: add support for standalone videos
...
fixes : #1383
2021-05-14 10:12:13 +02:00
Johan Andersson
0ae0b6ae54
Rename old service names to the new one
...
fixes : #1369
2021-05-13 22:47:14 +02:00
Johan Andersson
494c9e3eb7
Add some tests to dash.parse_date
2021-05-13 13:33:14 +02:00
Johan Andersson
da31b75ec9
output.formatname: slap the extension at the end of the output
2021-05-13 13:32:17 +02:00
Johan Andersson
2f10e1b556
urplay: forgot to fix all-episodes before .)
2021-05-12 22:18:24 +02:00
Johan Andersson
8bcbd5dad4
urplay: fix a crash when getting subtitle.
...
for some reason they remove which one is default.
now we assume that swedish is the one
fixes : #1382
2021-05-12 21:00:00 +02:00
Johan Andersson
a5e4166068
dash.parse_date: translate nanoseconds to milliseconds
...
python cant parse those dates.
2021-05-11 00:16:58 +02:00
Johan Andersson
e6379d9a28
postprocess: tell the filenames to be strings.
...
this is an issue on windows.
2021-05-10 20:51:55 +02:00
Johan Andersson
d5751122f4
fix test_text tests
2021-05-10 12:14:30 +02:00
Johan Andersson
6c172284a8
exclude: convert the filename to a string
2021-05-10 12:09:35 +02:00
Johan Andersson
dcf0e6fa70
viafree: handle multiple subs better
2021-05-09 21:52:46 +02:00
Johan Andersson
2175e8d6a5
postprocess: when merge and all subs do all of them
2021-05-09 21:51:48 +02:00
Johan Andersson
bb09d0fc76
postprocess: the output is an .mp4 file
2021-05-09 21:50:41 +02:00
Johan Andersson
f9718902a9
postprocess: only do merge to mp4 no need for remux.
2021-05-09 21:49:58 +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
55bf8edcbe
hds is dead. thanks for the time.
...
No one is using this anymore. flash is dead
2021-05-09 01:20:32 +02:00
Johan Andersson
1907c545dc
dplay: dont crash on empty season
...
fixes : #1375
2021-05-08 13:39:19 +02:00
Johan Andersson
10e365f695
pyupgrade fixes
2021-04-27 19:44:09 +02:00
Johan Andersson
cd7fa336b1
Get version from git describe with tags
...
for some reason this work earlier or something.
2021-04-24 16:53:43 +02:00
Johan Andersson
aae55fcc2d
discoveryplus: better fix to find correct shows
...
fixes : #1368
fixes : #1366
2021-04-22 19:59:08 +02:00
Johan Andersson
0dcb01fd5a
svtplay: add titleHeading as episodename when episodeHeading is None
2021-04-19 22:34:40 +02:00
Johan Andersson
ce95a23dd8
svtplay: fix a crash downloading clip
...
fixes : #1363
2021-04-19 22:33:33 +02:00
Johan Andersson
bb9c419469
discoveryplus: in some cases there is no value where we look for season info.
2021-04-18 16:11:14 +02:00
Johan Andersson
7a85dc7d74
Add resolution info to --list-quality
2021-04-18 14:06:25 +02:00
Johan Andersson
4c8ed0de43
discoveryplus: fix detecting seasons
...
fixes : #1361
2021-04-18 12:53:48 +02:00
Johan Andersson
8805627a21
urplay: for non-series video use title for name
...
fixes : #1357
2021-04-15 19:51:20 +02:00
Johan Andersson
4d7431f0ad
svtplay: forgot fix for all-episodes
2021-04-14 08:22:09 +02:00
Johan Andersson
391af6f13b
svtplay: fix a crash related to data keyerror
...
for some reason they got some issues on their end and have a "error"
where we expected to see a "data" element.
2021-04-13 17:18:44 +02:00
tor
43fe2847b3
Try to get episode number from description
2021-04-13 17:14:58 +02:00
tor
cdf394e7f5
Check if key exists in dict to avoid crash
2021-04-02 19:09:04 +02:00
dksxse
70a1a5f896
Fix nrk video id regex
2021-04-02 19:07:15 +02:00
Johan Andersson
f5573b1c99
tv4play: using -A incorrectly downloaded wrong videos sometimes
...
fixes : #1346
2021-03-16 22:13:54 +01:00
Johan Andersson
7500477f8d
svtplay: fix a crash while using -A in some videos
2021-03-16 18:54:35 +01:00
Johan Andersson
7440e3f12a
aftonbladet: tv.a.s stopped working
2021-03-15 13:21:54 +01:00
Johan Andersson
028971b476
svtplay: for some reason they presented the m3u8 file as mpd
...
fixes : #1341
2021-03-14 19:01:19 +01:00
Johan Andersson
25ea769bc3
svtplay: improve detection of season and episode numbers
...
fixes : #1342
2021-03-14 18:36:20 +01:00
Johan Andersson
1ec914d370
svtplay: dont crash on non-existing video
2021-03-14 00:09:09 +01:00
Johan Andersson
524b7cb021
dash: add support for more subtitle formats
...
some files mpd files have vtt subs
make the "bitrate" more static. will help unittest
2021-03-14 00:04:44 +01:00
Johan Andersson
70d83d44eb
dash: dont crash on None codec
...
fixes : #1340
2021-03-14 00:02:21 +01:00
Johan Andersson
c1bfd0fc11
subtitle: stpp support
...
this is used in dash
2021-03-13 15:17:29 +01:00
Johan Andersson
9b4ed1b4b2
dash: support for multiple adaptionset and subtitles
2021-03-13 14:21:49 +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
be8e935228
svtplay: new site update
2021-03-12 00:20:30 +01:00
Johan Andersson
b91ca11e85
hls: x-map update
2021-03-12 00:20:18 +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
awabom
998f51fdf6
urplay: extracting filename metadata - title (and title_nice), season, episode, episodename, id ( #1299 )
...
Co-authored-by: Johan Andersson <j@i19.se>
2021-02-28 23:14:34 +01:00
Johan Andersson
4ec553e0ed
Add py3.6 changes
2021-02-28 22:05:33 +01:00
Johan Andersson
e423c1cd35
tv4play: new way to find episodes and clips related to the show
...
fixes: 1327
2021-02-23 23:45:35 +01:00
Johan Andersson
145c81c7fc
http: check if split_header value is correct
2021-02-23 23:45:35 +01:00
Christoffer Holmesland
8cd5793ed4
discoveryplus: changed domain check when finding all espisodes
2021-02-20 16:13:16 +01:00
Johan Andersson
68e9906323
svtplay: better way to detect live channels
...
fixes: 1325
2021-02-20 14:47:37 +01:00
Johan Andersson
32ba3463e0
barnkanalen: fix so it works with the new site
...
fixes : #1231
fixes : #1325
2021-02-20 14:13:03 +01:00
Johan Andersson
29744a58af
urplay: use wsrt subtitles instead of tt
...
fixes : #1324
2021-02-16 23:58:18 +01:00
Simon Vallebro
0bcf162083
Fixed issue with series with not active episodes.
2021-02-16 23:57:42 +01:00
Johan Andersson
a263a66a49
discoveryplus: identify free and premium better
...
fixes : #1321
2021-02-14 16:59:21 +01:00
Johan Andersson
664a9e22bb
svtplay: fixed a crash downloading a show thumbnail
...
fixes : #1319
2021-02-10 22:57:27 +01:00
Johan Andersson
774e29a104
disoveryplus: only add showid when we need it
2021-02-10 21:47:43 +01:00
Johan Andersson
a06a138d90
discoveryplus: need showid to get video data
...
fixes : #1313
2021-02-10 20:45:00 +01:00
Johan Andersson
4ca255b232
discoveryplus: show an error message if we cant find any videos
2021-02-10 20:41:41 +01:00
Johan Andersson
682ecd9763
service: read the config before we setup HTTP class
...
fixes : #1316
2021-02-09 22:18:04 +01:00
Johan Andersson
9d34704b47
urplay: sometimes it adds country code several times
...
this happen when you download all subtitles.
2021-02-09 21:51:11 +01:00
Johan Andersson
9e03fcde7f
viaplay: try to find correct subtitle based on domain
...
fixes : #1315
2021-02-09 21:50:15 +01:00
Martin Evald
4aa528bf7a
svtplay: fix so it work with the latest update to the website
...
fixes : #1312
2021-02-07 14:36:19 +01:00
Johan Andersson
a639f9a9db
svt: add support for recipe section
...
fixes : #1310
2021-02-07 12:07:14 +01:00
Johan Andersson
9536e23619
tv4play: change so its the same url we see on desktop
2021-02-05 20:37:58 +01:00
Johan Andersson
d193679855
dplay: add discoveryplus support
2021-01-18 21:48:46 +01:00