• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

Audio stream

Lawliz

New Member
Hello,

I would like to have a link that does not change when I use the audio stream.

Basically, I set EnableWebStream to true and SampleInterval to 60 and I would like to recover a link that does not change to use in a game that allows you to put radios.
And I would like this radio to be the sound that passes on the bot teamspeak.

But when I use the api of the bot he give me a different token for a different song and this token is too long.

Do you have an idea?

Cordially. (Sorry for my bad English, I'm French)

Config Server (VPS SSD 3 by OVH) :

2 vCore(s)
2,4 GHz
8 Go de RAM
40 Go SSD

OS : Debian 9
SinusBot Version : SinusBot 0.13.37-9791176
Teamspeak Version : TeamSpeak 3 Client 3.1.9


Scripts lists :
  • AFK Mover(No Idle check)
  • Advanced display playback information
  • Jail
  • Server Join Alert
  • Simple Custom Command
  • WelcomeMessage+
  • Avatar banner for and with SinusBot
  • !come
  • No Recording!
  • Private message or poke to all clients
  • Remember Last Channel

config.ini :

Code:
TS3Path = "/opt/rpsbot/teamspeak3-client/ts3client_linux_amd64"
ListenHost = "51.38.232.27"
DataDir = "/opt/rpsbot/data/"
ListenPort = 8087
LocalPlayback = false
EnableLocalFS = false
MaxBulkOperations = 300
LogLevel = 10
EnableProfiler = false
YoutubeDLPath = "/usr/local/bin/youtube-dl"
EnableDebugConsole = false
UploadLimit = 83886080
RunAsUser = 0
RunAsGroup = 0
InstanceActionLimit = 6
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = ""
HostnameMask = ""
SampleInterval = 60
StartVNC = false
EnableWebStream = true
LogFile = ""
LicenseKey = "hYqQawQeRDKUu1sqYRRCMqDm4wbVZ++bvHxRrCJzimY="
IsProxied = false
DenyStreamURLs = []
Pragma = 0

[YoutubeDL]
  BufferSize = 524288
  MaxDownloadSize = 419430400
  MaxDownloadRate = 104857600
  MaxSimultaneousChunkDownloads = 1
  CacheStreamed = false
  TimeoutSingleDownloader = 0
  TimeoutMultiDownloader = 0
  ChunkSize = 5242880

[TS3]
  AvatarMaxWidth = 0
  AvatarMaxHeight = 0
  AllowGIF = true

[StreamRewrites]

[Scripts]
  AllowReload = false
  EnableTimer = false
  DisableLegacyEvents = false
  ScriptTimeout = 5

[Themes]
  Default = ""

[SpeechRecognition]
  Enable = false

[FFmpeg]
  UserAgent = "SinusBot (0.13.37-9791176)"

[DAV]
  Enable = false

[XServer]
  Delay = 0
  Debug = false

[SHMem]
  Enable = false
  Size = 0
  Delay = 0
  Interval = 0

[RadioStations]
  URL = ""
  UpdateInterval = 0

[Scripts.Privileges]
avatarbanner = ["graphics"]
 

flyth

is reticulating splines
Staff member
Developer
Contributor
You could just write for example an php script that generates the token and redirects to the URL with that token, so that the URL of your php script is static.

I'll think about adding the possibility to have a fixed token or do something with the internal scripting engine.
 
Top