24/7 Devotional Stream: Daily Playlists Guide
In this article
This guide walks you through building a 24/7 devotional stream that automatically plays a different playlist for each day of the week. You'll set up a live stream that rotates through seven curated playlists, so Monday always features your Monday worship mix, Tuesday has its own, and so on. This is perfect for churches, ministries, or personal devotion channels on YouTube, Facebook, or your own website. Before starting, you'll need a computer that can run 24/7 (or a cheap VPS), a stable internet connection, and the software listed below.
What You'll Need
- A computer or server that stays on (a Raspberry Pi, old laptop, or cloud VPS works)
- Internet connection with decent upload speed (at least 5 Mbps for 1080p)
- OBS Studio (free, open-source) or similar streaming software
- VLC Media Player (free) or another media player that can loop playlists
- Your devotional audio/video files organized into seven folders (one per day)
- A streaming platform account (YouTube, Facebook Live, Twitch, etc.) with streaming permissions
- Optional: a text editor for scripting (Notepad++ or VS Code)
Step-by-Step
- Organize your media files – Create seven folders named Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday. Place all devotional audio or video files for each day in its respective folder. Ensure all files are in a format OBS can play (MP4, MKV, MP3, etc.).
- Create playlists for each day – Open VLC Media Player. For each day, go to Media > Playlist, drag all files from that day's folder into the playlist, then save it as an XSPF file (e.g., Monday.xspf) in a dedicated playlists folder. Repeat for all seven days.
- Install OBS Studio – Download and install OBS Studio from the official website. Launch it and go through the auto-configuration wizard (choose 'Optimize for streaming').
- Set up your scene – In OBS, create a new scene (e.g., 'Devotional Stream'). Add a 'Media Source' to the scene. In the properties, check 'Loop' and 'Restart playback when source becomes active'. Leave the 'Local File' blank for now – you'll control it via the playlist script.
- Create the day-switching script – Write a script that checks the current day of the week and tells VLC to play the corresponding playlist. For simplicity, use a batch file (Windows) or shell script (Linux/macOS). Example (Windows batch):
- Set VLC to output to OBS – Instead of playing directly, you'll use VLC's HTTP interface or simply use OBS's built-in VLC source. The easiest method: In OBS, add a 'VLC Media Source' (not the standard Media Source). This source can directly load a playlist file. You'll set the playlist path to a file that the script updates daily.
- Automate the playlist switching – Modify your script to copy the correct XSPF file to a fixed location, e.g., current.xspf, and then restart the VLC source in OBS. Use OBS's websocket plugin to restart the source via command line. Install the obs-websocket plugin, then use a command like
obs-websocket-jsor a simple PowerShell script to switch the source's file. - Set up the stream key – In OBS, go to Settings > Stream. Choose your platform (YouTube, etc.), paste your stream key from the platform's streaming dashboard. Ensure you have a stable bitrate (e.g., 4500 kbps for 1080p).
- Schedule the script to run daily – Use Task Scheduler (Windows) or cron (Linux) to run your day-switching script at midnight (or early morning) every day. This ensures the playlist changes automatically.
- Start streaming manually or automatically – For a true 24/7 stream, start OBS and begin streaming. If your computer restarts, configure OBS to auto-start and auto-stream using command line flags:
obs64.exe --startstreaming --minimize-to-tray. Add this to your startup folder or a cron job. - Test thoroughly – Before going live, test each day's playlist by manually switching the day in your script. Verify that audio/video plays correctly, the stream is stable, and the day change works.
@echo off
for /f "tokens=2 delims= " %%a in ('date /t') do set day=%%a
if %day%==Mon start VLC "C:\playlists\Monday.xspf" --loop
if %day%==Tue start VLC "C:\playlists\Tuesday.xspf" --loop
... (repeat for all days)
Common Mistakes
- Not enabling 'Loop' on the VLC source – without it, the stream stops when the playlist ends.
- Using the wrong file paths in scripts – always use absolute paths, and be careful with spaces (quote them).
- Forgetting to set the VLC source to 'Playlist' mode – it defaults to 'Media' mode, which only plays one file.
- Not accounting for timezone – if your server is in a different timezone, the day change will be off. Use the server's local time or set it to your target audience's timezone.
- Streaming at too high a bitrate for your upload speed – this causes buffering and drops.
- Not testing the restart command – the script may fail silently, leaving the old playlist playing.
Tips
- Use a dedicated low-power device like a Raspberry Pi 4 to save electricity and avoid interfering with your main computer.
- Add a 'Now Playing' overlay in OBS using a text source that reads a file. Your script can write the current track title to that file.
- Use OBS's 'Advanced Scene Switcher' plugin to automatically switch scenes if you want different visuals for different days.
- For audio-only streams, you can use a static image as the video source to reduce bandwidth.
- Keep a backup of your playlists and scripts in a cloud drive so you can restore quickly if needed.
- Monitor your stream with a separate device to ensure it's always live.
Troubleshooting
- Stream goes offline randomly – Check your internet stability. Use a wired connection. Reduce bitrate. Ensure OBS is set to reconnect automatically (Settings > Advanced > Reconnect).
- Playlist doesn't change at midnight – Check the script's log. Ensure the script runs with admin privileges if needed. Test the script manually. Verify the day variable is correct (e.g., Windows date format may vary).
- VLC source shows black screen – The file path may be wrong. Re-select the playlist in OBS. Ensure VLC is installed correctly. Try restarting OBS.
- Audio is out of sync or choppy – Lower the audio bitrate. Ensure your audio files are in a consistent format (e.g., AAC). Check CPU usage – if high, reduce the video resolution.
- Stream is live but no audio – In OBS, go to Settings > Audio and check the Global Audio Devices. Ensure the VLC source's audio is not muted. In the source properties, set 'Audio' to 'Yes'.
- Day switches but wrong playlist – Your script's day detection is wrong. On Windows,
date /treturns e.g., 'Mon 03/10/2025' – adjust the parsing. Use%date:~0,3%to get the day abbreviation directly.
Frequently Asked Questions
Can I use YouTube for a 24/7 stream?
Yes, but YouTube requires a verified account and may limit 24/7 streams to partners in some regions. Facebook Live and Twitch are more lenient. Always check the platform's current policies.
Do I need a powerful computer?
No, for audio-only streams even a Raspberry Pi 4 works. For video, a dual-core CPU is enough if you use hardware encoding (NVENC/QuickSync).
Can I use Spotify or other streaming services for the audio?
Technically yes, but it's against most streaming services' terms of service to rebroadcast. Use your own files or royalty-free music to avoid copyright strikes.
How do I handle copyright for devotional music?
Use music you own, have a license for, or that is in the public domain. Many churches have CCLI licenses that cover live streaming. Always check the license terms.
What if my internet goes down?
OBS will try to reconnect. If it fails, your stream goes offline. Consider a backup internet connection (e.g., 4G hotspot) or a cloud VPS that is more reliable.
Can I run this on a cloud server?
Yes, a small VPS with a virtual display (like Xvfb) can run OBS and stream. This is more reliable than a home computer and avoids bandwidth issues. However, it requires Linux knowledge.