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.

  • Norah - She/They@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    11 months 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.

  • Skadabucci@beehaw.org
    link
    fedilink
    English
    arrow-up
    7
    ·
    11 months ago

    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
    
  • Pete Hahnloser@beehaw.org
    link
    fedilink
    English
    arrow-up
    4
    ·
    11 months ago

    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.

    • d3Xt3r@beehaw.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      11 months ago

      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.

      • Pete Hahnloser@beehaw.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 months ago

        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.

    • Vertelleus@beehaw.orgOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 months ago

      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.

  • Swimmerman96@beehaw.org
    link
    fedilink
    English
    arrow-up
    3
    ·
    11 months ago

    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.

  • LiveLM@lemmy.zip
    link
    fedilink
    English
    arrow-up
    3
    ·
    11 months ago

    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.

      • LiveLM@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 months 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.

  • thelastknowngod@lemm.ee
    link
    fedilink
    arrow-up
    2
    ·
    11 months ago

    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

  • flatbield@beehaw.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    11 months 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.