VideoHelp Forum



+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. 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:

    Code:
    -o '%(title)s.FR.2024.1080p.FRTV.WEB-DL.AAC.LC.2.0.264.%(ext)s'
    RESULT: (Missing the Series/Episode numbering)
    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 ...

    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'
    RESULT: (YT-DLP failed to MUX it as the filenames are too long ...)
    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"?
    Last edited by pssh; 30th May 2024 at 09:44.
    If I was in politics I make sure you drink plenty of beer
    and watch plenty of TV to keep you busy. | Data is the new oil.
    Quote Quote  
  2. 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
    Quote Quote  
  3. 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" "[ _]" "." `
    will result in:
    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
    Last edited by pssh; 30th May 2024 at 12:47.
    If I was in politics I make sure you drink plenty of beer
    and watch plenty of TV to keep you busy. | Data is the new oil.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!