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

foo_uie_single_column_playlist

Reply #1125
There is a variable for group index: first group has index of 1, second group has index of 2. I cannot remember the name of that variable.
Is there/I would like a variable that would return the total nubmer of groups.
I will use is with foo_skip to calculate the average group size, and skip some songs in groups that are above that average

foo_uie_single_column_playlist

Reply #1126
There is a variable for group index: first group has index of 1, second group has index of 2. I cannot remember the name of that variable.

Such a thing does not exist AFAIK. And if it does, I'd like to know the name too.

foo_uie_single_column_playlist

Reply #1127
Displaying the same image twice with different scaling seems to fail the second time.


foo_uie_single_column_playlist

Reply #1129
Isn't it possible to do buttons in the single column playlist ?? would be very nice to do ratings, search for info etc


foo_uie_single_column_playlist

Reply #1131
There is a variable for group index: first group has index of 1, second group has index of 2. I cannot remember the name of that variable.

Such a thing does not exist AFAIK. And if it does, I'd like to know the name too.


%_itemcount% and %_itemindex% are the ones I use to calculate if a row is the top row or the bottom row of a group.  I forget which is which.


Will the introduction of per-second strings in the trackinfo mod panel carry over into single column? That might reduce the resources a bit when using images in the playlist.  For example, I can't image that the typical way to display album art in the playlist is particularily optimized if it has to render an image x times per spanned row.  This plug-in could use some speed tweaks, though I still can't give it up because of it's rich features.

Speaking of features, this plug-in really has taken foobar to the next level of configuration options.  I'd say this place is only about average when it comes to taking criticism, so I always try to mention something positive.

foo_uie_single_column_playlist

Reply #1132
Off topic:

i have a bit of a problem with my code here, i'm trying to use a noalbum image and a cover overlay image, and it does work when i go to settings and use apply, but if i, for example, right click a directory and play in foobar then my noalbum and overlay images don't work.  not sure if it is because i'm, using the same dimensions for all images.

any help would be appreciated.

here's my Group display code:

$if(%album%,
$imageabs(,,images\album.png,),
$imageabs(,,images\album2.png,)
)
$if(%album%,
$imageabs2(100,94,0,0,,,4,6,'images\nocover.jpg',NOKEEPASPECT)
$imageabs2(100,94,0,0,,,4,6,$replace(%path%,%filename_ext%,)album.jpg,NOKEEPASPECT)
$imageabs2(100,94,0,0,,,4,6,'images\artoverlay.png',NOKEEPASPECT),
)

$imageabs(113,94,images\bar_artist2.png,)
$if(%album%,$alignabs(113,2,1000,60,,)$font(impact,40,textalpha-25,255-170-30)%artist%,)

$alignabs(113,65,1000,20,,)
$font(calibri,11,glow-32-32-32,255-170-30)[%artist%]
$if(%album%,$font(calibri,11,glow-64-64-64,255-255-255)  •  $font(calibri,11,glow-32-32-32,255-170-30)%album%,
)
$if(%album%,
$alignabs($sub(%_width%,406),75,400,20,right,)
$if(%genre%,
$font(calibri,8,glow-64-64-64,255-255-255)
$if(%genre%,%genre%,'('Unknown Genre')') 
$font(calibri,9,glow-32-32-32,255-170-30)•  ,
)
$if(%date%,
$font(calibri,8,glow-64-64-64,255-255-255)
$if(%date%,%date%,'('Unknown Date')') 
$font(calibri,9,glow-32-32-32,255-170-30)•  ,
)
$font(calibri,8,glow-64-64-64,255-255-255)%_itemcount% track
$if($stricmp(%_itemcount%,1),,s) 
$font(calibri,9,glow-32-32-32,255-170-30)• 
$font(calibri,8,glow-64-64-64,255-255-255)%codec%
$if(%__replaygain_album_gain%, 
$font(calibri,9,glow-32-32-32,255-170-30)• 
$font(calibri,8,glow-64-64-64,255-255-255)AlbumGain:
$if(%__replaygain_album_gain%,%__replaygain_album_gain%, '('not available')')),
)

