Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: NG playlist... album art problem (Read 7317 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

NG playlist... album art problem

i'm trying to make the NG playlist search any jpg in the albums folder and set it as the artwork in the playlist...
and i've tried with this code:
Code: [Select]
$replace(%path%,%filename_ext%,)*.jpg

i'm using this code in the Album Art Panel and it's working there...

i wanna do this cause my albums artwork are named chaotically and they are not all the same like: front.jpg, back.jpg, cover.jpg or something, so a code like
Code: [Select]
$replace(%path%,%filename_ext%,)front.jpg
would not work for all the albums

what code should i use to achieve this in the NG playlist??

NG playlist... album art problem

Reply #1
Just put a *. But I would recommend you try and name them a bit more consistently.
.

NG playlist... album art problem

Reply #2
thanks bro.. that did the trick... one more thing now... the grouping is horrible for the compilations with multiple artists... it shows me an artwork at every track in a compilation... so i removed the default grouping and replaced it with this
Code: [Select]
[%album%]

..and it works... but now i don't have the artist name in the grouping now... and i was thinking that i should put back the artist into grouping and in the case of a compilation where there are several different artist, the artist name in the grouping should show me 'VA' or something...

is that possible with using some 'if' statement or some similar code??

NG playlist... album art problem

Reply #3
You need to use %album artist%, which automatically returns %artist% if there is no album artist present, so you can use it for all your other albums as well without an $if() function. You do need to make sure all your compilations are tagged with an album artist though.

NG playlist... album art problem

Reply #4
thats not really an option... i've got tones of compilations on my hdd and little time at my hands... there has to be some coding formula for this... i'm an AS3 rookie coder.. i have an idea about variable and conditionals and stuff... so i think it's possible... and about the album art... let me correct my upper post... in some albums NG playlist does not fetch the jpg in the folder... i have no idea why... when the jpg name is identical to the folder or has the name 'album_art.jpg' for example does not work...

NG playlist... album art problem

Reply #5
maybe you could give us your tagging scheme for the VA albums? Is it just as the other "normal" album just with different artist with the same album name? because I think there's a way to put the album artist tagging in a script und just run it over your VA files... right now I'm too lazy to think about it any further.
to use %album artist% is definitely the best way...
fb2k on OSX: flac q8 > rockboxed Sansa e280v1: Vorbis q5.0

NG playlist... album art problem

Reply #6
I don't know anything about AS3, but if you have your compilations well organized, you can do a search along the lines of "$directory(%path%,1)" IS "Compilation" and tag everything it comes up with with an album artist... just a suggestion, if you need to do it with some other kind of script then I can't help I'm afraid.

NG playlist... album art problem

Reply #7
it seems that this code:
Code: [Select]
$replace(%path%,%filename_ext%,)*.

really does nothing... with or without it the result is the same... album art in NG playlist shows only if the jpeg in the album folder is named something like: cover, front, back.
even with the code above the jpg with different names does not show up in the NG playlist.

something does not work... and i'm not sure what... i have the latest foobar and the latest plugins installed...

any ideas???

 

NG playlist... album art problem

Reply #8
NG Playlist will look for a Folder.* in the directory of the playing song? Does it have this as default? I have set in the Artwork preferences of ColumnsUI to look in the folder Artwork for Front, Back and CD as this is $replace(%path%,%filename_ext%,Artwork\,)Front, $replace(%path%,%filename_ext%,Artwork\,)Back and $replace(%path%,%filename_ext%,Artwork\,)CD, although Artwork view is working properly, NG Playlist don't, it is showing the default.png image in the components folder for some folders.
I think it could have a image name to look for as default.

Edit: Ok, now is showing right, after some time the artwork appears correct. Sorry for this...