• 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.

queuePrepend

Status
Not open for further replies.

ixcesal

Member
sinusbot.queuePrepend - add the track with the given url to the queue on lats position not to the top of the queue.

version 0.9.12.3-36fce3c
Linux debian 65bit
vps, Intel i7 4770, 2Gb Ram


scripts:
Alonemode
!come
Schedule Music Timer

config:
Code:
TS3Path = "/opt/ts3soundboard/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64"
ListenHost = "0.0.0.0"
DataDir = "/opt/ts3soundboard/data/"
ListenPort = 8087
LocalPlayback = false
EnableLocalFS = false
MaxBulkOperations = 300
LogLevel = 10
EnableProfiler = false
YoutubeDLPath = "/usr/bin/youtube-dl"
EnableDebugConsole = false
UploadLimit = 83886080
RunAsUser = 0
RunAsGroup = 0
InstanceActionLimit = 6
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = ""
SampleInterval = 60
StartVNC = false
EnableWebStream = true
LogFile = ""
LicenseKey = "-------"
IsProxied = false
DenyStreamURLs = []
Pragma = 0

[YoutubeDL]
  BufferSize = 524288
  MaxDownloadSize = 419430400
  MaxDownloadRate = 104857600
  CacheStreamed = false

[TS3]
  AvatarMaxWidth = 0
  AvatarMaxHeight = 0

[StreamRewrites]

[Scripts]
  AllowReload = false
EnableTimer = false

[SpeechRecognition]
  Enable = false

[FFmpeg]
  UserAgent = "SinusBot (0.9.11-6e331b1)"

[DAV]
  Enable = false

[XServer]
  Delay = 0
  Debug = false

queuePrepend was called about 13:00, but we haven't any info in log file, song was added to queue in last position

log level 10:
Code:
2016/09/13 12:56:48 fc6e62d9 11b0ea2c INFO   Playing next from queue:
2016/09/13 12:56:48 fc6e62d9 11b0ea2c DEBUG  >> BREQ POST /api/v1/chat
2016/09/13 12:56:48 fc6e62d9 11b0ea2c DEBUG  Awaiting Callback (1): PR:{e73f252c-1d84-4b91-9072-a1f57bf7de1a}:131/DESC
2016/09/13 12:56:48 fc6e62d9 11b0ea2c DEBUG  New channel
2016/09/13 12:56:48 fc6e62d9 11b0ea2c DEBUG  >> BREQ POST /api/v1/config
2016/09/13 12:56:48 fc6e62d9 11b0ea2c DEBUG  Found Callback PR:{e73f252c-1d84-4b91-9072-a1f57bf7de1a}:131/DESC
2016/09/13 12:56:48 fc6e62d9 11b0ea2c DEBUG  >> BREQ POST /api/v1/setDescription
2016/09/13 12:57:00 fc6e62d9 11b0ea2c DEBUG  Storing configuration.
2016/09/13 12:57:11 fc6e62d9 65215870 INFO   Grzelas joined the channel
2016/09/13 12:57:47 fc6e62d9 871a45b7 DEBUG  Awaiting Callback (1): PR:{5d034b52-0b48-4389-b218-6e1cc7dc4e3e}:193/DESC
2016/09/13 12:57:47 fc6e62d9 871a45b7 DEBUG  Found Callback PR:{5d034b52-0b48-4389-b218-6e1cc7dc4e3e}:193/DESC
2016/09/13 12:57:47 fc6e62d9 871a45b7 DEBUG  >> BREQ POST /api/v1/setDescription
2016/09/13 12:59:13 fc6e62d9 209c6a36 DEBUG  Awaiting Callback (1): PR:{b7f759c4-01e0-45ca-8f9d-64511428d9dd}:195/DESC
2016/09/13 12:59:13 fc6e62d9 209c6a36 DEBUG  Found Callback PR:{b7f759c4-01e0-45ca-8f9d-64511428d9dd}:195/DESC
2016/09/13 12:59:13 fc6e62d9 209c6a36 DEBUG  >> BREQ POST /api/v1/setDescription
2016/09/13 12:59:17 fc6e62d9 8fd33ed5 DEBUG  Awaiting Callback (1): PR:{f4d6a63e-0532-4d16-bd4e-6e58e80b85f0}:194/DESC
2016/09/13 12:59:17 fc6e62d9 8fd33ed5 DEBUG  Found Callback PR:{f4d6a63e-0532-4d16-bd4e-6e58e80b85f0}:194/DESC
2016/09/13 12:59:17 fc6e62d9 8fd33ed5 DEBUG  >> BREQ POST /api/v1/setDescription
2016/09/13 13:00:31 fc6e62d9 11b0ea2c DEBUG  Deleting channel
2016/09/13 13:00:31 fc6e62d9 11b0ea2c DEBUG  Channels now zero
2016/09/13 13:00:31 fc6e62d9 11b0ea2c DEBUG  Done playing
2016/09/13 13:00:31 fc6e62d9 11b0ea2c DEBUG  Deleting temporary file
2016/09/13 13:00:31 fc6e62d9 11b0ea2c INFO   Playing next from queue:
2016/09/13 13:00:31 fc6e62d9 11b0ea2c DEBUG  New channel
2016/09/13 13:00:31 fc6e62d9 11b0ea2c DEBUG  >> BREQ POST /api/v1/config
2016/09/13 13:00:50 fc6e62d9 11b0ea2c DEBUG  Storing configuration.
 
Last edited:
Status
Not open for further replies.
Top