IPB

Welcome Guest ( Log In | Register )

foo_uie_single_column_playlist, single column playlist viewer
terrestrial
post Aug 29 2006, 03:40
Post #1





Group: Members
Posts: 274
Joined: 24-July 06
Member No.: 33259



I have made a plugin that displays the playlist in a single column with "headers", which I find useful for creating a narrower and smaller layout.



This is a beta so user beware. Download

For documentation, please refer to the wiki. (thanks to FofR, and the other contributors).

Requires:

MS Visual C++ 2005 Runtime Library
GDI+ - only needed for Windows 2000

This post has been edited by terrestrial: Nov 21 2006, 03:02
Go to the top of the page
+Quote Post
 
Start new topic
Replies
RevivalofHonor
post Sep 1 2006, 01:31
Post #2





Group: Members
Posts: 90
Joined: 27-September 04
Member No.: 17326



I'm having quite a bit of fun with this plug-in, just as with your track_info_mod plug-in.

However, I'm having a problem. Maybe it's something you haven't implemented, or maybe it's dumb scripting on my part, but I'm trying to make a script that handles albums playlists and singles playlists. For singles playlists, I have an exclamation point (!) precede the playlist name (for example, !Rock), while albums playlists are normally named (for example, Story of the Year).

Here is my code.

Group By
CODE
$if($stricmp($left(%playlist_name%,1),!),%playlist_name%,%album%)


Item Display
CODE
$ifequal($mod(%list_index%,2),0,
$drawrect(0,0,0,0,brushcolor-40-40-40 pencolor-null),)
$if(%_selected%,$drawrect(0,0,0,0,brushcolor-SYSCOL-13 pencolor-null))
$if(%_focused%,$drawrect(0,0,0,0,brushcolor-null pencolor-SYSCOL-6))
$if(%_selected%,$textcolor(SYSCOL-9),$textcolor(SYSCOL-8))
$if(%isplaying%,$drawrect(0,0,0,0,brushcolor-null pencolor-255-255-255))
$padding(10,0)
$font(,16,,230-230-230)
$align(left,middle)$if($stricmp($left(%playlist_name%,1),!),%list_index%,%tracknumber%)
$font(,10,,230-230-230)
$align(left,top) '['%length%']'$align(right,top)%title%
$font(,8,,230-230-230)
$alignset() - $align(right,middle)%artist%[ '['Arr. - %arranger%']']


Group Display
CODE
$drawrect(0,0,0,0,brushcolor-130-130-255 pencolor-null)
$padding(4,0)
$if($stricmp($left(%playlist_name%,1),!),
$align(left,top)Playlist: $right(%playlist_name%,$sub($len(%playlist_name%),1)),
$align(left,top)%album%[ '['%date%']']$align(right,top)%composer%)


It's supposed to display album information for albums playlists, while showing only the playlist name for singles playlists. Any help would be appreciated.

Edit: Here is what my foobar2000 currently looks like.
Singles view
Albums View

This post has been edited by RevivalofHonor: Sep 1 2006, 14:15
Go to the top of the page
+Quote Post

