3/30/2025 at 11:30:13 PM
I have a bunch of (legally) ripped shows. I use VLC to watch them. I like to make big playlists full of many shows like a TV channel.I hate the fact that when I shuffle, the shows end up in any old order. I could have S8E2 right before S1E1. Not cool.
So I made one that shuffles shows but maintains episode order between them, and takes number of episodes in each show into account to get an even spread so the playlist feels the same throughout. If a show has a ton of episodes it will show up more. Less shows up less. All my testing resulted in the top of the list looking almost identical to the bottom of the list. Mission accomplished.
It works by deploying symlinks to a playlist folder, all named 0, 1, 2, 3, etc. Slap all those symlinks in the VLC playlist and you got yourself a TV channel.
I made it for me, so it's designed for a specific file layout. It could be easily adapted to fit other organization methods.
I have plans to expand on it. I want to add functionality to detect multi-part episodes and keep them together, as well as some kind of "too many of one show in a row" feature.
by MountainMan1312
4/1/2025 at 5:07:02 PM
Truly random shuffling is not very good in practice, really.Way back in the day, before the current trend towards throwing all your MP3s in a pile and using id3 tags to hopefully sort it out, I had my MP3s in a directory structure by rough genre and album. I wrote myself a shuffler that would honor the directory structure; it would tend to stay in the same directory and use a record of the most recently played songs to avoid repeats, and only jump out if it needed to, or with some relatively smaller probability. Then there was a relatively smaller probability it would continue jumping up through the directories.
The idea is, if you have a multi-genre collection, you may want a "shuffle" but it can be jarring to whiplash between the various genres on every single song as a fully random shuffle would do. So shuffles would tend to honor albums, then honor genre, so that there was a small chance you might flip from techno to classical, and if you did, it would tend to stay in classical for a while, before flipping to pop music or whatever.
I do sort of miss it and sort of simulate it nowadays by just being a bit heavyhandedly intentional about the playlists I make for the day.
by jerf
4/1/2025 at 3:55:54 PM
I, too, have a bunch of legally ripped shows, yes.by stavros
4/1/2025 at 3:57:35 PM
A few years ago I got a Chromecast, so I made a program that would cast one episode after the other of all the shows I had. It was fun to switch to the Chromecast and be in the middle of some show (I'd already watched them all), but it did have the issue you mention (it would play S02E03 and then S10E22), but it was fun to have my own TV channel, basically.by stavros
4/1/2025 at 2:43:34 PM
I want this but as an Emby/Jellyfin plugin.by captn3m0
4/1/2025 at 4:34:35 PM
There is ErsatzTV which works with Jellyfin (see the clients page) https://ersatztv.org/docs/introIt was pretty janky the last time I tried it last year though. When it worked, it was awesome, but when things didn't work quite correctly (or at all), it was frustrating and difficult to figure out how to fix.
by Hojojo
4/1/2025 at 4:12:00 PM
I thought the same! I’m not sure if it would have to be a client or server side implementation though.Might have to be both, like a new simulate TV mode.
by s900mhz