every once in awhile i get a bug up my butt about sharing my massive, curated library… but every time i get distracted by the volume of steps it would take to create the necessary shit to seed and then find a place that would even take those seeds to index.
ami doin it wrong? why is it so hard? napster was easy.
It’s easy. Create the torrent, upload it to a public tracker. Or send it to your friends. Or post the magnet link and rely on DHT.
what are the best tools to automagically create 40k torrent files from their xml metadata. are there tools to automatically bundle seasons/shows/collections?
It depends. If you want to split the library by movies/shows/seasons/whatever, you can probably do that with a small shell script. If it’s by folder, that’s very easy. If for some reason you have an XML database and a flat file backend… well, you’d have to put the files into a folder tree for the torrents anyway. It would be much easier to actually move (or better yet, symlink or hard link) the files into that folder tree, unless there’s some kind of industrial-grade torrent software I’ve never heard of that can integrate with that, instead of just the filesystem. I’m sure they exist, given that bittorrent is used for stuff like video game updates, but that seems like a lot of work for not much gain.
the xml is just the media data usually ingested by kodi/jellyfin. its all already well structured in files and folders.
ill prolly start looking into a script i can use to generate the torrents and feed into my deluge container, but you have proven my point.
its not ‘easy’ to create and seed a library of files.
This tool sounds like something I could write if enough people need it.
Edit: OP actually has a simple folder structure, and
transmission-create
works fine, so no need for anything more than just looping over 1st level folders and files with a simple shell script.Basically you’d want to map seasons to folders within the torrent files. I found the
torf
python library on github that looks good, but there are two questions:Not that I’m implicitly saying I’d write a program to do this (I’m very unreliable), but looks like you’d need to go the programming route (you or someone else). It’s a matter of walking your folders, finding those XML files, parsing them with a library (python has a built in one), finding what to do with that info exactly, and passing it to torf. And preferably, saving the cryptographic sums, as well as the progress of the program. If you have the cryptographic sums in the XML files, it’d be worth it to make the program concurrent with threads, as it would be about reading and writing files as fast as possible, and this could be so fast saving progress would be pointless.
Maybe you want something like a command line torrent client?
Get a filepath list of all the files you want to torrent, and use a text editor to paste the torrent executable and arguments to turn the file list into a script file, then run it?
I understand that Deluge can be operated via command line. https://forum.deluge-torrent.org/viewtopic.php?t=47831 I’m not sure whether that works on platforms other than Linux.
You should probably talk to the tracker admins about before you do this so that you don’t get mistaken as some kind of attack.
im all linux, and have a deluge container already working through a vpn… a scripted solution with symlink to an attached, read-only volume of my library kinda sounds like a start.
if anything, this all proves my point. its not easy to ‘just create a torrent and upload it’ as mentioned upthread