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?
What’s the benefit here? Regular HDDs have more than enough speed for watching movies/series, why not store directly in the “library”?
The speed difference is noticeable but there are a few quirks in my networking that I have to live with.
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.
Speed - the SSD is nice and quick but anything on the HDD buffers. Its not a bad suggestion though, I might try it out.
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
HDDs are plenty fast enough to play movies. It sounds like you have another problem.
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.
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.
Thanks I’ll take a look! If nothing else they might give me some inspiration
Just a thought, but you might be able to do this easier by looking at atime and mtime rather than fiddling with the API.
Good idea. Definately easier but getting a list of watched files from the API might be more efficient.
deleted by creator