Commit Graph

29 Commits (1b57bd36ce7c65874b85485c582b131d605a1fa2)

Author SHA1 Message Date
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 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 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
Icedream 6d49bdfdaa Add "repository" field to package.json. 2015-10-16 19:49:09 +02:00
Icedream b62a1c46a6 Bump version to 0.2.1. 2015-10-16 19:46:58 +02:00
Icedream 73aeca588a Merge branch 'feature/youtube-dl' into develop 2015-10-16 19:43:28 +02:00
Icedream 2dd995b2d7 Separate parameter name and value for "aout" parameter like we did with the others. 2015-10-16 19:41:21 +02:00
Icedream 9fa980d2bc Don't log JSON representation of the TeamSpeak3 queries. 2015-10-16 19:40:47 +02:00
Icedream a5dbbb631b Use youtube-dl to resolve URLs if possible.
First try --format=bestaudio, if that fails  try --format=best and if that fails as well, just pass the URL as-is to VLC. Very fault tolerant and silently ignores errors (except for letting it show up in the logs)...
2015-10-16 15:25:46 +02:00
Icedream 84797f6814 Replace .gitignore with a more complete copy. 2015-10-16 14:42:03 +02:00
Icedream ab3e66ae8f How did that end up here!? 2015-10-16 10:37:19 +02:00
Icedream 44ba3b7526 Fixing TS3 query reconnection.
If the first connection to the query interface fails, the app didn't try to connect again afterwards because it assumed that the process has been aborted intentionally.
2015-10-16 10:25:19 +02:00
Icedream 19198f0dc4 Fixed news time calculation. 2015-10-16 10:11:38 +02:00
Icedream 2b1942f79c Here again. 2015-10-16 09:47:58 +02:00
Icedream 3624c69d70 log.fatal does - in fact - not exist. 2015-10-16 09:43:32 +02:00
Icedream 5cd0c0ee19 Asynchronous code at module startup never goes well with NodeJS. 2015-10-16 09:36:52 +02:00
Icedream fe293ace7c Oops! 2015-10-16 09:21:58 +02:00
Icedream be478ae504 Another small CPU save by turning off logging for (almost) everything TS3. 2015-10-16 08:23:37 +02:00
Icedream 47fa3e798c Try to hide news in GUI using time conditions.
Might save on a tiny little bit of CPU time... I guess?
2015-10-16 08:23:15 +02:00
Icedream 4b258b8ff4 Disable client query plugin as it's not used currently. 2015-10-16 08:22:34 +02:00
Icedream cb42c3afd2 Check for access to TeamSpeak3 binary on startup. 2015-10-16 08:22:20 +02:00
Icedream 6ed562e279 Try a synchronized shutdown when an uncaught exception occurs. 2015-10-16 08:21:55 +02:00
Icedream a0bded664a Initial commit.
- TS3Bot is able to play any link that VLC supports via the "play" command, just add any URI as an argument to that command.
- TS3Bot is able to stop the currently playing media via the "stop" command.
- TS3Bot is able to change its own nickname via the "changenick" command.
2015-10-15 17:40:20 +02:00