Commit Graph

25 Commits (1b1f4c0f373f25f322d458c2ac35999cadb1bff4)

Author SHA1 Message Date
Icedream 2b7da8705f Require a DISPLAY to be set instead of Xvfb to be running for the window manager. 2015-11-04 23:33:44 +01:00
Icedream bfb0ff154b Remove left-over parameters for blackbox for compatibility with other WMs. 2015-11-04 23:23:34 +01:00
Icedream 8fe17abdf8 Add compatibility with other window managers using x-window-manager. 2015-11-04 19:40:42 +01:00
Icedream 2e246a1a98 Do not require an isolated GUI anymore.
This commit allows the TS3Bot to boot in an environment where
there is no way to boot an isolated graphical environment. In that case
TS3Bot will try to use the already existing display and the desktop
manager that runs on it already.

This adds some undefined error cases which still need to be found and
fixed, so be warned: This commit is very, VERY experimental!
2015-11-02 12:46:30 +01:00
Icedream ce801fecbb Use custom XDG runtime dirs for better isolation. 2015-11-02 12:45:27 +01:00
Icedream ee9bd9c0fc Delay Blackbox availability handling.
Allow the main code to handle this case instead.
2015-11-02 12:44:12 +01:00
Icedream Jenkins b6a70ebdc5 Delay error that Xvfb is not available so main code can handle it instead. 2015-11-02 12:20:40 +01:00
Icedream c20462272f Stop audio playback when shutting down TS3Bot. 2015-10-29 02:24:11 +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 2dd16830ec Fix default volume. 2015-10-21 16:32:31 +02:00
Icedream 7890e22723 Remove the HTTP API server and do everything directly. 2015-10-21 14:19:56 +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 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 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 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 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