The IT Crowd
Ah, yes. A Lemming of taste, I see.
Spite_By_Design_LLC@lemmy.dbzer0.com 2 days ago
At a certain point the technical solution ceases to be the correct one, and you have to consider what you’re actually optimising for.
Fifteen terabytes seems unimaginable to me. Our library contains some 800 handpicked movies and favourite shows: ten seasons of The Simpsons, the entirety of Stargate, The IT Crowd, etc. Comfort food.
My preferred metric is how long it would take me to consume this stuff on a desert island.
I’ve been creating a local snapshot of YouTube using a Raspberry Pi 4, MeTube/yt-dlp, SMB and my own fork of SmartTube.
Based on my existing archive, 1 TB would accommodate approximately 25,650 videos at 480p. That’s 150 days of non-stop 24/7viewing, or nearly five years at two hours every single day.
(The intention is to automatically download new content from my favourite creators and use systemd timers to prune videos by age and watch count, exempting those marked for permanent retention. You could do something similar with movies / tv shows too).
Perhaps the solution is better curation rather than more storage? Novelty and surprise needn’t mean another hard drive.
The IT Crowd
Ah, yes. A Lemming of taste, I see.
My ears are burning. Thankfully, I came prepared
My ears are getting hot!
Are you wearing Women’s slacks?
What interface is that?
You can use it right now, but it’s two parts (the app on your tv, the catalogue updater on your server) so a bit fiddly. I’m going to do a cut-away over the next month to make the Android app truly standalone.
The plan is to switch to NewPipeExtractor, rip out Firebase and other unnecessary upstream Smarttube dependencies, improve offline SponsorBlock and indexing, and add direct USB and internal storage support. That way you can just plug a hard drive into your android TV with your downloads and be done with it.
The idea is that you simply point it at a directory of yt-dlp downloads and you’ve got your own little YouTube.
I’ll do a proper announcement post here when it’s done, so am just sharing this because you asked.
PS: The other thing (blue background) is NovaPlayer. I have a fork of that two so that I have a ghetto version of parental control.
I have a fork of that too so that I have a ghetto version of parental control.
Elaborate. I am also a parent weary of terrible parental controls. Tell me your ways.
It’s VERY ghetto.
I really like NovaPlayer. I had it installed on our Chromecast with Google TV when we went to Japan. You can plug in a USB drive and have it populate the front end with metadata, covers etc. It scrapes once and thereafter it “just works” (so long as your TV has an HDMI port lol). A 128GB thumb drive was more than enough to entertain the kids and store a bunch of shows we watch.
The issue is that NovaPlayer does NOT provide ANY parental controls, and multiple media directories don’t all get the nice hero view. So what I did is fork it, gave it a paint job, changed its package ID and media-library namespace, and re-signed the APK. That’s it.
Doing that allows two independent instances to coexist (NovaPlayer and NovaPlayer KIDS).
Then, I made my media directory thusly:
NovaPlayerKIDS only points to and indexes its respective directories, with independent libraries, artwork and watch histories. You can then password-protect the regular NovaPlayer at the launcher level using a front end.
So, like I said, no elaborate parental control system. Just two instances of the same bloody app and me manually dividing up movies and TV shows into “adult” and “kids”. Ghetto, low tech, but until the kids figure out how to hack passwords…I’m all good. (I’m actually going to create a bounty for the eldest; if she can hack it, I will give her $100. Bribery is a perfectly cromulent way to learn comp-sci)
SmartTube but looks modified for local use?
It’s exactly that, yes.
Can it be used to play non-youtube vids (e.g. movies downloaded from ☠️)?
ShutUpWesley@piefed.zip 2 days ago
Its not just movies/shows, I think the “media server” elements, including movies,shows,music,audiobooks&ebooks, amounts to a hair under 10tb. The rest of the array holds things like backups from various important systems, family photos&videos, and a bunch of other stuff.
I keep things encoded with decent quality, I, and pretty much all my dozenish users, have decent HT setups, so ensuring good quality video and audio is important. Most of it is 1080p, but well encoded bluray rips that still look good on large screens. On top of that, pretty much everything is stored with relatively high bitrate 5.1 audio. I wouldn’t want so much compression on the media that it makes my nice HT setup superficial.
For the same reason, my music is all very high quality CD rips encoded losslessly, which takes a good chunk of the disk space. I’m not nearly as prescious about audiobook quality, so that’s not huge, and even my pretty massive ebook collection is a neglegable part.
And if it was just me using the library, reducing the items would be a simple task, but with roughly a dozen users, it becomes more difficult to get a good census of who wants what.
Spite_By_Design_LLC@lemmy.dbzer0.com 2 days ago
Ah. That complicates things a bit. You’ve effectively become Netflix-local, Spotify-local etc.
Could you not automate some of the curation tho? I’m thinking a systemd timer that periodically checks file access timestamps (
atime, withrelatimeenabled) against playback logs, flagging anything untouched for six months for auto-deletion, with a grace period. Users could nominate certain content for permanent retention too.You’d capture both media server activity and direct file access without having to conduct a bloody census every time you need to reclaim disk space. Nor would you need to sacrifice fidelity.
Dedicating 30 GB to a Blu-ray rip that someone watched once, three years ago, seems like an awful waste of precious space.
Actually, hang on: doesn’t Jellysweep do this already? I like hacking shit together but if something already exists, well…
ShutUpWesley@piefed.zip 2 days ago
I’ll probably get Jellysweep going at some point, however adding another piece of software for my users is less than ideal.
Spite_By_Design_LLC@lemmy.dbzer0.com 2 days ago
Had a bit more of a squiz at Jellysweep. Apparently it can honour Jellyfin’s existing Favourites via
favorites_enabled.So you could run Jellysweep in the background, have a Leaving Soon collection appear within Jellyfin itself and simply tell your users to favourite anything they particularly want to keep. No need for them to learn anything.
I have around 10 users on my jellyfin server, some of them leaning on the audiophile side (we are all leaning towards restored vintage HiFi). The music I hosted was exclusively lossless.
A few months ago I silently reencoded all the flacs to opus to save space. So far no one has noticed, no complaints either, myself included.