this post was submitted on 08 Aug 2023
11 points (100.0% liked)

Free and Open Source Software

18232 readers
128 users here now

If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

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.

all 13 comments
sorted by: hot top controversial new old
[–] Skadabucci@beehaw.org 6 points 2 years ago (2 children)

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

for filename in $(ls *.mp4); do
  if [[ "$filename" =~ some_file_match*.mp4 ]]; then
    modified_filename=
    cp $filename $modified_filename && rm $filename -f
  fi
done
[–] vertelleus@beehaw.org 1 points 2 years ago

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

[–] princessnorah@lemmy.blahaj.zone 5 points 2 years ago* (last edited 2 years ago)

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.

[–] Kangie@lemmy.srcfiles.zip 3 points 2 years ago

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

[–] LiveLM@lemmy.zip 3 points 2 years ago (1 children)

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@beehaw.org 2 points 2 years ago* (last edited 2 years ago) (1 children)

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

[–] LiveLM@lemmy.zip 1 points 2 years ago

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.

[–] furrowsofar@beehaw.org 2 points 2 years ago* (last edited 2 years ago)

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.

[–] randomguy2323@lemmy.kevitprojects.com 2 points 2 years ago (1 children)

Tinymediamanager the paid version is so worth it.

Link

[–] vertelleus@beehaw.org 1 points 2 years ago

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

[–] thelastknowngod@lemm.ee 1 points 2 years ago (1 children)

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:

https://github.com/andreaswilli/meta-grabber

[–] vertelleus@beehaw.org 1 points 2 years ago

Hey this looks nice. Thanks!