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.

  • catloaf@lemm.ee
    link
    fedilink
    English
    arrow-up
    8
    ·
    2 days ago

    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.

    • originalucifer@moist.catsweat.comOP
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      2 days ago

      what are the best tools to automagically create 40k torrent files from their xml metadata. are there tools to automatically bundle seasons/shows/collections?

      • catloaf@lemm.ee
        link
        fedilink
        English
        arrow-up
        9
        ·
        2 days ago

        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.

      • Camille d'Ockham@jlai.lu
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        23 hours ago

        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:

        • what’s the structure of those XML files, what do they contain?
        • seeing the mass of torrents you want to create, it wouldn’t hurt to cache the cryptographic sum of the files’ blocks for the chosen block size, unless this is already in those XML files

        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.

      • zabadoh@ani.social
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 days ago

        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.

        • originalucifer@moist.catsweat.comOP
          link
          fedilink
          arrow-up
          2
          ·
          1 day ago

          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