I am trying to get the filename to follow the same pattern as does Freevine/Devine etc.
when downloading "SERIES"
Code:Series.Name.S01E01.Episode.Name.FR.2024.1080p.FRTV.WEB-DL.AAC.LC.2.0.H.264
I have tried the following:
RESULT: (Missing the Series/Episode numbering)Code:-o '%(title)s.FR.2024.1080p.FRTV.WEB-DL.AAC.LC.2.0.264.%(ext)s'
Il_etait_une_fois...ces_droles_d_objets_-_Il_etait_une_fois_la_tablette_de_chocolat.FR.2024 .1080p.FRTV.WEB-DL.AAC.LC.2.0.264
This creates long file name ...
RESULT: (YT-DLP failed to MUX it as the filenames are too long ...)Code:-o '%(title)s.S%(season_number)02dE%(episode_number)02d:%(title)s.FR.2024.1080p.FRTV.WEB-DL.AAC.LC.2.0.264.%(ext)s'
Il_etait_une_fois...ces_droles_d_objets_-_Il_etait_une_fois_la_tablette_de_chocolat.S01E01# Il_etait_une_fois...ces_droles_d_objets_-_Il_etait_une_fois_la_tablette_de_chocolat.FR.2024 .1080p.FRTV.WEB-DL.AAC.LC.2.0.264
Feels like I am getting closer, but "Episode.Name" is missing:
Code:yt-dlp ` --parse-metadata "title:(?P<series>.+?), Series \d+" ` --parse-metadata "title:, Series (?P<season_number>\d+), Episode (?P<episode_number>\d+)" ` -o "%(series)s.S%(season_number)02dE%(episode_number)02d.FR.2024.1080p.FRTV.WEB-DL.AAC.LC.2.0.264.%(ext)s" ` --embed-subs ` --sub-langs all ` --embed-chapters ` --embed-metadata ` --embed-info-json ` --embed-thumbnail ` --restrict-filenames ` "https://www.france.tv/enfants/six-huit-ans/il-etait-une-fois-ces-droles-d-objets/saison-1/5692527-il-etait-une-fois-la-tablette-de-chocolat.html"
RESULT: (Missing Episode.Name)
Il_etait_une_fois...ces_droles_d_objets.S01E01.FR. 2024.1080p.FRTV.WEB-DL.AAC.LC.2.0.264.mp4
So is it the website at fault, YT-DLP or just a matter of re-fining the "-o" and "--parse-metadata"?
+ Reply to Thread
Results 1 to 3 of 3
Thread
-
-
with -o '%(title)s.%(ext)s'
you get: Il_etait_une_fois...ces_droles_d_objets_-_Il_etait_une_fois_la_tablette_de_chocolat.mp4
yt-dlp parse metadata from video link
with -o 'Series.Name.S01E01.Episode.Name.FR.2024.1080p.FRT V.WEB-DL.AAC.LC.2.0.H.264.%(ext)s'
you get Series.Name.S01E01.Episode.Name.FR.2024.1080p.FRTV .WEB-DL.AAC.LC.2.0.H.264.mp4 -
Are you saying it's not possible to name the files:
Il.était.une.fois...ces.drôles.d'objets.S01E01.la. tablette.de.chocolat.FR.2024.1080p.FRTV.WEB-DL.AAC.LC.2.0.H.264.mp4
Il.était.une.fois...ces.drôles.d'objets.S01E02.Le. ballon.de.football.FR.2024.1080p.FRTV.WEB-DL.AAC.LC.2.0.H.264.mp4
and so on.....
from URLs that do not have the "episode" included (does have series....)?
https://www.france.tv/enfants/six-huit-ans/il-etait-une-fois-ces-droles-d-objets/saiso...n-de-foot.html
https://www.france.tv/enfants/six-huit-ans/il-etait-une-fois-ces-droles-d-objets/saiso...-chocolat.html
Is there any way to achieve that from the METAdata with "--parse-metadata" and/or any other switch?
Or in the case of f.tv/specific series it's not possible?
Code:--parse-metadata "title:(?P<series>.+?), Series \d+" ` --parse-metadata "title:, Series (?P<season_number>\d+), Episode (?P<episode_number>\d+)" ` -o "%(series)s.S%(season_number)02dE%(episode_number)02d.FR.2024.1080p.FRTV.WEB-DL.AAC.LC.2.0.H.264.%(ext)s" ` --replace-in-metadata "title,uploader,series" "[ _]" "." `
Code:Il.était.une.fois...ces.drôles.d'objets.-.Il.était.une.fois.la.tablette.de.chocolat.S01E01#.FR.2024.1080p.FRTV.WEB-DL.AAC.LC.2.0.H.264.mp4
Similar Threads
-
getwvkeys.cc code":400,"error":true,"message":"Failed to get license: 405
By Koldunas in forum Newbie / General discussionsReplies: 0Last Post: 27th Sep 2023, 03:44 -
Stripping "Writing Library" & "Encoding Settings" Metadata Off a File While
By simon744 in forum Video ConversionReplies: 0Last Post: 14th Aug 2023, 11:53 -
yt-dlp "no video formats found" error on mpd (even with --allow-u on)
By qwertiio in forum Video Streaming DownloadingReplies: 8Last Post: 30th Jul 2022, 07:51 -
"The read operation timed out" with yt-dlp
By blanc in forum Video Streaming DownloadingReplies: 0Last Post: 12th May 2022, 06:46 -
yt-dlp + mdp: "Could not send HEAD request" - HTTP error 403: forbidden
By oopargentina in forum Video Streaming DownloadingReplies: 6Last Post: 27th Mar 2021, 11:01