I found an old external hdd with a bunch of unformatted media and wanted to import to my library quickly… Jellyfin does metadata collection pretty well (as of the most recent version, old versions were pretty bad at it) but requires a specific naming convention, e.g. Film Title (1900) - so, during some down time I wrote a quick little utility program in Go (so you can compile it regardless of platform) and a little registry script to add it to the right click menu if using windows.

For example, say you have a folder Manos.the.Hands.of.Fate.1966.1080p.REPACK.WEB-DL.AAC2.0.x264 containing a file 34535sdfs23sfg-some-complicated-hash-sdfgsdf.mp4, after installing this utility program you could right-click on the folder and select Rename Downloaded Media after which the folder would be renamed Manos the Hands of Fate (1966) and the contained file renamed to Manos the Hands of Fate (1966).mp4 as this is the format Jellyfin expects.

Nothing ground breaking here but wanted to share - hopefully this saves one of you a few minutes/hours of formatting!

  • forrgott@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    11 hours ago

    Awesome, that asks for the info. Gotta try this out later; I don’t even have a large library, but the renaming is so tedious! But clicking through to identify each file that Jellyfin didn’t automatically identify is worse…