Re: Images in Conky (specifically rhythmbox album art)

lol thanks kyte and geoisis...speaking of doing here http://crunchbanglinux.org/pastebin/299 is similar artist support, returns a list of the top 5 similar artists if you launch with --similar. Takes a couple seconds to pull the list so try it and see if you like it or not. Sadly no lyrics through lastfm though.

I say never be complete, I say stop being perfect, I say lets evolve, let the chips fall where they may.

Re: Images in Conky (specifically rhythmbox album art)

Hi Iggykoopa

Well, I'm learning some stuff.  I had seen the term chmod, I now know what it means.  Same for subversion, it is installed and I did the svn checkout.

I'm not using mpd.

I got down to the command "sudo python setup.py install.

I looked the command up and kind of understand what it is supposed to do, however, I only have one folder labeled "python"..  the path is :

usr/share/python.

In it is a folder named runtime.d

There are two document pages labled debian_defaults and python.mk

and a white python script named pyversions.py.

When I open a terminal as root in python folder and type: setup.py install

I get the message: bash: setup.py: command not found.

So apparently I'm in the wrong place or don't understand the command....which is.........understandable for me! smile

Could you tell me what I'm doing wrong?

Kyte

Last edited by Kyte (2009-08-04 21:31:04)

Kyte: Always flittin' around with his head in the clouds!

Re: Images in Conky (specifically rhythmbox album art)

I cannot get an image for the life of me. Even compiled conky with imlib support. I have no idea what is wrong with it, script is working, just no image sad

Re: Images in Conky (specifically rhythmbox album art)

@sirphobos

are you sure your size and position arguments are correct for the $image tag?

Re: Images in Conky (specifically rhythmbox album art)

aslamp wrote:

@sirphobos

are you sure your size and position arguments are correct for the $image tag?

I am not sure hah. This is all new to me (images in conky)

big_smile

I'll check, and see whats up.

Re: Images in Conky (specifically rhythmbox album art)

Ahhhhhhhh! It works hah.

I love learning big_smile

I just kind of gritted my teeth and used my limited knowledge of how Python works, and what it needs to run (i am just starting to teach myself python) so it turns out I was missing some dependencies, like python-decorator, etc.

Fanfreakingtastic!

http://imgur.com/4X8M0l.png

Last edited by sirphobos (2009-08-05 02:15:27)

Re: Images in Conky (specifically rhythmbox album art)

sorry kyte, I should have mentioned the commands should be run from the terminal, just go down them one by one in order. So after you do the svn checkout you wil cd (change directory) into the python-lastfm directory. From there you run the sudo python setup.py install. That will install lastfm support for python, but in the subversion version the install is broken. So you have to do the next cd (still from the python-lastfm directory) and copy two more directories to the correct location. You should be ok after that.

I say never be complete, I say stop being perfect, I say lets evolve, let the chips fall where they may.

Re: Images in Conky (specifically rhythmbox album art)

Hi
I want to thank you profusely for your help, but I'm still hanging at the "sudo python setup.py install.

I made the "python-lastfm" directory in python.

But when I try to run the above command I get command not known and stuff like that.

So.... I guess I'm just flummoxed.  It may be that I've installed about no less than three pythons and twenty scripts trying to get XMMS2 to run under conky...and have totally screwed up the install. don't know.

maybe I'm not typing the commmand correctly, although I think so...

or it may be that the real pythonlastfm folder is somewhere else and I just can't find it. dunno.

Thanks again for all your help.

Kyte

Kyte: Always flittin' around with his head in the clouds!

Re: Images in Conky (specifically rhythmbox album art)

I think I know what your problem is.... When you open up the terminal you will be in your home directory by default. Do the commands that I listed step by step....don't change out of your home directory...just copy and past the commands and you should be fine.

I say never be complete, I say stop being perfect, I say lets evolve, let the chips fall where they may.

Re: Images in Conky (specifically rhythmbox album art)

ahhh I was going to the directories...

brb

kyte

Kyte: Always flittin' around with his head in the clouds!

Re: Images in Conky (specifically rhythmbox album art)

Here is what I get:

Kyte@Kyte-crunchbang:~$ cd python-lastfm
bash: cd: python-lastfm: No such file or directory
Kyte@Kyte-crunchbang:~$ sudo cd python-lastfm
[sudo] password for Kyte:
sudo: cd: command not found
Kyte@Kyte-crunchbang:~$ cd/python
bash: cd/python: No such file or directory
Kyte@Kyte-crunchbang:~$ cd python
bash: cd: python: No such file or directory
Kyte@Kyte-crunchbang:~$ cd python-lastfm
bash: cd: python-lastfm: No such file or directory
Kyte@Kyte-crunchbang:~$ /python
bash: /python: No such file or directory
Kyte@Kyte-crunchbang:~$ /python-lastfm
bash: /python-lastfm: No such file or directory
Kyte@Kyte-crunchbang:~$

I'm still doing something wrong.
Kyte

Kyte: Always flittin' around with his head in the clouds!

Re: Images in Conky (specifically rhythmbox album art)

did you run:
svn checkout http://python-lastfm.googlecode.com/svn/trunk/ python-lastfm
in your home directory first?

I say never be complete, I say stop being perfect, I say lets evolve, let the chips fall where they may.

Re: Images in Conky (specifically rhythmbox album art)

I had run the svn before and it ran like it did this time, only this time I did it first thing home terminal.
then cd python-lastfm went ok
sudo python setup.py install went ok
cd lastfm got there but then this is what I get from the next command:

Installed /usr/local/lib/python2.6/dist-packages/lastfm-0.2-py2.6.egg
Processing dependencies for lastfm==0.2
Searching for decorator==3.0.1
Best match: decorator 3.0.1
Processing decorator-3.0.1-py2.6.egg
decorator 3.0.1 is already the active version in easy-install.pth

Using /usr/local/lib/python2.6/dist-packages/decorator-3.0.1-py2.6.egg
Searching for setuptools==0.6c9
Best match: setuptools 0.6c9
Adding setuptools 0.6c9 to easy-install.pth file
Installing easy_install script to /usr/local/bin
Installing easy_install-2.5 script to /usr/local/bin
Installing easy_install-2.6 script to /usr/local/bin

Using /usr/lib/python2.6/dist-packages
Finished processing dependencies for lastfm==0.2
Kyte@Kyte-crunchbang:~/lastfm/python-lastfm$ cd lastfm
Kyte@Kyte-crunchbang:~/lastfm/python-lastfm/lastfm$ sudo cp -R mixins /usr/local/lib/python2.6/dist-packages/lastfm-0.2-py2.6.egg/lastfm/
cp: cannot stat `mixins': No such file or directory
Kyte@Kyte-crunchbang:~/lastfm/python-lastfm/lastfm$

I also tried it from a new terminal at home.

Kyte

Kyte: Always flittin' around with his head in the clouds!

Re: Images in Conky (specifically rhythmbox album art)

try 'mixin' for the directory

Re: Images in Conky (specifically rhythmbox album art)

yeah my bad, I'll edit the directions post...it's mixin not mixins...your almost there kyte big_smile

I say never be complete, I say stop being perfect, I say lets evolve, let the chips fall where they may.

Re: Images in Conky (specifically rhythmbox album art)

k
brb
no such file or directory.

Kyte

Kyte: Always flittin' around with his head in the clouds!

Re: Images in Conky (specifically rhythmbox album art)

try typing:
ls
from in that directory and see w2hat's in it. Maybe they fixed the installer and it's working right for you or something.

Also xmms2 support added here http://crunchbanglinux.org/pastebin/300 . Tried adding exaile and banshee support but both of them were really flaky with my script.

I say never be complete, I say stop being perfect, I say lets evolve, let the chips fall where they may.

Re: Images in Conky (specifically rhythmbox album art)

Hi
I could do the "ls" but couldn't copy from it so here is what was in there:

.svn a folder
_init_.py
_cacheable.py
_chartable.py
_crawlable.py
_propertyadder.py
_searchable.py
_sharable.py
_shoutable.py
_taggable.py

In the .svn folder

prop-base folder
props folder
text-base folder
tmp folderin
all-wcprops
entries
format

In prop-base folder

_cacheable.py.svn-base
_chartable.py.svn-base
_searchable.py.svn-base
_sharable.py.svn-base
_shoutable.py-svn-base
_taggable.py.svn-base

in props folder

nothing

in text-base folder

_init_.py.svn-base
_cacheable.py.svn-base
_chartable.py.svn-base
_crawlable.py.svn-base
_propertyadder.py.svn-base
_searchable.py.svn-base
_sharable.py.svn-base
_shoutable.py.svn.base
_taggable.py.svn-base

In temp folder:

the following folders:
prop-base
props
text-base

In prop-base folder

nothing

in props folder

nothing

In text-base folder

nothing.

Kyte

Kyte: Always flittin' around with his head in the clouds!

Re: Images in Conky (specifically rhythmbox album art)

well maybe the installer worked right for you and you don't need the two copy steps. Try running my script that you downloaded from the pastebin manually in a terminal and see what it says(with your media player running). make sure you did chmod +x on it first. If it says something about no module mixins or no module util then we need to find where those went. If it works then your done wink

edit: if it doesn't say anything that's good, look in your home folder for .album that should be the cover art for the song you were playing.

I say never be complete, I say stop being perfect, I say lets evolve, let the chips fall where they may.

Re: Images in Conky (specifically rhythmbox album art)

Hi
I did the chmox +x on it a day or so ago.
When run the script gives

bash: http://crunchbanglinux.org/pastebin/298: No such file or directory
kyte@kyte-crunchbang:~$


There is no folder or file named ".album" in home directory.

Kyte

Kyte: Always flittin' around with his head in the clouds!

Re: Images in Conky (specifically rhythmbox album art)

you need to go to the link http://crunchbanglinux.org/pastebin/298 , towards the top it says download, click on that and save the file to your computer. Then put that file in ~/scripts , then chmod +x it....

I say never be complete, I say stop being perfect, I say lets evolve, let the chips fall where they may.

Re: Images in Conky (specifically rhythmbox album art)

Well,
I already did that a day or so ago but ok. brb
Kyte

Kyte: Always flittin' around with his head in the clouds!

Re: Images in Conky (specifically rhythmbox album art)

Kyte wrote:

Hi
I did the chmox +x on it a day or so ago.
When run the script gives

bash: http://crunchbanglinux.org/pastebin/298: No such file or directory
kyte@kyte-crunchbang:~$

Kyte

This is why I was saying to download it....there shouldn't be a file named http://crunchbanglinux.org/pastebin/298: you have to actually click on that link, then on the page it takes you to there is a download link...don't save page as or whatever. here is the direct link to the download if you want to right click and save as http://crunchbanglinux.org/pastebin/?dl=300

I say never be complete, I say stop being perfect, I say lets evolve, let the chips fall where they may.

Re: Images in Conky (specifically rhythmbox album art)

Hi
Well, I had gone to the site and "downloaded" it..

This time I "saved as" "300.txt"

I particularly put it in "images".

I assume that it is to go elsewhere, so I also save it in "home".

Kyte.

Kyte: Always flittin' around with his head in the clouds!

Re: Images in Conky (specifically rhythmbox album art)

You need to create a directory in your home folder called scripts.

You then need to rename that file "300.txt" to "conkymusic.py"

Next, right click on it, go to permissions, and check every permission. This is the same as chmodding +x, makes the script executable.

Then right click in your home directory, and create new file, name it .album. No file extension is needed.

Then follow Iggy's steps for implementing it in conky. I don't think I can spell it out any simpler.

Last edited by sirphobos (2009-08-07 11:24:50)