$ git clone https://tcclient.ion.nu/tc_client.git
commit 11c434f2ed948eb266aac47e403b2dfe6961dc68
Author: Alicia <...>
Date: Tue Apr 14 17:43:36 2015 +0200
modbot: include the video title at the end of the /mbs command, which doesn't affect the flash client but lets e.g. tc_client users know which video is being played.
diff --git a/ChangeLog b/ChangeLog
index c1cd0bf..b5d80ac 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@ Fixed the issue where messages would show up on kanji on some platforms (a prope
tc_client-gtk: added a margin to the autoscroll code, which should make scrolling work better when resizing the window or panes.
tc_client-gtk: copied and adjusted the code for keeping track of our own nickname from cursedchat.
modbot: added a little note about the video being pre-approved when requesting an already approved video.
+modbot: include the video title at the end of the /mbs command, which doesn't affect the flash client but lets e.g. tc_client users know which video is being played.
cursedchat: copied and adjusted the code for keeping track of our own text color from tc_client-gtk.
0.30:
Adjusted the configure script for compatibility with shells that still interpret escaped characters in single-quotes (contributed by Jade)
diff --git a/utilities/modbot/modbot.c b/utilities/modbot/modbot.c
index 11f4978..4f02146 100644
--- a/utilities/modbot/modbot.c
+++ b/utilities/modbot/modbot.c
@@ -140,10 +140,10 @@ void playnextvid()
waitskip=0;
playing=queue.items[0].video;
requester=queue.items[0].requester;
+ say(0, "/mbs youTube %s 0 %s\n", playing, queue.items[0].title);
free(queue.items[0].title);
--queue.itemcount;
memmove(queue.items, &queue.items[1], sizeof(struct queueitem)*queue.itemcount);
- say(0, "/mbs youTube %s 0\n", playing);
// Find out the video's length and schedule an alarm for then
alarm(getduration(playing));
started=time(0);