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!
- 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).
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)...
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.
- 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.