foo_uie_single_column_playlist

Reply #1133
%_itemcount% and %_itemcount% are the ones I use to calculate if a row is the top row or the bottom row of a group.  I forget which is which.


Do you mean %_itemcount% and %_itemindex% ?

%_itemcount% = total number of items in the current group
%_itemindex% = the position of the current item in the current group
%list_total% = total number of items in the playlist
%list_index% = the position of the current item in the playlist

foo_uie_single_column_playlist

Reply #1134
how long until single columns is updated to be in line with track info mod - I would love the rotate function stuff to be implemented.. pls

foo_uie_single_column_playlist

Reply #1135
IMHO the way to move tracks in a playlist is extremely unintuitive.

First, i had no clue at all how to do it. I searched the config pages if there is an option. After about 5mins, the idea crossed my mind, that it may work in combination with shift, crtl or alt. Only that way (trial and error) i found out how it works. If i would be less experienced with computers, i probably wouldn t have found it at all.
I am arrogant and I can afford it because I deliver.

 

foo_uie_single_column_playlist

Reply #1136
i have a bit of a problem with my code here, i'm trying to use a noalbum image and a cover overlay image, and it does work when i go to settings and use apply, but if i, for example, right click a directory and play in foobar then my noalbum and overlay images don't work.  not sure if it is because i'm, using the same dimensions for all images.

I once had the same problem. Here's the answer I got:

Code: [Select]
$imageabs2(,,,,,,,,images\art.png,)

It will seek for art.png in X:\%foobar_install_directory%\images\art.png.

not quite... the path (images\art.png) is unaltered, and how it is interpreted is determined by windows (which uses the "working directory" as the base). The working directory is the foobar install directory if you run foobar from a shortcut, or launch it directly, but if foobar starts from you clicking an associate file (eg .mp3), then the working directory is the directory where the mp3 resides. I wouldn't recommend using this.

Code: [Select]
$imageabs2(,,,,,,,,/images\art.png,)

It will also seek for art.png in X:\%foobar_install_directory%\images\art.png.

yep. the path (/images\art.png) will be altered to %foobar_install_directory%\images\art.png.



foo_uie_single_column_playlist

Reply #1137
IMHO the way to move tracks in a playlist is extremely unintuitive.

First, i had no clue at all how to do it. I searched the config pages if there is an option. After about 5mins, the idea crossed my mind, that it may work in combination with shift, crtl or alt. Only that way (trial and error) i found out how it works. If i would be less experienced with computers, i probably wouldn t have found it at all.


While i agree to an extent, This plugin is clearly not for computer-illiterates as it requires some pseudo-code understanding at the very least.

foo_uie_single_column_playlist

Reply #1138
absolute path worked, thank you

i have a bit of a problem with my code here, i'm trying to use a noalbum image and a cover overlay image, and it does work when i go to settings and use apply, but if i, for example, right click a directory and play in foobar then my noalbum and overlay images don't work.  not sure if it is because i'm, using the same dimensions for all images.

I once had the same problem. Here's the answer I got:

Code: [Select]
$imageabs2(,,,,,,,,images\art.png,)

It will seek for art.png in X:\%foobar_install_directory%\images\art.png.

not quite... the path (images\art.png) is unaltered, and how it is interpreted is determined by windows (which uses the "working directory" as the base). The working directory is the foobar install directory if you run foobar from a shortcut, or launch it directly, but if foobar starts from you clicking an associate file (eg .mp3), then the working directory is the directory where the mp3 resides. I wouldn't recommend using this.

Code: [Select]
$imageabs2(,,,,,,,,/images\art.png,)

It will also seek for art.png in X:\%foobar_install_directory%\images\art.png.

yep. the path (/images\art.png) will be altered to %foobar_install_directory%\images\art.png.




foo_uie_single_column_playlist

Reply #1139
sooo, is there any way to sort the stuff on the plugin without re-adding/manually moving the items?

