Re: [SlimDevices: Plugins] Custom Browse Question
Thanks... In the meantime I'll perhaps utilize special characters to prioritize sorting for a menu group or two. -- emalvick emalvick's Profile: http://forums.slimdevices.com/member.php?userid=35382 View this thread: http://forums.slimdevices.com/showthread.php?t=91988 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Custom Browse Question
If I remember correctly that's not possible at the moment. I will consider it for a future version. -- 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=91988 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
[SlimDevices: Plugins] Custom Browse Question
One, hopefully simple, question... Is it possible to set a sort for the menu groups? I see and have found the sorting within groups is fairly straight forward, but the groups themselves seem to sort alphabetically only. I want to try and have certain menu groups appear first without necessarily changing the group names. -- emalvick emalvick's Profile: http://forums.slimdevices.com/member.php?userid=35382 View this thread: http://forums.slimdevices.com/showthread.php?t=91988 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Custom Browse question
Thank you very much, Erland. -- auster auster's Profile: http://forums.slimdevices.com/member.php?userid=43850 View this thread: http://forums.slimdevices.com/showthread.php?t=86949 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Custom Browse question
auster;624961 Wrote: > > In standard track menu the track number is shown before the track name, > but in my menu track number is after the track name and justified on > right edge. > > In standard track menu the artist name is shown under the track name, > but in menu it is not shown at all. > Try changing the section Code: track track sql To something like: Code: track titleformat TRACKNUM. TITLE (ARTIST) ^(.*)\s\((.*)\)$ sql It will also affect the web interface so the result is that the artist in the web interface won't be clickable, but if you are only/mostly using iPeng this might not be an issue. auster;624961 Wrote: > > In standard track menu the length of the track is shown on the same row > than artist name and justified on right edge. > > In standard track menu the year of the album is shown on the header (?) > row justified on right. In my menu year isn't shown at all. > We need to get pippin in here if you like an answer for this, I suspect it isn't possible to accomplish this in third party menus. The track length can probably be added but it will be added directly after the track title or artist name and not justified to the right edge. The year is probably a limitation in iPeng where it only display the top 2 rows from the parent menu in the header. -- erland Erland Isaksson ('My homepage' (http://erland.isaksson.info)) (Developer of 'many plugins/applets' (http://wiki.slimdevices.com/index.php/User:Erland). If my answer helped you and you like to encourage future presence on this forum and/or third party plugin/applet development, 'donations are always appreciated' (http://erland.isaksson.info/donate)) erland's Profile: http://forums.slimdevices.com/member.php?userid=3124 View this thread: http://forums.slimdevices.com/showthread.php?t=86949 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Custom Browse question
Here is my menu. I enclosed this as txt-file also as attachment. Also enclosed screenshots how things are shown on iPeng. Thank you again, Erland! Albums1 50 album Songs album albumconcat sql ^(.*)\s\((.*)\)\s\((.*)\)$ select albums.id, concat( '(',contributors.name,')', if(albums.year=0,' ( )',concat(' (',albums.year,')')) ), substr(albums.titlesort,1,1) from albums join contributor_album on albums.id = contributor_album.album join contributors on contributor_album.contributor = contributors.id join tracks on albums.id = tracks.album left join customscan_track_attributes on tracks.id=customscan_track_attributes.track where contributor_album.role in (1,5) and tracks.audio = 1 and customscan_track_attributes.module='customtag' and customscan_track_attributes.attr='YEARSORT' group by albums.id order by contributors.namesort asc, albums.year asc, customscan_track_attributes.value asc, albums.titlesort asc track track track sql select tracks.id,tracks.title from tracks where tracks.audio=1 and tracks.album={album} order by tracks.disc,tracks.tracknum,tracks.titlesort asc trackdetails trackdetails track|0 +---+ |Filename: CustomMenu.txt | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=11704| +---+ -- auster auster's Profile: http://forums.slimdevices.com/member.php?userid=43850 View this thread: http://forums.slimdevices.com/showthread.php?t=86949 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Custom Browse question
Could you post your menu XML definition ? It's a bit easier to help if I know exactly what you've done so far. -- erland Erland Isaksson ('My homepage' (http://erland.isaksson.info)) (Developer of 'many plugins/applets' (http://wiki.slimdevices.com/index.php/User:Erland). If my answer helped you and you like to encourage future presence on this forum and/or third party plugin/applet development, 'donations are always appreciated' (http://erland.isaksson.info/donate)) erland's Profile: http://forums.slimdevices.com/member.php?userid=3124 View this thread: http://forums.slimdevices.com/showthread.php?t=86949 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Custom Browse question
Thank you very much, Erland!My menu is working now. But now yet perfectly. The track menu (the one which show tracks from the selected album) needs still some little improvements. I remind that I am talking about how things are shown in iPeng for iPad. In standard track menu the track number is shown before the track name, but in my menu track number is after the track name and justified on right edge. In standard track menu the artist name is shown under the track name, but in menu it is not shown at all. In standard track menu the length of the track is shown on the same row than artist name and justified on right edge. In standard track menu the year of the album is shown on the header (?) row justified on right. In my menu year isn't shown at all. Well, I admit that all of those things above are definitely not high priority requirements, but any advices/help would be appreciate. -- auster auster's Profile: http://forums.slimdevices.com/member.php?userid=43850 View this thread: http://forums.slimdevices.com/showthread.php?t=86949 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Custom Browse question
auster;624688 Wrote: > > 4) The new menu should looked just as standard iPeng menu above: for > every album I want to see album name, album artist and year. The album > artist and year are listed on their own rows and with smaller font than > album name. > > So far I have managed to create a new menu which is almost the way I > want, but not quite. I am still having my menu under the Custom Browse > menu and I havent managed to fullfill my requirements #4. The albums > are listed in correct order, I can see album name and year (with > smaller font than album name and also separate rows). I can show album > artist instead of year, but not both of them (album artist and year) as > I want. > Ok, this simplifies it a bit as I assume this means you are able to experiment with the XML/SQL yourself. The trick to get multiple rows is to use the "jivepattern" element. The jivepattern element is a regular expression with matching groups within (), it will be matched towards the returned string from the SQL and each matching group will be shown on a separate row. So for example: ^(.*)\s\((.*)\)$ Means that everything before ( will be shown on the first row and everything within the ( and ) will be shown on the second row. So if the SQL returns: Some album (artist1, artist2) The result in iPeng will be: Some album artist1,artist2 My guess is that you probably want to have a matching pattern that looks something like: ^(.*)\s\((.*)\)\s\((.*)\)$ Which means that if you make the SQL result look like: Some album (artist1, artist2) (1985) It will in iPeng be show as: Some album artist1, artist2 1985 -- erland Erland Isaksson ('My homepage' (http://erland.isaksson.info)) (Developer of 'many plugins/applets' (http://wiki.slimdevices.com/index.php/User:Erland). If my answer helped you and you like to encourage future presence on this forum and/or third party plugin/applet development, 'donations are always appreciated' (http://erland.isaksson.info/donate)) erland's Profile: http://forums.slimdevices.com/member.php?userid=3124 View this thread: http://forums.slimdevices.com/showthread.php?t=86949 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Custom Browse question
Thank you for your response! erland;624594 Wrote: > So you want an Albums menu sorted by RELEASEDATE ? > Descending or ascending order ? > Only by RELEASEDATE or by artist first and then RELEASEDATE ? First by artist (asc), then by year (asc), and then by RELEASEDATE (asc). I will try to be more specific: I am mainly using iPeng for iPad for controlling my Squeezebox Touch. In iPeng I use mainly the Artist/All Artists menu (from the top level I select Artists and then from that sub menu I select All Artists). All the albums are listed (also compilations) and they are sorted by: artist (asc), year (asc), album (asc). In most cases that would be more than fine with me. However I would like to have some modifications for this behaviour: 1) Some artists have released more than one album in same year, and those albums are sorted (inside year) ascending by album name and not by releasing order so I would like to add one more sorting key: releasing date (=custom tag). The sorting order shall be: artist (asc), year (asc), releasedate (asc) (and maybe album name (asc)). Since most of the files are not tagged with this custom tag RELEASEDATE I need use also year for sorting. 2) I would like to have my new menu at the top level (=the same level as Custom Browse) and not under the Custom Browse menu 3) I would like that selecting my new menu at the top level goes straight to the album list view without sub menu where I have to select All Artists (or something similar). 4) The new menu should looked just as standard iPeng menu above: for every album I want to see album name, album artist and year. The album artist and year are listed on their own rows and with smaller font than album name. So far I have managed to create a new menu which is almost the way I want, but not quite. I am still having my menu under the Custom Browse menu and I havent managed to fullfill my requirements #4. The albums are listed in correct order, I can see album name and year (with smaller font than album name and also separate rows). I can show album artist instead of year, but not both of them (album artist and year) as I want. English is not my first language but I hope you can get what I am trying to say. -- auster auster's Profile: http://forums.slimdevices.com/member.php?userid=43850 View this thread: http://forums.slimdevices.com/showthread.php?t=86949 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Custom Browse question
So you want an Albums menu sorted by RELEASEDATE ? Descending or ascending order ? Only by RELEASEDATE or by artist first and then RELEASEDATE ? -- erland Erland Isaksson ('My homepage' (http://erland.isaksson.info)) (Developer of 'many plugins/applets' (http://wiki.slimdevices.com/index.php/User:Erland). If my answer helped you and you like to encourage future presence on this forum and/or third party plugin/applet development, 'donations are always appreciated' (http://erland.isaksson.info/donate)) erland's Profile: http://forums.slimdevices.com/member.php?userid=3124 View this thread: http://forums.slimdevices.com/showthread.php?t=86949 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
[SlimDevices: Plugins] Custom Browse question
Anyone could help me or point me to the right direction? I am trying to create my first custom browse menu. I would like to have menu which lists all my albums in following order: artistsort, year, custom tag. I have added custom tag RELEASEDATE (-MM-DD) to the files and I have also configured and run Custom Scan to read this tag. The reason of the custom RELEASEDATE tag is that some (ancient ;))artists have more than one albums released per year and I would like to have them in correct order. This RELEASEDATE tag is used only when necessary (meaning that most of the albums don't have it). I hope someone (who can get sense of my goal) can help me how do this. -- auster auster's Profile: http://forums.slimdevices.com/member.php?userid=43850 View this thread: http://forums.slimdevices.com/showthread.php?t=86949 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Custom Browse question
erland;613846 Wrote: > It looks like you have configured the year menu to be replaced with > Composers in "SBS Settings/Plugins/Custom Browse/Squeezebox Server > Menus". This is probably the reason you don't see it in the web > interface. > > So, is this configuration intentional ? If it isn't, just change it > back to "Do not replace". > If it is intentional, there might be some bug in the replacement logic. Changing it back certainly fixed the problem - thanks. But I'm not sure why. I'd assumed that configuring it to replace the standard SBS menu of "Years" with "Composers" would, well, do just that :-) I never use the "Years" menu, and I wanted the "Composers" one, so replacing the one with the other seemed logical. I've obviously not understood what the "SELECT REPLACEMENTS OF STANDARD SQUEEZEBOX SERVER MENUS" is for, so any explanation would be gratefully received. Thanks again. -- SpiderJon SpiderJon's Profile: http://forums.slimdevices.com/member.php?userid=21798 View this thread: http://forums.slimdevices.com/showthread.php?t=85905 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Custom Browse question
It looks like you have configured the year menu to be replaced with Composers in "SBS Settings/Plugins/Custom Browse/Squeezebox Server Menus". This is probably the reason you don't see it in the web interface. So, is this configuration intentional ? If it isn't, just change it back to "Do not replace". If it is intentional, there might be some bug in the replacement logic. -- erland Erland Isaksson ('My homepage' (http://erland.isaksson.info)) (Developer of 'many plugins/applets' (http://wiki.slimdevices.com/index.php/User:Erland). If my answer helped you and you like to encourage future presence on this forum and/or third party plugin/applet development, 'donations are always appreciated' (http://erland.isaksson.info/donate)) erland's Profile: http://forums.slimdevices.com/member.php?userid=3124 View this thread: http://forums.slimdevices.com/showthread.php?t=85905 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Custom Browse question
erland;613737 Wrote: > Nothing strange in these as far as I can see, can you post the > custombrowse.prefs file also ? Attached, as requested. +---+ |Filename: custombrowse.prefs.txt | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=11434| +---+ -- SpiderJon SpiderJon's Profile: http://forums.slimdevices.com/member.php?userid=21798 View this thread: http://forums.slimdevices.com/showthread.php?t=85905 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Custom Browse question
Nothing strange in these as far as I can see, can you post the custombrowse.prefs file also ? -- erland Erland Isaksson ('My homepage' (http://erland.isaksson.info)) (Developer of 'many plugins/applets' (http://wiki.slimdevices.com/index.php/User:Erland). If my answer helped you and you like to encourage future presence on this forum and/or third party plugin/applet development, 'donations are always appreciated' (http://erland.isaksson.info/donate)) erland's Profile: http://forums.slimdevices.com/member.php?userid=3124 View this thread: http://forums.slimdevices.com/showthread.php?t=85905 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Custom Browse question
erland;613633 Wrote: > If you haven't done so already, try restarting SBS and see if it helps. It didn't, I'm afraid. > If that doesn't help, could you post which menu templates you used to > create the menus ? > Or even better, post the *.cb.values.xml files which contains the menu > configuration. I've attached the 3 xml files (with txt extensions, so I could actually attach them). Thanks. +---+ |Filename: instrument.cb.values.xml.txt | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=11431| +---+ -- SpiderJon SpiderJon's Profile: http://forums.slimdevices.com/member.php?userid=21798 View this thread: http://forums.slimdevices.com/showthread.php?t=85905 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Custom Browse question
If you haven't done so already, try restarting SBS and see if it helps. If that doesn't help, could you post which menu templates you used to create the menus ? Or even better, post the *.cb.values.xml files which contains the menu configuration. -- erland Erland Isaksson ('My homepage' (http://erland.isaksson.info)) (Developer of 'many plugins/applets' (http://wiki.slimdevices.com/index.php/User:Erland). If my answer helped you and you like to encourage future presence on this forum and/or third party plugin/applet development, 'donations are always appreciated' (http://erland.isaksson.info/donate)) erland's Profile: http://forums.slimdevices.com/member.php?userid=3124 View this thread: http://forums.slimdevices.com/showthread.php?t=85905 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
[SlimDevices: Plugins] Custom Browse question
I've set up three Custom Browse menus, and configured them all to "Show in browse and home menu". They all appear in the 'My Music' menu on my Duet Controller - but only two appear on the Web UI (which I tend to use a lot, controlling my Squeezebox from my netbook). As they're all configured the same (as far as I can tell) there's no obviously reason why one doesn't appear on the Controller menu. The one that doesn't appear is 'Composers', if that's of any relevance. Help, please :-) -- SpiderJon SpiderJon's Profile: http://forums.slimdevices.com/member.php?userid=21798 View this thread: http://forums.slimdevices.com/showthread.php?t=85905 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Custom Browse question
It might work if you customize the XML and change the SQL so it returns a linefeed character \n instead of (. I haven't tried this myself so I'm not sure if it will work, if it doesn't there is no way to do this without major changes in the plugin. -- erland Erland Isaksson 'My homepage' (http://erland.isaksson.info) 'My download page' (http://erland.isaksson.info/download) (Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse, Custom Scan, Custom Skip, Multi Library, Title Switcher and Database Query plugins' (http://wiki.erland.isaksson.info/index.php/Category:SlimServer)) erland's Profile: http://forums.slimdevices.com/member.php?userid=3124 View this thread: http://forums.slimdevices.com/showthread.php?t=58730 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Custom Browse question
Controller and SqueezePlay. -- Kvaks Kvaks's Profile: http://forums.slimdevices.com/member.php?userid=21610 View this thread: http://forums.slimdevices.com/showthread.php?t=58730 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Custom Browse question
Which interface are we talking about ? Is it on the Controller, in the web interface or both ? -- erland Erland Isaksson 'My homepage' (http://erland.isaksson.info) 'My download page' (http://erland.isaksson.info/download) (Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse, Custom Scan, Custom Skip, Multi Library, Title Switcher and Database Query plugins' (http://wiki.erland.isaksson.info/index.php/Category:SlimServer)) erland's Profile: http://forums.slimdevices.com/member.php?userid=3124 View this thread: http://forums.slimdevices.com/showthread.php?t=58730 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Custom Browse question
Is there any way to ... 1. have the entries in a list of albums display like this: [ima Album ge] Artist 2. add a "Add to favorites" menu item inside the album? Basically the way the default menus look. I prefer Erland's custom menus for a couple of reasons (albums sorted chronologically; "New Albums" seem to use the "created" timestamp, not "changed" timestamp (good!); and I use the "Random Albums" menu a lot), but having the text formatted as "Album (Artist)" means there is unused screen space underneath, and I have to wait for the artist name to scroll into view. -- Kvaks Kvaks's Profile: http://forums.slimdevices.com/member.php?userid=21610 View this thread: http://forums.slimdevices.com/showthread.php?t=58730 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Custom Browse question
erland;309583 Wrote: > It makes sense. > > However, I won't have time to look at it in the near future, so I would > suggest that you register it as an issue on > http://erlandplugins.googlecode.com so it doesn't get forgotten. > Done! Thanks. -- Yannzola Yannzola's Profile: http://forums.slimdevices.com/member.php?userid=874 View this thread: http://forums.slimdevices.com/showthread.php?t=48608 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Custom Browse question
It makes sense. However, I won't have time to look at it in the near future, so I would suggest that you register it as an issue on http://erlandplugins.googlecode.com so it doesn't get forgotten. It isn't possible today unless you select to set "Override standard track details" to "No" in SqueezeCenter Settings/Custom Browse. However, setting this option to "No" also means that you will loose the configurable track details menu provided by by Custom Browse. -- erland Erland Isaksson 'My homepage' (http://erland.homeip.net) 'My download page' (http://erland.homeip.net/download) (Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse, Custom Scan, Custom Skip, Multi Library and Database Query plugins' (http://wiki.erland.homeip.net/index.php/Category:SlimServer)) erland's Profile: http://forums.slimdevices.com/member.php?userid=3124 View this thread: http://forums.slimdevices.com/showthread.php?t=48608 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Custom Browse question
Erland, Is it possible to configure the Custom Browse player UI so that the original track is kept as the default on right click from the active playlist: For example: Track Title (Tracknumber 10) -> Album -> Track Title (Tracknumber 10) Currently, the behavior appears to be: Track Title (tracknumber 10) -> Album -> Track Title (Tracknumber 01) Where at the album level, the tracks start back at 01, instead of defaulting to focus on the original track. Make sense? -- Yannzola Yannzola's Profile: http://forums.slimdevices.com/member.php?userid=874 View this thread: http://forums.slimdevices.com/showthread.php?t=48608 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Custom Browse Question
Is it possible to add to the squeezebox's top level menu using custom browse? -- Deano Deano's Profile: http://forums.slimdevices.com/member.php?userid=7775 View this thread: http://forums.slimdevices.com/showthread.php?t=29016 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins