Icedream
f5df78d60c
ts3client: Fix removal of default playback profile.
2016-04-09 18:57:18 +02:00
Icedream
375ee988df
ts3client: Remove commented out code for default playback settings.
2016-04-09 18:33:30 +02:00
Icedream
bd6b66b905
ts3client: Disable playback altogether.
2016-04-09 18:22:30 +02:00
Icedream
affd651e5f
Well, this actually doesn't help at all in Docker.
2016-04-09 18:12:49 +02:00
Icedream
e45aa93b36
Start sending keep-alives only after we're actually connected.
2016-04-09 17:06:57 +02:00
Icedream
e2a05f73bf
Adding silly logging for keep-alive reset.
2016-04-09 17:06:41 +02:00
Icedream
3538060002
Stop keepalive when "close" event triggers on TCP socket.
2016-04-09 17:04:16 +02:00
Icedream
6a68d5c2e8
Replace _keepaliveInt undefined check with an easier check.
2016-04-09 16:50:06 +02:00
Icedream
264f07cf9b
Make sure _keepaliveInt is unset in _stopKeepalive.
2016-04-09 16:31:40 +02:00
Icedream
3948c767e9
ts3query: Stop sending keepalives on connection errors.
2016-04-08 19:44:59 +02:00
Icedream
b4e88ad54b
ts3query: Stop keepalive thread when closing connection.
2016-04-08 19:43:19 +02:00
Icedream
92c66a6bbc
Send empty command as keep-alive.
...
Fixes #36 .
Inspired from http://py-ts3.readthedocs.org/en/latest/_modules/ts3/query.html .
2016-02-16 18:23:59 +01:00
Icedream
c48ea91682
Revert "ts3query: Send TCP keep-alives every minute."
...
This reverts commit 0a0a3875e5
.
2016-02-16 18:13:53 +01:00
Icedream
0a0a3875e5
ts3query: Send TCP keep-alives every minute.
...
Fixes #36 .
2016-02-16 17:30:42 +01:00
Icedream
b8be9e0b53
Merge branch 'master' into develop
2016-02-16 08:27:26 +01:00
Icedream
592872f97d
Implement "time" command.
...
Aliases: "seek", "pos", "position"
This command sets the current position in the playing item, time can be given as an argument of any sensible form like "2m 3s", "2m03s", "2:03" or "2m".
This command returns the current position in the playing item if given no arguments.
2015-11-08 01:08:33 +01:00
Icedream
a74b923de0
Fix crash in "current" command when nothing is playing.
2015-11-06 23:27:31 +01:00
Icedream
d1fe5f4d36
Respond to "current" command properly, not just via channel chat.
2015-11-06 23:18:22 +01:00
Carl Kittelberger
5abb132fae
Update README.md
...
Fix formatting.
2015-11-06 22:41:39 +01:00
Carl Kittelberger
529bf84fcd
Update README.md
2015-11-06 22:41:17 +01:00
Carl Kittelberger
ffbd2f98fe
Update README with sane install instructions.
...
The original text has probably been written by a sleepy me from the past.
2015-11-06 22:39:58 +01:00
Carl Kittelberger
7160acee75
Merge pull request #38 from icedream/develop
...
Version 0.3.
2015-11-05 19:57:33 +01:00
Icedream
95fe3249cc
Missing ) in config.iced.
2015-11-05 19:41:48 +01:00
Icedream
e93b3f5fff
Missing newline in config.iced.
2015-11-05 19:28:32 +01:00
Icedream
ed9e3605a7
Validate "nickname" configuration option.
...
Fixes #14 .
2015-11-05 19:04:23 +01:00
Icedream
e8da814e59
Implement "current" command, see #7 .
2015-11-05 18:40:49 +01:00
Icedream
003ec48763
Provide "ts3bot" global executable.
2015-11-05 03:02:57 +01:00
Icedream
1b1f4c0f37
Rewrite vlc.onPlaying handler, fixes #35 .
2015-11-05 03:02:03 +01:00
Icedream
38c248e643
Bumping version.
2015-11-05 02:49:31 +01:00
Icedream
b71c2be88f
Fix NaN check for "vol" command.
2015-11-05 00:32:07 +01:00
Icedream
7077c8425d
Do not handle messages that don't have a proper text.
...
Fixes #34 .
2015-11-05 00:17:29 +01:00
Icedream
9929807cd3
Proper error message for nicknames that fail TS3Client checks.
2015-11-05 00:07:25 +01:00
Icedream
d40ffdc76b
Fix #34 by removing useless length check for "changenick" command.
2015-11-05 00:06:58 +01:00
Icedream
091f77f352
Remove code checking the nickname length.
2015-11-04 23:39:25 +01:00
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
39f5ec1ec0
Also check vol against null.
2015-11-04 22:08:52 +01:00
Icedream
8fe17abdf8
Add compatibility with other window managers using x-window-manager.
2015-11-04 19:40:42 +01:00
Carl Kittelberger
eaa0d00767
Create README. Closes #29 .
...
README describes a bit about this repository and how to run this code outside of Docker for testing purposes. More information will be added in the future and as requested. Ideas and suggestions are warmly appreciated!
2015-11-03 11:23:20 +01:00
Icedream
95f939de53
Rewrite "apply" calls with easier syntax.
2015-11-03 10:37:05 +01:00
Icedream
d403f93e76
Fix wrong saving of last used service arguments.
...
Affects #31 .
2015-11-03 10:36:06 +01:00
Icedream
59bdee9229
Fix update routine in ts3settings.iced. Fixes #30 .
...
Signed-off-by: icedream <icedream2k9@die-optimisten.net>
2015-11-03 09:38:23 +01:00
Icedream
655659e254
Prevent crash on shutdown caused by VLC stop.
...
The code tried to send a "Stopped." message to TeamSpeak3 when VLC shut down. However VLC gets shut down after TeamSpeak3 which causes a null reference on the query interface.
2015-11-03 03:59:35 +01:00
Icedream
cbb6204b52
Fix process exiting before all services shut down.
...
Fixes #24 and potentially #25 .
2015-11-03 03:55:08 +01:00
Icedream
4d7550865e
Store wanted volume in a variable and set on VLC when playback starts.
...
This gets rid of a configuration issue in the Docker image where VLC would reset the volume to 100% on each new track.
2015-11-03 01:28:30 +01:00
Icedream
2ee4dc32c3
Quick fix for the no-metadata crash, closes #23 .
2015-11-02 16:06:34 +01:00
Icedream
b1cc9f6255
Fix pipes from TS3 query not being decoded, fixes #22 .
2015-11-02 15:42:37 +01:00
Icedream
02e6f0c489
Boot Xvfb via app.iced.
2015-11-02 13:38:09 +01:00
Icedream
8afc967796
Print more details on service startup failures.
2015-11-02 13:26:49 +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