this post was submitted on 05 Mar 2025
31 points (94.3% liked)

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

57744 readers
587 users here now

⚓ 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

Torrenting:

Gaming:


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 2 years ago
MODERATORS
 

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.

top 8 comments
sorted by: hot top controversial new old
[–] Reverendender@sh.itjust.works 9 points 1 day ago (3 children)

Does it work for porn? Asking for myself.

[–] ShepherdPie@midwest.social 13 points 1 day ago

Asking for myself.

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

[–] Lyra_Lycan@lemmy.blahaj.zone 2 points 22 hours ago

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

[–] lobut@lemmy.ca 1 points 1 day ago (1 children)
[–] Reverendender@sh.itjust.works 2 points 14 hours ago

No, I’m using Emby

[–] harsh3466@lemmy.ml 10 points 1 day ago (1 children)

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

[–] Lyra_Lycan@lemmy.blahaj.zone 3 points 1 day ago* (last edited 1 day ago) (1 children)

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!

[–] harsh3466@lemmy.ml 2 points 1 day ago

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