Bug#429331: Smarter Cover Art finder
Hi, I can't reply at berlios. Maybe you can forward this mail? I tried locating the cover finding code in sonata.py, but failed to understand it's logic completely. It re-uses the code for determining the output filename with different forced locations for finding the cover art to show. So it does indeed already check for all the 'saveable' local file names. It would be nice to be able to give Sonata a larger search sequence. For example, I'm using .folder.jpg for the thumbnail sized covers (which is what I'd like sonata to use). I think KDE default would be .folder.png, which is at least the default for albumart-qt (.folder.jpg doesn't work in Konqueror even when referenced by the .desktop file, don't ask me why). Windows systems seem to use AlbumArt.* and AlbumArtSmall.*, so checking for these would probably make sense, too. I've seen front.jpg a lot, but also with other capitalization (!) and/or file extensions (!). best regards, Erich Schubert -- erich@(vitavonni.de|debian.org)--GPG Key ID: 4B3A135C(o_ There is no branch of mathematics, however abstract, which may not //\ some day be applied to phenomena of the real world. --- Lobatchevsky V_/_ Die Mathematik muss man schon deswegen studieren, weil sie die Gedanken ordnet. --- Michail Wassiljewitsch Lomonossow -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#429331: Smarter Cover Art finder
Hi, For example, I'm using .folder.jpg for the thumbnail sized covers (which is what I'd like sonata to use). I think KDE default would be .folder.png, which is at least the default for albumart-qt Ok, granted: the Freedesktop Icon specs indeed doesn't allow JPG: --- The supported image file formats are PNG, XPM and SVG. [...] not recommended that new themes use XPM files. Support for SVGs is optional. --- This would be another way of locating appropriate icons: checking for a .desktop file containing an Icon= statement. best regards, Erich Schubert -- erich@(vitavonni.de|debian.org)--GPG Key ID: 4B3A135C(o_ Go away or i'll replace you with a very small shell script. //\ Die einzige Hoffnung auf Freude liegt in den menschlichen V_/_ Beziehungen. --- Antoine de Saint-Exupéry
Bug#429331: Smarter Cover Art finder
Package: sonata Version: 1.1.1-1 Severity: wishlist Sonata should try a couple of file names for finding cover art. Right now, it's only configurable to look in one place; but there is no reason why it shouldn't try 3-4 different common file names. E.g. .folder.jpg, folder.jpg, front.jpg, cover.jpg, AlbumArt.jpg and then fall back to the .covers folder, then to downloading a cover image. --- System information. --- Architecture: i386 Kernel: Linux 2.6.21-1-686 Debian Release: lenny/sid 500 unstableftp.de.debian.org 1 experimentalftp.de.debian.org --- Package information. --- Depends (Version) | Installed ===-+-= libatk1.0-0 (= 1.13.2) | 1.18.0-2 libc6(= 2.5-5) | 2.5-11 libcairo2(= 1.4.0) | 1.4.6-1.1 libfontconfig1 (= 2.4.0) | 2.4.2-1.2 libglib2.0-0(= 2.12.9) | 2.12.12-1 libgtk2.0-0 (= 2.10.3) | 2.10.13-1 libpango1.0-0 (= 1.16.4) | 1.16.4-1 libx11-6| 2:1.0.3-7 libxcursor1 ( 1.1.2) | 1:1.1.8-2 libxext6| 1:1.0.3-2 libxfixes3 (= 1:4.0.1) | 1:4.0.3-2 libxi6 | 2:1.1.0-2 libxinerama1| 1:1.0.2-1 libxrandr2 (= 2:1.2.0) | 2:1.2.1-1 libxrender1 | 1:0.9.2-1 python-central (= 0.5.8) | 0.5.14 python ( 2.5) | 2.4.4-6 python (= 2.4) | 2.4.4-6 python-gtk2 | 2.10.4-3 python-dbus | 0.81.1-1 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]