vagskal;671914 Wrote: > Is it possible to make CustomBrowse menus that in file lists on iPeng > show each entry on two lines, like the standard iPeng menus? How is > this done? > > In iPeng CB menus already show several lines for each entry in album > lists. But the display is different from what iPeng standard menus > show. For compilations CB menus lack the display of Year. Otherwise CB > display Album - Year - Album Artist where iPeng standard menus display > Album - Album Artist - Year. Is there any way to make CB menu display > in iPeng look like the iPeng standard menus? How is this done? > It's handled through the "jivepattern" element in the Custom Browse configuration. For example: <jivepattern>^(.*)\s\((.*)\)$</jivepattern>
Which assumes the menu if not using jivepattern will produce a string like: Some album (Some artist) And the jivepattern regular expression will make sure to capture everything before the " (" as one capture group and display it on the first line and everything within the parentheses as a second capture group and display it on the second line. If you have a menu with two lines already, the easiest way is probably just the change the SQL so it returns more information within the parentheses. -- erland Erland Isaksson ('My homepage' (http://erland.isaksson.info)) (Developer of 'many plugins/applets (both free and commercial)' (http://wiki.slimdevices.com/index.php/User:Erland). If you like to encourage future presence on this forum and/or third party plugin/applet development, 'consider purchasing some plugins' (http://license.isaksson.info)) Interested in music discovery ? See 'Social Music Discovery (SMD)' (http://forums.slimdevices.com/showthread.php?p=656713) project. ------------------------------------------------------------------------ erland's Profile: http://forums.slimdevices.com/member.php?userid=3124 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins