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

foo_uie_single_column_playlist

Reply #1150
Here's a big problem I'm having. Due to the caching used for images used in drawing the playlist, there are ugly drawing problems involved. With an image that is stretched using the imageabs2 function for the group and item rows, resizing the playlist section will result in breaking these images. There should be some sort of way to refresh the image cache on playlist window resize, or when the scrollbar is shown or hidden. I'm sure it only applies to resized images.

This also happens with album art as well when changing a sort option. The image will shrink, but not expand back to the right size.

foo_uie_single_column_playlist

Reply #1151
Hi Guys,

I think I've found something peculiar with Playlist tabs together with Single Column Playlist View.

Using this setup (NOTE: I've removed other components to highlight the issue)

Code: [Select]
Vertical splitter
- Horizontal splitter
  - Playlist tabs
    - Single Column Playlist View


If I turn off the "Playlist tabs" caption, I find that I can't resize the Playlist tabs at all.  If I change the SCP to a Columns Playlist, I can resize just fine.

Has anyone else experienced this issue?

Cheers,

c0utta

foo_uie_single_column_playlist

Reply #1152
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.

Next issue - the playlist does not scroll automatically when selecting or moving tracks. For example, when i want to move tracks further than the visible part of the playlist, i have to do FOUR things simultaneusly: hold lbutton, hold alt, move mouse, use scrollwheel.

Proposed ways to fix it:

Generally: Make the playlist autoscroll
Model1: Do it the same way columns UI does selection and moving(left mousebutton only)
Model2: add/remove tracks from selection via singleclick, or shift to define ranges. Moving via simple leftbutton-dragging.
I am arrogant and I can afford it because I deliver.

foo_uie_single_column_playlist

Reply #1153
Next usability-issue:

Rightclicking does not just access the contextmenu - it also modifies the selection of tracks.

How to reproduce:
1. click on first track
2. hold shift, then click on last track - all tracks are now selected
3. rightclick on a track in the middle - the selection will be modified AND the contextmenu will be opened
I am arrogant and I can afford it because I deliver.

foo_uie_single_column_playlist

Reply #1154
Lyx: This behavior does not happen all the time.

I just tried to re-create the problem but did not experience it. When I right clicked on the selection, the selection did not change.

However I have seen this happen before and discovered that shift+rightclick will prevent the selection from changing.

 

foo_uie_single_column_playlist

Reply #1155
Can anyone list specifically what the dependencies for this component are?

This may sound like an odd request but I am trying to hack away at getting foobar to run on a mac, and this component is presenting a bit of a challenge. I am currently exploring Crossover Mac with a WinXP bottle for compatibility.

I have been able to install the VC++ Redistributable package linked from the first post but this does not appear to be enough. In fact I have had similar problems with a default install of xp before (problem resolved after completing windows update with .net packages). I have attempted to run the .NETFX installer but it gives me all sorts of crap because I do not have IE installed. Before I go down the road of installing a full .net environment with IE and all the other crappiness that goes with it I was wondering if I could get away with simply copying some .dlls off a working windows system.


foo_uie_single_column_playlist

Reply #1157
As stated before I have already installed the VC++ runtimes. I have also installed the GDI+ package even though I am not running Win2000. Whenever I attempt to load foobar with this component I encounter the standard error:

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


I have encountered this exact same situation on a default install of WinXP SP2 before visiting windows update. So there is clearly something more than  just the runtimes that are required. Something most of us take for granted while running windows and is likely included in windows update.

foo_uie_single_column_playlist

Reply #1158
I have this config in item display:
Code: [Select]
$ifequal($mod(%_itemindex%,2),0,
$imageabs(0,0,images/playlist/background2.png,),$imageabs(0,0,images/playlist/background3.png,))
$if(%isplaying%,
$font(,,boldglow-105-105-100 glowblur-5,221-221-255),)
$if(%_selected%,$drawrect(0,0,0,0,brushcolor-64-32-32 pencolor-null))
$if(%_focused%,$drawrect(0,0,0,0,brushcolor-null pencolor-32-32-32))

$alignabs(0,0,30,17,center,middle)$textcolor(80-80-80)%list_index%
$alignabs(1150,0,30,17,center,middle)%length%
$alignabs(1190,0,30,17,center,middle)
$if($stricmp($codec(),musepack),
$if($stricmp(%codec_profile%,''Thumb''),'q3',
$if($stricmp(%codec_profile%,''Radio''),'q4',
$if($stricmp(%codec_profile%,''Standard''),'q5',
$if($stricmp(%codec_profile%,''Xtreme''),'q6',
$if($stricmp(%codec_profile%,''Insane''),'q7',
$if($stricmp(%codec_profile%,''BrainDead''),'q8',
$if($stricmp(%codec_profile%,''quality 9''),'q9',
$if($stricmp(%codec_profile%,''quality 10''),'q10',
$if($stricmp(%codec_profile%,''Unstable/Experimental''),
'qX',))))))))),
$if($stricmp($codec(),mp3),
$if($stricmp(%__extrainfo%,VBR),~,)
$if($stricmp($left(%codec_profile%,3),vbr),$right(%codec_profile%,2),%bitrate%),%bitrate%))
$alignabs(1230,0,30,17,center,middle)
$if(%__replaygain_track_gain%,'T'
$if(%__replaygain_album_gain%,'A'))
$alignabs(400,0,600,17,left,middle)%title%
$if(%isplaying%,
$font(,,boldglow-105-105-100 glowblur-5,221-221-255)
$alignabs(400,0,600,17,left,middle)%title%
$alignabs(1150,0,30,17,center,middle)'['%length%']'
$alignabs(1020,0,100,17,center,middle)
'... '%playback_time%' / '%playback_time_remaining%' ...',)
$if($or($stricmp(%album artist%,'Various Artists'),$not(%type%)),
$alignabs(100,0,300,17,right,middle)
%artist%' ... ',)
and I don't know why only the blur is active when one track is played. The color of the text doesn't change. I'm talking about the first $if(%isplaying%.. because with the second it works.
Strange!

foo_uie_single_column_playlist

Reply #1159
Code: [Select]
// If the track is currently playing
// Apply these blur effects to the text
// Otherwise do nothing.

$if(%isplaying%,
$font(,,boldglow-105-105-100 glowblur-5,221-221-255)
,)

Your code is only telling it to apply the glow for the nowplaying track. What is it that you are trying to do?

foo_uie_single_column_playlist

Reply #1160
I cannot get this plugin to work.  I'm looking high and low under Columns UI options in preferences, and I can't find SCPL at all.

Can someone PLEASE give me a step-by-step to open just the bloody SCPL preferences window?  I can't find http://wiki.hydrogenaudio.org/index.php?ti...SCP_config1.PNG anywhere!!

Yes, I have VC 2005 SDK installed, yes I have .NET installed.  I am running Windows 2000.

foo_uie_single_column_playlist

Reply #1161
I cannot get this plugin to work.  I'm looking high and low under Columns UI options in preferences, and I can't find SCPL at all.

Can someone PLEASE give me a step-by-step to open just the bloody SCPL preferences window?  I can't find http://wiki.hydrogenaudio.org/index.php?ti...SCP_config1.PNG anywhere!!

Yes, I have VC 2005 SDK installed, yes I have .NET installed.  I am running Windows 2000.


Right Click on the panel and press "settings"

foo_uie_single_column_playlist

Reply #1162
What panel?  Which settings button?

I don't see any, other than what's in the the standard Foobar window.

foo_uie_single_column_playlist

Reply #1163
What panel?  Which settings button?

I don't see any, other than what's in the the standard Foobar window.


hit Ctrl+P

then go to:
Display -> Columns UI -> Layout tab

foo_uie_single_column_playlist

Reply #1164

What panel?  Which settings button?

I don't see any, other than what's in the the standard Foobar window.


hit Ctrl+P

then go to:
Display -> Columns UI -> Layout tab


Did that, what am I looking for?  I can't find any mention of SCPL there.  It IS listed under components.

Edit: I've since tried one of the UIs at here and it seems to work.  Never mind then!

foo_uie_single_column_playlist

Reply #1165
read a tutorial or something



foo_uie_single_column_playlist

Reply #1168
Yotsuya I thought that it would change the color too (221-221-255). The second $if(%isplaying% seems to actually do that. That was the thing that puzzled me.

foo_uie_single_column_playlist

Reply #1169
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.


as long as you set the clipping region correctly, spanning images across rows shouldn't have a negative performance impact vs drawing one image.

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


you can use the sort command in trackinfo_mod.

Can anyone list specifically what the dependencies for this component are?


you can use this to find out: http://www.dependencywalker.com/  Everything should be pretty standard (on a windows machine, at least) except for the c++ runtimes.

foo_uie_single_column_playlist

Reply #1170
I use a custom tag called "grouping" and I'd like to be able to make groups in this format:

ARTIST
    -titles of tracks that do not have a GROUPING or ALBUM tag

  GROUPING if there is one, ALBUM if not
    -titles of tracks that have this GROUPING or ALBUM tag

  GROUPING if there is one, ALBUM if not
    -titles of tracks that have this GROUPING or ALBUM tag

NEXT ARTIST
etc etc

etc. Other things I'd like to do if possible: only show the ARTIST once, at the top of a stack of groups (like in the example), and order GROUPING by tracknumbers and discnumbers. For example, on a given album, tracks 1-4 might be in GROUPING1, 5-7 are not in a grouping, 8-10 are in GROUPING2, and on disc 2 of the album tracks 1-3 are in GROUPING3, and 4-6 are not in a grouping. In this case, I'd like the groups to be GROUPING1, then an ALBUM group with 5-7, then GROUPING2, then GROUPING3, then another ALBUM group.

I have no idea how to do any of this, or if it's even possible.

Also, is there a way to get the total number of list items in a group? I'm using the first method in the wiki for splitting up an album image between list items (using %list_index% instead of tracknumber, though, since that works better on albums with multiple discs), but I'd also like to be able to shrink the album image proportionately so that, for example, if there are only 4 tracks in a group that has an associated album image, it will shrink the album image so that the full image is displayed (although much smaller, of course) across those four images.

Thank you!

foo_uie_single_column_playlist

Reply #1171
sgoct: You need to develop a sort string using your GROUPING tag
File> Preferences> General> "Sort incoming files by:"
-or-
Edit> Sort> "Sort by ..."

You'll probably want to use something like
%album artist%|$if2(%grouping%,%album%)|%discnumber%|%tracknumber%

You can control the display of the group header from the "Group Display" portion of the SCPL configuration.

%_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 #1172
Using the stock Item Display configuration:

$padding(4,0)
$align(right,top)%title%
$align(left,top)$textcolor(80-80-80)%list_index%


How do I make any titles longer than 30 characters display an elipsis after the first 30 characters?

Thanks if you respond.

foo_uie_single_column_playlist

Reply #1173
Change the second line to:
$align(right,top)$left(%title%,30)$ifgreater($len(%title%),30,...,)

NOTE: You asked for characters, not pixels. Unless you use a monospace font you will get different actual string lengths depending on what characters they consist of.

foo_uie_single_column_playlist

Reply #1174
It would be great if you could access tags like %isplaying% in the group display,e.g. to color the now plying album differently.
Furthermore statistic tags would be nice, like average playcount, rating, length or the sum of those. Maybe similar to the realization in foo_playlisttree