Posts in this topic
- terrestrial   foo_uie_single_column_playlist   Aug 29 2006, 03:40
- - vonmeth   Oooo, great idea. =)   Aug 29 2006, 04:42
- - year98   It's good idea... But It doesn't work for ...   Aug 29 2006, 04:46
- - terrestrial   there were supposed to be some defaults loaded, bu...   Aug 29 2006, 04:54
- - year98   It's not working as ever... Only shows black ...   Aug 29 2006, 05:05
- - terrestrial   did you set the "row height"? maybe rest...   Aug 29 2006, 05:08
- - year98   Yes, I changed row height, but result was same. li...   Aug 29 2006, 05:13
- - vonmeth   Try changing the height to 40, and I'm sure so...   Aug 29 2006, 05:29
- - year98   Oh, thx it works...^^ Then, why edge style is alwa...   Aug 29 2006, 05:39
- - terrestrial   edge style isn't implemented yet.   Aug 29 2006, 05:47
- - Anas   Thanks, I like it. Looks very promising! I als...   Aug 29 2006, 07:43
- - unknownllama   Great Plugin! Perfect for my new mini foobar s...   Aug 29 2006, 08:25
- - Strictly4me   Perfect for my sidebarconfig! - Thanks. ((...   Aug 29 2006, 09:05
- - FofR   Are those album headers tracks?   Aug 29 2006, 10:26
- - foosion   Some first (negative) impressions:The playlist vie...   Aug 29 2006, 10:50
- - Andreasvb   Great idea, will try it. I really like the groupi...   Aug 29 2006, 11:34
- - Hamallainen   Hi, Thanks a lot, really good idea that's v...   Aug 29 2006, 12:37
- - vlada   How can I display it? I don't see it anywhere ...   Aug 29 2006, 20:14
|- - vonmeth   I am encountering the same problem with the ctrl+p...   Aug 29 2006, 21:49
- - skelly831   Thanks terrestrial, I can see this plugin becoming...   Aug 29 2006, 23:44
- - vonmeth   "No focus rectangle for the active item. I re...   Aug 30 2006, 01:26
- - mazy   i really like this plugin, quick try with it: a...   Aug 30 2006, 03:14
|- - skelly831   QUOTE (mazy @ Aug 29 2006, 19:14) i reall...   Aug 30 2006, 03:57
|- - alphaex32   QUOTE (mazy @ Aug 29 2006, 22:14) i reall...   Aug 31 2006, 15:05
- - mazy   skelly831, thanks, but it's terrestrial who ma...   Aug 30 2006, 03:59
|- - kanak   QUOTE (mazy @ Aug 30 2006, 08:59) skelly8...   Aug 31 2006, 14:05
- - 4nt1   terrestrial please listen to foosion, he knows wha...   Aug 30 2006, 06:40
- - Yotsuya   Is there a way to define the color for the backgro...   Aug 30 2006, 21:38
- - terrestrial   QUOTE Thanks, I like it. Looks very promising...   Aug 31 2006, 06:50
- - terrestrial   QUOTE separate height for group display and item d...   Aug 31 2006, 07:31
|- - Yotsuya   QUOTE (terrestrial @ Aug 31 2006, 02:31) ...   Aug 31 2006, 08:05
- - Yotsuya   This isnt specific to this plugin, but can anyone ...   Aug 31 2006, 08:39
- - mazy   just a test using the track info mod and foo_uie_s...   Aug 31 2006, 15:18
- - terrestrial   looks good, mazy could you do me a favor and che...   Aug 31 2006, 16:08
|- - mazy   QUOTE (terrestrial @ Aug 31 2006, 17:08) ...   Aug 31 2006, 16:16
- - FofR   My request: Collapsible headers. Im going to play ...   Aug 31 2006, 16:14
- - 4nt1   i second collapsable headers   Aug 31 2006, 17:19
- - FofR   Upon install, with no modification I get something...   Aug 31 2006, 18:01
- - terrestrial   a restart should fix it. There are still some sett...   Aug 31 2006, 19:30
- - alphaex32   I'm not very familiar with the modified tracki...   Aug 31 2006, 20:18
- - Yotsuya   $imageabs(,,images\backdrop.png,) If yo...   Aug 31 2006, 20:32
- - alphaex32   Oh, ok. I just remembered that the group headers n...   Aug 31 2006, 20:35
- - FofR   QUOTE (Yotsuya @ Aug 31 2006, 20:32) EDIT...   Aug 31 2006, 22:24
- - Yotsuya   So basically each row automatically offsets the im...   Aug 31 2006, 23:31
- - RevivalofHonor   I'm having quite a bit of fun with this plug-i...   Sep 1 2006, 01:31
- - Yotsuya   Using FofR's idea for embedding images beyond ...   Sep 1 2006, 04:40
- - FofR   Nice idea using the %list_index%, I hadn't tho...   Sep 1 2006, 08:27
- - FofR   I want to add some details about $drawrect to...   Sep 1 2006, 10:04
- - Jensen   Great plugin! But why don't you allow us ...   Sep 1 2006, 10:33
- - Xerion   Why doesn't this component have an every secon...   Sep 1 2006, 11:30
- - FofR   QUOTE (Xerion @ Sep 1 2006, 11:30) Why do...   Sep 1 2006, 11:32
- - Xerion   QUOTE (FofR @ Sep 1 2006, 12:32) QUOTE (X...   Sep 1 2006, 11:58
- - mazy   QUOTE (FofR @ Sep 1 2006, 11:04) I want t...   Sep 1 2006, 18:06
- - alphaex32   I love this plugin. I'd like to request a song...   Sep 1 2006, 21:01
|- - mazy   QUOTE (alphaex32 @ Sep 1 2006, 22:01) I l...   Sep 2 2006, 10:53
- - Blitzmeister   Has any tryed to get the album art in the tracks?   Sep 2 2006, 05:20
- - RevivalofHonor   I have a new question, which is probably related t...   Sep 2 2006, 17:57
- - SwiftBass   EDIT: nevermind problem solved   Sep 2 2006, 18:42
- - FofR   QUOTE (RevivalofHonor @ Sep 2 2006, 17:57...   Sep 2 2006, 19:00
- - RevivalofHonor   Thank you, FofR. I guess I did something wrong wi...   Sep 2 2006, 19:09
- - tool++   Stuff keeps disappearing   Sep 2 2006, 19:53
- - zackorah   QUOTE (Blitzmeister @ Sep 1 2006, 22:20) ...   Sep 2 2006, 20:39
- - sHsIkuA   Hi there, thanks for this great plugin theres som...   Sep 2 2006, 21:41
|- - cartman(2vd)   QUOTE (sHsIkuA @ Sep 2 2006, 22:41) Hi th...   Sep 2 2006, 23:06
|- - sHsIkuA   QUOTE (cartman(2vd) @ Sep 2 2006, 16...   Sep 3 2006, 11:42
|- - cartman(2vd)   QUOTE (sHsIkuA @ Sep 3 2006, 12:42) QUOTE...   Sep 3 2006, 17:02
- - vonmeth   QUOTE (zackorah @ Sep 2 2006, 13:39) CODE...   Sep 2 2006, 22:06
- - upNorth   @terrestrial: IMHO, this is the most exciting plug...   Sep 2 2006, 22:33
- - mazy   terrestrial, seeing all the posts about other form...   Sep 2 2006, 22:43
- - zackorah   QUOTE (upNorth @ Sep 2 2006, 15:33) @zack...   Sep 2 2006, 23:42
|- - david_dl   QUOTE (zackorah @ Sep 3 2006, 11:42) OT...   Sep 3 2006, 23:04
- - FofR   Can I see your code for that? I'd like to play...   Sep 3 2006, 00:46
- - tool++   That would be ridiculously insane. Sorta WMP11 st...   Sep 3 2006, 01:03
|- - sicutero   QUOTE (tool++ @ Sep 3 2006, 03...   Sep 3 2006, 15:15
|- - tool++   QUOTE (sicutero @ Sep 3 2006, 15:15) QUOT...   Sep 3 2006, 21:01
|- - sicutero   QUOTE (tool++ @ Sep 3 2006, 23...   Sep 3 2006, 21:12
- - zackorah   QUOTE (FofR @ Sep 2 2006, 17:46) Can I se...   Sep 3 2006, 01:15
- - tool++   That is fricken sweet. How would I adapt my curre...   Sep 3 2006, 01:40
- - alphaex32   I've got a few more ideas: First, variable lin...   Sep 3 2006, 06:56
- - SwiftBass   May I recommend a mouse activated inline metafield...   Sep 3 2006, 07:33
- - shane 4 sure   Beat me to death but placing this plug-in in the c...   Sep 3 2006, 08:23
|- - vonmeth   QUOTE (shane 4 sure @ Sep 3 2006, 01:23) ...   Sep 3 2006, 09:28
- - shane 4 sure   @ vonmeth Thanks a lot for the hint.   Sep 3 2006, 09:59
- - FofR   QUOTE (mazy @ Sep 1 2006, 18:06) there...   Sep 3 2006, 13:07
- - 4nt1   ok I am sure someone has said this before but ther...   Sep 3 2006, 15:29
- - Comwan   QUOTE (terrestrial @ Aug 29 2006, 03:40) ...   Sep 3 2006, 15:56
- - sHsIkuA   heh we all just have to wait its up to the develo...   Sep 3 2006, 18:08
- - Superunknown   I've put the component in the right folder, it...   Sep 3 2006, 19:03
- - kanak   @superunknown Go to Column UI layout options and ...   Sep 3 2006, 19:50
- - Superunknown   it has !! thank you soo much !   Sep 3 2006, 20:12
- - tool++   Aww don't apologize, makes me feel mean I...   Sep 3 2006, 22:06
- - BlindSeer   Nice component. It would be very useful to have a ...   Sep 3 2006, 23:00
|- - acedriver   QUOTE (BlindSeer @ Sep 4 2006, 06:00) Nic...   Sep 4 2006, 00:06
|- - david_dl   QUOTE (acedriver @ Sep 4 2006, 12:06) QUO...   Sep 4 2006, 00:30
- - zackorah   QUOTE (FofR @ Sep 2 2006, 17:46) (obviou...   Sep 3 2006, 23:04
- - skelly831   This plugin is sweet.   Sep 4 2006, 00:56
- - terrestrial   QUOTE (RevivalofHonor @ Aug 31 2006, 19:3...   Sep 4 2006, 04:18
|- - alphaex32   QUOTE (terrestrial @ Sep 3 2006, 23:18) M...   Sep 4 2006, 05:42
- - carmenm   QUOTE (zackorah @ Sep 3 2006, 16:04) Figu...   Sep 4 2006, 08:12
- - Yotsuya   I would like to request the ability to disable, hi...   Sep 4 2006, 10:16
14 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: 18th December 2014 - 10:17