I use Plex for watching stuff. My *arr stack is set up to send new movies/tv eps to libraries on an SSD.

Every couple of days I manually move anything watched to a library on an HDD for long term storage. I have Plex set up so that the TV and Movies libraries combine the two locations.

I think you can get a list of watched stuff from the Plex API. I could probably write a script to automate the workflow but if there’s a tool out there that already does this there’s no point in reinventing the wheel.

Anyone seen or heard of anything that would do the job?

  • ExcessShiv@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    9
    ·
    16 hours ago

    What’s the benefit here? Regular HDDs have more than enough speed for watching movies/series, why not store directly in the “library”?

    • jobbies@lemmy.zipOP
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      3
      ·
      16 hours ago

      The speed difference is noticeable but there are a few quirks in my networking that I have to live with.

  • Scott@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    7
    ·
    16 hours ago

    Why not just have everything on the hard drive instead? If you did want to write a tool you could use the Plex webhooks, but I haven’t heard of anyone wanting to do this before.

    • jobbies@lemmy.zipOP
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      16 hours ago

      Speed - the SSD is nice and quick but anything on the HDD buffers. Its not a bad suggestion though, I might try it out.

      • fatalicus@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 hours ago

        Unless you are running on Pata drives from the 90s or have movies in fucking 32k, there is no reason for movies on the hard drives to buffer.

        Probably something going on with your server causing it. The HDDs connected to a bad card, or something keeping the drives very busy

      • artyom@piefed.social
        link
        fedilink
        English
        arrow-up
        11
        ·
        15 hours ago

        HDDs are plenty fast enough to play movies. It sounds like you have another problem.

      • frongt@lemmy.zip
        link
        fedilink
        English
        arrow-up
        6
        ·
        15 hours ago

        Any drive should read faster than media playback. I’d check the actual read speed and playback logs to make sure you’re not having other issues.

  • Good4Nuthin@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    16 hours ago

    There are scripts to do this type thing on Unraid, possibly adaptable to other platforms/scenarios. Search for “unraid userscript move watched to array”.

    There are even ones that will move an entire season or show over to your “fast” drive whenever you start watching a show.

    I don’t have anything so complex in use currently; i just have it set to keep new stuff on the fast drives for 60 days, then shuffle it off to hdds.

    As far as why ssd over hdd? Prob more of a power issue than a speed issue. Depending on how your storage is setup, it can save a bit if juice not having to spin up an array of hdds.

    • jobbies@lemmy.zipOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      12 hours ago

      Thanks I’ll take a look! If nothing else they might give me some inspiration

  • dgdft@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    16 hours ago

    Just a thought, but you might be able to do this easier by looking at atime and mtime rather than fiddling with the API.

    • jobbies@lemmy.zipOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 hours ago

      Good idea. Definately easier but getting a list of watched files from the API might be more efficient.