this post was submitted on 14 Jul 2025
91 points (96.9% liked)

Ask Lemmy

33398 readers
1807 users here now

A Fediverse community for open-ended, thought provoking questions


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.


6) No US Politics.
Please don't post about current US Politics. If you need to do this, try !politicaldiscussion@lemmy.world or !askusa@discuss.online


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 2 years ago
MODERATORS
 

I wish there was a good looping software that good take any song and cut the perfect infinite loop of it automatically.

you are viewing a single comment's thread
view the rest of the comments
[–] jordanlund@lemmy.world 29 points 4 days ago (6 children)

Media server software that lets me program my own television station.

5:00 PM - Play the next file from folder X.
6:00 PM - Play the next file from folder Y.
7:00 PM - Play the next file from folder Z.
8:00 PM - Play random movie.

[–] thenose@lemmy.world 4 points 3 days ago

Ersatz is this brilliant self hosted IPTV server that can do this. Any client (even a browser or your smart tv) can run it. Setting up the channels are a bit clunky but it’s well documented

https://ersatztv.org/ Your Personal IPTV Server | ErsatzTV

[–] solrize@lemmy.ml 8 points 4 days ago* (last edited 4 days ago) (1 children)

That is like a 10 line bash script? Well maybe a little more but not much. Start here: https://linux.die.net/man/1/at

[–] jordanlund@lemmy.world 7 points 4 days ago (2 children)

Setting up something like a cron job is trivial, getting it to stream files from a particular folder, on a channel I can access on demand, is the trick.

Ideally I want to be able to change the input on my television, any time I want, to my personal streaming channel which is constantly running the schedule I've defined.

[–] solrize@lemmy.ml 2 points 3 days ago* (last edited 3 days ago)

The one time I tried streaming I just piped ffmpeg output through icecast and that worked, but it took some reading of the ffmpeg wiki to find the right options. You might even be able to point icecast to the folder directly without ffmpeg. I needed ffmpeg because it was transcoding from a webcam. On the playback side you'd again use ffmpeg to stream the icecast channel to your computer's hdmi output, and wire that to your TV. I'm still going with 10 line shell script, but maybe I'd use python to avoid too much shell cleverness.

Added: maybe you don't even need icecast. Its purpose is to fan out a single input to multiple clients. You can even cascade them across a bunch of cheap VPS into a do-it-yourself youtube with 1000s of simultaneous viewers.

[–] sin_free_for_00_days@sopuli.xyz 1 points 4 days ago (1 children)

Seems like it would be pretty easy to set up some cron job that would change a symlink to a folder every hour and just run programs from that symlink.

[–] jordanlund@lemmy.world 3 points 3 days ago (1 children)

That would likely work if the intent was to watch files locally, and that's not the goal. The goal is to stream them out to something viewable on a television.

A DLNA server can do the streaming, but not the scheduling and it won't run continuously.

[–] fmstrat@lemmy.nowsci.com 1 points 3 days ago

Seems like youre shooting these down without considering what the author meant by "program".

  • Create a folder called "My Channel"
  • Make a bash script that does the symlinks
  • Add folder to Jellyfin
  • Profit
[–] LastYearsIrritant@sopuli.xyz 2 points 3 days ago (1 children)

https://www.youtube.com/watch?v=W7m7OW2xrJE

This guy actually rolled his own internal home cableTV broadcast, which does exactly what you're asking.

[–] jordanlund@lemmy.world 1 points 3 days ago

Composite video and mono audio... Ew. LOL.

[–] cymor@midwest.social 3 points 3 days ago

VLC (Video LAN Client) probably has a plugin for this. It was designed to stream video across networks.

[–] med@sh.itjust.works 2 points 3 days ago (1 children)

Have you tried ErsatzTV? It's selfhostable, pretty extensible, can be integrated into on-demand solutions like Jellyfin...

[–] jordanlund@lemmy.world 1 points 3 days ago

I look at different solutions from time to time, but it's been a while, I'll check that out!

[–] alekwithak@lemmy.world 3 points 4 days ago (1 children)

There's tons of these? I've been using DizqueTV for like five years without issue.

[–] jordanlund@lemmy.world 7 points 4 days ago (1 children)

Not linking to reddit, but this DisqueTV?

[–] alekwithak@lemmy.world 7 points 3 days ago

0.o appreciate you bringing that to my attention.