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 736677 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

foo_uie_single_column_playlist

Reply #475
bozo950:

Code: [Select]
$replace(%path%,%filename_ext%,)cover.jpg

foo_uie_single_column_playlist

Reply #476
thx 

foo_uie_single_column_playlist

Reply #477
My singleplaylist.
Thanks to all guys to inspire me for this config.

Font: Link providing illegal download of "Arial Unicode MS" font removed by moderation (necessary for playing songs blinking arrow)

Row Height: 30
Group Row:3

Group by:
Code: [Select]
%album%

Item Display:
Code: [Select]
$if($strcmp($mod(%_playlist_number%,2),1),
$drawrect(,,,,brushcolor-50-50-50 pencolor-null))
$padding(3,1)

$font(calibri,9,bold,210-210-210)
$if(%_isplaying%,
$select($add(1,$mod(%_time_elapsed_seconds%,2)),$rgb(255,255,255),$rgb(72,72,255)))%title% 
$font(Arial Unicode MS,9,,210-210-210)
$if(%_isplaying%,
$select($add(1,$mod(%_time_elapsed_seconds%,2)),$rgb(255,255,255)'➨',$rgb(72,72,255)'➨'))

$alignabs(3,15,%_width%,%_height%,,)
$font(calibri,8,cleartype,210-210-210)
[%length% | ]
[%bitrate% kbps]

$alignabs(-3,3,$sub(%_width%,2),%_height%,right,)
$font(Wingdings,9,glow-72-72-255 glowexpand-1,250-250-250)
$repeat(«,%rating%)

$alignabs(-3,15,$sub(%_width%,2),%_height%,right,)
$font(calibri,8,cleartype,210-210-210)
[%play_counter%x]
$if(%cwb_queueindex%, '['%cwb_queueindexes%/%cwb_queuelength%']')

Group Display:
Code: [Select]
$drawrect(0,0,0,0,brushcolor-160-160-160 pencolor-null)
$imageabs2(86,86,,,,,2,2,'default.jpg',)
$imageabs2(86,86,,,,,2,2,$replace(%path%,%filename_ext%,)folder.jpg,)

$font(Tahoma,12,glow-72-72-255 glowexpand-0,255-255-255)
$alignabs(100,2,$add(%_width%,-107),20,left,top)
$if2(%album artist%,%artist)
$alignabs(100,22,$add(%_width%,-107),20,left,top)
$upper(%album%)
$alignabs(100,44,$add(%_width%,-107),20,left,top)
$font(,10,glow-72-72-255 glowexpand-0,)'('%date%')'

Looks like so:



((((( Strictly4me )))))

foo_uie_single_column_playlist

Reply #478
Font: Link providing illegal download of "Arial Unicode MS" font removed by moderation (necessary for playing songs blinking arrow)

I managed to substitute Arial Unicode MS with Deja Vu Sans for some things, it might be good for this purpose too. And it's free.
Life is Real...
(But not in audio :) )


foo_uie_single_column_playlist

Reply #480
Is this a bug? :

When I'm scrolling upwards through my playlist with the keyboard cursors and there is a group header I have to go through the whole group header, i.e. through all the specified group rows.

When I'm doing the same downwards everything works fine.

foo_uie_single_column_playlist

Reply #481
I've noticed that myself. Not sure if this is intended or a bug.

foo_uie_single_column_playlist

Reply #482
Is it possible to add %_grouplength% or something like that ? It may allow to  show the length of an album in the Group Display.

I believe if your files are marked right then %totaltracks%  is your friend. But you need all your albums marked that way.
Hope that helps,
Cheers.

foo_uie_single_column_playlist

Reply #483
If you want the number of items in a group to be displayed in the header you can use %_itemcount%. However I thought moe was trying to put the total time of the items in the header, which I do not think is currently possible

EDIT: Unless you want to go and tag all your files with something like %albumlength% or some other custom tag. The header inherits the tags of the first item in the group so if you tag track 1 of an album with a custom tag containing the album's total length, you should be able to display it in the header.  This is not a very good solution imo.

foo_uie_single_column_playlist

Reply #484
I believe if your files are marked right then %totaltracks%  is your friend. But you need all your albums marked that way.
Well, %totaltracks% is not necessary because %_itemcount% return the number of items which are grouped by %album%. %_grouplength% should return the length of the group of items as a length in seconds or minutes and seconds (ex : 46:53).

However I thought moe was trying to put the total time of the items in the header, which I do not think is currently possible
Yep, so I request %_grouplength% or something like that.

foo_uie_single_column_playlist

Reply #485
I have another request to make:

Setting the line height dynamicaly, per example...

$if(%isplaying%,$lineheight(30),$lineheight(15))
There's a storm on the loose, there's sirens in my head...

foo_uie_single_column_playlist

Reply #486
Houston, we got a problem..

Some images wont show using imageabs2() combined with $replace(%path%,%filename_ext%,)folder.jpg as a relative path to each cover.

Ive done some testing and found that if the '#' char is in the folderpath to the actual image it wont display at all. But if change # to something else it works..

wtf?? 

 

foo_uie_single_column_playlist

Reply #487
Even the latest versions still crash when double-clicking on anywhere that isnt an item\header. It really shouldn't take foobar down.

