IPB

Welcome Guest ( Log In | Register )

6 Pages V   1 2 3 > »   
Closed TopicStart new topic
foo_covers - locates your images on disk, no longer available. open preferences, display instead
JackieKu
post Apr 25 2009, 09:55
Post #1





Group: Developer
Posts: 135
Joined: 22-May 05
Member No.: 22211



This is a very simple plugin helps the users to teach foobar2000 where the images files should be load, it's implemented as a service, which supported by both default UI and Columns UI. As of 0.06, it fills up the following titleformat fields: %albumart_front%, %albumart_back%, %albumart_disc%, %albumart_artist%, %albumart_icon%. The user who want to use this component must put those fields in the settings (in the Display page).
It supports wildcard and title formatting, wildcards like "*\*\*.jpg" could be used.
Please see the screen shot, I think it's explain the usage clearly.

ChangeLog:
0.06
Changed: Renamed to foo_covers2 to get rid of the warning by foobar2000 1.0. The user should rename the configration file from foo_cover.dll.cfg to foo_cover2.dll.cfg to keep the settings.
Changed: Build with the new SDK (2010-01-19). The preference page has been updated (Apply/Cancel/OK).
Changed: It doesn't work as a album art reader as before. It only returns the image path by the titleformat fields.

0.05
Fixed: A bug (race condition) which causes foobar2000 crashes.

0.04
Added: Two options to prevent some tracks from using foo_covers (by checking URI schemes and file extensions).

0.03
Fixed: Title formatting doesn't work with the single track files.
Fixed: The configurations of artist images aren't saved.

0.02
Added: Artist images.

foo_covers2-0.06
screen shot (preferences page)

Sources (Git)

This post has been edited by JackieKu: Jan 20 2010, 03:12
Go to the top of the page
+Quote Post
hal9001
post Apr 25 2009, 10:03
Post #2





Group: Members
Posts: 143
Joined: 17-January 06
Member No.: 27172



Looks excellent.
I'm missing options for tracks and artists, though.
Go to the top of the page
+Quote Post
Anomalous
post Apr 25 2009, 11:45
Post #3





Group: Members
Posts: 105
Joined: 22-December 07
Member No.: 49766



Sweet, I don't know why there isn't something like this built in. Could you add a preview of the line you're on like the Playback State Formatting Display on the default ui settings?
Go to the top of the page
+Quote Post
OnPoint
post Apr 25 2009, 14:06
Post #4





Group: Members
Posts: 36
Joined: 17-May 05
Member No.: 22115



can i get the link to the newest album art plugin? i cant find it anywhere
Go to the top of the page
+Quote Post
JackieKu
post Apr 25 2009, 17:09
Post #5





Group: Developer
Posts: 135
Joined: 22-May 05
Member No.: 22211



QUOTE (hal9001 @ Apr 25 2009, 17:03) *
Looks excellent.
I'm missing options for tracks and artists, though.

Why? Do you know what's this plugin doing?

QUOTE (OnPoint @ Apr 25 2009, 21:06) *
can i get the link to the newest album art plugin? i cant find it anywhere

The album art plugin is not related to this plugin. So far, only the out-of-box Default UI and Columns UI (NG Playlist and the ArtWork Panel) can take the advantage of this plugin (as I know).
Go to the top of the page
+Quote Post
TomBarlow
post Apr 25 2009, 17:26
Post #6





Group: Members
Posts: 585
Joined: 30-July 07
Member No.: 45750



QUOTE (JackieKu @ Apr 25 2009, 16:09) *
Why? Do you know what's this plugin doing?

I don't know about track images, but support for artist.jpg was added in the latest version- it would be great to be able to specify where the artist image is too.

What happens when you have embedded artwork? Does this component override it, or will it still show up as normal?
Go to the top of the page
+Quote Post
Yotsuya
post Apr 25 2009, 17:28
Post #7





Group: Members
Posts: 1535
Joined: 8-May 06
Member No.: 30546



Um, am I doing it wrong? This seems like an excellent idea for a component but I cannot get it to work.

My artwork is named as %catalognumber%.jpg in the same folder as the album.

I added the line %catalognumber%.* to the "Front" section and did not get any art.
I added the line $replace(%path%,%filename_ext%,%catalognumber%).* to the "Front" section and did not get any art
I tried changing .* to .jpg and removing it completely and still did not get any art.

