Re: Conky Exaile Python Script

Of the top of my head, my script can do the following that the Exaile command line can't:

run without starting exaile

provide current position in track from percent and length

allow for rating output as "***" or "~~~" etc

allow one exec call to display all details you want from a template

give the ability to display things as unknown when they are unknown

provide a framework to add more functionality to conky to suit conky at a later stage

I get your point, but this was an easy task and it does have a couple of benefits...

I have also used the same methodology for Rhythmbox where you could argue the same thing can be done with rhythmbox-client, but again the script can provide percent and template functions for example, as well as (in the case of rhythmbox) breakdown the details of a song into title/album/artist etc etc

Re: Conky Exaile Python Script

Should do, the only dependency is on python and exaile...I think exaile would have had dbus functions right from the start.

Give it a try, if it doesn't install then no loss, if it does install and doesn't work then uninstall it.

I know from when I was running Gutsy before now, I successfully used hardy based 3rd party repo's okay...not sure on my one though as no one has ever tried as far as I am aware...

Let me know how you get on!

I get this at the end in the terminal

Code:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
conkyexaile: Depends: python-central (>= 0.6.7) but 0.5.15ubuntu2 is to be installed
E: Broken packages

Re: Conky Exaile Python Script

Originally Posted by jryprt

I get this at the end in the terminal

Code:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
conkyexaile: Depends: python-central (>= 0.6.7) but 0.5.15ubuntu2 is to be installed
E: Broken packages

That was unexpected

Python central is used for the install process, in this case you'll have no choice but to install the script manually using the tarball from the first post.

If you extract the tarball to a location of you choice in your home folder (e.g. /home/user/scripts/), you can then use it in conky with a line like this:

Re: Conky Exaile Python Script

UPDATE

The script has been updated and is available in the first post and via apt, the changes are as follows:

Updated script to now use "[" and "]" as template brackets rather than "{" and "}" so that the execp/execpi conky command can be used, this enables the use of $font, $color options in the template which conky will then make adjustments for in the output!

Updated example files to use new template functionality with execpi in conky

Currently either hardy or intrepid packages will work with either version of ubuntu.

However going forwards there are no guarantees that packages will continue to work with hardy, development may introduce intrepid specific dependencies. All future revisions will only be available for intrepid.