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 736623 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

foo_uie_single_column_playlist

Reply #575

So, I've downloaded 0.9.4 and I can't seem to get this mod working.  I've downloaded and extracted it into the components folder, and when I go to Preferences and try to change the interface, only default user interface is there to be chosen.  Am I missing something?


You need to have Columns UI installed.  That is the user interface.  Single column playlist is a panel for columns UI, it does not replace it.


Thats funny because I have Columns UI installed, but it won't let me select that as a UI either.  Something isn't right...

EDIT:  I got it figured out. thanks for the help

foo_uie_single_column_playlist

Reply #576
Here's an idea I'd like to throw out there, I think it would consolidate several feature requests:

I would like to request a simple $image() function for displaying an image without absolute positioning. I would also like to see this function work with $calcwidth() and $calcheight() to return the width or height of the image. This could be very useful in developing code to compensate for images with different aspect ratios. It would be even more amazing if $calcwidth($image(image.jpg)) would return a 0 if image.jpg does not exist, allowing for better development of "no-cover" code.

foo_uie_single_column_playlist

Reply #577
is there any way I could make it display the first image it found on the designated location ? (without specifying file name e.g. folder.jpg/png)
I tried this  $imageabs2(84,84,,,,,5,3,$replace(%path%,%filename_ext%,*),)
just doesn't work

foo_uie_single_column_playlist

Reply #578
This component does not currently support wildcard matches for filenames.

foo_uie_single_column_playlist

Reply #579
a recent version added keyboard shortcuts. Make sure you have the latest one
Thats strange, I'm usually quite anal about updating my components. Updating it fixed the problem. Thanks.

foo_uie_single_column_playlist

Reply #580
I dont really understand because i updated it yesterday and still no keyboard shortcuts for me. I ll try again tonight.
Yet i think it would be really cool if we could have a option to activate the middle mouse button delete feature.

Thanks

foo_uie_single_column_playlist

Reply #581

Er, why do you want group rows to be 0? If you simply do not want a header, use !noheader! (I believe that is the syntax)

I use %_itemcount% to display (or not) my album covers.

Just out of interest, does item count work just like %totaltracks% (for correctly tagged albums of course), and give just the number of tracks per album, or is it per group? Sorry, I would test this in fb, but I'm at work atm.

foo_uie_single_column_playlist

Reply #582
It gives the number of items per group.

foo_uie_single_column_playlist

Reply #583
Is the artwork display wildcard(*.jpg) planned for future releases?


foo_uie_single_column_playlist

Reply #585
Is the artwork display wildcard(*.jpg) planned for future releases?

I hope so... I would like to see this feature very much, too!
fb2k on OSX: flac q8 > rockboxed Sansa e280v1: Vorbis q5.0

foo_uie_single_column_playlist

