I wrote a script to run with Node JS that near perfectly organises (renames and moves) torrented movies. It is designed to work in Linux, to transfer to Emby folder convention. I was working on making a TV show version, maybe merging the two, and porting it back to Windows where I first built the script, but I recently discovered the *arrs do it all. Still, if anyone wants a script that does its best (with guidance and thorough logging), I’ve stored it here.

Edit: For other reasons I built another script that can clean up an existing media directory, deleting files with any extension the user chooses (subs, images, thumbs and movies with multiple qualities leaving the best one). I’ve added it to the same repo. This script was more of a WIP, but it gets the job done and includes a help argument.

11 points

Does it work for porn? Asking for myself.

permalink
report
reply
17 points

Asking for myself.

I don’t know why you’re trying to protect your perverted friend with such a transparent ruse.

permalink
report
parent
reply
2 points

You might have to try it and report back aha. It would add ‘Unknown Year’ but I don’t believe it would throw any issues

permalink
report
parent
reply
1 point

If you’re using stashdb for your stuff, there’s a rename plugin it seems: https://github.com/stashapp/CommunityScripts/tree/main/plugins/RenameFile

permalink
report
parent
reply
2 points

No, I’m using Emby

permalink
report
parent
reply
10 points

Nice! I wrote one in bash to do the same. I knew of the *arrs but did it myself for the learning process

permalink
report
reply
4 points
*

Awesome - I tried to convert to bash but took the easy way out once I learned I could install node aha.

I learned Java and a bit of py just to make my renaming easier lol - took the task down from weeks to seconds!

permalink
report
parent
reply
2 points

I don’t have it in github or anything but if you want to see it I can share it here.

permalink
report
parent
reply

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

!piracy@lemmy.dbzer0.com

Create post
⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don’t request invites, trade, sell, or self-promote

3. Don’t request or link to specific pirated titles, including DMs

4. Don’t submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):

🏴‍☠️ Other communities

FUCK ADOBE!

Torrenting/P2P:

Gaming:


💰 Please help cover server costs.

Ko-fi Liberapay

Community stats

  • 4.4K

    Monthly active users

  • 2.3K

    Posts

  • 24K

    Comments