torch2424 / live-stream-radio

24/7 live stream video radio station CLI / API 📹 📻
https://torch2424.github.io/live-stream-radio/
238 stars 64 forks source link

Subfolder Overlay #80

Open LauraWebdev opened 5 years ago

LauraWebdev commented 5 years ago

Together with your idea of #48, maybe there could be folder-specific overlays as well? Imagine a radio that has an overlay image and plays music from multiple videogames. The overlay could containe the games logo and change based on which folder music is played from.. this could potentially be very easy if we introduce a variable for the overlay path (kinda like the stream_key variable) that just get's added to the path.

There could be $audioFolder for the current folder and maybe something like $timeHour and $timeMinute for the current hour/minute when starting the stream.

Example: './overlay.png' => './overlay.png' './$audioFolder-overlay.png' => './minecraft-overlay.png' './$audiofolder/overlay.png' => './minecraft/overlay.png' './$timeHour$timeMinute-overlay.png' => './2351-overlay.png'

torch2424 commented 5 years ago

Oh yeah I can totally get behind this, nice idea 😄