Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
You can use genres and Erlands multi-library plugin to support separate libraries, adding a specific additional genre tag to define each one. I use this so that I have completely different menus (using Custom Browse) for Classical (as a 1st tag) and other genres. It might be too much work if you have several large libraries and the effort of re-tagging would take too long. LMS 7.9.2 on VortexBox Midi box, Xubuntu 18.04, FLACs 16->24 bit, 44.1->192kbps. 2 Touchs & EDO. LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (A308CR amp & ESLs) & Marantz CR603 UPnP renderers. Also Minimserver & Upplay to same & to upmpdcli/mpd PC renderers. Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones. Wireless Xubuntu 18.04 laptop firefox/upplay or Android 'phone with Squeeze-Commander/BubbleUPnP controls LMS/Minimserver. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
typecrazy789 wrote: > I'm ashamed to say I didn't know about this - this more or less does > what I want perfectly. But is there a way to add more than one folder to > a library view, or would I need to actually move files into a single > folder to make it work? I tried adding more than one path using several > characters to separate but nothing worked. Here's an alternative for music you only play occasionally: Using Additional Browse Modes/Discs and folders, you can browse to, and play music from any disc/folder attached to the computer that runs LMS without it being scanned/added to the database. 25832 25829 25830 25831 +---+ |Filename: Dand F01.jpg | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=25832| +---+ *Study/Server - LMS 7.9.2 -* Pi3B+/pCP 4.0.0/pi screen/HiFiBerry DAC+/jivelite, 25K library and playlists on WDMyCloud, LMS cache on a USB stick (formatted ntfs). *Lounge* - Pi2/pCP 4.0.0 > HiFiBerry DIGI+ > AudioEngine DAC1 > AVI DM5 *Dining Room* - Pi3B/pCP 4.0.0 > HiFiBerry AMP+/retro radio *Garage* - Pi3B/Pi screen/HiFiBerry DAC+/pCP 4.0.0 > Edifier R980T *In car* - RPi3B/pCP in AP mode > HiFiBerry DAC+ > car's audio (files on a 2TB USB drive) *Spares* - 1xTouch, 1xSB3, 1xRadio, 1xBoom kidstypike's Profile: http://forums.slimdevices.com/member.php?userid=10436 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
typecrazy789 wrote: > I'm ashamed to say I didn't know about this - this more or less does > what I want perfectly. But is there a way to add more than one folder to > a library view, or would I need to actually move files into a single > folder to make it work? I tried adding more than one path using several > characters to separate but nothing worked. What are you using to define sub libraries? The sub library demo plugin? This is an example of how I made a modified version of it to have sub libraries defined on folders: Code: package Plugins::mc2Library::Plugin; # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License, # version 2. use strict; use base qw(Slim::Plugin::Base); use Slim::Menu::BrowseLibrary; use Slim::Music::Import; use Slim::Utils::Log; sub initPlugin { my $class = shift; # Define some virtual libraries. # - id:the library's ID. Use something specific to your plugin to prevent dupes. # - name: the user facing name, shown in menus and settings # - sql: a SQL statement which creates the records in library_track # - scannerCB: a sub ref to some code creating the records in library_track. Use scannerCB # if your library logic is a bit more complex than a simple SQL statement. foreach ( { id => 'mc2classica', name => 'Classica', # %s is being replaced with the library's ID sql => qq{ INSERT OR IGNORE INTO library_track (library, track) SELECT '%s', tracks.id FROM tracks WHERE url LIKE 'file:///F:/Classica/%' } },{ id => 'mc2Jazz', name => 'Jazz', # %s is being replaced with the library's ID sql => qq{ INSERT OR IGNORE INTO library_track (library, track) SELECT '%s', tracks.id FROM tracks WHERE url LIKE 'file:///E:/Jazz/%' } },{ id => 'mc2Rock', name => 'Rock', # %s is being replaced with the library's ID sql => qq{ INSERT OR IGNORE INTO library_track (library, track) SELECT '%s', tracks.id FROM tracks WHERE url LIKE 'file:///E:/Rock/%' } },{ id => 'mc2Blues', name => 'Blues', # %s is being replaced with the library's ID sql => qq{ INSERT OR IGNORE INTO library_track (library, track) SELECT '%s', tracks.id FROM tracks WHERE url LIKE 'file:///E:/Blues/%' } },{ id => 'mc2Audiophile', name => 'Audiophile', # %s is being replaced with the library's ID sql => qq{ INSERT OR IGNORE INTO library_track (library, track) SELECT '%s', tracks.id FROM tracks WHERE url LIKE 'file:///E:/Audiophile/%' } },{ id => 'mc2Disco', name => 'Disco', # %s is being replaced with the library's ID sql => qq{ INSERT OR IGNORE INTO library_track (library, track) SELECT '%s', tracks.id FROM tracks WHERE url LIKE 'file:///E:/Disco/%' } },{ id => 'mc2Lounge', name => 'Lounge', # %s is being replaced with the library's ID sql => qq{ INSERT OR IGNORE INTO library_track (library, track) SELECT '%s', tracks.id FROM tracks WHERE url LIKE 'file:///E:/Lounge/%' } },{ id => 'mc2Latina', name => 'Latina', # %s is being replaced with the library's ID sql => qq{ INSERT OR IGNORE INTO library_track (library, track) SELECT '%s', tracks.id FROM tracks WHERE url LIKE 'file:///E:/Latina/%' } },{ id =>
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
typecrazy789 wrote: > I'm ashamed to say I didn't know about this - this more or less does > what I want perfectly. But is there a way to add more than one folder to > a library view, or would I need to actually move files into a single > folder to make it work? I tried adding more than one path using several > characters to separate but nothing worked. What about setting up a folder containing links/shortcuts to multiple folders? I believe LMS follows Windows shortcuts. JJZolx's Profile: http://forums.slimdevices.com/member.php?userid=10 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
marcoc1712 wrote: > What's wrong with virtual libraries /advanced Browse mode? I'm ashamed to say I didn't know about this - this more or less does what I want perfectly. But is there a way to add more than one folder to a library view, or would I need to actually move files into a single folder to make it work? I tried adding more than one path using several characters to separate but nothing worked. typecrazy789's Profile: http://forums.slimdevices.com/member.php?userid=68049 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Hi, In article , typecrazy789 wrote: > And having waded through years of threads, it appears this kind of > feature has been close several times and never really happened, is that > not correct? Would my Simple Library Views plugin suffice? It's based on files placed in album directories, but might do what you want? Andy ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
What's wrong with virtual libraries /advanced Browse mode? Author of C-3PO plugin, Squeezelite-R2, Falcon Web interface - See www.marcoc1712.it marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
This is the second time in the past couple of weeks I've been handed my lunch for apparently being unclear and not posting succinctly so I'm not sure what the issue is given I presumed it was clear posting in a thread entitled "Multi Library support in LMS 7.9" that "this" would be seeking "Multi Library support in LMS 7.9." So that said, I am looking to have a multi-library setup for my music, my wife's music, and then our ancillary files such as classical, holiday and non-music files, without having to rely on genre tags to do this as that solution doesn't really work with the kinds of material we have. In my case, I'd like to be able to define a library by name and then add individual folders to it, and then have multiple libraries available to choose from within either LMS or iPeng. And having waded through years of threads, it appears this kind of feature has been close several times and never really happened, is that not correct? typecrazy789's Profile: http://forums.slimdevices.com/member.php?userid=68049 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Just yet another frustrated user here a few years later wondering if this is dead in the water... Please don't expect anyone to read dozens of postings in this thread to figure out what you're referring to by "this". Could you please describe your issue? -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Just yet another frustrated user here a few years later wondering if this is dead in the water...I'd love to have multiple libraries and define them by folder(s). Is there any avenue to get this back up and running if the handful of people here who really are wanting this to happen contributed $$$ to one of the developers, perhaps via some kind of crowdfunding platform? I'm under the impression there are people that could do this but won't for whatever reason...I'd definitely contribute towards having an actual, flexible, usable and workable multiple library setup. typecrazy789's Profile: http://forums.slimdevices.com/member.php?userid=68049 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
>I'm just another squeezebox user looking for the most basic of >multi-library support (would like to have a "kids music" section, >without just having to browse by folder) > If you upgrade to 7.9, you could try the "Simple Library Views" plugin, which is quite easy to configure. It allows you to create a library, where you define the content to be included by adding text files in the source folder for each album to be included. eg. create a "Favourites" library, with "simple-library-views-Favourites" file being created in each album you want to include in the favourites library. Gives a bit more control than genre filtering. ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
I'm just another squeezebox user looking for the most basic of multi-library support (would like to have a "kids music" section, without just having to browse by folder) If you have specific genres, then you could create an Advanced Search and save it as a library definition. Might need some SQL tweaking in the configuration file, but you said that was ok. Related question - I'm on 7.8.1 installed via apt, I presume I'm better off migrating to 7.9? Haven't looked for a package yet but am ok with cloning a source repo if need be Yes, go with 7.9. It's the best LMS ever - so far :-). Am fine with SQL, but unclear if I could browse my virtual libraries using "Squeezer" android app... or even with 7.9 is the commercial plugin needed... LMS 7.9 provides the backend for virtual library support, plus a rather limited UI using the Advanced Search. The idea was that 3rd party plugins would provide the UI to define libraries. But I'm not sure we're going to see anything soon :-(. WRT Squeezer: any app which uses the standard menus should work. I don't know about Squeezer specifically though. -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
bump - not trying to hijack but seems dormant I'm just another squeezebox user looking for the most basic of multi-library support (would like to have a "kids music" section, without just having to browse by folder) Quick forum scan suggests the license manager plugin so I can pay for the multi-library plugin, developed by someone outside of Logitech - is this still the recommended MO? Related question - I'm on 7.8.1 installed via apt, I presume I'm better off migrating to 7.9? Haven't looked for a package yet but am ok with cloning a source repo if need be Am fine with SQL, but unclear if I could browse my virtual libraries using "Squeezer" android app... or even with 7.9 is the commercial plugin needed... BTW thanks for any and all continued support - we love our squeezeboxen :D drizzo4shizzo's Profile: http://forums.slimdevices.com/member.php?userid=31909 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Jackisidore wrote: I'm trying to understand how this all works. I found the plugin sub library demo. I'm lost how to configure this. I read something related to Advanced search. A few pointers to get me started would be great! I'm running the latest nightly build of 7.9 on OSX. Thanks To answer my own question. Advanced search doesn't show a Save search or save as library view on the results page. I have to go back one page and voila save as library view is now an option. After that VirtualLibraries.pref exists in my Pref folder. Works nicely! Jackisidore's Profile: http://forums.slimdevices.com/member.php?userid=33885 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Jackisidore wrote: I'm trying to understand how this all works. I found the plugin sub library demo. I'm lost how to configure this. I read something related to Advanced search. A few pointers to get me started would be great! I'm running the latest nightly build of 7.9 on OSX. Thanks Hi, you should open a new thread cause its a bit longer story and a explicit thread for the plugin would be helpfull for others as well. Gruss Jan DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
I'm trying to understand how this all works. I found the plugin sub library demo. I'm lost how to configure this. I read something related to Advanced search. A few pointers to get me started would be great! I'm running the latest nightly build of 7.9 on OSX. Thanks Jackisidore's Profile: http://forums.slimdevices.com/member.php?userid=33885 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
- The name parameter for Slim::Music::VirtualLibraries-registerLibrary() doesn't seem to support strings.txt constants. Shouldn't it? It doesn't, and I don't know whether it should. What's the use case? That string is used/displayed in the list under Home Library Views in the web interface. Shouldn't that translate, too? Ok, ok. Dein Wunsch sei mir Befehl :-). I've added an optional string parameter to the registerLibrary() call. This must be a valid string token which subsequently would be used in getNameById() to return a localized library name. Please check the updated header documentation in S::M::VirtualLibraries and the registration call in S::Plugins::ExtendedBrowseModes::Libraries. -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Ciao Michael, thanks for the comments. Indeed I haven't touched my Squeezeserver (or whatever it's called today ;-) for ages. I've been using it heavily. I just recently moved to a newer release and read a bit in the forum... - The name parameter for Slim::Music::VirtualLibraries-registerLibrary() doesn't seem to support strings.txt constants. Shouldn't it? It doesn't, and I don't know whether it should. What's the use case? That string is used/displayed in the list under Home Library Views in the web interface. Shouldn't that translate, too? - How's the scannerCB() function passed to Slim::Music::VirtualLibraries-registerLibrary() supposed to work? [...] [...] And I had some use case in mind which would leave all responsibility to the callback indeed. Or possibly, scannerCB() could just return a list of track ids that should go into the library and then rebuild() could take care of all the database stuff? That would make sense indeed. I'll give it a try. Regards, flip flipflip's Profile: http://forums.slimdevices.com/member.php?userid=5223 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Michael, Thank you so much for this feature. I only got around to using it today. I thought it was complicated, but creating custom library views through advanced search is easy as pie. Fantastic work! :) poing's Profile: http://forums.slimdevices.com/member.php?userid=63617 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Hi Michael, many thanks for implementing this. It fixes a problem I've had for years. I always wanted separate libraries for Podcasts, Radio plays and Musik. I can do that now. Also, I have some symlinks (a folder with the latest episodes from all podcast channels) that made some tracks/albums show up twice. I can now exclude tracks in this directory. I've created a virtual library plugin with some libraries and that all works fine. I have some questions and comments, though: - What's the allowed nodes parameter for Slim::Menu::BrowseLibrary()? Slim::Menu::BrowseLibrary::_albums(), _tracks(), _years() etc. all work. _topLevel(), however, doesn't seem to work (UI stalls / loads endlessly). I haven't looked into the code, and it's not very important. But to have all the standard browse modes (by album/artist/track/year/search/..) below each library would be nice. - The name parameter for Slim::Music::VirtualLibraries-registerLibrary() doesn't seem to support strings.txt constants. Shouldn't it? - How's the scannerCB() function passed to Slim::Music::VirtualLibraries-registerLibrary() supposed to work? From looking at the code in Slim::Music::VirtualLibraries::rebuild() I guess it would not only have to fill in the records in library_track but also populate the helper tables (library_album, library_contributor, etc.). Is that right? If so, shouldn't rebuild() take care of emptying the table before calling scannerCB() and populating the auxiliary tables after calling scannerCB(). This would spare us from maintaining duplicated code in scannerCB(). Or possibly, scannerCB() could just return a list of track ids that should go into the library and then rebuild() could take care of all the database stuff? (I may have completely missed the point...) And related to creating a scannerCB().. What's the proper way to decode a tracks.url into a local file system path (using SQL LIKE on it is a bit of a pain, I'd rather regex match it)? But never mind, I'll find out.. :-) Regards, flipflip Check out flipflip's 'Squeezebox Server On (some) DiskStation (SSODS) and on (some) TurboStations (SSOTS) and some other devices' (http://oinkzwurgl.org/ssods/)! Please do NOT file SSODS bugs in (SD's) bugzilla. Use the forums. And only the forums. Thanks. flipflip's Profile: http://forums.slimdevices.com/member.php?userid=5223 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Hi flipflip, any chance of you picking up the coding pencil and helping with this? http://forums.slimdevices.com/showthread.php?103492-Shellshock-vulnerability-exposedby-SSOxS atb Ronnie Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
I install custom library and license manager. My music library is X:/General X:/Folder1 and X:/Folder2. I set up a library with include directory X:/General and X:/Folder1. Library shows number of songs = 1471. When I select this library and go to album or artiste or other menu, no songs. I only can listen if I use random playing. Anybody know this bug ? Or if I miss something? Yes, I have same problem. Although I think custom library isn't licenced here. I think I have some demo libraries that it came with or I set up when it was working for 30 days trial period, so thought it was because not licenced now. I acutally did get quite confused, as I wanted to set up libraries for ratings. i.e. Unrated library view and High rating, etc. I notice Advanced Search has a filter on rating, but it doesn't seem to work. Assume that Erland's trackstat uses a different rating database field, and thus I would need Custom Library or tinker with SQL code to make my own view manually? ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
I install custom library and license manager. My music library is X:/General X:/Folder1 and X:/Folder2. You should probably check with Erland in one of his threads. We're talking about the LMS built-in feature in 7.9 here. -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Hi I install custom library and license manager. My music library is X:/General X:/Folder1 and X:/Folder2. I set up a library with include directory X:/General and X:/Folder1. Library shows number of songs = 1471. When I select this library and go to album or artiste or other menu, no songs. I only can listen if I use random playing. Anybody know this bug ? Or if I miss something? Thank Hydro's Profile: http://forums.slimdevices.com/member.php?userid=62726 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
hm, lengthy discussion Maybe, but not with me. I don't really care a lot _how_ it works as long as it's consistent. I only store local items in favorites for testing and did a lot of that when recently implementing the favorites editing for iPeng, that's how I ran into it. I feel handling of artists in favorites in general is problematic, they are being stored as a playlist, something they clearly aren't so that's probably the reason for the inconsistent behavior. I've got a much bigger issue with Favorites right now that's probably unrelated and deserves it's own bug: if you use a large playback buffer (like iPeng does, although I've experiences it on an SB3, too), then when playing the whole list of favorites the player can get in some kind of weird state where it seems to mix two streams (with proxied streaming) so that you end up playing one frame from a file, then another one from a radio station and so on... Now THAT is scary... --- learn more about iPeng, the iPhone and iPad remote for the Squeezebox and Logitech UE Smart Radio as well as iPeng Party, the free Party-App, at penguinlovesmusic.com *New: iPeng 8, the Universal App for iOS 7 and iOS 8* pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
And another edge case... Let the fun begin! Favorites. Thou shalt not favorite local music items. - there are tracks in favorites which are not part of the active library, they will still be shown and can be played. - there are albums in favorites which are not part of the active library, they will still be shown and can be played. They can also be opened and the tracks will show and can be played. - there are artists in favorites which have albums which are not part of the active library, these albums will be shown when the artist is being opened from favorites. However, these albums can not be played and if they are opened, they are empty. Now, while I think all of this is wrong and they should be filtered, Hmm... I think this could be topic of a lengthy discussion. I would say they should _not_ be filtered (because I only add to favorites what I really want to have access to quickly). BUT whether it's filtered or not, it should be uniform across all types of items. If an artist shows up, then its items should be usable. IMHO points 1 2 are acceptable, 3 is not. there is some specific aspect to be considered If I add something to favorites from an additional browse mode which is not part of the library (a children's music album, for example), _should_ that be shown? I think no because - there is no logic I could think of that would determine how to tell apart items that should or should not be shown by such a logic. - the idea of the additional browse modes overriding the library was to _only_ override it in these specific menus, Favorites, however, is outside these specific menus. And because of your reason #1 we should display them all. How more confusing can it get if you add a favorite and it doesn't show up because it's not part of the main library? Favorites imho should really be this: items you always want to have access to quickly, no matter how else you're narrowing down your browsing experience. Maybe I should rather have silently ignored your posting instead of triggering a new lengthy discussion :-). -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
And another edge case... Favorites. If you add stuff to favorites and this is not part of a certain library, it will still be shown even with the library filter on, at least for tracks and albums and intermediate levels for artists (didn't try genres). So, if - there are tracks in favorites which are not part of the active library, they will still be shown and can be played. - there are albums in favorites which are not part of the active library, they will still be shown and can be played. They can also be opened and the tracks will show and can be played. - there are artists in favorites which have albums which are not part of the active library, these albums will be shown when the artist is being opened from favorites. However, these albums can not be played and if they are opened, they are empty. Now, while I think all of this is wrong and they should be filtered, there is some specific aspect to be considered If I add something to favorites from an additional browse mode which is not part of the library (a children's music album, for example), _should_ that be shown? I think no because - there is no logic I could think of that would determine how to tell apart items that should or should not be shown by such a logic. - the idea of the additional browse modes overriding the library was to _only_ override it in these specific menus, Favorites, however, is outside these specific menus. --- learn more about iPeng, the iPhone and iPad remote for the Squeezebox and Logitech UE Smart Radio as well as iPeng Party, the free Party-App, at penguinlovesmusic.com *New: iPeng 8, the Universal App for iOS 7 and iOS 8* pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
no changes to me, same problems. Multiple problems? I thought you were referring to the issue where the libraries would not be built unless the LibraryDemo plugin was enabled? That one should be fixed. If that's not what you were referring to, then I'll need a refresher... -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
mherger wrote: Remember You have to wayt Michael release the mod to make a working copy of the plugin. The change has been out in the nightlies since Friday. Is there something which still doesn't work? Michael Oh... in Logitech Media Server Versione: 7.9.0 - 1421407005 @ Sat Jan 17 04:05:11 CUT 2015 no changes to me, same problems. I'm currently downloadingthe new build, I'll report to you. Marco SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
mherger wrote: no changes to me, same problems. Multiple problems? I thought you were referring to the issue where the libraries would not be built unless the LibraryDemo plugin was enabled? That one should be fixed. If that's not what you were referring to, then I'll need a refresher... -- Michael Yes it's this one, maybe is just one, but it applied to queries defined in a custom plugin and to the ones in VirtualLibrary.pref, so the plural. I'm happy to report you that in 7.9.0 - 1421702201 @ Tue Jan 20 04:05:11 CUT 2015 my plugin is working, not Yet tried advanced searches with plugin disabled. Marco. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Yes and it's still working. disaster123's Profile: http://forums.slimdevices.com/member.php?userid=13752 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Hi Michael, I've tried the new build in following scenario, alwais with sub-library-demo plugin disabled: 1. A custom copy of sub-library-demo defining some library, no library defined in VirtualLibrary.pref 2. Some ibrary defined in VirtualLibrary.pref, no plugin active. 3. A custom copy of sub-library-demo defining some library, some other library defined in VirtualLibrary.pref In all cases scanner correctly detect and rebuilded the libraries, so I think now is working properly. Strange think, disaster123 did exactly what I did and already worked in saturady built. Marco. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Remember You have to wayt Michael release the mod to make a working copy of the plugin. The change has been out in the nightlies since Friday. Is there something which still doesn't work? Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Hi, thanks for this great new feature. Has anybody an idea or already tried to use this feature to make a squeezebox kids compatible. I want to lock a player to a specific path / library. disaster123's Profile: http://forums.slimdevices.com/member.php?userid=13752 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Thanks so making a local copy of the demo plugin and change the SQL seems easy to me. no problem. I still don't get how i force this library to a certain player? How do i archieve this with additional browse methods? I thought i just use the normal menu entries on this squeeze radio but it only finds stuff from this certain library? disaster123's Profile: http://forums.slimdevices.com/member.php?userid=13752 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
disaster123 wrote: ...I still don't get how i force this library to a certain player? How do i archieve this with additional browse methods? I thought i just use the normal menu entries on this squeeze radio but it only finds stuff from this certain library? Yes, you could also do this way, maybe is even simpler for kids. To archive this, on the Web UI select the player your children are going to use, then in Library View select the appropriate library. From this moment on, on this player all browses will be restricted to the contents of that library, until someone will change again the Library. Remember You have to wayt Michael release the mod to make a working copy of the plugin. Right now, you could modify the plugin itself, but remember is going to be replaced on every installation, so keep a copy outside the plugin folder and be prepared to recover it. Marco. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
disaster123 wrote: Hi, thanks for this great new feature. Has anybody an idea or already tried to use this feature to make a squeezebox kids compatible. I want to lock a player to a specific path / library. Yes, It's exactly what I did. Waiting for Michael release a new build wit the correction we were talking about, I had to modify the Library demo plugin, but is going to work using an user defined copy of the plugin or defining the queries in Advanced search and replacing the sql with the one you needi n the VirtualLibrary.pref file. Here an example of the queries I've defined: id = 'classica', name = 'Classica', # %s is being replaced with the library's ID sql = qq{ INSERT OR IGNORE INTO library_track (library, track) SELECT '%s', tracks.id FROM tracks WHERE url LIKE 'file:///E:/Classica/%' Just change the path in the where clause and the library name and repeat for every library you need to define. Then you could define 'button' in the players menu just using additional browse methods and/or the method illustrated in the demo plugin. Enabling/disabling the buttons per player, you should get what you are looking for. Its not really 'locked', your children could still change settings, but... Marco SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
disaster123 wrote: Yes i named it: package Plugins::ChildLibs::Plugin; und put it under C:\Program Files (x86)\Squeezebox\server\Plugins Server version: Logitech Media Server Version: 7.9.0 - 1421407005 Exactly as I did and same version. disaster123 wrote: Plugins enabled: a lot ;-) What do you exactly mean? My previous configuration (same, but with queries in VirtualLibrary.pref instead of the plugin) was working if Sub-LibraryDemo plugin was enabled. Its Your disabled? Marco. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Currently it's enabled as it does not hurt. I haven't played with VirtualLibrary.pref at all or even have opened it. disaster123's Profile: http://forums.slimdevices.com/member.php?userid=13752 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
My copy is working fine. No Problems here. I added it to C:\Program Files (x86)\Squeezebox\server\Plugins\. Why isn't yours working? disaster123's Profile: http://forums.slimdevices.com/member.php?userid=13752 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
disaster123 wrote: My copy is working fine. No Problems here. I added it to C:\Program Files (x86)\Squeezebox\server\Plugins\. Why isn't yours working? Really? did you also give it a different name? Mine is not working at rescan time, It does not start the 'virtual library creating' or something similar, phase. Server version? Plugins enabled? thanks. Marco SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
marcoc1712 wrote: Really? did you also give it a different name? Mine is not working at rescan time, It does not start the 'virtual library creating' or something similar, phase. Server version? Plugins enabled? thanks. Marco Yes i named it: package Plugins::ChildLibs::Plugin; und put it under C:\Program Files (x86)\Squeezebox\server\Plugins Server version: Logitech Media Server Version: 7.9.0 - 1421407005 Plugins enabled: a lot ;-) What do you exactly mean? disaster123's Profile: http://forums.slimdevices.com/member.php?userid=13752 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
mherger wrote: Dont think is like that, this was the last trial, after you asked me to restore a clean situation, but before I went throught different tests, and it did not works also if libraries were already defined at start up. Ok, should be fixed in the next nightly build. By the way, I've realized this just now reading again your post: with Advanced Browse Modes plugin you mean Additional Browse Modes plugin, correct? Too long a name for me to remember :-). In the code it's actually Extended Browse Modes. Oh well.. -- Michael Never mind, just scared it could end up was a stupid error by me using a different plugin... Marco. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
While waiting for Michael repair and release it in next nigthly built, I'm doing some more test on Virtual Libraries and Enhanced (or additional) browse modes. My configuration i like that: n. virtual libraries, defined in a plugin similar to the demo one using queries based on the url in tracks table, just replicating the first level of my phisical folder structure. Then, in ABM (Additional Browse Mode) I defined six filters for each Library, based on artists and each for a specific role (It will not end up like that, is just a trial to well understand how it really works), like COMPOSER, CONDUCTOR,...TRACKARTIST. Don't think has effect, but my Music settings are like that: Use single, configurable list for Artist. and Composer, Director and Band in Artist. This end up with some number of 'buttons' in UI, named like: Classica: Composers Classica: Directors ... Jazz: Album Artists Jazz: Track Artists ... Rock: Bands Rock: Artists ... I've got six more button acting on a specific role but on the full library: All: Composeres ... All: TrackArtists First step of browsing act as I espected, some initial difficult to understand what's the specific meaning of artist here, but ok. Selecting in any list an artistName (use this in order to not make confusion with artist), you get a list of albums where the artist name is involved by the specific role, just as it should. Selecting an Album, You get ONLY the tracks by the specific composer, this not depending upon the preference in Music to group or not compilations. I think this is at least arguable, I'll preffer to see the entire Album, better use the preference to determinate it. playing the album enqueue just the displayed tracks. If you then select a track from the album details in Browse (or in the currrent playlist) it shows up correctly. Here thinks start to go wrong: 1. Cliking the album form the track, you get the album empty (no tracks), and You could not 'play' it. 2. Clicking any artist name in any role, you get an empty browse. 3. Same for genre and years. Same happen selecting artistNames or album form the tracks in the current playlist (when added this way). Never tried withoud Virtual libraries, maybe is a 'normal' behaivour of ABM, in that case you could just forget this post, move it or consider it for ABM Matter. Marco. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
1. started the server with Library demo plugin disabled and no VirtualLibrary.pref in my folder. 2. created a new library using advanced search. Hmm... Did the prefs file exist after you created the libraries? Thanks for your steps. I'll try to reproduce this. Maybe the scan doesn't work when at startup time there's no library available, but would if there were, even without the demo plugin. -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
mherger wrote: 1. started the server with Library demo plugin disabled and no VirtualLibrary.pref in my folder. 2. created a new library using advanced search. Hmm... Did the prefs file exist after you created the libraries? Yes. mherger wrote: Thanks for your steps. I'll try to reproduce this. Maybe the scan doesn't work when at startup time there's no library available, but would if there were, even without the demo plugin. -- Michael Dont think is like that, this was the last trial, after you asked me to restore a clean situation, but before I went throught different tests, and it did not works also if libraries were already defined at start up. FYI, I've made a copy of the LibraryDemo Plugin in the User plugin folder, changing just the few modules location and names it was strictly necessary to do, then I tried to enable this and disable the Library Demo. Result was negative, everything works as espected but scanner did not run the Virtual Library scan, so I think is not 'in' the Library Demo Plugin code, but somehow related to it. By the way, I've realized this just now reading again your post: with Advanced Browse Modes plugin you mean Additional Browse Modes plugin, correct? Marco. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
mherger wrote: Do you get the Create library views phase reported by scanner with the plugin disabled? I do not. I do. Have you tried to delete library_track and then run scanner? It populate the table? You should NEVER delete tables unless you know exactly what you're doing. But in particular when you have a problem, try to go back to a clean state and see whether you still see the same issues. I might remove my prefs files, too, to double check there's no odd interaction with the demo plugin going on. You'll need the Advanced Browse Modes plugin, though. -- Michael mherger wrote: Do you get the Create library views phase reported by scanner with the plugin disabled? I do not. I do. Have you tried to delete library_track and then run scanner? It populate the table? You should NEVER delete tables unless you know exactly what you're doing. But in particular when you have a problem, try to go back to a clean state and see whether you still see the same issues. I might remove my prefs files, too, to double check there's no odd interaction with the demo plugin going on. You'll need the Advanced Browse Modes plugin, though. -- Michael OK, maybe was deleteing the table, but sound strange to me, Advanced Browse Modes plugin is ON. Tried again this way: 1. started the server with Library demo plugin disabled and no VirtualLibrary.pref in my folder. 2. created a new library using advanced search. 3. verified is correctly created and populated as espected. 4. launch the scan, it does not swow up the Create library views and no mention of the Slim::Music::VirtualLibraries scan in the log, but of corse the library is still populated. 5. enabled the plugin (and restarted), some new libraries swows up EMPTY. 6. run rescan, all the libraries are now populated and in the scann progress report now I have: ... Rilevamento di file/directory: F:\Rock (4686 di 4686) Completo 00:01:02 Rilevazione playlist in corso: G:\Documents and Settings\marco\Documenti\Musica\Playlists (3 di 3) Completo 00:00:00 Building full text index (7 di 7) Completo 00:01:20 Create library views (4 di 4) Completo 00:00:02 Find updated coverart files (3556 di 3556) Completo 00:00:04 Ottimizzazione database (1 di 2) In esecuzione 00:00:56 ... In the scanner log I then have: [15-01-15 17:18:41.0322] Slim::Music::Import::runImporter (485) Starting Slim::Music::VirtualLibraries scan [15-01-15 17:18:43.2292] Slim::Music::Import::endImporter (617) Completed Slim::Music::VirtualLibraries Scan in 2 seconds. So, to me, only when plugin is active I have VirtualLibraries scan taking place. Have you Got these lines in UI/log also with the plugin disabled? Marco SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Do you get the Create library views phase reported by scanner with the plugin disabled? I do not. I do. Have you tried to delete library_track and then run scanner? It populate the table? You should NEVER delete tables unless you know exactly what you're doing. But in particular when you have a problem, try to go back to a clean state and see whether you still see the same issues. I might remove my prefs files, too, to double check there's no odd interaction with the demo plugin going on. You'll need the Advanced Browse Modes plugin, though. -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
1. started the server with Library demo plugin disabled and no VirtualLibrary.pref in my folder. 2. created a new library using advanced search. Hmm... Did the prefs file exist after you created the libraries? Yes. Heh... just updated my server at home, re-run a scan. And the libraries were not created. There's definitely something wrong. -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Dont think is like that, this was the last trial, after you asked me to restore a clean situation, but before I went throught different tests, and it did not works also if libraries were already defined at start up. Ok, should be fixed in the next nightly build. By the way, I've realized this just now reading again your post: with Advanced Browse Modes plugin you mean Additional Browse Modes plugin, correct? Too long a name for me to remember :-). In the code it's actually Extended Browse Modes. Oh well.. -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
erland wrote: Just to confirm what Michael is saying, my plan is that that the new Custom Libraries plugin which uses the new library features in 7.9 will replace the current Multi Library plugin. Current Custom Browse/Custom Scan based menus which today might use Multi Library defined libraries will be switched to instead use the new libraries defined in 7.9. In such scenario it doesn't matter if the libraries have been created using advanced search or Custom Libraries plugin, they will all work together with Custom Browse/Custom Scan. The same is also true for my other plugins which integrated with Mutli Library, for example the SQL Playlist plugin which is going to make it possible to create smart playlists based on a virtual library defined in 7.9. After I've finished Custom Libraries plugin the old Multi Library plugin will only be used by people using LMS 7.8 or earlier. Custom Browse plugin still has its place if you want more advanced menu hierarchies, for example for classical music, but it won't be needed if you only want to separate your libraries into multiple sub libraries. Sounds very good to me. I'm willing to do a beta test if that would help. LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. LMS Squeeze2upnp (Beta - derived from squeezelite) to Musical Fidelity M1 CLiC and Marantz CR603 UPnP renderers. Squeezelite to PC sound. Minimserver (server) and upplay (control point) to same amps to upmpdcli/mpd PC renderers. Meridian USB Explorer DAC from PCs to speakers/headphones. Wireless Xubuntu 14.04 laptop controls LMS/upplay via Firefox. Have a Touch with EDO, and a spare, but don't use. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
erland wrote: I believe you can do exactly this with the API Michael has created, he created two ways to register a library: The above is based on an SQL statement, which is the solution you don't like. Hi erland, how are you? I never sayd I don't like using SQL, indeed this is the wayI actualy use, starting from the library demo plugin, currently looking for a better way. I only speculated about the opportunity of using advanced search as 'main' source to create those SQL, I think this could drive to a lot of modifications and lead to a very complicated UI, but never mind, if for people using just genre or simple parameters already in ADV Search its OK, don't see why not to use it. erland wrote: If third party developers (such as you or me)... Please dont confuse masters with absolute beginners, I'm not a plugin developer at all, just willing to try. erland wrote: Finally I just want to give Michael credit again for the way he did this implementation, starting with the API and thus offer possibility to third party developers to extend it is the way forward in the future since we don't know how long Logitech will let Michael continue to work on LMS core software. This way we always have the option to extend the functionality through third party plugins even if LMS core development stops completely. +1. erland wrote: In this second variant you can get the information from what ever place you want, your callback will be called by the scanner and it's your responsibility to fill library_track with suitable tracks for your library. If you want pick them from foobar that's just an implementation choice of your plugin. Not sure it was clear enougth what I suggested: 1. Make the scanner look for a specific TAG named i.e. Library in the audio files. 2. Use values in this tag to populate libraries and library_track table. No needs to look at foobar or other, Foobar was named just as an example of application able to mass tag files in a 'query alike' way, but the benefit is that you could use whatever You want to just fill the library TAG. I suggested to do this in LMS standard scanner, just replicating the way it does for genre - is exactly the same - in order to have a clean implementation with a little effort. Michael suggested to do this in a Plugin, then I'm looking forward to retrieve info on how to do it, but I'm a beginner just starting to undestand how plugin works. In my understanding, I think this could already be done by your custom scan plugin or something very similar, since it does not need to store Library in custom tags, but directly in library_tag, not sure, but I think it lack the capability to read metadata from .cue files' is this correct? Please let me know your mind about the opportunity to write a new plugin for this. Many tanks, Marco. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
mherger wrote: The problem here is the lack of standardization and localization. Speech, spoken, Hörspiel, Hörbuch, etc. I've had them all. (and that's one of the few reasons why I would re-tag some files: to reduce the number of mostly redundant genres) Yep. Same here. I didn't say that it isn't a challenge. TEN doesn't track and analyze genres, don't they? --- learn more about iPeng, the iPhone and iPad remote for the Squeezebox and Logitech UE Smart Radio as well as iPeng Party, the free Party-App, at penguinlovesmusic.com *New: iPeng 8, the Universal App for iOS 7 and iOS 8* pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
You need Library Demo plugin enabled to let scanner evaluate Virtual Libraries, also if defined using Advanced search and never touched. Hm... I have it disabled. It should work without that plugin. If not, You still have the library defined and tracks are added at time you run the query in UI, but scanner will not rebuild library. I've done this dozens of times over the past days/weeks, without the demo plugin enabled. By the way, you don't need a clean scan, every scan is going to rebuild libraries. That's correct. -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
@marco Hint: don't edit your posts if you want Michael to see them! --- learn more about iPeng, the iPhone and iPad remote for the Squeezebox and Logitech UE Smart Radio as well as iPeng Party, the free Party-App, at penguinlovesmusic.com *New: iPeng 8, the Universal App for iOS 7 and iOS 8* pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
mherger wrote: Hi Michael, I tried but was not able to replace the query text with one based on other colums, like this one: Did you check the server.log? You might have corrupted the pref file's structure or something. It's a yaml file. -- Michael HI MIchael, I think I've found where problem is: You need Library Demo plugin enabled to let scanner evaluate Virtual Libraries, also if defined using Advanced search and never touched. If not, You still have the library defined and tracks are added at time you run the query in UI, but scanner will not rebuild library. By the way, you don't need a clean scan, every scan is going to rebuild libraries. Marco. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
mherger wrote: Hi Michael, I tried but was not able to replace the query text with one based on other colums, like this one: Did you check the server.log? You might have corrupted the pref file's structure or something. It's a yaml file. -- Michael HI MIchael, I think I've found where the problem is: You need Library Demo plugin enabled to let scanner evaluate Virtual Libraries, also if defined using Advanced search and never touched. If not, You still have the library defined and tracks are added at time you run the query in UI, but scanner will not rebuild library. By the way, you don't need a clean scan, every scan is going to rebuild libraries. Marco. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
mherger wrote: You need Library Demo plugin enabled to let scanner evaluate Virtual Libraries, also if defined using Advanced search and never touched. Hm... I have it disabled. It should work without that plugin. If not, You still have the library defined and tracks are added at time you run the query in UI, but scanner will not rebuild library. I've done this dozens of times over the past days/weeks, without the demo plugin enabled. By the way, you don't need a clean scan, every scan is going to rebuild libraries. That's correct. -- Michael Do you get the Create library views phase reported by scanner with the plugin disabled? I do not. Have you tried to delete library_track and then run scanner? It populate the table? If so, probably something else is wrong by me. Marco SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
pippin wrote: @marco Hint: don't edit your posts if you want Michael to see them! oh... thanks. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
You can build much more flexible menus using CustomBrowse but most plugins would not respect the filter, I end up with duplicate menus, not all context menu items will work, search will not respect the filters,... Also, the CBR menus don't work as well in iPeng because they don't have content-aware CLI, I can show less information for albums and tracks, it can't be fully cached, there are a lot of reasons why it doesn't work as well for me. --- learn more about iPeng, the iPhone and iPad remote for the Squeezebox and Logitech UE Smart Radio as well as iPeng Party, the free Party-App, at penguinlovesmusic.com *New: iPeng 8, the Universal App for iOS 7 and iOS 8* pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
You mean libraries? Why not? I do and I'd definitely not be willing to re-tag my 25K files for it. --- learn more about iPeng, the iPhone and iPad remote for the Squeezebox and Logitech UE Smart Radio as well as iPeng Party, the free Party-App, at penguinlovesmusic.com *New: iPeng 8, the Universal App for iOS 7 and iOS 8* pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
pippin wrote: Err... 99% of all users will use auto-tagging with iTunes or Windows and have no idea how to change their tags. Yes, don't think they are going to use such a plugin. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
pippin wrote: You mean libraries? Why not? I do and I'd definitely not be willing to re-tag my 25K files for it. It's a big difference between spending a few minutes to set up a configuration to separate out audiobooks, Christmas music, kids stuff,... Or whether I want to spend days to re-tag thousands of files (not only for this, generally) Just out of interest, I would have thought re-tagging based on an algorithm (using puddletag or mp3tag) should be just as easy to set up as configuring libraries if you have worked out the rules. However, it obviously takes a while to execute. If the algorithm isn't too hard, one also might be able to program it into Custom Scan algorithms. How do you know it's Christmas music, Kid's Stuff etc? I assume either by Genre, or by an Artist, or both? LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. LMS Squeeze2upnp (Beta - derived from squeezelite) to Musical Fidelity M1 CLiC and Marantz CR603 UPnP renderers. Squeezelite to PC sound. Minimserver (server) and upplay (control point) to same amps to upmpdcli/mpd PC renderers. Meridian USB Explorer DAC from PCs to speakers/headphones. Wireless Xubuntu 14.04 laptop controls LMS/upplay via Firefox. Have a Touch with EDO, and a spare, but don't use. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
pippin wrote: For me it's genre. If that's true for all, then surely no extra tagging is required, and (if prepared to pay a license) the existing plugin does the same job doesn't it? By the way I'm simply trying to understand the purpose of this new facility over and above what I already have with Erland's plugins, not suggesting anything. LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. LMS Squeeze2upnp (Beta - derived from squeezelite) to Musical Fidelity M1 CLiC and Marantz CR603 UPnP renderers. Squeezelite to PC sound. Minimserver (server) and upplay (control point) to same amps to upmpdcli/mpd PC renderers. Meridian USB Explorer DAC from PCs to speakers/headphones. Wireless Xubuntu 14.04 laptop controls LMS/upplay via Firefox. Have a Touch with EDO, and a spare, but don't use. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
It covers 95% and I don't care about the rest. It also works with stock LMS 7.9 now.. Actually I do have a license for Erland's plugins and that's what I've been using for years but I'd like to replace them with 7.9 eventually because that can more easily filter the whole library across all functionality, beyond what CustomBrowse supports. I still feel that for a lot of users a more simple UI with e.g predefined filters would be quite useful, not everybody wants to create a complex filter using advanced search. --- learn more about iPeng, the iPhone and iPad remote for the Squeezebox and Logitech UE Smart Radio as well as iPeng Party, the free Party-App, at penguinlovesmusic.com *New: iPeng 8, the Universal App for iOS 7 and iOS 8* pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
For me it's genre. --- learn more about iPeng, the iPhone and iPad remote for the Squeezebox and Logitech UE Smart Radio as well as iPeng Party, the free Party-App, at penguinlovesmusic.com *New: iPeng 8, the Universal App for iOS 7 and iOS 8* pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
pippin wrote: It covers 95% and I don't care about the rest. It also works with stock LMS 7.9 now.. Actually I do have a license for Erland's plugins and that's what I've been using for years but I'd like to replace them with 7.9 eventually because that can more easily filter the whole library across all functionality, beyond what CustomBrowse supports. I'm sure you are right, it's just that I don't understand (I have tried to) since Custom Browse/Scan can do everything and much more than the standard menus, whilst as far as I can tell the standard menus have much less functionality (not more) and can't support my needs. Never mind, I'm sure I'm missing something really good, but I'll go away - for now :) LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. LMS Squeeze2upnp (Beta - derived from squeezelite) to Musical Fidelity M1 CLiC and Marantz CR603 UPnP renderers. Squeezelite to PC sound. Minimserver (server) and upplay (control point) to same amps to upmpdcli/mpd PC renderers. Meridian USB Explorer DAC from PCs to speakers/headphones. Wireless Xubuntu 14.04 laptop controls LMS/upplay via Firefox. Have a Touch with EDO, and a spare, but don't use. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
marcoc1712 wrote: 5. My suggestion was here just becouse I think is the more flexible and less costing mods could be done in LMS to enable people use this great functionality without the needs of complex UI or plugins, since every logic will be defined and applied outside LMS. It's OK, will probably work well for you and if Michael or someone else wants to implement it, there's no problem with that. All I'm saying is that for most people this won't solve anything. From what I'm seeing from the iPeng user requests I'm pretty confident that 90% of all Squeezebox users have never edited their tags. A lot of them have never heard of Foobar and some of them (like me) don't even use Windows! These users download music from iTunes or rip it with iTunes (or whatever else their OS or phone came with) and all the tagging they will ever do is what Gracenote, CDDB, iTunes or whatever else in in the backend delivers as their tags. And then there are some like myself who sometime edit some tags upon scanning but never again because they just won't bother about having every last detail in the tagging right. For all of these people your solution won't help. But at the same time, for most of those users a solution based on advanced search won't help because they won't want to learn how that works, too (I had to collect probably two dozen Genres to get that stuff right for me). For this majority of users a good solution is probably a plugin that comes with a set of predefined filters with a simple UI. No children's music. No speech. Classical Music only,... Stuff like that. This is the challenge that will make a lot of users happy. Wy it should take few minutes in LMS and days in Foobar? Because I can set up the query through advanced search in LMS. I don't use Foobar. I don't use Windows. My Music is not on an SMB share. It will easily take a day until I can get such a setup working. And I have no idea how to batch-tag in iTunes. And I don't plan to find out about it (I'm sure there are some Apple Scripts for that). LMS is the place where it's used, if it should be a solution for most users, it will have to work out of the box with whatever automatic taggers deliver. --- learn more about iPeng, the iPhone and iPad remote for the Squeezebox and Logitech UE Smart Radio as well as iPeng Party, the free Party-App, at penguinlovesmusic.com *New: iPeng 8, the Universal App for iOS 7 and iOS 8* pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
I probably miss the point. let me make a brief on how I understand we are: 1. Michael did a great job making LMS able to store sub libraries definition as a list of tracks belonging to a library (or libraries for the track, is the same). 2. The original intent of Michael was to create an infrastructure to be used by developers for plugins, the great advantage is (or it will be soon) that in all the LMS libraries will be considered and used in consistent way, and this is and must be the first Michael commitment on this point, is up to developers make existing plugins comply to this and take advantage. 3. As a plus Michael released the Library demo plugin, that show how to define libraries in plugins. 4. As a plus, Michael enabled Advanced query to be a simple method to define libraries. To me point 4 is 'dangerous' becouse is an easy prediction that in a wile we will see a lot of requests, like the one to enlarge the genre list field, rising up. I for me I'll like the capability to use url structure to define libraries, but I retain myself to ask. 5. My suggestion was here just becouse I think is the more flexible and less costing mods could be done in LMS to enable people use this great functionality without the needs of complex UI or plugins, since every logic will be defined and applied outside LMS. The last is not opposed as any other development in LMS or in plugin, new or existings, who is going to use what is, as usual, a matter of personal preferences, needs and culture. What I could not understand is in what is different using a query defined in LMS and applied in every scan from the same 'query' defined i.e. in Foobar and applied once to add the library to tags. Wy it should take few minutes in LMS and days in Foobar? a. Foobar has much more capability than advanced query (more parameters, regular expresions,...), so using it you did even not have to ask Michael to do nothing on LMS (and accordingly wait for). b. The execution time could maybe be longer, but with a 50K tracks library this has never been a big deal, then, considering you need to do it just once, while scanner will process query in LMS everytime, in long terms could easily result in a benefit. What when your son will start to listen to something he call Rock, but nothing to do with you use to tag as Rock? c. Result is exactly the same, library_track is populated by a value calculated at scan time based on some user logics and then used all over LMS. Difference is LMS in one case in not aware of what this logic is, and this to me is be a good separation of concerns principle implementation. Marco. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
pippin wrote: You can build much more flexible menus using CustomBrowse but most plugins would not respect the filter, I end up with duplicate menus, not all context menu items will work, search will not respect the filters,... Also, the CBR menus don't work as well in iPeng because they don't have content-aware CLI, I can show less information for albums and tracks, it can't be fully cached, there are a lot of reasons why it doesn't work as well for me. Fair enough. We all want, and can often do, many different things with our music libraries. That's why LMS is indispensible. LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. LMS Squeeze2upnp (Beta - derived from squeezelite) to Musical Fidelity M1 CLiC and Marantz CR603 UPnP renderers. Squeezelite to PC sound. Minimserver (server) and upplay (control point) to same amps to upmpdcli/mpd PC renderers. Meridian USB Explorer DAC from PCs to speakers/headphones. Wireless Xubuntu 14.04 laptop controls LMS/upplay via Firefox. Have a Touch with EDO, and a spare, but don't use. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
You can build much more flexible menus using CustomBrowse but most plugins would not respect the filter, I end up with duplicate menus, not all context menu items will work, search will not respect the filters,... Also, the CBR menus don't work as well in iPeng because they don't have content-aware CLI, I can show less information for albums and tracks, it can't be fully cached, there are a lot of reasons why it doesn't work as well for me. The better integration with LMS browse modes iirc was the main reason why _Erland_ asked for this change. He's been the one who suggested integrating this with core LMS. -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
mherger wrote: You can build much more flexible menus using CustomBrowse but most plugins would not respect the filter, I end up with duplicate menus, not all context menu items will work, search will not respect the filters,... Also, the CBR menus don't work as well in iPeng because they don't have content-aware CLI, I can show less information for albums and tracks, it can't be fully cached, there are a lot of reasons why it doesn't work as well for me. The better integration with LMS browse modes iirc was the main reason why _Erland_ asked for this change. He's been the one who suggested integrating this with core LMS. Just to confirm what Michael is saying, my plan is that that the new Custom Libraries plugin which uses the new library features in 7.9 will replace the current Multi Library plugin. Current Custom Browse/Custom Scan based menus which today might use Multi Library defined libraries will be switched to instead use the new libraries defined in 7.9. In such scenario it doesn't matter if the libraries have been created using advanced search or Custom Libraries plugin, they will all work together with Custom Browse/Custom Scan. The same is also true for my other plugins which integrated with Mutli Library, for example the SQL Playlist plugin which is going to make it possible to create smart playlists based on a virtual library defined in 7.9. After I've finished Custom Libraries plugin the old Multi Library plugin will only be used by people using LMS 7.8 or earlier. Custom Browse plugin still has its place if you want more advanced menu hierarchies, for example for classical music, but it won't be needed if you only want to separate your libraries into multiple sub libraries. Erland Isaksson ('My homepage' (http://erland.isaksson.info)) LEAD PLATFORM DEVELOPER OF 'ICKSTREAM MUSIC PLATFORM' (HTTP://WWW.ICKSTREAM.COM) - A WORLD OF MUSIC AT YOUR FINGERTIPS (Also 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)) erland's Profile: http://forums.slimdevices.com/member.php?userid=3124 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Philip Meyer wrote: This is already possible using Erland's Custom Scan plugin. This allows you to define additional tags to read at scan time, and then you can create a library using that metadata (either using his Multi Library plugin + Custom Browse plugin to view it). Or create an LMS library by writing SQL. Yes, but: 1. They dont works with cue files, as far as I know. 2. They are not free (if I well remember). I know Erlan, I was also a little involved by him in one of his projects (social music discovery), some time ago, its a clever and Kind person, so I'll like him and I'll like to work again with him, but I can't since as a professional I could make consulting 'pro bono' but not on commercial projects and - wile I understand his point of view - I personally don't agree with his choice, nothing wrong at all, it's a personal choice. Marco SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
marcoc1712 wrote: users will accomplish this with the tagging applications they are used to Err... 99% of all users will use auto-tagging with iTunes or Windows and have no idea how to change their tags. --- learn more about iPeng, the iPhone and iPad remote for the Squeezebox and Logitech UE Smart Radio as well as iPeng Party, the free Party-App, at penguinlovesmusic.com *New: iPeng 8, the Universal App for iOS 7 and iOS 8* pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Hi Michael, I tried but was not able to replace the query text with one based on other colums, like this one: Did you check the server.log? You might have corrupted the pref file's structure or something. It's a yaml file. -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
And then there are some like myself who sometime edit some tags upon scanning but never again because they just won't bother about having every last detail in the tagging right. That's me, too. For this majority of users a good solution is probably a plugin that comes with a set of predefined filters with a simple UI. No children's music. No speech. Classical Music only,... Stuff like that. This is the challenge that will make a lot of users happy. The problem here is the lack of standardization and localization. Speech, spoken, Hörspiel, Hörbuch, etc. I've had them all. (and that's one of the few reasons why I would re-tag some files: to reduce the number of mostly redundant genres) And I have no idea how to batch-tag in iTunes. I was surprised by the lack of good tagging software when I started to use Macs years back. I've found Media Rage back then, which I've been using ever since, though it has not been updated in years. Some weeks back I found someone referencing a Mac build of mp3tag. Haven't used it, though. Media Rage is what I'm used to using and does the job for me. Oh, this thread is not about tagging. Sorry. :-) -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
marcoc1712 wrote: 5. My suggestion was here just becouse I think is the more flexible and less costing mods could be done in LMS to enable people use this great functionality without the needs of complex UI or plugins, since every logic will be defined and applied outside LMS. The last is not opposed as any other development in LMS or in plugin, new or existings, who is going to use what is, as usual, a matter of personal preferences, needs and culture. What I could not understand is in what is different using a query defined in LMS and applied in every scan from the same 'query' defined i.e. in Foobar and applied once to add the library to tags. Wy it should take few minutes in LMS and days in Foobar? a. Foobar has much more capability than advanced query (more parameters, regular expresions,...), so using it you did even not have to ask Michael to do nothing on LMS (and accordingly wait for). b. The execution time could maybe be longer, but with a 50K tracks library this has never been a big deal, then, considering you need to do it just once, while scanner will process query in LMS everytime, in long terms could easily result in a benefit. What when your son will start to listen to something he call Rock, but nothing to do with you use to tag as Rock? c. Result is exactly the same, library_track is populated by a value calculated at scan time based on some user logics and then used all over LMS. Difference is LMS in one case in not aware of what this logic is, and this to me is a good separation of concerns principle implementation. I believe you can do exactly this with the API Michael has created, he created two ways to register a library: Code: Slim::Music::VirtualLibraries-registerLibrary( { id = 'demoLongTracks', name = 'Longish tracks only', # %s is being replaced with the library's internal ID sql = qq{ INSERT OR IGNORE INTO library_track (library, track) SELECT '%s', tracks.id FROM tracks WHERE tracks.secs 600 } } ); The above is based on an SQL statement, which is the solution you don't like. Code: Slim::Music::VirtualLibraries-registerLibrary( { id = 'demoComplexLibrary', name = 'Library based on some complex processing', scannerCB = sub { my $id = shift; # use this internal ID rather than yours! # do some serious processing here ... # don't forget to update the library_track table with ($id, 'track_id') tuples at some point! } In this second variant you can get the information from what ever place you want, your callback will be called by the scanner and it's your responsibility to fill library_track with suitable tracks for your library. If you want pick them from foobar that's just an implementation choice of your plugin. If third party developers (such as you or me) would have been a bit faster, Michael would probably have stayed away from the GUI parts completely, but since I didn't have time and I didn't want to do something completely free, and no other developer was interested at the time, Michael correctly decided that it was a good idea to do some simple integration with advanced search to make it possible for people to use the functionality until third party developers had the time to develop something better. Finally I just want to give Michael credit again for the way he did this implementation, starting with the API and thus offer possibility to third party developers to extend it is the way forward in the future since we don't know how long Logitech will let Michael continue to work on LMS core software. This way we always have the option to extend the functionality through third party plugins even if LMS core development stops completely. Erland Isaksson ('My homepage' (http://erland.isaksson.info)) LEAD PLATFORM DEVELOPER OF 'ICKSTREAM MUSIC PLATFORM' (HTTP://WWW.ICKSTREAM.COM) - A WORLD OF MUSIC AT YOUR FINGERTIPS (Also 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)) erland's Profile: http://forums.slimdevices.com/member.php?userid=3124 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Takes several minutes, too, completely hanging the process while querying. Could you please test again with the latest from git? I got the query execution time down from almost 7 mins to about 1-1.5 seconds without memory tuning, and down to 150-200ms with the dbhighmem parameters. -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
have you ever considered the opportunity to look for a specific TAG (and metadata in .cue by the way) named i.e. Library or subLibrary or...someOtherFancyNameHere as a symple and completely automated base for generate virtualLibraries at scan time? Hmm... interesting idea! No, I haven't thought of this before. This could be implemented as a rather simple plugin, I think. Eg. using adding something like library:NoKids to a track's comment. The plugin then would parse all comments for library:*, creating library definitions for all of them. Volunteers?... -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
mherger wrote: have you ever considered the opportunity to look for a specific TAG (and metadata in .cue by the way) named i.e. Library or subLibrary or...someOtherFancyNameHere as a symple and completely automated base for generate virtualLibraries at scan time? Hmm... interesting idea! No, I haven't thought of this before. This could be implemented as a rather simple plugin, I think. Eg. using adding something like library:NoKids to a track's comment. The plugin then would parse all comments for library:*, creating library definitions for all of them. Volunteers?... l This is already possible using Erland's Custom Scan plugin. This allows you to define additional tags to read at scan time, and then you can create a library using that metadata (either using his Multi Library plugin + Custom Browse plugin to view it). Or create an LMS library by writing SQL. Philip Meyer's Profile: http://forums.slimdevices.com/member.php?userid=95 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Thank you!!! That's a dramatic change in performance! BTW: not only for this particular case, all other Albums queries also seem to be dramatically faster now, I think people will love this :) The 17K vs. 26K is full vs. filtered library. Settings-Information shows the size of the active library (maybe it should show both sizes?) and since you can't really easily see which player you have selected in Settings I had selected one with a filtered library. --- learn more about iPeng, the iPhone and iPad remote for the Squeezebox and Logitech UE Smart Radio as well as iPeng Party, the free Party-App, at penguinlovesmusic.com *New: iPeng 8, the Universal App for iOS 7 and iOS 8* pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
That's a dramatic change in performance! BTW: not only for this particular case, all other Albums queries also seem to be dramatically faster now, I think people will love this :) Great! Thanks for the feedback. -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Hi, just a little and stupid suggestion: have you ever considered the opportunity to look for a specific TAG (and metadata in .cue by the way) named i.e. Library or subLibrary or...someOtherFancyNameHere as a symple and completely automated base for generate virtualLibraries at scan time? I think it will be an easy way for users and a very performant way too, it will remove (or at list make less urgent) the needs of complicated UI to define queries in LMS, users will accomplish this with the tagging applications they are used to, then more sophisticated filters could be build in LMS or by specifics plugin, as you originally intended. Marco. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Philip Meyer wrote: This is already possible using Erland's Custom Scan plugin. This allows you to define additional tags to read at scan time, and then you can create a library using that metadata (either using his Multi Library plugin + Custom Browse plugin to view it). Or create an LMS library by writing SQL. I use Erland's Multi Library, Custom Browse and Custom Scan. I understand that he has done some development based on this new Multi-Library facility, but that it isn't integrated with Custom Browse /Scan. Since I use Custom Browse / Scan for almost all my use of LMS, with many different specialised menus, I'm unlikely to move to this new library mechanism unless it all works together. I'm not totally sure what the benefits of this new Library mechanism are over Erland's, but if development is moving that way I'd be happy to follow and test and redevelop my menus provided I can get a consistent interface using my Custom Tags / Mixed Tags and so on. LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. LMS Squeeze2upnp (Beta - derived from squeezelite) to Musical Fidelity M1 CLiC and Marantz CR603 UPnP renderers. Squeezelite to PC sound. Minimserver (server) and upplay (control point) to same amps to upmpdcli/mpd PC renderers. Meridian USB Explorer DAC from PCs to speakers/headphones. Wireless Xubuntu 14.04 laptop controls LMS/upplay via Firefox. Have a Touch with EDO, and a spare, but don't use. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Takes several minutes, too, completely hanging the process while querying. Ugh... got your file: took my 2009 Mac Mini 6-7 minutes to complete my query. During this time there was constant disk IO of about 20-25MB in and out. The same query run against my library finishes in 530ms. BTW: your library lists 26k tracks. I thought you had mentioned 16k? I'll look into this a bit deeper. -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Pippin - did you set the memory configuration for your db to one of the high modes? When I run the query in firefox with the sqlite manager, execution time drops from 400s to about 60s when using memory as the temporary storage (which is one of the tweaks the high memory setting applies). All the disk IO is gone. That said it's still 5-6x slower than without the library_id. The biggest difference between your library and mine probably is the number of contributors (12k vs 2k). If I don't join them in the query, we're down to 200ms... Now I'll have to figure out how we could optimize this. -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Takes several minutes, too, completely hanging the process while querying. Ok, then at least we know where to continue the search. Would a Clear Rescan make me lose my library definition? Probably yes, right? No, the definitions are stored in a prefs file. Do you want to have my library.db? Yes, please. Thanks! -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
That said it's still 5-6x slower than without the library_id. The biggest difference between your library and mine probably is the number of contributors (12k vs 2k). If I don't join them in the query, we're down to 200ms... ...and with a few more tweaks (there are too many joins) I get the full query down to 100ms. Now I only have to figure out how to embed this in the code... -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Here's what I've done. I have defined a library like mentioned above for Music without audiobooks, essentially a list of genres to be excluded when browsing. That list _might_ be a bit long (10 or 15 genres or so) but still, it's a one-dimensional filter (only genres being excluded). Ok, pretty much my use case, only different content: - main filtered view: no children's music, no audiobooks - custom sub menu for the kids Is this about right? My test library has some 16K tracks, 1K Albums and 9.5K Artists (480 of which are Albumartists), so I'd call this a moderately sized test library, LMS runs on a MacBook Pro. I have a similarly sized collection (20k tracks, 1.3k albums) on a much less powerful machine (Atom) running Linux. THE BUG IS SIMPLE[/B]: IF YOU APPLY A FILTER YOU CAN NOW OVERRIDE THAT FILTER FOR BROWSING (BY SIMPLY NOT SPECIFYING THE LIBRARY_ID) BUT YOU CAN'T SEEM TO BE ABLE TO DO THAT FOR PLAYING. Confirmed: I can't play Pippi Langstrumpf in Taka Tuka Land, but I can play all its tracks from the kids' menu. Correct? [B]THE PERFORMANCE ISSUE LOOKS MORE LIKE A NOTORIOUS PROBLEM With this enabled my main All Artists and All Albums lists still work reasonably well. But as soon as I add an additional filter the results get really, really slow. A good example is Album Artists - still OK. But opening All Albums for Album Artists makes it really slow, something like 6-7 minutes only to load the album list (1K Albums). Hmm... I'm not sure I fully understand the issue, can't reproduce it. I've enabled the no kids music library as the default view. Then I browse Artists - All Albums. Takes about two seconds in the web UI, less than a second in iPeng. I tried both, the unified list as well as the separate Album Artist/All Artists lists. I suspect the problem is that now the server has to apply the library filter (list of Genres) and also apply an artist role filter (Albumartists, which are a small subset - 480 - of all artists), plus, it needs to sort the results (by Artist). This seems to be too much for the poor server, even with the maximum memory setting. Can you check the resources to figure out whether it's memory, disk IO or CPU bound? I would consider my server on the lower performance end for any x86 based system. But I don't see your issue. LMS is using about 250MB. Are you using any 3rd party plugins? This time the behavior between iPeng and your App is a little different: iPeng will take several minutes to load the list while your App bails out with a timeout message and doesn't load it at all - probably the same underlying issue, though, the performance is too bad. Yep, I would expect the app to time out. It wouldn't wait (it's not using cometd, but jsonrpc requests). Could you check whether something weird is going on or does this use case need additional indexes or something? You could enable debugging for database.sql to see whether this is triggering some really bad query. And could you please send me all the settings on the My Music settings page (screenshot is ok ;-)) -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
mherger wrote: Then you should probably write what you're talking about :-P. Because you wrote: Artists-All Albums is fast for me, too, it's Album Artists-All Artists that is slow. Umm, yep. That was wrong, sorry. But there definitely is no Album Artists-All Artists menu (what would it show?) and in the initial post I wrote A good example is Album Artists - still OK. But opening All Albums for Album Artists makes it really slow, something like 6-7 minutes only to load the album list (1K Albums). All confusion over. And I can only repeat what I wrote in my first response: no problem here. Loads instantly in iPeng (a few seconds in the web UI due to slow rendering). And you did switch the library to All Library, then opened Album Artists-All Albums, loaded the menu (completely, until even Z is shown), then switched to the filtered library and opened both Albums Artists (the root menu) and All Albums from there again to reproduce it? --- learn more about iPeng, the iPhone and iPad remote for the Squeezebox and Logitech UE Smart Radio as well as iPeng Party, the free Party-App, at penguinlovesmusic.com *New: iPeng 8, the Universal App for iOS 7 and iOS 8* pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
mherger wrote: Select a library on your player. Check the web UI: it's using the same library. Check iPeng: using the same. Change in iPeng (while controlling that player). Check other UIs again: all using the same library. In my understanding that's per-player, not per controller. Ah, you're probably right. I think iPeng currently doesn't always identify the change correctly when it's not being done from iPeng. Could it be that the player status doesn't send a notification when the library_id changes? In that case ipeng would only learn about the change when the next regular update comes in. Will investigate. BTW: It would be really good if the Library Views menu could somehow indicate the currently active library. --- learn more about iPeng, the iPhone and iPad remote for the Squeezebox and Logitech UE Smart Radio as well as iPeng Party, the free Party-App, at penguinlovesmusic.com *New: iPeng 8, the Universal App for iOS 7 and iOS 8* pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Another thing to examine is what happens when you change player in the web UI to one using a different library view. I lose the highlighting in the alphapagebar, plus it shows an incorrectly aligned page - one which doesn't begin on a letter boundary. In fact, you can land on a page outside the browse range of the library view and you get a blank page with no pagebar. I'm guessing it simply knows that the current page begins at item #n, rather than noting the start letter. To do it right, you almost have to keep track of the current browse page for each player. JJZolx's Profile: http://forums.slimdevices.com/member.php?userid=10 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Now you say it was Album Artists - All ALBUMS, too? It was always Album Artists-All Albums. That's what I'm talking about all the time. Then you should probably write what you're talking about :-P. Because you wrote: Artists-All Albums is fast for me, too, it's Album Artists-All Artists that is slow. Can we agree that your writing was a bit confusing while what you said (or wanted to write) was what I would have expected to read? :-) All confusion over. And I can only repeat what I wrote in my first response: no problem here. Loads instantly in iPeng (a few seconds in the web UI due to slow rendering). Can anybody else confirm pippin's observation? -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
mherger wrote: Is there an example plugin that utilizes this support? Excuse me if it's been discussed in the past, as I'm somewhat lost now when it comes to multi-libraries and sub-libraries and browse modes.[/color] The missing piece is a good UI to define the library filter. You can use the Advanced Search to do so, but it's not great. Are you saying that you can currently define a library filter using the Advanced Search, or only that this UI might be used a basis for a user interface? I see how you can save a search by name, but nothing beyond that. JJZolx's Profile: http://forums.slimdevices.com/member.php?userid=10 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
JJZolx wrote: Aha! I see where I can select the Library View in SqueezePlay. And back in the web interface, when that player is selected, it appears to filter correctly. But I don't see a means of selecting the Library View in the web UI. Is that not finished yet? I discovered you have to enable LIbrary demo plugin to have the Library view enabled, plus You have to enable it for the player you are using in web UI. The first imply to restart the server too. Marco. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Ok, thanks to Michael again, I've figured out how to do. Editing virtuallibraries.prefs works but only using filters based on genre (or better, on the parameters you have in the saved query), I was not able to replace the query text with one based on other colums, as the one here: --- _ts_vlid_6c11a475: 1421090725 _version: 0 vlid_6c11a475: id: advSrch_1421090725 name: Classica params: - 'file:///E:/Classica%' sql: INSERT OR IGNORE INTO library_track (library, track) SELECT '%s', id FROM ( SELECT me.id FROM tracks me WHERE me.url like ?) To accomplish this, I've modified the LibraryDemo plugin itself and it's working. here the code with SQL: ... id = 'mc2Classica', name = 'Classica', # %s is being replaced with the library's ID sql = qq{ INSERT OR IGNORE INTO library_track (library, track) SELECT '%s', tracks.id FROM tracks WHERE url Like 'file:///E:/Classica%' } }, ... my @menus = ( { name = 'MC2_CLASSICAL_ARTISTS', icon = 'html/images/artists.png', feed = \Slim::Menu::BrowseLibrary::_artists, id = 'artistsForMc2Classica', weight = 21, },{ name = 'MC2_CLASSICAL_ALBUMS', icon = 'html/images/albums.png', feed = \Slim::Menu::BrowseLibrary::_albums, id = 'albumsForMc2Classica', weight = 25, } ); ... foreach (@menus) { Slim::Menu::BrowseLibrary-registerNode({ type = 'link', name = $_-{name}, params = { library_id = Slim::Music::VirtualLibraries-getRealId('mc2Classica') }, feed = $_-{feed}, icon = $_-{icon}, jiveIcon = $_-{icon}, homeMenuText = $_-{name}, condition= \Slim::Menu::BrowseLibrary::isEnabledNode, id = $_-{id}, weight = $_-{weight}, cache= 1, }); } ... SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Is there an example plugin that utilizes this support? Excuse me if it's been discussed in the past, as I'm somewhat lost now when it comes to multi-libraries and sub-libraries and browse modes.[/color] The missing piece is a good UI to define the library filter. You can use the Advanced Search to do so, but it's not great. Are you saying that you can currently define a library filter using the Advanced Search, or only that this UI might be used a basis for a user interface? I see how you can save a search by name, but nothing beyond that. Right next to the Saved Search button there's a As Library View button. -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
mherger wrote: Are you saying that you can currently define a library filter using the Advanced Search, or only that this UI might be used a basis for a user interface? I see how you can save a search by name, but nothing beyond that.[/color] Right next to the Saved Search button there's a As Library View button. Aha! I see where I can select the Library View in SqueezePlay. And back in the web interface, when that player is selected, it appears to filter correctly. But I don't see a means of selecting the Library View in the web UI. Is that not finished yet? JJZolx's Profile: http://forums.slimdevices.com/member.php?userid=10 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
mherger wrote: Is this about right? Yes. Confirmed: I can't play Pippi Langstrumpf in Taka Tuka Land, but I can play all its tracks from the kids' menu. Correct? Again: yes. Hmm... I'm not sure I fully understand the issue, can't reproduce it. I've enabled the no kids music library as the default view. Then I browse Artists - All Albums. Takes about two seconds in the web UI, less than a second in iPeng. I tried both, the unified list as well as the separate Album Artist/All Artists lists. ... Can you check the resources to figure out whether it's memory, disk IO or CPU bound? Artists-All Albums is fast for me, too, it's Album Artists-All Artists that is slow. It's CPU (one core maxed out for the whole time of the query). All other figures are low (176 MB RAM, very little disc IO to my flash drive...) Subsequent queries of the same page are much, much faster and consume less CPU although still slower than Artists-All Albums, it seems to be primarily the first load after selecting the filtered library (in Library Views) that is so extremely slow (stays slow until I have completely loaded the list at least once). So to reproduce it you might have to switch your libraries. BTW, after switching libraries Album Artists-All Albums is slow even with the unfiltered library, albeit not as extreme as for the filtered one. The query is Code: [15-01-13 13:20:14.0735] Slim::Control::Queries::albumsQuery (671) Albums query: SELECT albums.discc AS 'albums.discc', contributors.name AS 'contributors.name', contributors.namesort AS 'contributors.namesort', albums.disc AS 'albums.disc', albums.titlesort AS 'albums.titlesort', albums.titlesearch AS 'albums.titlesearch', albums.contributor AS 'albums.contributor', albums.id AS 'albums.id', albums.title AS 'albums.title', albums.artwork AS 'albums.artwork', albums.compilation AS 'albums.compilation', albums.year AS 'albums.year' FROM albums JOIN contributor_album ON contributor_album.album = albums.id JOIN contributors ON contributors.id = contributor_album.contributor JOIN tracks ON tracks.album = albums.id JOIN library_track ON library_track.track = tracks.id WHERE contributor_album.role IN (?, ?) AND library_track.library = ? GROUP BY albums.id ORDER BY contributors.namesort COLLATE en_US , albums.year, albums.titlesort COLLATE en_US LIMIT ?,? / [5, 1, 9e75b8cb, 10 0, 100] This seems to be the Album Artists query, which is not as slow: Code: [15-01-13 13:18:13.4218] Slim::Control::Queries::artistsQuery (1130) Artists query: SELECT contributors.id, contributors.name, contributors.namesort FROM contributors JOIN contributor_album ON contributor_album.contributor = contributors.id WHERE contributors.id IN ( SELECT DISTINCT contributor_track.contributor FROM contributor_track WHERE (contributor_track.role IN (5,1,4,2,3,6) ) AND contributor_track.track IN ( SELECT library_track.track FROM library_track WHERE library_track.library = ? ) ) GROUP BY contributors.id ORDER BY contributors.namesort COLLATE en_US LIMIT ?,? / [9e75b8cb, 6600, 500] There's also the occasional one of these in there: Code: [15-01-13 13:21:38.7187] Slim::Schema::Debug::query_start (23) SELECT me.id, me.type, me.name, me.active, me.total, me.done, me.start, me.finish, me.info FROM progress me WHERE ( type = ? ) ORDER BY start,id: 'importer' don't think they are related, though. My Music settings: 17148 +---+ |Filename: settings.png | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=17148| +---+ --- learn more about iPeng, the iPhone and iPad remote for the Squeezebox and Logitech UE Smart Radio as well as iPeng Party, the free Party-App, at penguinlovesmusic.com *New: iPeng 8, the Universal App for iOS 7 and iOS 8* pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Hmm... I'm not sure I fully understand the issue, can't reproduce it. I've enabled the no kids music library as the default view. Then I browse Artists - All Albums. Takes about two seconds in the web UI, less than a second in iPeng. I tried both, the unified list as well as the separate Album Artist/All Artists lists. ... Can you check the resources to figure out whether it's memory, disk IO or CPU bound? Artists-All Albums is fast for me, too, it's Album Artists-All Artists that is slow. More confusion... how would I get that menu item? I don't have an All Artists item in the Album Artists list. It's CPU (one core maxed out for the whole time of the query). All other figures are low (176 MB RAM, very little disc IO to my flash drive...) Subsequent queries of the same page are much, much faster and consume Keep in mind that browse pages (web UI) are cached. Once you've been there it would just pull the fully rendered page from the cache. No database lookup involved. You can prevent this using the --nobrowsecache parameter. less CPU although still slower than Artists-All Albums, it seems to be primarily the first load after selecting the filtered library (in Library Views) that is so extremely slow (stays slow until I have completely loaded the list at least once). So to reproduce it you might have to switch your libraries. BTW, after switching libraries Album Artists-All Albums is slow even with the unfiltered library, albeit not as extreme as for the filtered one. Now you say it was Album Artists - All ALBUMS, too? [15-01-13 13:20:14.0735] Slim::Control::Queries::albumsQuery (671) Albums query: SELECT albums.discc AS 'albums.discc', contributors.name AS 'contributors.name', contributors.namesort AS 'contributors.namesort', albums.disc AS 'albums.disc', albums.titlesort AS 'albums.titlesort', albums.titlesearch AS 'albums.titlesearch', albums.contributor AS 'albums.contributor', albums.id AS 'albums.id', albums.title AS 'albums.title', albums.artwork AS 'albums.artwork', albums.compilation AS 'albums.compilation', albums.year AS 'albums.year' FROM albums JOIN contributor_album ON contributor_album.album = albums.id JOIN contributors ON contributors.id = contributor_album.contributor JOIN tracks ON tracks.album = albums.id JOIN library_track ON library_track.track = tracks.id WHERE contributor_album.role IN (?, ?) AND library_track.library = ? GROUP BY albums.id ORDER BY contributors.namesort COLLATE en_US , albums.year, albums.titlesort COLLATE en_US LIMIT ?,? / [5, 1, 9e75b8cb, 10 0, 100] That's a query for albums, while the next one is a contributor query: [15-01-13 13:18:13.4218] Slim::Control::Queries::artistsQuery (1130) Artists query: SELECT contributors.id, contributors.name, contributors.namesort FROM contributors JOIN contributor_album ON contributor_album.contributor = contributors.id WHERE contributors.id IN ( SELECT DISTINCT contributor_track.contributor FROM contributor_track WHERE (contributor_track.role IN (5,1,4,2,3,6) ) AND contributor_track.track IN ( SELECT library_track.track FROM library_track WHERE library_track.library = ? ) ) GROUP BY contributors.id ORDER BY contributors.namesort COLLATE en_US LIMIT ?,? / [9e75b8cb, 6600, 500] These can't be compared, obviously. [15-01-13 13:21:38.7187] Slim::Schema::Debug::query_start (23) SELECT me.id, me.type, me.name, me.active, me.total, me.done, me.start, me.finish, me.info FROM progress me WHERE ( type = ? ) ORDER BY start,id: 'importer' The Settings/Information page still open? It's the progress display for the last/running scan. My Music settings: A few differences to mine. Will double-check. Thanks! -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta