• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Post Processing DVR shows is losing metadata

     
    • 0 Vote(s) - 0 Average

    Post Processing DVR shows is losing metadata

    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-12-18, 02:13 PM
    Can you share your post processing script?  I double checked my recordings and they maintain their metadata.  An example NFO.

    Code:
    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <episodedetails>
      <title>A Midnight Soba Shop in Akita</title>
      <aired>2024-09-09</aired>
      <dateadded>2024-09-09 22:25:00</dateadded>
      <plot>There's a soba joint in Akita City that opens late at night until lunch the next day. All kinds of people come for drinks and food. Amidst the late March snow, we document this midnight soba shop.</plot>
      <genre>documentary</genre>
      <genre>News</genre>
    </episodedetails>

    The files in the folder.

    Code:
    chris@rat-trap:/media/library/liveTV/series$ tree Document\ 72\ Hours/
    Document 72 Hours/
    ├── Document 72 Hours 2024_09_09_22_30_00 - A Midnight Soba Shop in Akita.mp4
    ├── Document 72 Hours 2024_09_09_22_30_00 - A Midnight Soba Shop in Akita.nfo
    ├── Document 72 Hours 2024_09_09_22_30_00 - A Midnight Soba Shop in Akita-thumb.jpg
    ├── Document 72 Hours 2024_10_01_03_30_00 - Fresh Starts at a Yokohama Electronics Store.mp4
    ├── Document 72 Hours 2024_10_01_03_30_00 - Fresh Starts at a Yokohama Electronics Store.nfo
    ├── Document 72 Hours 2024_10_01_03_30_00 - Fresh Starts at a Yokohama Electronics Store-thumb.jpg
    ├── Document 72 Hours 2024_10_22_03_30_00 - Nature's Bounty at an Okayama Community Garden.mp4
    ├── Document 72 Hours 2024_10_22_03_30_00 - Nature's Bounty at an Okayama Community Garden.nfo
    ├── Document 72 Hours 2024_10_22_03_30_00 - Nature's Bounty at an Okayama Community Garden-thumb.jpg
    ├── Document 72 Hours 2024_11_01_04_30_00 - A Low-priced Gas Station in Wakayama.mp4
    ├── Document 72 Hours 2024_11_01_04_30_00 - A Low-priced Gas Station in Wakayama.nfo
    ├── Document 72 Hours 2024_11_01_04_30_00 - A Low-priced Gas Station in Wakayama-thumb.jpg
    ├── Document 72 Hours 2024_11_04_21_30_00 - The Convenience Store in a Midwinter Hokkaido Village.mp4
    ├── Document 72 Hours 2024_11_04_21_30_00 - The Convenience Store in a Midwinter Hokkaido Village.nfo
    ├── Document 72 Hours 2024_11_04_21_30_00 - The Convenience Store in a Midwinter Hokkaido Village-thumb.jpg
    ├── Document 72 Hours 2024_11_11_21_30_00 - Lives Inside a Huge  Danchi  Housing Complex.mp4
    ├── Document 72 Hours 2024_11_11_21_30_00 - Lives Inside a Huge  Danchi  Housing Complex.nfo
    ├── Document 72 Hours 2024_11_11_21_30_00 - Lives Inside a Huge  Danchi  Housing Complex-thumb.jpg
    ├── Document 72 Hours 2024_11_18_21_30_00 - Kerosene Delivery Service in Snowy Sapporo.mp4
    ├── Document 72 Hours 2024_11_18_21_30_00 - Kerosene Delivery Service in Snowy Sapporo.nfo
    ├── Document 72 Hours 2024_11_18_21_30_00 - Kerosene Delivery Service in Snowy Sapporo-thumb.jpg
    ├── Document 72 Hours 2024_11_25_21_30_00 - Ueno  A Discount Women's Clothing Store.mp4
    ├── Document 72 Hours 2024_11_25_21_30_00 - Ueno  A Discount Women's Clothing Store.nfo
    ├── Document 72 Hours 2024_11_25_21_30_00 - Ueno  A Discount Women's Clothing Store-thumb.jpg
    ├── Document 72 Hours 2024_12_02_21_30_00 - University Art Festival  Portrait of Campus Days.mp4
    ├── Document 72 Hours 2024_12_02_21_30_00 - University Art Festival  Portrait of Campus Days.nfo
    ├── Document 72 Hours 2024_12_02_21_30_00 - University Art Festival  Portrait of Campus Days-thumb.jpg
    ├── Document 72 Hours 2024_12_09_21_30_00 - A Local Penny Candy Shop in Tokyo.mp4
    ├── Document 72 Hours 2024_12_09_21_30_00 - A Local Penny Candy Shop in Tokyo.nfo
    ├── Document 72 Hours 2024_12_09_21_30_00 - A Local Penny Candy Shop in Tokyo-thumb.jpg
    ├── Document 72 Hours 2024_12_16_21_30_00 - At a Small Kobe Okonomiyaki Shop.mp4
    ├── Document 72 Hours 2024_12_16_21_30_00 - At a Small Kobe Okonomiyaki Shop.nfo
    ├── Document 72 Hours 2024_12_16_21_30_00 - At a Small Kobe Okonomiyaki Shop-thumb.jpg
    └── tvshow.nfo

    My post processing script.

    Code:
    #!/bin/bash
    INPUTFILE=$1
    NEWFILE=$(echo "$INPUTFILE" | sed 's/\.ts/\.mp4/g')
    /usr/lib/jellyfin-ffmpeg/ffmpeg -y -fflags +genpts+igndts -i "$INPUTFILE" -map 0 -codec copy -max_muxing_queue_size 2048 -avoid_negative_ts make_zero -max_interleave_delta 0 "$NEWFILE"
    rm -f "$INPUTFILE"
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Post Processing DVR shows is losing metadata - by finicky6457 - 2024-12-16, 08:39 PM
    RE: Post Processing DVR shows is losing metadata - by TheDreadPirate - 2024-12-16, 10:54 PM
    RE: Post Processing DVR shows is losing metadata - by finicky6457 - 2024-12-16, 11:57 PM
    RE: Post Processing DVR shows is losing metadata - by TheDreadPirate - 2024-12-17, 01:48 AM
    RE: Post Processing DVR shows is losing metadata - by finicky6457 - 2024-12-18, 12:41 AM
    RE: Post Processing DVR shows is losing metadata - by TheDreadPirate - 2024-12-18, 02:13 PM
    RE: Post Processing DVR shows is losing metadata - by finicky6457 - 2024-12-19, 02:32 AM
    RE: Post Processing DVR shows is losing metadata - by TheDreadPirate - 2024-12-19, 02:42 PM
    RE: Post Processing DVR shows is losing metadata - by finicky6457 - 2024-12-20, 11:16 AM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode