IPB

Welcome Guest ( Log In | Register )

foo_uie_playlists_dropdown, Playlists Dropdown - Columns UI Extension
mixcherry
post May 16 2006, 23:59
Post #1





Group: Developer
Posts: 255
Joined: 9-July 04
From: Poland / Warsaw
Member No.: 15201



Playlists Dropdown v0.7.6

This plugin displays the playlists in a dropdown list:


Download
Playlists Dropdown

Source code
github.com/karolsarnacki/foo_uie_playlists_dropdown

Some features:
  • Customizable icons.
  • Configurable playlist titles on list.
  • Configurable fonts and colors.
  • Sorting playlists by various criteria.
  • Drag & Drop support.
  • Convenient context-menu.
The list can display various information about playlists (through formatting strings):
  • %title% Name of the playlist.
  • %lock% Present if the playlist is locked (returns name of the lock, for example Autoplaylist or Read-only).
  • %size% Number of items (songs) the playlist contains.
  • %length% Playlist's length (duration), formatted as [WK][D][HH:]MM:SS.
  • %length_hours% Playlist's length (duration), formatted as [HH:]MM:SS.
  • %length_seconds% Playlist's length (duration), in seconds, formatted as an integer.
  • %filesize_natural% Formatted total filesize of the playlist (e.g. 62.1GB or 322KB).
  • %filesize% Total filesize of the playlist in bytes
  • %isplaying% Present if the playlist is currently being played (to be used as a switch for $if()).
  • %isactive% Present if the playlist is active (to be used as a switch for $if()).
  • %list_index% Index of the playlist.
  • %list_total% Total number of playlists.
  • %_list% Special field to separate rendering of control (when it's closed) and the list (to be used as a switch for $if()).
ChangelogTo-do list
  • Customizable overlay icons / Use overlays for locked playlists (?) (0.7.7)
  • Auto-assigning icons to playlists using their name/lock/size etc. (titleformatting?) (0.7.8)
  • In-place rename (0.7.9)
  • Panel version (0.8)
  • Button version (0.8.1)
  • D&D playlists/items inside listbox using LMB
  • Better separators (without empy playlists)
  • Text on separators
  • Use global variables from Columns UI
  • Option to center text
  • FCL import/export (?)
  • Configurable action on playlist delete (go to previously active) (core?)
  • Aggregate functions ($avg('%field%'), $sum(), $min(), $max(), $count()) (?)
  • Playlist filtering (?)
  • Different configurations for different panels (??)
  • Grouping (???)
The Not-to-do list
Please do not discuss / request this:
  • None / Sunken / Grey border
  • Make combo-box editable (e.g. to type and find a playlist)


This post has been edited by mixcherry: Nov 21 2013, 11:39


--------------------
http://foobar2000.pl/ :: unofficial polish forum
Go to the top of the page
+Quote Post
 
Start new topic
Replies
mixcherry
post Jun 7 2006, 08:41
Post #2





Group: Developer
Posts: 255
Joined: 9-July 04
From: Poland / Warsaw
Member No.: 15201



QUOTE (Zimdgre @ Jun 6 2006, 16:07) *
I have a request which is not likely would be done, but It'll be really nice if this dropdown plugin can be configured to act like the address bar from Windows Explorer, so we can type the name of the playlist to the dropdown box when it gets focus.

There are only just a few keyboard shortcuts that assigned to a single keystroke by default, like Z, X, C, V, so it's not a big deal if this feature requires a modification on those shortcuts.
I'll think about it, but this is not trivial (especially when I use owner drawing), so I wouldn't expect it very soon. I'd say, 'never' is very possible time. I'd rather make my combobox to highlight items according to keys you press (e.g. highlight 'Default' when you press 'D').

QUOTE (unabatedshagie @ Jun 6 2006, 16:20) *
question, how would I go about chnaging the order of the playlists using the dropdown? Is the move up move down in the context menu supposed to move the playlist or the actual component?
See the answer for mil3s questions below. The 'Move up/down' are standard Columns UI's Layout commands and they affect actual component, not list of playlists.

QUOTE (Squeller @ Jun 6 2006, 16:30) *
A request: Would you please add support for display modes "none", "grey" and "sunken"?
I'm afraid that with standard Windows' Dropdown List it's not as easy as with e.g. Album Art or Track Info (or Quicksearch). Some code sample would be very helpful, but AFAGK (As Far As Google Knows wink.gif), I'd have to do some nasty 'tricks', and this is the thing I do not like very much. I'd also like to have this as an option (so mil3s doesn't have to worry, it would look like now for default), but I can't find way to make my ComboBox borderless... Sorry.

So please, don't request / discuss about 'none' / 'grey' / 'sunken'. If I find a way to implement it, I'll implement it.

QUOTE (roentgen @ Jun 6 2006, 16:39) *
well... having '-' playlists only to show separators surely wasn't on my wish list tongue.gif...
Wasn't that your request?:
QUOTE (roentgen @ May 17 2006, 13:23) *
I'm wonedring... is there some custom sorting available? 'cause I want the drop-down menu to be sorted by name of playlist not by their order on playlist tabs
wink.gif

QUOTE (roentgen @ Jun 6 2006, 16:39) *
anyhow... just tested this functionality... and seen some kind of bug
With having the dropdown sorted by %title% and having a '-' playlist, the separator is shown in a different position
QUOTE (mixcherry @ Jun 6 2006, 12:51) *
Using separators and sorting dropdown list can result in some unpredictable mess wink.gif
tongue.gif

QUOTE (roentgen @ Jun 6 2006, 16:39) *
now... something from my own wishlist tongue.gif : after using the dropdown menu focus should be set on playlist (or pressing Esc key should deselect the menu and set focus on playlist)... so key down would go to the next item in playlist... not to the next playlist
Yes, that would be useful option, I'll add it.

QUOTE (roentgen @ Jun 6 2006, 16:39) *
anyway... great job so far smile.gif
Thanks smile.gif

QUOTE (mil3s @ Jun 6 2006, 17:28) *
Thanks mixcherry for the new version. The dividers are awesome.

A few other requests for future versions.
* A fast way to change places of playlists and dividers without the need to change the layout and add the playlist switcher.
* Scrollbar for long playlist menu. More than 14 entries adds scrollbar in Firefox and Windows folder adressbar.
* Text in center of divider. Not important but would be cool. Not sure if it's possible either.
* Optional 'Playlist'-button. ... you know what I mean. Asked for it earlier.
  1. I know, I know... I have to add options to move playlists using my component. In the meantime, I'd recommend you to use Playlist Manager (from foosion's pack, I believe), just as gfngfgf mentioned.
  2. For now, scrollbar is shown with minimum 30 entries (this is the default value for standard dropdown list). I'll make it configurable with next version.
  3. Well, it's possible (everything is possible wink.gif), but that would require 2 more options under Preferences... And what sort of text should be displayed?... Different for each divider? Some static text? ...I don't know, maybe in foo_playlists_dropdown 2.0 wink.gif Or maybe the text just after '-' would be shown (e.g. if playlist name was '-yoyoyo', the divider would be shown with text 'yoyoyo' in center of it... I'll think about it).
  4. I don't remember if I answered you, but I don't think this is good idea for my little and simple component wink.gif You know, this is very individual request and I don't want to make my Preferences more messy than they are now. Same as above, maybe in 2.0...


--------------------
http://foobar2000.pl/ :: unofficial polish forum
Go to the top of the page
+Quote Post

Posts in this topic
- mixcherry   foo_uie_playlists_dropdown   May 16 2006, 23:59
- - lav-chan   That's rad. I don't think i'll use it...   May 17 2006, 00:37
- - gfngfgf   I haven't tried it out yet, but this is a real...   May 17 2006, 00:44
- - mixcherry   Thank you QUOTE The different icons especially a...   May 17 2006, 00:51
|- - lav-chan   QUOTE (mixcherry @ May 16 2006, 15:51) I ...   May 17 2006, 00:55
- - Lyx   I like the idea of this component alot! Howev...   May 17 2006, 00:54
|- - mixcherry   QUOTE (Lyx @ May 17 2006, 01:54) I like t...   May 17 2006, 01:08
- - 4nt1   very cool plugin can't wait until the to do l...   May 17 2006, 04:50
|- - lav-chan   I'm pretty sure everything you just said was a...   May 17 2006, 04:52
- - Crissaegrim   Very cool plugin, man. Kudos.   May 17 2006, 08:16
- - mil3s   Wow. Awesome. Gonna try it now. I never thought an...   May 17 2006, 09:27
- - roentgen   nice... whenever I hear about a new plugin I feel ...   May 17 2006, 12:23
- - mazy   oi, mixcherry, thanks a lot! i was hoping for ...   May 17 2006, 14:02
- - mazy   my screenshot: click for whole pic, 171kb   May 17 2006, 17:10
|- - prawns   QUOTE (mazy @ May 17 2006, 17:10) my scre...   May 17 2006, 17:55
- - 4nt1   ok one small thing how do you guys get that playba...   May 17 2006, 18:55
- - Klato   Where do you get the Playback Queue Viewer? It...   May 17 2006, 19:02
- - Anas   You can get foo_pqview by foosion here: http://foo...   May 17 2006, 19:24
- - Klato   cool thanks Anas   May 17 2006, 19:58
- - Sphix   That's nice   May 18 2006, 00:33
- - mixcherry   QUOTE (4nt1 @ May 17 2006, 05:50) very co...   May 18 2006, 03:15
- - neooffs   very nice plugin... what about automatic sorting ...   May 18 2006, 04:40
- - deagle32   Hi there, how do you activate it? I am keen to ...   May 18 2006, 12:03
|- - Squeller   <snipped, has been answered before> BTW I r...   May 18 2006, 12:52
- - mixcherry   QUOTE ("neooffs")what about automatic so...   May 18 2006, 12:43
- - mixcherry   QUOTE (Squeller)BTW I recommend a reset button to ...   May 18 2006, 13:00
|- - Squeller   QUOTE (mixcherry @ May 18 2006, 04:00) QU...   May 18 2006, 14:10
- - deagle32   Hm, I am using Columns UI and the dropdown option...   May 18 2006, 13:02
- - deagle32   Okay, I fixed it I had the pre-beta version of C...   May 18 2006, 13:41
- - mixcherry   Update to version 0.5.5: QUOTE 20060519 (v0.5.5)A...   May 19 2006, 03:52
- - 81x   Hi mixcherry Very nice plugin, thanks Couple of ...   May 19 2006, 04:45
- - 81x   QUOTE (mixcherry @ May 19 2006, 03:52) Pl...   May 19 2006, 06:05
- - unabatedshagie   I love this plugin, the only thing I'm missing...   May 19 2006, 06:52
- - mixcherry   QUOTE (81x)Very nice plugin, thanksThanks! QUO...   May 19 2006, 08:57
|- - unabatedshagie   QUOTE (mixcherry @ May 19 2006, 08:57) QU...   May 19 2006, 18:22
- - Squeller   Many thanks, mixcherry, esp. for the %length% fiel...   May 19 2006, 10:14
- - NinjaN   Hello mixcherry, Thank you very much for this pl...   May 19 2006, 11:06
|- - gfngfgf   QUOTE (NinjaN @ May 19 2006, 03:06) I wou...   May 19 2006, 13:33
- - NinjaN   No, didn't try that yet... But anyway, I am a...   May 19 2006, 14:40
- - mixcherry   QUOTE (NinjaN)Thank you very much for this plugin...   May 19 2006, 17:22
- - Zimdgre   my screenshot with foo_fullscreen, foo_notaskbar, ...   May 19 2006, 18:04
- - 4nt1   Also is it possible to remove the outer frame like...   May 19 2006, 19:38
|- - Lyx   QUOTE (4nt1 @ May 19 2006, 20:38) Also is...   May 19 2006, 19:54
- - NinjaN   QUOTE (mixcherry @ May 19 2006, 10:22) QU...   May 19 2006, 20:26
- - Zimdgre   I like this plugin, but it'll be better if it ...   May 20 2006, 09:34
- - mixcherry   QUOTE (Zimdgre)I like this plugin, but it'll b...   May 20 2006, 10:44
|- - Zimdgre   QUOTE (mixcherry @ May 20 2006, 17:44) Yo...   May 20 2006, 18:04
- - deagle32   hi mixcherry, this plugin is GREAT ...I have many ...   May 20 2006, 14:26
- - mimeryme   Thanks for this plugin mixcherry! I too was l...   May 20 2006, 16:27
- - deagle32   would it be possible to display the total filesize...   May 21 2006, 07:12
- - Zimdgre   It'll be very handy if we could delete current...   May 21 2006, 14:12
- - neooffs   the component works great, thanks for the dev and...   May 21 2006, 15:30
- - mixcherry   QUOTE (deagle32 @ May 20 2006, 15:26) hi ...   May 21 2006, 18:22
|- - Zimdgre   QUOTE (mixcherry @ May 22 2006, 01:22) QU...   May 22 2006, 13:23
- - deagle32   QUOTE Of course it would be possible smile.gif I...   May 22 2006, 01:00
- - Anas   There is this "Set max height" checkbox ...   May 23 2006, 14:25
- - neomcnasty   Hi mixcherry, first I would like to thank you for ...   May 25 2006, 22:10
- - zoidbergslo   thanks for this great plugin   May 27 2006, 12:49
- - mixcherry   QUOTE (Zimdgre @ May 22 2006, 14:23) Than...   May 28 2006, 16:50
- - gfngfgf   mixcherry: I just tried 0.5.7, and when I left-cli...   May 28 2006, 17:43
- - Bachi-Bouzouk   Hi mixcherry, very nice plugin and useful for my F...   May 29 2006, 12:11
- - mixcherry   Hi Bachi-Bouzouk! Thanks for this bug-report.....   May 29 2006, 13:07
|- - james.miller   very nice plugin, thank you:)   May 29 2006, 13:46
|- - q-stankovic   QUOTE (mixcherry @ May 29 2006, 13:07) Hi...   May 29 2006, 14:38
- - mixcherry   QUOTE (james.miller @ May 29 2006, 14:46)...   May 29 2006, 15:45
- - Bachi-Bouzouk   OOOUUUPPPSSS I forgot the link Sorry!! ...   May 29 2006, 16:09
|- - Zimdgre   QUOTE (Bachi-Bouzouk @ May 29 2006, 23...   May 30 2006, 02:37
- - Bachi-Bouzouk   the bug is not inked to my .fcs .. I updated my p...   May 30 2006, 06:25
- - mil3s   This plugin is coming along great. Nice work mixch...   May 30 2006, 15:07
|- - unabatedshagie   QUOTE (mil3s @ May 30 2006, 15:07) This p...   May 30 2006, 20:06
|- - foosion   QUOTE (unabatedshagie @ May 30 2006, 21:0...   May 30 2006, 23:07
|- - unabatedshagie   QUOTE (foosion @ May 30 2006, 23:07) QUOT...   May 31 2006, 06:08
- - mixcherry   QUOTE (Bachi-Bouzouk @ May 29 2006, 17...   May 31 2006, 12:01
- - mil3s   Yea, dividers like that, almost anyway. Not betwee...   May 31 2006, 12:31
- - mixcherry   Ahh, I see... I like this idea, and I thought abou...   May 31 2006, 13:39
- - mil3s   I like the first alternative.   May 31 2006, 13:47
- - Bachi-Bouzouk   I will send you a personal message in the coming ...   May 31 2006, 13:52
- - mazy   about those dividers, it's not easy task (i.e....   May 31 2006, 14:02
- - mil3s   ^ For mixcherrys sake I think he should keep it si...   May 31 2006, 14:26
- - mazy   well i use empty name for separators (looks good e...   May 31 2006, 15:05
- - xliu5   Don't know if it is a bug or not. The %filesiz...   May 31 2006, 18:10
- - mixcherry   QUOTE (Bachi-Bouzouk @ May 31 2006, 14...   May 31 2006, 19:30
|- - mazy   QUOTE (mixcherry @ May 31 2006, 20:30) Th...   Jun 1 2006, 01:37
- - Sphix   Really nice plugin, thanks!   May 31 2006, 21:49
- - mil3s   What is 'Set max height'?   May 31 2006, 21:57
- - Bachi-Bouzouk   now it works perfectly !! and as the drop...   May 31 2006, 22:00
- - mil3s   Any news?   Jun 4 2006, 10:04
- - mixcherry   QUOTE (mil3s @ May 31 2006, 22:57) What i...   Jun 6 2006, 11:51
- - Zimdgre   I have a request which is not likely would be done...   Jun 6 2006, 15:07
- - unabatedshagie   question, how would I go about chnaging the order ...   Jun 6 2006, 15:20
- - Squeller   A request: Would you please add support for displa...   Jun 6 2006, 15:30
|- - mazy   QUOTE (Squeller @ Jun 6 2006, 16:30) A re...   Jun 6 2006, 17:18
- - roentgen   well... having '-' playlists only to show ...   Jun 6 2006, 15:39
- - mil3s   Thanks mixcherry for the new version. The dividers...   Jun 6 2006, 16:28
|- - gfngfgf   QUOTE (mil3s @ Jun 6 2006, 08:28) * A fas...   Jun 7 2006, 00:39
|- - Squeller   QUOTE (mil3s @ Jun 6 2006, 07:28) QUOTE (...   Jun 7 2006, 07:29
- - 4nt1   yes I too second that for none, grey and sunken......   Jun 6 2006, 19:07
- - mil3s   Squeller: The border as it is now is exactly how i...   Jun 7 2006, 08:26
- - mixcherry   QUOTE (Zimdgre @ Jun 6 2006, 16:07) I hav...   Jun 7 2006, 08:41
- - mil3s   ^Thanks for your replys. Take your time. Looking f...   Jun 7 2006, 09:26
4 Pages V   1 2 3 > » 


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd August 2014 - 05:39