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

foo_uie_single_column_playlist

Reply #1000
the problem is with the win32 list control, as terrestrial would probably have to do more things like position / scrollbar stuff by himself. if he couldn't implement arbitrary collapse / expand feature, i would like "collapse / expand everything" command at least (for quick overview of the playlist's groups).

foo_uie_single_column_playlist

Reply #1001
Not sure if its possible, but maybe he could base the component around a treeview control instead of a list control. Then collapsing could be implemented easily. This would also allow a lot more customization like multiple levels of groups.

foo_uie_single_column_playlist

Reply #1002

terrestrial, i would like to request one (or two) features

please, add the command (assignable to a keyboard shortcut) to toggle "collapse" of all groups just to group headers. it would auto-expand on doubleclick on any group (and start playback on its first item). you could also add features like auto-exapnd on hover (after given time) etc.

similar feature would be to auto-expand playing group and collapse everything else.

also, it would be nice to have those group-related summary infos and info whether given group has item that is playing or not.

thank you


if a group was collapsed would songs inside be played? or would the playlist skip over it?



I think that should be an option. It would actually be pretty cool feature in making playlists if you could selectively expand albums

I like the idea of the now playing album being expanded too.

I think all of this would have to be optional though.

It would also have to save what is expanded/not on close/open.

It would also be kinda nice if text rendering was crisper and more like cleartype. :]
hi

foo_uie_single_column_playlist

Reply #1003
Is there a chance to get to know what features tererestrial is programming?

foo_uie_single_column_playlist

Reply #1004
Small annoyance. When I add tracks to the queue, SCP blanks for a moment. I've also noticed that F2K seems to save changes to tracks played minutes prior and also at shudown.  Perhaps it's normal behaviour I just hadn't noticed prior to using SCP.

foo_uie_single_column_playlist

Reply #1005
I think that should be an option. It would actually be pretty cool feature in making playlists if you could selectively expand albums

I think It might work best if you could independently set the number of rows for a group.
Imagine:
Code: [Select]
$if(%isplaying%,$grouprows(10),$grouprows(5))

or (what Ive been wanting to do):
Code: [Select]
$ifgreater(%discnumber%,1,$grouprows(1),)



The current set number of group rows could then become the default.
elevatorladylevitateme

foo_uie_single_column_playlist

Reply #1006
This seems like a very promising plugin. I have a few suggestions, which most likely already been suggested...

1. Increase the size of the boxes the code is in. I hate how I'm trying to make a working config, and all I have is one tiny little 6 line box to edit the code. I'd like that bot to be much bigger, or better yet, re-sizable. Also, the ability to interact with the playlist while that box is up would be nice too.

2. Allow for a way for the user to assign a command for a double click on empty space in the playlist. Columns_UI had an option to do this. I got accustomed to double clicking empty space to clear the playlist. I'd like to still be able to do that.

foo_uie_single_column_playlist

Reply #1007
This seems like a very promising plugin. I have a few suggestions, which most likely already been suggested...

1. Increase the size of the boxes the code is in. I hate how I'm trying to make a working config, and all I have is one tiny little 6 line box to edit the code. I'd like that bot to be much bigger, or better yet, re-sizable. Also, the ability to interact with the playlist while that box is up would be nice too.

I second that and would also like to be able to select all and clear all text. Dragging to select is a pain in this tiny window (ditto for TIM).

foo_uie_single_column_playlist

Reply #1008
Short report. Tab and Space keyboard shortcuts (e.g. Ctrl+Tab to switch playlist tabs or Space to pause/play) don't work when the playlist is in focus.
f to c to f to c

foo_uie_single_column_playlist

Reply #1009
I think I found a bug:

This bit of code:

