strims-radio

command module
v0.0.0-...-9c6088c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2025 License: GPL-3.0 Imports: 23 Imported by: 0

README

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)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL