Notices


Reply
Thread Tools
Posts: 961 | Thanked: 565 times | Joined on Jul 2007 @ Tyneside, North East England
#1
Is it possible to change the default location for the covers?
I have over 130 albums, and when I run the updated canola tuning, it fails when my root filesystem fills up. The previous version could not find a lot of the covers on the internet, so I never encountered the problem.
I have tried creating a symbolic link to a folder on one of the SD cards, but the tuning app fails with an error.
Other than that the update is a major step forward over the previous version. Much much quicker, I love the scrolling text on the now playing screen. That was something I was wanting, but not expecting.
thanks
Gaz
 
handful's Avatar
Posts: 1,412 | Thanked: 594 times | Joined on Aug 2005 @ Recife, Brazil
#2
Hi Gazza_d,

This was already reported to us, and we will add a way of doing it... but you can solve it now by just creating a link form /user/.canola/cover to any folder on you media card.

Anyways I think it will be time to compile these tips and put on a stick thread.

BR

Marcelo
__________________
Marcelo Eduardo
www.marceloeduardo.com
----------------------------
OpenBossa Labs @ INdT, Recife Brazil
http://openbossa.indt.org
 
Posts: 961 | Thanked: 565 times | Joined on Jul 2007 @ Tyneside, North East England
#3
That was my first thought, as I've used linux for a few years now. Trouble is that when I create a folder on my media card called covers, and create a symlink to it in /home/user/.canola called covers using "ln -s covers /media/mmc1/covers", and then run albumcover.py I get the followig error. Any ideas? Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python2.5/threading.py", line 460, in __bootstrap
File "/usr/lib/python2.5/threading.py", line 440, in run
File "albumcover.py", line 311, in process_items
os.symlink("cover-1.jpg", link)
OSError: [Errno 1] Operation not permitted

Thanks

Gaz
 
handful's Avatar
Posts: 1,412 | Thanked: 594 times | Joined on Aug 2005 @ Recife, Brazil
#4
HI Gaz :

Chencarek sent me the correct way of doing it , look for it in the following post under the name "Chenca"



BR
__________________
Marcelo Eduardo
www.marceloeduardo.com
----------------------------
OpenBossa Labs @ INdT, Recife Brazil
http://openbossa.indt.org

Last edited by handful; 2008-02-04 at 23:50.
 
Posts: 961 | Thanked: 565 times | Joined on Jul 2007 @ Tyneside, North East England
#5
Just been testing, and ln -s will let me make a link to another folder on any filesystem, but cd to that folder or a mkdir in that folder fails unless the linked folder is on the same filesystem (i.e. / ). Obviously this is not a problem caused by Canola.

Just been having a look at the source for albumcover.py and found that there is an option "-o" to specify the albumart output folder, but it still fails with the same error as above, although it has created various cover files in the correct destination folder. strange. Unfortunately I do not know enough python to dig into this much further.

Gaz
 
handful's Avatar
Posts: 1,412 | Thanked: 594 times | Joined on Aug 2005 @ Recife, Brazil
#6
HI Gaz:

Please don't use the albumcover.py anymore, it's old and has bugs. Please install Canola-Tuning to make this works. This -o for the output does't matter that much, because canola will always look in the ./canola/covers that's why you need the link.
then when canola looks for cover the system redirects to the file you created the link.

We teste here.. it works the way I sent you.. if you can test that... you don't need to touch anything in python =)

Br
__________________
Marcelo Eduardo
www.marceloeduardo.com
----------------------------
OpenBossa Labs @ INdT, Recife Brazil
http://openbossa.indt.org
 
Posts: 961 | Thanked: 565 times | Joined on Jul 2007 @ Tyneside, North East England
#7
Just been trying, and canola tuning from the extras menu just stops saying "loading". I have uninstalled the deb, and reinstalled it from the link on the canola2 web page with no problems, and still have the same issue.

Thanks for your efforst guys. I'm sure we'll crack it - Off to bed here in the UK, got be up early for work.

Thanks

Gaz
 
Posts: 23 | Thanked: 7 times | Joined on Feb 2008
#8
Hi gazza_d

The option -o in albumcover.py has a problem, this option changes the the location to store the album covers, but not changes the album covers location in Canola2 settings, so Canola2 will look into the wrong folder. My fault, sorry :-(

The new version of Canola-Tuning (0.2.5) will fix this and probably Canola2 will have a option to set the covers location using the UI (Canola2 already has a command line to set this).

Looking the Handful post I found a error, maybe this is the reason to you can't access the folder pointed by the symbolic link.

The correct commands to change the album cover location are:

- If you are running the XTerm or the SSH session as root, change to user:

su - user

- Copy the already downloaded album covers to another Location, for example to the removable memory card (mmc1)

cp -r /home/user/.canola/.covers /media/mmc1/.

- Remove the old location

rm -rf /home/user/.canola/covers

- Create a symbolic link

ln -s /media/mmc1/covers /home/user/.canola/covers

I hope that helps you.

Last edited by chenca; 2008-02-04 at 23:54.
 
Posts: 13 | Thanked: 1 time | Joined on Feb 2008
#9
I have done everything in your post and now Canola cover loader is sitting on the first cover.
 
handful's Avatar
Posts: 1,412 | Thanked: 594 times | Joined on Aug 2005 @ Recife, Brazil
#10
Rj : I sent your problem to Chenca through IM, and let's see what he says... I also facing this here in mys tests now : /

BR
__________________
Marcelo Eduardo
www.marceloeduardo.com
----------------------------
OpenBossa Labs @ INdT, Recife Brazil
http://openbossa.indt.org
 

The Following User Says Thank You to handful For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 20:44.