$imageabs2(104,104,,,,,5,3,'X:\Covers\'%artist%' - '%Album%'.jpg',)

works fine, that is until a file with a special character comes along. For instance the file:

X:\Covers\Godspeed You Black Emperor - F#A# (Infinity).jpg

will not get displayed unless I take out the #'s and rename the ID3 tags. The same goes for any file with a '&' in the title.

foo_uie_single_column_playlist

Reply #1010
I think I found a bug:

This bit of code:

$imageabs2(104,104,,,,,5,3,'X:\Covers\'%artist%' - '%Album%'.jpg',)

works fine, that is until a file with a special character comes along. For instance the file:

X:\Covers\Godspeed You Black Emperor - F#A# (Infinity).jpg

will not get displayed unless I take out the #'s and rename the ID3 tags. The same goes for any file with a '&' in the title.


Try this code:
$imageabs2(104,104,,,,,5,3,$replace('X:\Covers\'%artist%' - '%Album%'.jpg',#),)

foo_uie_single_column_playlist

Reply #1011
Try this code:
$imageabs2(104,104,,,,,5,3,$replace('X:\Covers\'%artist%' - '%Album%'.jpg',#),)


doesn't the replace function take three parameters?

Anyways, I'm not wanting to replace the #'s because the #'s are in the filename. #'s are not illegal characters in windows systems.

edit: here is the code I'm using:

$imageabs2(104,104,,,,,5,3,'X:\Covers\'$replace(%album artist%' - '%Album%,'/',,'\',,:,,|,,?,,'"',>,,<,)'.jpg',)
$imageabs2(104,104,,,,,5,3,'X:\Covers\'$replace(%album artist%' - '%Album%,'/',,'\',,:,,|,,?,,'"',>,,<,)'.png',)
$imageabs2(104,104,,,,,5,3,'X:\Covers\'$replace(%album artist%' - '%Album%,'/',,'\',,:,,|,,?,,'"',>,,<,)'.gif',)

which works for every single album in my collection except for the GYBE album. What the heck... The album art plugin displays the gybe cover fine. (which used the exact same code, except it used wildcards instead of the three different lines for each format).

foo_uie_single_column_playlist

Reply #1012
new version. mostly internal changes / some optimizations.

 


foo_uie_single_column_playlist

Reply #1015
ok, I uploaded a new version with support for the mouse wheel.

foo_uie_single_column_playlist

Reply #1016
It works.
Thanks for this and the new version - according to my task manager, the cpu usage has changed a bit for the better overall.

I see the topic of rearranging the tracks in the playlist has already been brought up here, but no resolution was given. Here are a few thoughts and ideas on that subject, hope you find them of any value.
1) Not only there is no dragging, we also can't cut and/or copy the tracks from the playlist. Inserting them from the album list works all right, so I guess the other ones can be implemented too.
2) The drag and drop rearranging doesn't really have to be identical to the one in the columns playlist. With real-time position updating, retaining the distances between selected tracks and whatnot. While it certainly would be nice, I can't envision that in the context of scpl - especially the first one.
Do something simpler, maybe? Like Windows' native drag and drop. We select the tracks, then hold down left muse button again, the cursor changes its shape to the familiar arrow with a dotted frame under it. While dragging, the tracks stay on their positions until we release the mouse button. And then they are automatically cut from their places, sticked together (keeping the order though) and pasted/inserted into the new position, right after the track above which we released the button (if the mouse button is released above the group header, tracks will be pasted before the group). And that's that.

Or you can add some inner indicator of where the dragged tracks will be going, too.
The simpler way is just draw a line of some (hardcoded or customizable) color there where the tracks will be inserted if we release the button right now.
A more advanced one would require introducing an additional variable - %_dragmarker% or something, which we will use to detect if the currently rendered track is the one after which the tracks will be pasted, to change its view accordingly.

What do you think?

foo_uie_single_column_playlist

Reply #1017
Changing playlist from the context menu doesn't work anymore.

foo_uie_single_column_playlist

Reply #1018
^^ fixed.

to rearrange tracks hold down the alt + mouse or alt + up/down. moving isn't optimized, so the whole playlist has to be reindexed.

foo_uie_single_column_playlist

Reply #1019
great plugin so far...
but I have one issue/question. I just updated after long time and found something I don't like ^^
Before I had the version from september 24.
after I installed the version from today the font size increased strangly, but just from the first row of the item display!
as you can see here:

thx

callisto
fb2k on OSX: flac q8 > rockboxed Sansa e280v1: Vorbis q5.0

foo_uie_single_column_playlist

Reply #1020
Quote
to rearrange tracks hold down the alt + mouse or alt + up/down. moving isn't optimized, so the whole playlist has to be reindexed.


Yay! Thanks.
Since now it's like this, an option to not break groups while moving would be great too. At least for the case when the tracks have been selected with ctrl-clicking on the groups' headers (only).

Also, two small issues here:
1. When you select multiple tracks and then right-click on the header of a group not holding down ctrl or shift, selection completely switches to this group. Even if this group is completely included in the selection.
2. If I right-click anywhere in the playlist (to call the context menu) and then click on any header (discarding the menu), only the first track in this header's group would be selected.

foo_uie_single_column_playlist

Reply #1021
right clicking while a few tracks are selected loses the selection. Now, The only way to access the context menu for a group of selected tracks is via the keyboard. Is this bug still present, And can it be fixed?

Thanks in advance for all the hard work you've put into your plugins, terrestrial.

foo_uie_single_column_playlist

Reply #1022
right clicking while a few tracks are selected loses the selection. Now, The only way to access the context menu for a group of selected tracks is via the keyboard. Is this bug still present, And can it be fixed?


Well, with the latest update this bug is gone

foo_uie_single_column_playlist

Reply #1023
Quote
right clicking while a few tracks are selected loses the selection
Works for me. With the version dated as Nov 22 2006 - 23:21:26.

foo_uie_single_column_playlist

Reply #1024
Yeah, I posted before checking the very latest. Works here aswell. Kudos to terrestrial on his skills.