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.
The files in the folder.
My post processing script.
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"