foo_uie_single_column_playlist

Reply #1140
Nope, no built-in sorting system yet. You can specify a custom sorting string in foobar preferences though. It works.

foo_uie_single_column_playlist

Reply #1141
where in the preferences?

foo_uie_single_column_playlist

Reply #1142
Preference > General > Sort incoming files by

This is what I use:
Code: [Select]
$if($if3($meta_test(album artist),%VARIOUS%,),Various Artists,%ARTIST%) - $if(%TRACKNUMBER%,%DATE% - %ALBUM% - %DISCNUMBER% - %TRACKNUMBER% - )%TITLE%

foo_uie_single_column_playlist

Reply #1143
is there a way to get the total time of the tracks in the group? like the length of an album to be displayed in the header?

foo_uie_single_column_playlist

Reply #1144
Preference > General > Sort incoming files by

This is what I use:
Code: [Select]
$if($if3($meta_test(album artist),%VARIOUS%,),Various Artists,%ARTIST%) - $if(%TRACKNUMBER%,%DATE% - %ALBUM% - %DISCNUMBER% - %TRACKNUMBER% - )%TITLE%

doesn't work if the files are already there though . what i do is i use the Album List plugin(not the column), i rescan the media library, i empty out the whole playlist, and then i just add all my songs from the Album List. the thing is, the album list is really picky when it comes to different album dates. eg, two CDs of the same album. on the first one the date is 1982 and the second one is 2005. so it doesn't order it right

foo_uie_single_column_playlist

Reply #1145
It's weird.. Because it works perfectly for me...

I'm using Album List panel too. At first, I thought this "sort incoming files by" option was only meant to sort new files added to the library. But after some investigation, I noticed that the option have an effect in the way files are displayed in SCP. For instance, if you take the string I posted above, remove %date%, then try to send files from an artist from Album List to the playlist (i.e. SCP), you will see that albums are displayed in wrong %date% order. Put back %date% in the string and everything works. This is how it sorts my files:

Code: [Select]
*ARTIST 1
   *1998 - ALBUM 1
      *01 - TITLE 1
      *02 - TITLE 2
   *1999 - ALBUM 2 DISC 1
   *1999 - ALBUM 2 DISC 2
*ARTIST 2
   *SINGLE ALBUM TRACKS
      * TITLE 1
      * TITLE 2
      * ...
   *2002 - ALBUM 1
   *...
*VARIOUS ARTISTS
   *1982 - ALBUM 1
   *...


I tried last week playlist tree and I took note that "sort incoming files by" does not have an effect on the way files are displayed in playlist. I guess it is a "feature" from Album List...

Maybe I'm missing something, but let me know anyway.

foo_uie_single_column_playlist

Reply #1146

Preference > General > Sort incoming files by

This is what I use:
Code: [Select]
$if($if3($meta_test(album artist),%VARIOUS%,),Various Artists,%ARTIST%) - $if(%TRACKNUMBER%,%DATE% - %ALBUM% - %DISCNUMBER% - %TRACKNUMBER% - )%TITLE%

doesn't work if the files are already there though . what i do is i use the Album List plugin(not the column), i rescan the media library, i empty out the whole playlist, and then i just add all my songs from the Album List. the thing is, the album list is really picky when it comes to different album dates. eg, two CDs of the same album. on the first one the date is 1982 and the second one is 2005. so it doesn't order it right

Go to the "Edit > Sort" menu.  The first one is your default custom sort string, the others are common sorting schemes.  Select the one you want, and it will sort your current list.  I had just used it, so I know it is working (for me at least).

foo_uie_single_column_playlist

Reply #1147
ty. that is EXACTLY what i was looking for

foo_uie_single_column_playlist

Reply #1148
Just a quick report, pressing Page Up when you're on the first playlist item crashes foobar. 0.5b/Nov 24 build. Thanks.

Fixed in 0.5.4 beta, thanks.
f to c to f to c

foo_uie_single_column_playlist

Reply #1149
doesn't happen here...

edit: using 0.5.4 btw