Looking for a bulk episode renaming application for Linux

Hey all. I’m looking for a bulk episode renaming application for Linux, preferably GUI. Before switching, I used Rename My TV Series 2 on Winblow. But I can’t seem to get it to work on my Pop_os 22.04. Any good alternatives would be appreciated. Thanks!

Update: A lot of the suggestions seemed too high level for what I wanted; I don’t care about how the images or posters look, I just wanted to remove the excess junk at the end of the episode names easily. The point is “H265 CougarDiverRips 1080p” isn’t really important after I download it.

Solution: Rename My TV Series 2 Linux version kept giving sqlite errors even after installing required dependencies. So I installed the Winblows version with wine. Works as expected without errors, simple drag and drop select series and go.

thelastknowngod,

Ages ago I did this with some cli tool that found episode/movie metadata stored in themoviedb or somewhere and just built a shell script around it. I don’t remember the name unfortunately. Now I just let Plex manage it and I don’t bother.

This looks like it might work though:

github.com/andreaswilli/meta-grabber

vertelleus,
@vertelleus@beehaw.org avatar

Hey this looks nice. Thanks!

furrowsofar,

If your just talking file renaming a short shell or python script lifeless then 20 lines can do it too as long as it is a well defined process. Could even run as a scheduled job with cron, anacron, or at.

LiveLM,

Filebot is awesome!
It’s a paid app, but you can use version 4.7.9 for free. However I think it’s totally worth the $6 for a year. They also have a Lifetime Universal license if you find yourself using it often.

vertelleus, (edited )
@vertelleus@beehaw.org avatar

I tried the 4.7.9 version gives a lot of errors.
…and subscriptions suck.

LiveLM,

They have a Lifetime one-time purchase. You can also download the latest version and try it on your files to see if it works the way you expect before you buy it.

Kangie,

perl-rename and a good regex. I’m not joking!

princessnorah,
@princessnorah@lemmy.blahaj.zone avatar

Sonarr is capable of bulk renaming TV shows to follow whatever naming convention you set in the settings. Even if you don’t use it for downloading new media, it does a good job of managing your collection.

Edit: Runs on linux and has a web-based GUI.

polymachine,

If you’re using zsh, it’s got a tool called zmv. edit: you have to activate ot by autoload zmv

Powderhorn,
@Powderhorn@beehaw.org avatar

I used to obsess about file names on episodes, but now that I’m old, I just use Jellyfin because the file names don’t actually matter so long as they use standard conventions. I’ve seriously lost days of my life to renaming media files.

vertelleus,
@vertelleus@beehaw.org avatar

I’m using Jellyfin too. I just hate all the extra junk tacked on to the name. They should just put that on the folder name so I only have one thing to fix.

d3Xt3r,

I used to do all that too. I’m old too, and forget renaming files, I gave up on the whole media-hording business, because I ain’t got the time/patience to manage all that any more. Gone are the days of using seedboxes, private servers, SABnzbd and the like. Gone are the days of using Kodi/OpenElec/Plex/Jellyfin etc. Gone are the days of running my own NAS with an ever increasing RAID array and maintaining them and benchmarking the latest ZFS and thinking of ways to speed up the cache and upgrading all the bits and bobs regularly. I got rid of it all.

These days, I just subscribe to a streaming site on an adhoc basis (if there’s something I want to watch on that site) and if the site doesn’t have it in my region, I won’t jump thru VPN hoops and will just pirate it, watch it, and immediately delete it. I ain’t hording shit no more, and will follow the path of least resistance.

Honestly, this has simplified my life quite a bit, I don’t need to worry about backups or losing data - because I have no data to lose now (besides some documents/personal projects/dot files, which is already synced to the cloud).

The only media I actually still bother to carry around is rewatchable and rare stuff that isn’t easy to get. Like the AI upscaled version of DS9, Harmy’s Despecialized Star Wars, or my own AI upscaled copies of Allo Allo, which isn’t found anywhere else. But all of these fit on a single USB stick, so I’m happy retaining them. It’s so freeing to not be a data hoarder any more and simplify my digital life.

Powderhorn,
@Powderhorn@beehaw.org avatar

This is a really important point! Needing two copies of a media server so one has a backup really complicates the whole point of simplification that a media server theoretically presents. Also, what sounded great in 2007 is always worth a bit of scrutiny now with a wildly different streaming landscape.

Still, with what Paramount is doing with their IP, Trek overall is something I feel a need to have a local copy of (see: Prodigy). Case-by-case assessment is, as you note, a good use of time.

What turbocharged my server ambitions was having stepkids of that age where everything they want to watch is replete with ads tailored to their lack of understanding of the world, and it quickly became apparent that hearing a half-dozen times a day about what they “need” wasn’t going to fly. When you need half the Disney Channel in real time, you have a new full-time job.

Swimmerman96,

You may be able to use the CLI tool mmv, which can be installed through the apt package manager. It’s great at renaming files that are starting a similar naming convention and ending with a similar naming convention, you could use mmv to move your files. It also suppose sum links and hardlinks. It’s what I used to rename folders of tv shows when I need to do that.

vertelleus,
@vertelleus@beehaw.org avatar

I think I found it github.com/itchyny/mmv
This looks like it would be good for other files too. I’ll check this out. Thanks!

randomguy2323,

Tinymediamanager the paid version is so worth it.

Link

vertelleus,
@vertelleus@beehaw.org avatar

This looks right up my alley for what I was looking for. I’ll give it a try.

Skadabucci,

Are these files that need renaming? You could open the terminal cd to the directory.


<span style="font-weight:bold;color:#a71d5d;">for</span><span style="color:#323232;"> filename </span><span style="font-weight:bold;color:#a71d5d;">in </span><span style="color:#323232;">$(ls </span><span style="font-weight:bold;color:#a71d5d;">*</span><span style="color:#323232;">.mp4)</span><span style="font-weight:bold;color:#a71d5d;">; do
</span><span style="color:#323232;">  </span><span style="font-weight:bold;color:#a71d5d;">if </span><span style="color:#62a35c;">[[ </span><span style="color:#183691;">"$</span><span style="color:#323232;">filename</span><span style="color:#183691;">" </span><span style="font-weight:bold;color:#a71d5d;">=~ </span><span style="color:#323232;">some_file_match</span><span style="font-weight:bold;color:#a71d5d;">*</span><span style="color:#323232;">.mp4 </span><span style="color:#62a35c;">]]</span><span style="font-weight:bold;color:#a71d5d;">; then
</span><span style="color:#323232;">    modified_filename</span><span style="font-weight:bold;color:#a71d5d;">=</span><span style="color:#183691;"><modification </span><span style="color:#323232;">code here TBD</span><span style="font-weight:bold;color:#a71d5d;">>
</span><span style="color:#323232;">    cp $filename $modified_filename </span><span style="font-weight:bold;color:#a71d5d;">&& </span><span style="color:#323232;">rm $filename -f
</span><span style="color:#323232;">  </span><span style="font-weight:bold;color:#a71d5d;">fi
</span><span style="font-weight:bold;color:#a71d5d;">done
</span>
vertelleus,
@vertelleus@beehaw.org avatar

I was thinking of using a bash script as a backup.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • [email protected]
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • Socialism
  • KbinCafe
  • TheResearchGuardian
  • oklahoma
  • feritale
  • SuperSentai
  • KamenRider
  • All magazines