Commit Graph

243 Commits (9708f3d7c1c00c6552104a699ba7c125ca83b6c5)

Author SHA1 Message Date
Icedream d82721128f Implement "loop" command.
This command allows looping the playlist by just passing the command "loop on". Respectively, "loop off" turns off looping again.
2015-10-27 23:54:01 +01:00
Icedream 0762d6d0bd Fix line breaks and tabs not being properly escaped in ts3query.iced. 2015-10-27 23:38:14 +01:00
Icedream eb00dc2f87 While we're on it, fine-tuning the playlist message. 2015-10-27 23:19:40 +01:00
Icedream d61d85e020 Got the right CoffeeScript syntax for this loop now. 2015-10-27 23:18:13 +01:00
Icedream ab18c3cd8f According to the WebChimera documentation this is not zero-based... 2015-10-27 23:12:47 +01:00
Icedream cc783d0bc0 Implement "list"/"playlist" commands.
These commands make the bot print out the current playlist in the channel chat. The current track being played back is printed in bold green font.
2015-10-27 23:09:28 +01:00
Icedream 4eed972a23 Implement "empty"/"clear" commands.
These commands allow emptying the current playlist. Here another reminder to implement a proper permission system soon!
2015-10-27 23:01:23 +01:00
Icedream 824b4b94bd Implement "prev"/"previous" commands.
These commands allow going to the previous entry in the playlist.
2015-10-27 22:59:17 +01:00
Icedream 8ab524467b Fix non-numeric volume value being passed through to VLC as NaN.
Those values are not supposed to be accepted in the first place...
2015-10-27 22:47:29 +01:00
Icedream 852052388d VLC event members are actually properties, not functions.
Got the documentation wrong here, I was looking up examples and it looked as if calling the on* fields as functions was the right way to go but it was actually not. 64bf4ffc36/src/JsVlcPlayer.cpp (L90-L102) clearly defines as set-properties here.
2015-10-27 22:40:39 +01:00
Icedream e923f80333 Merge branch 'develop' into impl/webchimera 2015-10-27 22:30:02 +01:00
Icedream 394b16ab5e We're now completely getting rid of vlc-api.
- Hopefully fixes audio volume not being set to 50% at startup.
- Volume now is in the range of 0 to 200 (percentage, so goes from 0% to 200% for those numbers).
- Made message displaying volume change display the actual level set.
- We're no longer providing an HTTP interface.
- Now stores metadata info in a separate variable for later retrieval by input MRL.
- Now prints when player reaches end of playlist.
- Now supports toggle-pausing using "pause" command.
- Should fix playlist not being able to kick off on "play" if stopped.
- Removed vlc-api dependency.

Relates to issues #17, #10 and #7 (partially).
2015-10-27 01:14:55 +01:00
Icedream ac3531a875 Add webchimera.js to dependencies - we're now switching!
See issue #17.
2015-10-27 00:13:10 +01:00
Icedream 1300eafdd1 Remove leftover DBus files since it prevents DBus from starting properly. 2015-10-25 01:47:47 +02:00
Icedream 284d85605c Update TS3Bot to ed10e875b3. 2015-10-24 11:30:16 +02:00
Icedream ed10e875b3 I'm on a roll with this today. 2015-10-24 11:28:44 +02:00
Carl Kittelberger 8337436e77 Merge pull request #3 from icedream/space
Layer optimization by moving build instructions into a script
2015-10-24 11:03:59 +02:00
Icedream 144e10763d Merge remote-tracking branch 'origin/develop' into space
Conflicts:
	Dockerfile
2015-10-24 11:03:08 +02:00
Icedream 14623b59cc If we remove NodeJS' script we need to run apt-get update ourselves. 2015-10-24 10:48:41 +02:00
Icedream 408dc778b0 We don't NEED to update to NodeJS 4.x, do we? 2015-10-24 10:47:38 +02:00
Icedream b5fd982b7f Add non-interactive "yes" on purge. 2015-10-24 10:37:06 +02:00
Icedream daf6bf8f7c Pipe ts3bot-control archive through tar immediately. 2015-10-24 10:36:32 +02:00
Icedream 60f3eea6d3 Temporarily install wget to download files. 2015-10-24 10:30:44 +02:00
Icedream b0feeb7fe6 Update TS3Bot to 1892b56e4c. 2015-10-24 10:27:12 +02:00
Icedream 1892b56e4c @log -> settingsObj. 2015-10-24 10:26:01 +02:00
Icedream b739ed3e40 Move build to a single install script to save on layers/space. 2015-10-24 10:21:16 +02:00
Icedream e2c4861739 Remove /etc/pulse/default.pa as module-null-sink fails to load. 2015-10-24 09:49:49 +02:00
Icedream 17ada4dc46 Update TeamSpeak3 to version 3.0.18.2. 2015-10-23 11:53:29 +02:00
Icedream 978f213a3b Move /etc/pulseaudio to /etc/pulse. 2015-10-23 11:53:25 +02:00
Icedream 4e42c6d821 Updated README.md.
Added new commands and features.
2015-10-23 11:53:20 +02:00
Carl Kittelberger a6c6cebe73 Update TS3Bot to 6695fbd83e. 2015-10-21 21:04:12 +02:00
Icedream 6695fbd83e Log updates on identities. 2015-10-21 21:00:00 +02:00
Icedream 0de22eb9e1 Trim parameters so whitespace doesn't invalidate URLs. 2015-10-21 20:59:58 +02:00
Carl Kittelberger 207bf24663 Merge pull request #16 from icedream/fix/nicklength
Fix nickname length limit.
2015-10-21 19:40:10 +02:00
avail 6568e1e5eb fix nickname letter limit error message 2015-10-21 19:38:13 +02:00
Carl Kittelberger 32f22f719a Merge pull request #11 from icedream/enhancement/friendly-strings
Improvements for bot messages
2015-10-21 19:27:58 +02:00
Icedream 1846e96806 Use <> instead of ** for marking parameters in the text. 2015-10-21 16:56:16 +02:00
avail a2c4406f09 string iprovements 2015-10-21 16:50:36 +02:00
Icedream d10ef6703b Update TS3Bot to 1b57bd36ce. 2015-10-21 16:39:58 +02:00
Icedream 1b57bd36ce Fix response messages for volume and adding to playlist. 2015-10-21 16:32:58 +02:00
Icedream 2dd16830ec Fix default volume. 2015-10-21 16:32:31 +02:00
Icedream e4f3e4f2c2 Prevent running the "enqueue" command without a URL. 2015-10-21 16:32:10 +02:00
Icedream 8964db5afa Command aliases for "add" and "append" -> "enqueue". 2015-10-21 16:31:53 +02:00
Icedream eb5b214f49 Update TS3Bot to 69b6deb9be. 2015-10-21 15:41:06 +02:00
Icedream 69b6deb9be Implement "pause" command to pause current track. 2015-10-21 15:37:58 +02:00
Icedream f368221b3b Implement "enqueue", "next" and a URL-less "play" to resume from paused tracks. 2015-10-21 15:37:02 +02:00
Icedream c176202454 Updating TS3Bot to e0379895d7. 2015-10-21 15:15:55 +02:00
Icedream e0379895d7 Implemented "vol" command to set volume. By default it's 50% (127).
The range is as-is in VLC, something between 0 (0%) and 511 (200%). You get this info as well if you just type "vol".
2015-10-21 15:13:53 +02:00
Icedream 4bfc0cabf4 Wait for VLC to stop playback on demand. 2015-10-21 15:10:28 +02:00
Icedream 7890e22723 Remove the HTTP API server and do everything directly. 2015-10-21 14:19:56 +02:00