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: foo_uie_single_column_playlist (Read 736601 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

foo_uie_single_column_playlist

Reply #325

@ vonmeth, I use this code
Code: [Select]
$imageabs(4,$add(25,$mul(-21,%tracknumber%)),'images\albums\'%album artist%'.'%album%'.png',)


I had to change it a bit to fit where my files are, but it seems to work fine on my end.
I did take out the apostrophes, see if that helps any.

Edit: To further clarrify, I used Tool - 10,000 Days, and had the image named Tool.10,000 Days.jpg



strange, because my Tool.10,000 Days is not working. It's not the spaces bad. The comas are the ones taht make the cover don't work. I need to change the %album% tag ;(

foo_uie_single_column_playlist

Reply #326
strange, because my Tool.10,000 Days is not working. It's not the spaces bad. The comas are the ones taht make the cover don't work. I need to change the %album% tag ;(


Do you use the last version released? there was an error with commas in path but in last changelog:

Sep 20, 2006
+ fixed commas in file path

foo_uie_single_column_playlist

Reply #327
@cartman(2vd), thx very much. U are my Messiah ][_, ([]) ][_,


foo_uie_single_column_playlist

Reply #329
I've posted a new version which fixes the playback status not changing.

The arguments for $imageabs2 are

<snip>


this has me confused (it doesn't take much  ). can some kind soul explain how i change over my imageabs code to imageabs2?

Code: [Select]
$imageabs(5,$add(25,$mul(-25,%tracknumber%)),'d\my music\full albums\'$if2(%album artist%,%artist%)'\'%album%'\folder.png',)


my row height is 25 and can use 150 as my image size (i have no albums shorter than 6 tracks)

EDIT: nevermind, sorted it. my imageabs2 code....

Code: [Select]
$imageabs2(150,150,0,$mul(25,$add(%tracknumber%,-1)),150,0,5,,$replace(%path%,%filename_ext%,)folder.jpg,)

foo_uie_single_column_playlist

Reply #330
Quote
Why is it that songs with 1 playcount don't have the "x" after them and don't align with the rest?

Code: [Select]
$padding(35,0)$align(right,bottom)[%play_counter%$if($greater(%play_counter%,1),x )]




Also as you can see album art has lines going through it, and it does this on some albums but not all of them. Is there a fix for this yet?

And one final thing, as you can see album art is showing up, but images (noalbum.png, artoverlay.png) in the foobar images directory are not. How can that be fixed? Thanks.

Code: [Select]
$imageabs(4,$add(25,$mul(-21,%tracknumber%)),'images\noalbum.png',)
$imageabs2(107,107,0,$add(-23,$mul(%tracknumber%,23)),,,,,$replace(%path%,%filename_ext%,folder.jpg),)
$imageabs(4,$add(25,$mul(-21,%tracknumber%)),'images\artoverlay.png',)


anyone? :/

foo_uie_single_column_playlist

Reply #331
Quote
Why is it that songs with 1 playcount don't have the "x" after them and don't align with the rest?

Code: [Select]
$padding(35,0)$align(right,bottom)[%play_counter%$if($greater(%play_counter%,1),x )]


[img]http://img111.imageshack.us/img111/9366/foobarscpcz0.jpg[img]

why use the $if $greater. surely that will only draw an x if the count is more than 1? 

try

Code: [Select]
$padding(35,0)$align(right,bottom)[%play_counter%x]
[/color]

Also as you can see album art has lines going through it, and it does this on some albums but not all of them. Is there a fix for this yet?

this is because your files are not a fixed 1:1 ratio. you can resize them yourself or wait for a fix? whether you'll get one anytime soon, i don't know.... 

And one final thing, as you can see album art is showing up, but images (noalbum.png, artoverlay.png) in the foobar images directory are not. How can that be fixed? Thanks.

Code: [Select]
$imageabs(4,$add(25,$mul(-21,%tracknumber%)),'images\noalbum.png',)
$imageabs2(107,107,0,$add(-23,$mul(%tracknumber%,23)),,,,,$replace(%path%,%filename_ext%,folder.jpg),)
$imageabs(4,$add(25,$mul(-21,%tracknumber%)),'images\artoverlay.png',)


i'm guessing your imageabs code is broken. you might as well use imageabs2 for your noalbum/overlay and then at least the postional/size code will be the same.

foo_uie_single_column_playlist

Reply #332
Thanks for the suggestion, marc2003, But that still makes single files get grouped together. I prefer to leave them at their designated sort place, just without any headers

foo_uie_single_column_playlist

Reply #333
Thanks for the suggestion, marc2003, But that still makes single files get grouped together. I prefer to leave them at their designated sort place, just without any headers


now i'm confused. you have to have one header per playlist. you can't escape that. so on a playlist where no track is tagged with %tracknumber%, it looks like this....

 

 

foo_uie_single_column_playlist

Reply #334
Well, if i write nothing in the Group By box i get no headers at all. So i assumed i can write some string that mimics that behavior just for single tracks.

foo_uie_single_column_playlist

Reply #335
Well, if i write nothing in the Group By box i get no headers at all. So i assumed i can write some string that mimics that behavior just for single tracks.


here you go....

Quote
$if2(%album%,)



foo_uie_single_column_playlist

Reply #336
Please forgive the beginner question, but how do I kill (remove, make invisible) the small, grey resizing grips between the different elements of my interface? Thanks.

foo_uie_single_column_playlist

Reply #337
foxhawk:
Can you be more specific about what you mean by "grey resizing grips"? Maybe a picture? If you are referring to the separator lines added by ColumnsUI between each panel then this is a known issue and we hope it's corrected in future versions of ColumnsUI. The best you can do is try to mask it by choosing similar colors in your panels or windows visual style.

If you are referring to something specific to this component please provide more detail.

foo_uie_single_column_playlist

Reply #338
nah marc

My singles are more or less fully tagged. thats not the problem anyway, It just doesnt work when ANYTHING is written in the group by box.

foo_uie_single_column_playlist

Reply #339
t just doesnt work when ANYTHING is written in the group by box.


it does work. you just need a variable in all your files to seperate your singles from your albums. foobar isn't psychic. you have to define something. that's why using $if2(%album%,) works for me - because none of my singles are tagged with album info...





see?

foo_uie_single_column_playlist

Reply #340
here you go....

Quote
$if2(%album%,)


Have you actually tested that? Because I us $if(%tracknumber%,%album%%discnumber%,) to separate my singles from my albums (based on wether a track number is present) and I still get a header for the singles. As ChaosBlade indicated all that really does is affect the grouping and does not affect the presence of a header.

foo_uie_single_column_playlist

Reply #341
Exactly. All my singles have TOTALTRACKS=1 anyway, and even checking for that does not work. I suspect there is some check to see if the Group By box contains nothing, and in that case, it draws no headers. Otherwise, it always adds the headers regardless. I could be wrong though, But i've yet to make it work for header-less single.


foo_uie_single_column_playlist

Reply #343
I think that is because you have things separated into different playlists. Having no header for singles does not appear to depend on wether the grouping is blank as chaosblade speculated, but wether or not there are any other groups displayed. I played around a little and as soon as an album group was added to the list, the header for singles appeared.

foo_uie_single_column_playlist

Reply #344
I think that is because you have things separated into different playlists. Having no header for singles does not appear to depend on wether the grouping is blank as chaosblade speculated, but wether or not there are any other groups displayed. I played around a little and as soon as an album group was added to the list, the header for singles appeared.


just tested that and you're right. you got me... 

so go back to my original post on this subject....

http://www.hydrogenaudio.org/forums/index....st&p=433723

that works (sort of). one header for numerous single tracks?

foo_uie_single_column_playlist

Reply #345
Which is not the desired result. Perheps this component does not fit with those who like hybrid playlists

foo_uie_single_column_playlist

Reply #346
People want one playlist to show some files as albums, and others as single tracks, but without any differences in the tags of the album-MP3s and single-track MP3s.  That isn't going to happen, whether you're using this or the Columns UI playlist.  No tricks will make it happen.

foo_uie_single_column_playlist

Reply #347
If you actually read the thread, You would notice we DID tag our files to allow foobar to differentiate.

foo_uie_single_column_playlist

Reply #348
If you actually read the thread, You would notice we DID tag our files to allow foobar to differentiate.


That's not the point.

Suppose you have a music library with 1000 albums and then 750 assorted singles, and you want to assemble a playlist for a friend, or for your ipod, or for your car, or for listening while you play a game, or almost any kind of listening at all.  Likely as not that playlist will include some tracks from albums, and some singles.

The singles might have a tag letting you know that they're "singles", but obviously the album tracks won't, or else you couldn't ever display them in "album mode."  So if you're using a playlist rigged to display albums and singles separately, it's almost definitely going to look ugly as hell, with two thirds of your tracks looking like slices of albums and one third looking like singles.

That's a huge clear limitation that can't really be surmounted in FB2K.  So why deal with it?  Why not just tag your playlists as singles playlists or album playlists instead?  I don't really understand that.

foo_uie_single_column_playlist

Reply #349
on my config, the core sort string will take care of the grouping.. singles are listed first regardless of the date, followed by full albums.

for the single it will display as artirt - album - title

screen: