1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-27 04:32:55 +00:00
Go to file
Pavel Labath 04a9a7f137 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:38:26 +02:00
cmake Cmus support added to conky 2011-10-13 09:41:53 +02:00
data make convert.lua "bimodal" 2010-11-21 22:26:35 +01:00
doc Cmus support added to conky 2011-10-13 09:41:53 +02:00
extras Make $exec et al. use the new callback system 2011-02-27 22:43:32 +01:00
lua Fix "wrong type of arguments for cairo_set_dash", sf.net #3014648 2010-06-13 18:57:07 +02:00
src Fix xmms2 stream updating (sf.net #3150884) 2011-10-19 16:38:26 +02:00
.gitignore Add support for $no_update 2010-04-17 15:19:44 +02:00
AUTHORS Add ARGB visual support. 2010-01-01 15:03:40 -08:00
autogen.sh Remove automake build system, fix defconfig.h. 2010-01-04 18:07:49 -08:00
changelog2html.py Fix charset of changelog. 2009-03-29 23:18:17 -06:00
ChangeLog $memwithbuffers object and bar (sf.net #2954143) 2010-02-18 18:32:25 +01:00
check_docs.py Update the doc date when check_docs.py is ran. 2009-07-20 17:32:56 -06:00
CMakeLists.txt install conky documentation with a configurable path (-DDOC_PATH) (sf.net #3117859) 2010-12-11 13:50:59 +01:00
COPYING Remove timed_thread code as it is no longer used. 2011-03-26 21:04:07 +01:00
INSTALL
LICENSE.BSD Update copyright notices. 2010-01-01 15:46:17 -08:00
LICENSE.GPL
NEWS
README.cmake Deprecate autotools, update docs to reflect cmake build system. 2010-01-01 14:08:57 -08:00
text2c.sh Fix quoting in text2c.sh 2011-09-19 16:52:03 +02:00
TODO

Hello, there.

Using CMake to build Conky is pretty easy, and here is how I do it:

1. From the top level source dir, create a build working dir, and cd into it
  $ mkdir build
  $ cd build
2. Run the cmake configuration process
  $ cmake ../ # pass the path to the sources to cmake
  OR
  $ ccmake ../ # you can also use the fance curses interface, or try cmake-gui
3. Compile as usual, and enjoy the out-of-source goodness
  $ make
  # make install # if you want

There are a number of build options for Conky, and the best way to discover
them is to use the ccmake (or cmake-gui) CMake tool for browsing them.

Certain Conky build time features (such as doc generation) require third-party
applications, which you should be notified of via CMake.  In the case of doc
generation, you'll need the docbook2X package (available on most
distributions).