Help - Search - Members - Calendar
Full Version: updated foo_uie_albumart
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20
gfngfgf
One more bug: I'm having problem with $replace() in my source string. Here's a simplified version of my string for artist pictures:

CODE
match:E:\Music\Arts\$replace(%album artist%,",'',*,,/,_)\artist.*

The string replaces a double-quote with a single apostrophe, a forward-slash with an underscore, and removes any asterices. This string worked fine with the previous version, but it's not finding art for any artist with a double-quote or asterix in the name.
foosion
I uploaded version 0.164 (same address as before). The two preferences options (mininum height and the follow cursor thing) should be fixed now.

Regarding the replacement of invalid filename characters: I'm sorry I forgot to put this in the changelog (It was in 0.161 I think). It was hopefully the only incompatible change, but it was by design. I used the same helper code from teh SDK that is used by album art and massrenamer. I just didn't like the idea that special characters inside tags could interfere with the image search in unexpected way. Unfortunately, that code does not allow to specify an arbitrary replacement, it always uses an underscore. Now I have put in some new code that does allow this, reserved characters are currently replaced with a question mark, i.e. the wildcard that matches a single character. This is not configurable; if you want an option for that, you'll have to find someone who is willing to modify the source code.

To simplify debugging image source scripts, I have added an option on the sources tab that will enable you to see the paths where the component searches for images on the console. I had this as a compile time option for myself already, and I considered it useful enough to add it as an option in the user interface (keeping it permanently on would just pointlessly flood the console).
carmenm
Thanks a lot foosion, you just or music experience a lot deeeeeeeper!!!! biggrin.gif
Mangix
QUOTE(foosion @ Apr 29 2006, 08:27 AM) *

I uploaded version 0.164 (same address as before). The two preferences options (mininum height and the follow cursor thing) should be fixed now.

i'm not sure about the minimum height thing but it doesn't look like the follow cursor thing was fixed. i still get the checkbox problem.
foosion
QUOTE(Mangix @ Apr 29 2006, 07:33 PM) *
i'm not sure about the minimum height thing but it doesn't look like the follow cursor thing was fixed. i still get the checkbox problem.
Argh, it seems like I put an outdated build into the uploaded ZIP file. Please redownload (no update to the changelog, but the new version reports as "0.164a").
gfngfgf
QUOTE(foosion @ Apr 29 2006, 08:27 AM) *

To simplify debugging image source scripts, I have added an option on the sources tab that will enable you to see the paths where the component searches for images on the console. I had this as a compile time option for myself already, and I considered it useful enough to add it as an option in the user interface (keeping it permanently on would just pointlessly flood the console).

Thanks for this option. I had always been copying and pasting the source into my trackinfo panel, but that was cumbersome. This is a much better solution.

I understand about the $replace() function. Thank you for the response.
Mr. Tao
I've updated foo_uie_albumart.dll to 0.164a, but sice then I lost AA panel (it disappeared from right-click menu as well). I still can adjust AA settings under Preferences/Display/Album Art Panel, but that's all I can do – no AA panel in my foobar 0.9.1 displayed.
I don't have a clue why this happened when (judging from above posts) 0.164a works for other people. I even did complete reset of fb, but AA is still gone. Before I used 0.15something without problems.
81x
Hi foosion,

I think i've found a bug related to using the mousewheel to change the albumart (using v0.164a).
Using the following as my sources:

match:$replace(%_path%,%_filename_ext%,)*folder*.jpg
-match:$replace(%_path%,%_filename_ext%,)*.jpg
-nocover.jpg
match:$replace(%_path%,%_filename_ext%,)*back*.jpg

When i use mousewheel down it goes between 'folder.jpg' and 'back.jpg' as expected but when i use mousewheel up it goes between 'back.jpg' and 'nocover.jpg', also if you use mousewheel up untill it displays the 'nocover.jpg' and leave it there it seems to lock on 'nocover.jpg' and refuse to change/refresh when clicking around the playlist on different albums regardless of whether they have covers or not.
PotatoSalad
Hey foosion,

I may have found a bug in your new build because this didn't happen with the older builds.

Here are my settings:
CODE
-match:E:\Art\$crc32(%artist% - %album%)*
-match:E:\Art\%artist%_%album%*
-components\default.png

This has been working perfectly for a long time (the similar foo_prettypop settings still work), but some artists with special characters in their names are messed up.

For example:

Artist: AC/DC
Album: Thunderstruck

The console says:
CODE
searching album art, preprocessed pattern: "E:\Art\339976871*"
searching album art, preprocessed pattern: "E:\Art\AC?DC_Thunderstruck*"
searching album art, preprocessed pattern: "components\default.png"

Since $crc32(AC/DC - Thunderstruck) is 117545389, it never sees my album art. However, $crc32(AC?DC - Thunderstruck) is 339976871, so there's something wrong with the way the component is processing titleformat stuff.

Again, this just started occuring after I updated to the new component.

EDIT: Didn't see this before...
QUOTE(foosion @ Apr 29 2006, 11:27 AM) *
... Regarding the replacement of invalid filename characters: I'm sorry I forgot to put this in the changelog (It was in 0.161 I think). It was hopefully the only incompatible change, but it was by design ...
That's nice, but it really should be optional.
foosion
81x: I think I've noticed this as well, but I have other things to do and it doesn't disturb me enough to bother with the album art code again at this point (especially since that would be a part that's still quite obscure).
81x
QUOTE(foosion @ Apr 29 2006, 09:09 PM) *

81x: I think I've noticed this as well, but I have other things to do and it doesn't disturb me enough to bother with the album art code again at this point (especially since that would be a part that's still quite obscure).

No probs, to be honest i've got single left click setup to move between my sources, i only noticed the bug when i was playing around (seeing it was a new feature and all) and thought i should let you know.

Thanx for the work on the plugin by the way, much appreicated.
evo3
one bug i think ive noticed is that if you play a song from an album that has cover art but then change the song to an album without art, the art from the previous album sticks. Maybe im missing something...

thanks for all the work guys

edit: using latest 0.164a
shane 4 sure
QUOTE(evo3 @ Apr 29 2006, 07:19 PM) *

... if you play a song from an album that has cover art but then change the song to an album without art, the art from the previous album sticks ...

Confirmed!
Corelian
QUOTE
I've updated foo_uie_albumart.dll to 0.164a, but sice then I lost AA panel (it disappeared from right-click menu as well). I still can adjust AA settings under Preferences/Display/Album Art Panel, but that's all I can do – no AA panel in my foobar 0.9.1 displayed.
I don't have a clue why this happened when (judging from above posts) 0.164a works for other people. I even did complete reset of fb, but AA is still gone. Before I used 0.15something without problems.

Exactly the same thing happened to me. Now I'm unable to find a slightly older version (0.15...), because I overwrote the old plugin.


EDIT: found 0.151
Mr. Tao
QUOTE(Corelian @ Apr 30 2006, 10:46 AM) *
Thanks for saving my time smile.gif

I updated Columns UI to 0.1.3 beta 1v4 (Apr 29 2006) and Album Art 0.164a seems to be working as expected with this version.

However, there is a problem with missing right click menu items regarding Columns UI, so the only way how to add panels is through Preferences/Columns UI/Layout tab.
blackmartinix
QUOTE(evo3 @ Apr 29 2006, 08:19 PM) *

one bug i think ive noticed is that if you play a song from an album that has cover art but then change the song to an album without art, the art from the previous album sticks. Maybe im missing something...

thanks for all the work guys

edit: using latest 0.164a


same here, columns ui 0.1.3 beta1v4, album art panel 0.164a
Jimbo51
QUOTE(blackmartinix @ Apr 30 2006, 11:43 PM) *

QUOTE(evo3 @ Apr 29 2006, 08:19 PM) *

one bug i think ive noticed is that if you play a song from an album that has cover art but then change the song to an album without art, the art from the previous album sticks. Maybe im missing something...

thanks for all the work guys

edit: using latest 0.164a


same here, columns ui 0.1.3 beta1v4, album art panel 0.164a


Yep, same problem here.
rehgf
QUOTE(Jimbo51 @ May 2 2006, 09:22 PM) *
QUOTE(blackmartinix @ Apr 30 2006, 11:43 PM) *
QUOTE(evo3 @ Apr 29 2006, 08:19 PM) *

one bug i think ive noticed is that if you play a song from an album that has cover art but then change the song to an album without art, the art from the previous album sticks. Maybe im missing something...

thanks for all the work guys

edit: using latest 0.164a

same here, columns ui 0.1.3 beta1v4, album art panel 0.164a

Yep, same problem here.

It works here, using:

foobar2000 0.9
foo_ui_columns 0.1.3b1v5
foo_uie_albumart 0.164a
andro77
I get a "metadb_handle leaks: XX objects" when closing foobar.

fb2k 0.9.1
columns UI 0.1.3 beta 1v5
albumart 0.164a
foosion
Do you use foo_uie_trackinfo? If so, have you updated it to the latest version?
andro77
QUOTE(foosion @ May 4 2006, 02:37 PM) *

Do you use foo_uie_trackinfo? If so, have you updated it to the latest version?

yep, just updated to latest version (0.8), and it works wink.gif I thought it was a foo_albumart's issue, sorry (and thanks!)
vlada
Hello,
would it be possible to officialy implement Matroska support into this component? A modified version with Matroska support can be found at http://tmp.reharmonize.net/foobar/. I think it doesen't make to much sense to have 2 versions. Why not merge it?
foosion
If the author of the Matroska version or someone else is willing to merge it with my code, well, I'm fine with that. I just don't have enough time or interest myself (this goes for all feature requests for this component).
PiezoTransducer
I used to have a problem where the album art wasn't being rendered. If I moved the foobar2000 window offscreen and brought it back, or used another window to cover the album art panel, it would force a redraw or something and it would show.

But it magically fixed itself.
Beavis04
QUOTE(Mr. Tao @ Apr 30 2006, 05:08) *

I've updated foo_uie_albumart.dll to 0.164a, but sice then I lost AA panel (it disappeared from right-click menu as well). I still can adjust AA settings under Preferences/Display/Album Art Panel, but that's all I can do – no AA panel in my foobar 0.9.1 displayed.
I don't have a clue why this happened when (judging from above posts) 0.164a works for other people. I even did complete reset of fb, but AA is still gone. Before I used 0.15something without problems.


Same here crying.gif

Edit: I fixed it. Seems you have to have the latest version of Columns UI.

By the way is there someway you can change the default Album Art panel? Like when a song isn't selected or no Album art is found instead of going to black it'd look cool if there were a Foobar logo instead or something!
acedriver
QUOTE(Beavis04 @ May 7 2006, 15:31) *

By the way is there someway you can change the default Album Art panel? Like when a song isn't selected or no Album art is found instead of going to black it'd look cool if there were a Foobar logo instead or something!

go to this thread. save it as default.png in components folder
Chris Norman
Many thanks for the update. I really like the transition effect very much.

There are only two features I really miss for this plugin:

1) Automatic cycling between sourses via an adjustable timer
2) Simple mode. It looks like many people have problems setting up sources correctly and even if you can it takes you quite a while.

Cheers,

Chris
Beavis04
Thank you acedriver!
gfngfgf
QUOTE(Beavis04 @ May 7 2006, 00:31) *

By the way is there someway you can change the default Album Art panel? Like when a song isn't selected or no Album art is found instead of going to black it'd look cool if there were a Foobar logo instead or something!

Just add this as the last source in your list:

CODE
-components\default.jpg

And put the image you want to use in foobar2000's components directory with the name "default.jpg" (or you could change the path to be whatever you want). this thread has some example "no cover" images.

edit: d'oh! didn't see there was another page in the thread.
azerty1234
I can't get it work. Please tell me step for step how to do what. With an example please crying.gif
i have the newest version of foobar2000
Bl@ck_warrior
I just updated foo_uie_albumart to this enw version and i'm not able to add the album art panel anymore, i'm using Columns UI v0.1.3 beta 1v5

Wich version should i use to get this new version work?
shane 4 sure
Update your Column UI to 0.1.3 beta 1v5 ( I see, you've just edited your post )
Are you using the latest albumart (0.164a) ?
Both are working like a charm here with fooby 0.9.1
Bl@ck_warrior
ok thanks! biggrin.gif

It's working now with the 0.164a i thought i was using the latest version but i actually wasn't.
azerty1234
where can i find version 0.164a
shane 4 sure
Eh bien voilà biggrin.gif
@ azerty1234
There you go mate ( scroll down )
http://www.hydrogenaudio.org/forums/index....showtopic=42730
azerty1234
thanx but now i have a second question.

It only shows a small picture how can it get my own pictures ?
shane 4 sure
Add the following to your "Sources"

CODE
match:$replace(%_path%,%_filename_ext%,)*front*
match:$replace(%_path%,%_filename_ext%,)*cd*
match:$replace(%_path%,%_filename_ext%,)*back*
-match:$replace(%_path%,%_filename_ext%,)*


Fooby will pick front.jpg first in your folder and then cd.jpg and so on.
azerty1234
u r so good so i think you now this. Now it only shows the time in this way: 0:57/5:37 but i want to add how much time is rest. How looks the code
shane 4 sure
Try this and adjust it the way you like.

CODE

$tab(1)
$if(%_time_elapsed%,%_time_elapsed%)
$if(%_time_total%,' / '%_time_total%)
$if(%_time_remaining%,' ['%_time_remaining%']')
$puts(progress,$muldiv(%_time_elapsed_seconds%,1000,%_time_total_seconds%))
$if(%_time_total%,' ('
$ifgreater(10,$get(progress),'0.'$right($get(progress),1),
$ifgreater(100,$get(progress),$left($get(progress),1)'.'$right($get(progress),1),
$ifgreater(1000,$get(progress),$left($get(progress),2)'.'$right($get(progress),1),
$ifequal(1000,$get(progress),'100',))))'%)')


Oh well, that might look scary, eh!
For what you want, I guess this should be enough

CODE

$if(%_time_remaining%,' ['%_time_remaining%']')
Brainbug
i have following question:
i see there is an option to place an background image, something like:
CODE
-Albumart\images\bg.png

if i understand right this background-image is not displayed when an cover is found and displayed by this code:
CODE
$replace(%_path%,%_filename_ext%,)cover.jpg


well, i would like to ask for some features. while i´m not a coder i don´t know if it´s possible.
i would like to use and bg-image constantly, which should be displayed all time while an found cover-image is displayed above it. further more i would like to use an third image on top with transparent png support.

result of all this should be for example (starting from bottom):
background-image: jewel-case
middle-image: cover-artwork
top-image: transparent png (f. e. gloss effect)

further more, to get this jewel-case scenario working it would be necessary to have an option to "place" the cover-image in position, f.e. something like this:
CODE
[Bg]
Width=204
Height=204

[AlbumArt]
Show=1
Top=6
Left=32
Width=155
Height=152
DrawOverlay=1
DrawOverlayActualSize=1

would something like this be possible?

and another question: any chance to get albumart changing in relation to "selected song" and "currently playing"? maybe but albumart and trackinfo together, well, if possible.
webwarp
"Failed to load DLL: foo_uie_albumart.dll
Reason: This component is missing a required dependency, or was made for different version of foobar2000."

With latest beta .. sad.gif
carmenm
QUOTE(webwarp @ May 9 2006, 05:23) *

"Failed to load DLL: foo_uie_albumart.dll
Reason: This component is missing a required dependency, or was made for different version of foobar2000."

With latest beta .. sad.gif

Do you have foobar v0.9 or higher?
Silversight
QUOTE(carmenm @ May 9 2006, 14:01) *

QUOTE(webwarp @ May 9 2006, 05:23) *

"Failed to load DLL: foo_uie_albumart.dll
Reason: This component is missing a required dependency, or was made for different version of foobar2000."

With latest beta .. sad.gif

Do you have foobar v0.9 or higher?

and... do you have latest Columns UI installed?
gfngfgf
QUOTE(Brainbug @ May 9 2006, 03:33) *

and another question: any chance to get albumart changing in relation to "selected song" and "currently playing"? maybe but albumart and trackinfo together, well, if possible.

This should already be possible. I think by default, if you double-click the panel, it will switch between "follow cursor" and "now playing" modes. It's also available in the context menu when you right-click the panel ("Toggle follow cursor").

Since you mentioned the behavior of the sources list, I might as well point out the wiki article I wrote a while back explaining the sources list in detail:

Explanation of sources list

One of these days I'll edit this information into the main album art panel article (not sure why a second one was created anyway, but yeah, no big deal huh.gif )
foosion
QUOTE(gfngfgf @ May 10 2006, 02:03) *
(not sure why a second one was created anyway, but yeah, no big deal huh.gif )
My bet is on lack of coordination or searching for existing material.
lav-chan
I'm not sure if this has ever been suggested before, but i have a small feature request:

An option to change the colour of the border ('Draw a black pixel border'). The panel looks rad with this turned on, but black is way too dark to look right on my visual style.
PiezoTransducer
QUOTE(foosion @ May 9 2006, 19:12) *

QUOTE(gfngfgf @ May 10 2006, 02:03) *
(not sure why a second one was created anyway, but yeah, no big deal huh.gif )
My bet is on lack of coordination or searching for existing material.

Ah, it's because one page was orphaned. And orphaned pages essentially don't even exist. I guess I'll mash them together.
jakub
Can i add a second album art panel?
carmenm
i was wondering if foo_uie_albumart could read images from URL?
I tried it without success but i am not i am trying it the right way...
Naegling
I have a minor problem and can't figure out why it is happening. What is happening is that my No Cover image [No Cover.png] isn't coming up if there is a file with no %album% field, i.e. radio streams, instead I get the art for my ROD TV OST Disc 1 image [R.O.D -THE TV- OST Disc I.jpg]. If the field exists then it is fine, no matter what is in it.

These are the lines that I am using for the source:
match:C:\Documents and Settings\Administrator\My Documents\My Music\Album Covers\%album%.*
-C:\Documents and Settings\Administrator\My Documents\My Music\Album Covers\No cover.png
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.