Skip to content

🎵 a simple plug.dj clone that streams songs to a RTMP server

License

Notifications You must be signed in to change notification settings

SoMuchForSubtlety/strims-radio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Report Card

strims-radio

strims-radio is a plug.dj clone that uses opendj and the youtube API to stream songs requested by chat to a RTMP server.

setup

git clone https://github.com/SoMuchForSubtlety/strims-radio
cd strims-radio
cp sample-config.json config.json
vim config.json
go run .

running in docker

git clone https://github.com/SoMuchForSubtlety/strims-radio
cd strims-radio
cp sample-config.json config.json
vim config.json
mkdir storage
cp *.json storage
sudo docker-compose up -d

flags

  -config string
        the location of the config file (default "config.json")
  -queue string
        the location of the saved queue (default "queue.json")
  -songs string
        the location of the backup songs (default "songs.json")
  -users string
        the location of the list of users that want to get notifications (default "updateUsers.json")

commands

Commands only work in private messages. These commands are currently available:

-playing
    replies with currently playing song
-next
    replies with next song
-queue
    replies with the number of songs in the queue and the users position if applicable
-playlist
    replies with a link to the current queue
-updateme
    turns on/off notifications for the user when a new song starts playing
-like
    total likes are told to the song submitter once it finishes playing
-dedicate {other user}
    dedicates the users next song in the queue to the provided user
-remove {int}
    removes the song at the provided index from the queue if the user submitted it or the user is a mod
{youtube url}
    adds the song at the provided url to the queue if it's not too long
-addbackup {youtube url}
    adds the provided song to the backup playlist (mod only)

About

🎵 a simple plug.dj clone that streams songs to a RTMP server

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •