Page 1 of 1

Manually add tracker favicons?

Posted: Tue Jan 13, 2009 9:20 pm
by r0ckarong
I just played around with the new sidebar in 1.1.0 and one of my trackers doesn't seem to be parsed with an icon. I downloaded the icon manually and put it in the folder where the other ones are but it doesn't show. Do I have to do something else? How does Deluge come up with the place to look for these icons?

Otherwise good new version so far. No errors as far as I can tell.

Re: Manually add tracker favicons?

Posted: Wed Jan 14, 2009 2:34 am
by andar
r0ckarong wrote:I just played around with the new sidebar in 1.1.0 and one of my trackers doesn't seem to be parsed with an icon. I downloaded the icon manually and put it in the folder where the other ones are but it doesn't show. Do I have to do something else? How does Deluge come up with the place to look for these icons?

Otherwise good new version so far. No errors as far as I can tell.
If you put it in ~/.config/deluge/icons and name it as <tracker_host>.ico then it should be picked up by deluge.

Could you tell me which tracker this is so I can improve the code that finds the icons?

Re: Manually add tracker favicons?

Posted: Wed Jan 14, 2009 12:16 pm
by r0ckarong
andar wrote:If you put it in ~/.config/deluge/icons and name it as <tracker_host>.ico then it should be picked up by deluge.

Could you tell me which tracker this is so I can improve the code that finds the icons?
OK now I put it into the "icons" subfolder and it works now. Some things I noticed about this though.
The icon that didn't work is 32x32pixels, the other two I got are 16x16 and those worked like a charm by themselves. Both these sizes are specified in http://www.w3.org/2005/10/howto-favicon so I think they should work. The two smaller icons (which where parsed by deluge) are stored not in the "icons" folder but in the main ~/.config/deluge/ folder, is that how it's supposed to be? The tracker that had the bigger icon which didn't work is torrentvault.org.

Re: Manually add tracker favicons?

Posted: Fri Jan 16, 2009 3:31 am
by andar
Ok, this should be fixed in 1.1.1.

Re: Manually add tracker favicons?

Posted: Fri Jan 30, 2009 5:52 pm
by danii
andar wrote:Could you tell me which tracker this is so I can improve the code that finds the icons?
deluge can't download the favicon of these trackers
http://www.thepeerhub.com/
http://www.ilovetorrents.com/
http://tracker.revanime.com/
I guess it's because they don't specify rel="shortcut icon" in the index page