Reply #586
Can I specify the maximum width in pixels that a string can display, before it cuts and ends with "..."? (i guess there's a better terminology for this)

foo_uie_single_column_playlist

Reply #587
Can I specify the maximum width in pixels that a string can display, before it cuts and ends with "..."? (i guess there's a better terminology for this)

also searching for such a function since $cut only cuts of characters and is very general.
For example:
Ten characters of M are not as long as 10 characters of I
MMMMMMMMMM
IIIIIIIIII

foo_uie_single_column_playlist

Reply #588

Can I specify the maximum width in pixels that a string can display, before it cuts and ends with "..."? (i guess there's a better terminology for this)

also searching for such a function since $cut only cuts of characters and is very general.
For example:
Ten characters of M are not as long as 10 characters of I
MMMMMMMMMM
IIIIIIIIII


tornthomson: At the moment, I would just use a font that has the same width for every character. I know Lucida Console is one such font.

joule: At the moment, it does not truncate the string, but carries it over to the next line.

 

foo_uie_single_column_playlist

Reply #589
joule: At the moment, it does not truncate the string, but carries it over to the next line.


Can I limit the width of the text in any way? I guess I could draw a right aligned rectangle over the text where i don't want the text to be displayed, but maybe there's a better way.

foo_uie_single_column_playlist

Reply #590
Can I specify the maximum width in pixels that a string can display, before it cuts and ends with "..."? (i guess there's a better terminology for this)
I use this in foo_uie_trackinfo_mod :
Code: [Select]
$ifgreater($calcwidth(%artist% - %title%),750,
$rgb(32,64,128)$cut(%artist%$rgb() - $rgb(255,128,0)%title%,55)'...'
,
$rgb(32,64,128)%artist%$rgb() - $rgb(255,128,0)%title%
)
or without colors :
Code: [Select]
$ifgreater($calcwidth(%artist% - %title%),750,
$cut(%artist% - %title%,55)'...'
,
%artist% - %title%
)
It should work in foo_uie_single_column_playlist. Change the values and see how it reacts.

foo_uie_single_column_playlist

Reply #591
Can I limit the width of the text in any way? I guess I could draw a right aligned rectangle over the text where i don't want the text to be displayed, but maybe there's a better way.

Use alignabs and make the text box the width you want and the height the height of text. This will show the last whole word that fits.

foo_uie_single_column_playlist

Reply #592

Can I limit the width of the text in any way? I guess I could draw a right aligned rectangle over the text where i don't want the text to be displayed, but maybe there's a better way.

Use alignabs and make the text box the width you want and the height the height of text. This will show the last whole word that fits.


Thanks! That was what alignabs was for.. I'll settle with that easy solution even though it doesn't provide the three dots after truncation.

foo_uie_single_column_playlist

Reply #593
Just wondering, is there a way to use alignabs but instead of having it cut off whole words, just have the text get cut off wherever it is. Maybe there could be an option to cut off the last letter instead of word. I need this so I can have a very thin playlist where long words in titles won't just disappear (instead just part of them would be shown).

foo_uie_single_column_playlist

Reply #594
Just wondering, is there a way to use alignabs but instead of having it cut off whole words, just have the text get cut off wherever it is. Maybe there could be an option to cut off the last letter instead of word. I need this so I can have a very thin playlist where long words in titles won't just disappear (instead just part of them would be shown).


Will not work with useing alignabs, must use $cut if you wish to take of characters and not whole words.

foo_uie_single_column_playlist

Reply #595
Will not work with useing alignabs, must use $cut if you wish to take of characters and not whole words.
Alright. I can't think of any good way to have the playlist not completely cut off long words in the playlist using cut, though. The only way I could think to do it would be to use a font that has a consistent character width and base the amount cut off on the width of the panel.

foo_uie_single_column_playlist

Reply #596
Will not work with useing alignabs, must use $cut if you wish to take of characters and not whole words.
Alright. I can't think of any good way to have the playlist not completely cut off long words in the playlist using cut, though. The only way I could think to do it would be to use a font that has a consistent character width and base the amount cut off on the width of the panel.


Yeah, that seems to be the best way at the moment.

foo_uie_single_column_playlist

Reply #597
I think I decided to replace my columns ui playlist by this one.

Two questions:

a) can I use columns_ui global variables? After a first test it doesn't seem so.
b) how can I easily convert a $hsl output to r-g-b syntax? (I admit I'm lazy)
c) How can I dynamically (via code) change the background color of unselected tracks?

Thanks in advance.

foo_uie_single_column_playlist

Reply #598
a) can I use columns_ui global variables? After a first test it doesn't seem so.

I thought it was added to this plugin, but the $get_global() function isn't working for me either.  It is working for me in the trackinfo_mod, however

c) How can I dynamically (via code) change the background color of unselected tracks?


I use something similar to this, but without the $not() surrounding the %_selected% function.  I think that this should work.
Code: [Select]
$if($and($not(%_selected%),$not(%_isplaying%)),...)

foo_uie_single_column_playlist

Reply #599
okay from now on ill post in the relative thread, but how do i set up the relative path for the imageabs2?

i have my music set up differently, all my music is in one folder, and i have all my album art in a separate folder. And my art is saved in the format %artist%.jpg

C:\Documents and Settings\xxxx\My Documents\My Music\Album Art\%artist%.jpg

that is where my album art lies, how do i put that in a relative format? where do i need to put my art so that i can use relative paths?