For example, make a new playlist and put one song into it. click anywhere in the playlist outside of that song's item rectangle.

foo_uie_single_column_playlist

Reply #488
Even the latest versions still crash when double-clicking on anywhere that isnt an item\header. It really shouldn't take foobar down.

For example, make a new playlist and put one song into it. click anywhere in the playlist outside of that song's item rectangle.

Yep, I can confirm it on my end too.  Also, when I do this, ZoneAlarm says that foobar2000.exe is trying to access dwwin.exe (error reporting), but does not produce a failure.txt file in the fb2k directory.

foo_uie_single_column_playlist

Reply #489
Hi,

can foo_uie_single_column_playlist use album art from matroska file (like in the foo_uie_albumart_mka -> matroska:front.jpg) ?

foo_uie_single_column_playlist

Reply #490
i don't think it reads images from tags.. might be wrong.

foo_uie_single_column_playlist

Reply #491
Does anyone know what I should add to this code in order to have Foobar ignore a song's tags.  I want Foobar to ignore all tags on my "Single Tracks -s-" folder.  Here's the code im using now along with foo_cwb_hooks:
Code: [Select]
$if($strchr(%playlist_name%,-s-),!noheader!,
$if(%tracknumber%,%album%%discnumber%,!noheader!)
)


So far this code has been great with removing headers from my Single Tracks -s- folder, but I really want it to ignore the songs' tags too.  Thanks for the help!


foo_uie_single_column_playlist

Reply #493
Sorry if I'm confusing.  If the song is labeled as a single, I don't want the song's tag displayed, I just want the filename shown.  Does that make any sense?

foo_uie_single_column_playlist

Reply #494
That would be done from your item display box. Something like:

Code: [Select]
$if(%tracknumber%,
%tracknumber%. [%artist% - ]%title%
,
%filename_ext%
)


But it all really depends on (1) How do you "label a song as a single" and (2) What other code do you use in the item display box.

foo_uie_single_column_playlist

Reply #495
Well I'm using foo_cwb_hooks and the folder which all my single tracks are located in is called "Single Tracks -s-".  Using that along with the code from my earlier post, the headers are removed from songs in the "Single Tracks -s-" folder.

This is the code being used in my Item Display Box:
Code: [Select]
$if($strcmp($mod(%_playlist_number%,2),1),
$drawrect(,,,,brushcolor-231-235-239 pencolor-null))
$if(%_selected%,$drawrect(0,0,0,0,brushcolor-null pencolor-SYSCOL-6))
$padding(6,0)
$font(calibri bold,9,,120-120-120)[$num(%tracknumber%,2)'. ']
$font(calibri bold,9,$if(%isplaying%,underline,),120-120-120)
$replace(%title%,'(',$font(,,bold italic,204-204-204)'(')
$alignabs(6,13,%_width%,%_height%,,)
$font(CubicFive10,6,nocleartype,170-170-170)
[%length% | ]
[%bitrate% kbps]
$align(right,bottom)['('%comment%')']

foo_uie_single_column_playlist

Reply #496
i got a question about code:
for exemple the code %path%\cover.jpg give me:
E:\Mes Documents\Ma musique\Blues Brothers\19 - Think.mp3\cover.jpg

how can i remove the 19 - Think.mp3

what's the code i should use to get this:
E:\Mes Documents\Ma musique\Blues Brothers\cover.jpg


If you have all your music in "Ma musique" folder the try this code:
E:\Mes documents\Ma musique\%artist%\cover.jpg

foo_uie_single_column_playlist

Reply #497
bagj629:
You need to add an $if() statement to switch between different text display layouts based on wether or not the track is a single. Something like this:

Code: [Select]
$if($strcmp($mod(%_playlist_number%,2),1),
$drawrect(,,,,brushcolor-231-235-239 pencolor-null))
$if(%_selected%,$drawrect(0,0,0,0,brushcolor-null pencolor-SYSCOL-6))
$padding(6,0)
$if(%tracknumber%,
$font(calibri bold,9,,120-120-120)[$num(%tracknumber%,2)'. ']
$font(calibri bold,9,$if(%isplaying%,underline,),120-120-120)
$replace(%title%,'(',$font(,,bold italic,204-204-204)'(')
$alignabs(6,13,%_width%,%_height%,,)
$font(CubicFive10,6,nocleartype,170-170-170)
[%length% | ]
[%bitrate% kbps]
$align(right,bottom)['('%comment%')']
,
%filename_ext%
)


In this example I used %tracknumber% to determine if the track is the single, if you something else like $strstr(%directoryname%,-s-) then you'll need to change line 5

foo_uie_single_column_playlist

Reply #498
Is there anyway to display in the header "various artist" when having multiple artists all under the same abum, like in a soundtrack for example?  For me it shows as the name of the album but dispays the first artist name only.

foo_uie_single_column_playlist

Reply #499
Is there anyway to display in the header "various artist" when having multiple artists all under the same abum, like in a soundtrack for example?  For me it shows as the name of the album but dispays the first artist name only.

Well, you could make it easy on yourself and just mark those albums with a tag and then check for that tag in the "Group by" section.