If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
I'm happy to announce the availability of the first version of the Simple Library Views plugin. This plugin allows you to easily define library views, simply by entering a list of views to create, and then creating appropriate files in album directories to add albums to a view.
Thanks to mherger and kidstypike for their assistance in the development of this plugin.
This is my first ever LMS plugin, so I'd appreciate any feedback you can give. Please use this thread for any questions or comments.
EDIT: If you used the original version of this plugin (EasyVirtualLibraries) then please remove all references to this previous version before installing this one.
* Plugin now licensed under the GPL
* Correctly register and unregister library views when changes are made in settings
* Only actually build library views from scanner process, trigger a scan when appropriate
* Performance enhancements in library view building (thanks to Michael Herger)
* Plugin now licensed under the GPL
* Correctly register and unregister library views when changes are made in settings
* Only actually build library views from scanner process, trigger a scan when appropriate
* Performance enhancements in library view building (thanks to Michael Herger)
Andy
Wow! that's speeded up the "Create library views" some, was >3:00 mins, now 19 secs.
Thanks for the confirmation @kidstypike, @mherger had provided me with some hints as to how to speed things up, but while I was in the middle of implementing them he submitted a pull request with them all done! Still, I learned a bit more about Perl database in the process, so no bad thing!
I've got a sneaky feeling there's still a bug that exists the very first time the plugin is installed and a library view is configured. I see some warning about using undefined variables in a comparison, and I'm not 100% sure the comparison 'works' as a result. I'll investigate that today.
I think I've resolved the issue with uninitialized values, but not sure it was actually causing a problem.
Unless anyone has any problems, I'll release a v1.0 of this and consider any potential future developments.
Andy
Yes, Andy, I'm still playing around with library views a lot and found this a very nice addition to the ways they can be dealt with! Please carry on with the maintenance/development in case you have any new ideas ;-)
Cheers,
Seb
"The only word I know is 'Grunt' - and I can't spell it" (R.I.P. D.A.)
I will find out useful when I get around to implementing it. Fed up with just genre tags, this is much more scriptable.
Sent from my Nexus 7 using Tapatalk
--
Hardware: 3x Touch, 1x Radio, 2x Receivers, 1 HP Microserver NAS with Debian+LMS 7.9.0
Music: ~1300 CDs, as 450 GB of 16/44k FLACs. No less than 3x 24/44k albums..
Thanks both for the response. If it's useful to more than just me, then I'll try to get a v1.0 release out in the next few days.
I have some ideas for making it more useful, primarily around the configuration of library views. I'd like to be able to specify library views that are combinations of others.
e.g. For the music I use in a random mix at work:
andy and not audiobooks
If anyone has any other suggestions for improvements, then I think the best way is to log them as change requests at GitHub:
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, personalize advertising, and to analyze site activity. We may share certain information about our users with our advertising and analytics partners. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment