1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-15 17:47:09 +00:00
conky/src
Pavel Labath 152cdb4cc3 Fix xmms2 stream updating (sf.net #3150884)
Currently the variables related to xmms2 in conky do not update if the currently playing track
has any of its information updated (ie: the title changes). This results in incorrect behaviour
for streams where the same track is continually played but the title and artist change as new
songs are played. The attached patch corrects this issue by changing conky to respond to a
callback that fires when xmms2 media library entries are updated. After the callback fires, the
patch checks to see if the media library entry that changed corresponds to the currently playing
song and if it does updates the conky xmms2 related variables accordingly.

A different version of the patch was previously submitted and accepted into conky. Unfortunately,
this patch contained a bug that caused conky xmms2 variables to be updated when any media library
information was updated. However, the previous patch was reverted as a result of a commit the
made conky compatible with a new version of the xmms2 client api.

Patch submitted by Tamim Khan.

Signed-off-by: Pavel Labath <pavelo@centrum.sk>
2011-10-19 16:39:08 +02:00
..
algebra.c Fix memleak in if_match 2010-02-17 20:36:01 +01:00
algebra.h Try to make $if_match better handle stranger inputs 2010-02-17 19:45:22 +01:00
apcupsd.c Use getaddrinfo instead of gethostbyname 2010-08-15 19:58:03 +02:00
apcupsd.h Bugfix: memory and thread-deleting problems 2010-05-05 18:57:27 +02:00
audacious.c Make sure audacious-code compiles 2010-05-09 22:52:27 +02:00
audacious.h Make sure audacious-code compiles 2010-05-09 22:52:27 +02:00
bmpx.c Build fixes for bmpx 2010-12-07 19:11:26 +01:00
bmpx.h Update copyright notices. 2010-01-01 15:45:11 -08:00
build.h.in - Comment out NetBSD/SanOS garbage 2006-08-12 06:10:18 +00:00
ccurl_thread.c Fix 'conky-1.8.1 does not build with curl-7.21.7' (sf.net #3383906) 2011-08-01 22:36:25 +02:00
ccurl_thread.h Enable use of HTTP cache headers in curl plugin 2010-10-14 16:59:54 -07:00
colours.c Fixed gradients to actually use both end colors 2010-10-15 11:23:56 -07:00
colours.h Update copyright notices. 2010-01-01 15:45:11 -08:00
combine.c Fix wrong output when nesting $combine-s 2010-02-22 19:35:36 +01:00
combine.h Update copyright notices. 2010-01-01 15:45:11 -08:00
common.c Use monotonic time when calculating the update interval (fixes sf.net #2970255) 2011-09-17 13:07:16 +02:00
common.h Bugfix: memory and thread-deleting problems 2010-05-05 18:57:27 +02:00
conf_cookie.c Update copyright notices. 2010-01-01 15:45:11 -08:00
conf_cookie.h add emacs indentation variables to source files in line with current vim settings 2009-07-28 23:44:22 +02:00
conky.c Remove SECRIT_MULTILINE_CHAR hack 2011-10-10 20:51:35 +02:00
conky.h Fix build errors under FreeBSD 2010-05-28 21:41:38 +02:00
core.c FreeBSD supports addr and if_running 2010-12-09 19:27:22 +01:00
core.h Update copyright notices. 2010-01-01 15:45:11 -08:00
diskio.c Fix device name parsing for diskio variables. 2010-04-07 10:20:25 -07:00
diskio.h Bugfix: memory and thread-deleting problems 2010-05-05 18:57:27 +02:00
entropy.c Bugfix: memory and thread-deleting problems 2010-05-05 18:57:27 +02:00
entropy.h Bugfix: memory and thread-deleting problems 2010-05-05 18:57:27 +02:00
eve.c Fix 'conky-1.8.1 does not build with curl-7.21.7' (sf.net #3383906) 2011-08-01 22:36:25 +02:00
eve.h Update copyright notices. 2010-01-01 15:45:11 -08:00
exec.c Make execgraph working again (sf.net #3185428) 2011-10-18 19:48:49 +02:00
exec.h Update copyright notices. 2010-01-01 15:45:11 -08:00
fonts.c Fix some minor memleaks, fix crash on reload. 2010-01-02 14:43:23 -08:00
fonts.h Update copyright notices. 2010-01-01 15:45:11 -08:00
freebsd.c kvm_proc needs synchronized access 2010-12-09 19:00:47 +01:00
freebsd.h kvm_proc needs synchronized access 2010-12-09 19:00:47 +01:00
fs.c Make $fs_used_perc and $fs_bar report used space correctly 2010-08-12 20:41:28 +02:00
fs.h Bugfix: memory and thread-deleting problems 2010-05-05 18:57:27 +02:00
hddtemp.c Bugfix: memory and thread-deleting problems 2010-05-05 18:57:27 +02:00
hddtemp.h Bugfix: memory and thread-deleting problems 2010-05-05 18:57:27 +02:00
i8k.c fix compilation errors in previous commit 2010-08-24 22:30:32 +02:00
i8k.h Bugfix: memory and thread-deleting problems 2010-05-05 18:57:27 +02:00
ibm.c Build fix for IBM support. 2010-06-08 17:59:06 -07:00
ibm.h Build fix for IBM support. 2010-06-08 17:59:06 -07:00
iconv_tools.c Build fix due to bad include ordering. 2010-03-03 11:21:41 -08:00
iconv_tools.h Update copyright notices. 2010-01-01 15:45:11 -08:00
imlib2.c Update copyright notices. 2010-01-01 15:45:11 -08:00
imlib2.h Update copyright notices. 2010-01-01 15:45:11 -08:00
libmpdclient.c fix typo 2010-08-16 16:42:05 +02:00
libmpdclient.h add emacs indentation variables to source files in line with current vim settings 2009-07-28 23:44:22 +02:00
libtcp-portmon.c IPv6 support for $tcp_portmon 2009-11-16 18:17:16 +01:00
libtcp-portmon.h IPv6 support for $tcp_portmon 2009-11-16 18:17:16 +01:00
linux.c Let $acpitemp use /sys instead of /proc 2011-10-15 19:39:43 +02:00
linux.h Bugfix: memory and thread-deleting problems 2010-05-05 18:57:27 +02:00
llua.c Add missing include. 2010-06-18 10:35:41 -07:00
llua.h Update copyright notices. 2010-01-01 15:45:11 -08:00
logging.h Bugfix: memory and thread-deleting problems 2010-05-05 18:57:27 +02:00
mail.c Support IMAP responses which arrive fragmented (sf.net #3182411) 2011-10-16 12:04:42 +02:00
mail.h local_mails: convert to generic object payload 2009-11-03 23:23:22 +01:00
Makefile.am Fix build errors under FreeBSD 2010-05-28 21:41:38 +02:00
mboxscan.c Update copyright notices. 2010-01-01 15:45:11 -08:00
mboxscan.h Update copyright notices. 2010-01-01 15:45:11 -08:00
mixer.c Revert "$mixer: report more reasonable values for mono devices" 2011-01-02 14:22:40 +01:00
mixer.h Fix building with --disable-x11 2009-11-22 23:05:08 +01:00
moc.c Bugfix: memory and thread-deleting problems 2010-05-05 18:57:27 +02:00
moc.h Bugfix: memory and thread-deleting problems 2010-05-05 18:57:27 +02:00
mpd.c Bugfix: memory and thread-deleting problems 2010-05-05 18:57:27 +02:00
mpd.h Bugfix: memory and thread-deleting problems 2010-05-05 18:57:27 +02:00
net_stat.c Bugfix: memory and thread-deleting problems 2010-05-05 18:57:27 +02:00
net_stat.h Bugfix: memory and thread-deleting problems 2010-05-05 18:57:27 +02:00
netbsd.c Add optional argument to $acpiacadapter 2010-01-24 16:12:31 +01:00
netbsd.h entropy: outsource code 2009-11-13 00:02:16 +01:00
nvidia.c Bulid fix for nvidia support. 2010-10-06 11:49:27 -07:00
nvidia.h Fix 'nvidia with ncurses segfaults' (sf.net #3006233) 2010-08-13 15:05:05 +02:00
openbsd.c Update copyright notices. 2010-01-01 15:45:11 -08:00
openbsd.h entropy: outsource code 2009-11-13 00:02:16 +01:00
proc.c Ignore whitespace in parameters of $pid_* (sf.net #3423766) 2011-10-15 14:11:04 +02:00
proc.h Update copyright notices. 2010-01-01 15:45:11 -08:00
prss.c Move vi modelines closer to the beginning, so they're more likely to be actually used. 2009-09-12 12:50:51 +02:00
prss.h Fix broken RSS code. 2009-08-04 22:56:19 -06:00
read_tcp.c Use getaddrinfo instead of gethostbyname 2010-08-15 19:58:03 +02:00
read_tcp.h Update copyright notices. 2010-01-01 15:45:11 -08:00
rss.c Bugfix: RSS interval was in secs instead of mins 2010-05-06 12:00:43 +02:00
rss.h rss: convert to generic object payload 2009-11-03 23:23:22 +01:00
scroll.c Update copyright notices. 2010-01-01 15:45:11 -08:00
scroll.h Update copyright notices. 2010-01-01 15:45:11 -08:00
smapi.c Fix build error for IBM/smapi support. 2010-01-02 10:39:45 -08:00
smapi.h smapi: outsource printing code 2009-11-19 23:57:38 +01:00
solaris.c Update copyright notices. 2010-01-01 15:45:11 -08:00
sony.c Update copyright notices. 2010-01-01 15:45:11 -08:00
sony.h Update copyright notices. 2010-01-01 15:45:11 -08:00
specials.c Make execgraph working again (sf.net #3185428) 2011-10-18 19:48:49 +02:00
specials.h Make execgraph working again (sf.net #3185428) 2011-10-18 19:48:49 +02:00
tailhead.c Update copyright notices. 2010-01-01 15:45:11 -08:00
tailhead.h Update copyright notices. 2010-01-01 15:45:11 -08:00
tcp-portmon.c Bugfix: memory and thread-deleting problems 2010-05-05 18:57:27 +02:00
tcp-portmon.h Bugfix: memory and thread-deleting problems 2010-05-05 18:57:27 +02:00
temphelper.c Move vi modelines closer to the beginning, so they're more likely to be actually used. 2009-09-12 12:50:51 +02:00
temphelper.h add emacs indentation variables to source files in line with current vim settings 2009-07-28 23:44:22 +02:00
template.c Don't crash when expanding undefined template (sf.net #3306537) 2011-10-09 15:02:52 +02:00
template.h Update copyright notices. 2010-01-01 15:45:11 -08:00
text_object.c Update copyright notices. 2010-01-01 15:45:11 -08:00
text_object.h Build fix for IBM support when X is disabled. 2010-08-13 10:58:35 -07:00
timed_thread.c Move vi modelines closer to the beginning, so they're more likely to be actually used. 2009-09-12 12:50:51 +02:00
timed_thread.h add emacs indentation variables to source files in line with current vim settings 2009-07-28 23:44:22 +02:00
timeinfo.c Update copyright notices. 2010-01-01 15:45:11 -08:00
timeinfo.h Update copyright notices. 2010-01-01 15:45:11 -08:00
top.c Add uid to "top" output (sf.net #3178916) 2011-10-10 21:54:18 +02:00
top.h Add uid to "top" output (sf.net #3178916) 2011-10-10 21:54:18 +02:00
user.c Build fix due to bad include ordering. 2010-03-03 11:21:41 -08:00
user.h Update copyright notices. 2010-01-01 15:45:11 -08:00
users.c Bugfix: memory and thread-deleting problems 2010-05-05 18:57:27 +02:00
weather.c Update copyright notices. 2010-01-01 15:45:11 -08:00
weather.h Update copyright notices. 2010-01-01 15:45:11 -08:00
x11.c Bugfix: memory and thread-deleting problems 2010-05-05 18:57:27 +02:00
x11.h Fix compilation without --enable-argb 2010-02-03 22:38:15 +01:00
xmms2.c Fix xmms2 stream updating (sf.net #3150884) 2011-10-19 16:39:08 +02:00
xmms2.h Small build fix & zero playtime and progress bars when XMMS2 playback is stopped. 2010-06-13 19:12:24 +02:00