This is using the album art viewers included in DUI and CUI, as well as NGPlaylist. I can, however, use the same formatting in the CUI settings and get art under the CUI components.

OnPoint: Album art viewers are now included both in the Default UI and Columns UI. I do not believe any stand-alone components are still in development.

This post has been edited by Yotsuya: Apr 25 2009, 17:29


--------------------
http://www.ubuntu.com
Go to the top of the page
+Quote Post
JackieKu
post Apr 25 2009, 19:45
Post #8





Group: Developer
Posts: 135
Joined: 22-May 05
Member No.: 22211



QUOTE (TomBarlow @ Apr 26 2009, 00:26) *
I don't know about track images, but support for artist.jpg was added in the latest version- it would be great to be able to specify where the artist image is too.

What happens when you have embedded artwork? Does this component override it, or will it still show up as normal?

The artist images is the new feature in 0.9.6.5, but the latest SDK has been released last year. So... wait for the new SDK.
If you have embedded artwork, which has higher priority is undefined. (you can try)

QUOTE (Yotsuya @ Apr 26 2009, 00:28) *
Um, am I doing it wrong? This seems like an excellent idea for a component but I cannot get it to work.

My artwork is named as %catalognumber%.jpg in the same folder as the album.

I added the line %catalognumber%.* to the "Front" section and did not get any art.
I added the line $replace(%path%,%filename_ext%,%catalognumber%).* to the "Front" section and did not get any art
I tried changing .* to .jpg and removing it completely and still did not get any art.

I think %catalognumber%.* or %catalognumber%* should work, but I don't know why it doesn't. (Maybe %catalognumber% isn't available everywhere?)
Could you try a single * ?

This post has been edited by JackieKu: Apr 25 2009, 19:45
Go to the top of the page
+Quote Post
Peter
post Apr 25 2009, 19:50
Post #9


foobar2000 developer


Group: Admin
Posts: 3276
Joined: 30-September 01
Member No.: 84



QUOTE (JackieKu @ Apr 25 2009, 20:45) *
The artist images is the new feature in 0.9.6.5, but the latest SDK has been released last year. So... wait for the new SDK.

CODE
namespace album_art_ids {
    (...)
    //! Artist picture.
    static const GUID artist = { 0x9a654042, 0xacd1, 0x43f7, { 0xbf, 0xcf, 0xd3, 0xec, 0xf, 0xfe, 0x40, 0xfa } };
};
Go to the top of the page
+Quote Post
Yotsuya
post Apr 26 2009, 04:16
Post #10





Group: Members
Posts: 1535
Joined: 8-May 06
Member No.: 30546



QUOTE (JackieKu @ Apr 25 2009, 13:45) *
I think %catalognumber%.* or %catalognumber%* should work, but I don't know why it doesn't. (Maybe %catalognumber% isn't available everywhere?)
Could you try a single * ?


After further experimentation:
* - Worked
*.* - Worked
%catalognumber% - Does NOT work.
%catalognumber%* - Worked
%catalognumber%.* - Does NOT work.
%catalognumber%.jpg - Does NOT work.

I guess I'll just use a single * as a generic solution until I need something more refined. Also, I had to restart foobar after changing the source for it to become effective.. maybe some sort of image caching going on?

This post has been edited by Yotsuya: Apr 26 2009, 04:22


--------------------
http://www.ubuntu.com
Go to the top of the page
+Quote Post
JackieKu
post Apr 26 2009, 04:43
Post #11





Group: Developer
Posts: 135
Joined: 22-May 05
Member No.: 22211



0.02 is released. (+artist images)



QUOTE (Yotsuya @ Apr 26 2009, 11:16) *
I guess I'll just use a single * as a generic solution until I need something more refined. Also, I had to restart foobar after changing the source for it to become effective.. maybe some sort of image caching going on?

If you use CUI's NG Playlist, switch to another playlist and then switch back should refresh the images. This plugin doesn't cache anything, since it is cached by the UI components.

This post has been edited by JackieKu: Apr 26 2009, 04:44
Go to the top of the page
+Quote Post
TomBarlow
post Apr 26 2009, 10:24
Post #12





Group: Members
Posts: 585
Joined: 30-July 07
Member No.: 45750



Thanks for support for artist images, although it doesn't seem to save them between restarts. I can't get it to work with just artist.jpg either... but then it's not working even without this component. Strange.

Also, is it possible to use absolute paths for streams? I'm trying E:\Pictures\$replace(%path%,:,_,/,_).* but it doesn't work (e.g. with files called http___netcast6.kfjc.org_.gif). This is for the front cover, not artist pic.
Go to the top of the page
+Quote Post
lvqcl
post Apr 26 2009, 11:20
Post #13





Group: Developer
Posts: 3372
Joined: 2-December 07
Member No.: 49183



I use this plugin to make latest foo_prettypop show images named %ALBUM%.jpg. So:

%album%.* - doesn't work.
%album%* - works, but loads first jpg in the folder, and that's not what intended.


This post has been edited by lvqcl: Apr 26 2009, 11:24
Go to the top of the page
+Quote Post
JackieKu
post Apr 26 2009, 15:19
Post #14





Group: Developer
Posts: 135
Joined: 22-May 05
Member No.: 22211



QUOTE (TomBarlow @ Apr 26 2009, 17:24) *
Thanks for support for artist images, although it doesn't seem to save them between restarts. I can't get it to work with just artist.jpg either... but then it's not working even without this component. Strange.

Also, is it possible to use absolute paths for streams? I'm trying E:\Pictures\$replace(%path%,:,_,/,_).* but it doesn't work (e.g. with files called http___netcast6.kfjc.org_.gif). This is for the front cover, not artist pic.

About artist images, it is a bug dry.gif, will be fixed in the next release.
I intent to support local media files only since I thought it isn't so useful with something other than "file://". I can add this feature in the next release because it is easy to implement.

EDIT: Streams can't be supported, fb2k never use this plugin with streams.

QUOTE (lvqcl @ Apr 26 2009, 18:20) *
I use this plugin to make latest foo_prettypop show images named %ALBUM%.jpg. So:

%album%.* - doesn't work.
%album%* - works, but loads first jpg in the folder, and that's not what intended.

I can't reproduced this problem here, is %album% contains some special characters?

This post has been edited by JackieKu: Apr 26 2009, 15:40
Go to the top of the page
+Quote Post
lvqcl
post Apr 26 2009, 15:57
Post #15





Group: Developer
Posts: 3372
Joined: 2-December 07
Member No.: 49183



QUOTE
I can't reproduced this problem here, is %album% contains some special characters?

album = Protection

image file = Protection.jpg
(located in the folder where mp3 files)

foo_covers settings for 'Front':
CODE
front.*
%album%.*

DefaultUI, ColumnsUI, foo_prettypop doesn't show this image.

Added: renamed that file to test.jpg and added 'test.*' to foo_covers settings:
CODE
front.*
%album%.*
test.*

Now it shows test.jpg.

This post has been edited by lvqcl: Apr 26 2009, 16:03
Go to the top of the page
+Quote Post
hal9001
post Apr 26 2009, 17:23
Post #16





Group: Members
Posts: 143
Joined: 17-January 06
Member No.: 27172



I was also pondering about this beforehand.
Try this for %album%.jpg
$replace(%path%,%filename_ext%,%album%.*).
Go to the top of the page
+Quote Post
lvqcl
post Apr 26 2009, 17:38
Post #17





Group: Developer
Posts: 3372
Joined: 2-December 07
Member No.: 49183



QUOTE (hal9001 @ Apr 26 2009, 20:23) *
Try this for %album%.jpg
$replace(%path%,%filename_ext%,%album%.*).

No luck. Neither this, nor $directory_path(%path%)\%album%.*

This post has been edited by lvqcl: Apr 26 2009, 17:40
Go to the top of the page
+Quote Post
q-stankovic
post Apr 26 2009, 18:20
Post #18





Group: Members
Posts: 1741
Joined: 28-May 06
From: Düsseldorf
Member No.: 31251



I can confirm the problems of the others.

An other point:
If a whole album is selected and not only a single track the album art viewer in DUI will display "[multiple items]" - foobars built-in artwork reader is able to tell the albumart viewer that there is only one image and will display it.


--------------------
german support forum: www.foobar-users.de / user: qwert73
Go to the top of the page
+Quote Post
ojdo
post Apr 26 2009, 18:32
Post #19





Group: Members
Posts: 894
Joined: 18-June 06
From: Germany
Member No.: 31980



Thanks so much for this plugin! A simple
CODE
..\folder.jpg

displays my artist pictures.


--------------------
http://freemusi.cc/
Go to the top of the page
+Quote Post
JackieKu
post Apr 26 2009, 19:10
Post #20





Group: Developer
Posts: 135
Joined: 22-May 05
Member No.: 22211



QUOTE (lvqcl @ Apr 26 2009, 22:57) *
album = Protection

image file = Protection.jpg
(located in the folder where mp3 files)

oops, the breakage is found!! This problem appears with the single track files. I didn't discover it since I mainly use foobar2000 to play multi-track WavPack files.
Fixed in the next release.

QUOTE (q-stankovic @ Apr 27 2009, 01:20) *
An other point:
If a whole album is selected and not only a single track the album art viewer in DUI will display "[multiple items]" - foobars built-in artwork reader is able to tell the albumart viewer that there is only one image and will display it.

This problem is quite tricky, I can't fix that until a workaround is found. (though I don't use DUI at all)

This post has been edited by JackieKu: Apr 26 2009, 19:13
Go to the top of the page
+Quote Post
JackieKu
post Apr 28 2009, 02:44
Post #21





Group: Developer
Posts: 135
Joined: 22-May 05
Member No.: 22211



The new version 0.03 is released, check it at the first post.
Go to the top of the page
+Quote Post
pIv
post Apr 28 2009, 09:45
Post #22





Group: Members
Posts: 288
Joined: 9-July 03
Member No.: 7668



With new version 0.03, if defined image not found, I see text [no image] in cover window.
With previous versions of plugin in this case, I see image that defined in Advanced/Display.
It is possible return back this item.

This post has been edited by pIv: Apr 28 2009, 09:46
Go to the top of the page
+Quote Post
ojdo
post Apr 28 2009, 18:03
Post #23





Group: Members
Posts: 894
Joined: 18-June 06
From: Germany
Member No.: 31980



QUOTE (JackieKu @ Apr 28 2009, 03:44) *
The new version 0.03 is released, check it at the first post.

Thanks, just wanted to report the fixed bug (with artist source). Keep up the good work!

This post has been edited by ojdo: Apr 28 2009, 18:03


--------------------
http://freemusi.cc/
Go to the top of the page
+Quote Post
phool
post Apr 29 2009, 07:55
Post #24





Group: Members
Posts: 87
Joined: 10-April 08
Member No.: 52685



Thank you! I have been waiting for something like this for some time. Now I can finally display all my album art without having to change my naming scheme laugh.gif It's great to finally have all my high quality images available for use in the Default UI!

I have found a minor thing with the plugin though. When you select multiple tracks from the same album, the art view indicates '[Multiple Items]' even though it's the same cover for all the tracks. When the plugin is disabled, the art view will show cover art for all the selected tracks (obviously provided that the cover art is the same for all the tracks). Is it possible to change this behavior?

I hope that the above is clear and once again, many thanks for this!

Edit: Found a reply to my query in the posts above.

This post has been edited by phool: Apr 29 2009, 07:57
Go to the top of the page
+Quote Post
foorious
post Apr 29 2009, 16:29
Post #25


troll / ban evasion


Group: Banned
Posts: 244
Joined: 22-April 08
Member No.: 52991



This component is absolutely fantastic !!! biggrin.gif It's exactly what I was hoping for. This functionality should have been added to foobar a long time ago. Thank you JackieKu. smile.gif

Now I have two small requests :

1. when you select several tracks, the DUI art wiewer simply displays "multiple items". But what if I have selected a whole album where all selected tracks have the same cover ? Then I'd like the art viewer to display such cover. Could this be possible, or is it a limitation from the standard DUI art viewer ?

2. Could there be a "scan mode" that would automatically scan all the library, find all tracks (or all albums) with missing artwork, and create a text log report ?

Thanks again for a fantastic work. smile.gif

This post has been edited by foorious: Apr 29 2009, 17:14
Go to the top of the page
+Quote Post

6 Pages V   1 2 3 > » 
Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 3rd September 2014 - 00:21