Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 10 123 ... LastLast
Results 1 to 10 of 96
  1. #1
    Senior Member
    Join Date
    May 2005
    Location
    UK
    Posts
    831

    ANNOUNCE: Simple Library Views plugin

    Hi all,

    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.

    Full details of the plugin are available here:

    http://adhawkins.github.io/SimpleLibraryViews/

    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.

    Thanks

    Andy
    Last edited by adhawkins; 2016-05-13 at 13:57.

  2. #2
    Senior Member kidstypike's Avatar
    Join Date
    Feb 2007
    Location
    Brindle
    Posts
    5,235
    Andy

    I uninstalled your original plugin, removed your old repo and old files from album folders, and deleted the old library views.

    Added your new repo and installed Simple Library Views, and ... everything seems to work as expected.

    Good work.

    kidstypike
    LMS server/study player - LMS 8.3.0 Pi4B 4GB/NanoSound ONE case/pCP 8.1.0 - 75K library, playlists & LMS cache on Sata SSD (ntfs)
    Lounge - Pi2/pCP 8.1.0 > HiFiBerry DIGI+ > Topping E30 > AVI DM5
    Dining Room - Echo Show 8
    Garage - Squeezebox Touch > Edifier

    Spares - 1xSB Touch, 1xSB3, 4xRPi, 1xDAC32, 1xCORE32

  3. #3
    Senior Member
    Join Date
    May 2005
    Location
    UK
    Posts
    831
    I've just release v0.99.1 of this plugin. The only real difference is that the file can now be called either:

    simple-library-views-libname

    or

    .simple-library-views-libname

    This means that the library view files can now be 'hidden' when used on a Linux OS.

    Andy

  4. #4
    Senior Member
    Join Date
    May 2005
    Location
    UK
    Posts
    831
    I've just released v0.99.2.

    Release notes below:

    v0.99.2
    -------

    * 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

  5. #5
    Senior Member kidstypike's Avatar
    Join Date
    Feb 2007
    Location
    Brindle
    Posts
    5,235
    Quote Originally Posted by adhawkins View Post
    I've just released v0.99.2.

    Release notes below:

    v0.99.2
    -------

    * 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
    Attached Images Attached Images  
    LMS server/study player - LMS 8.3.0 Pi4B 4GB/NanoSound ONE case/pCP 8.1.0 - 75K library, playlists & LMS cache on Sata SSD (ntfs)
    Lounge - Pi2/pCP 8.1.0 > HiFiBerry DIGI+ > Topping E30 > AVI DM5
    Dining Room - Echo Show 8
    Garage - Squeezebox Touch > Edifier

    Spares - 1xSB Touch, 1xSB3, 4xRPi, 1xDAC32, 1xCORE32

  6. #6
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,724

    ANNOUNCE: Simple Library Views plugin

    > Wow! that's speeded up the "Create library views" some, was >3:00 mins,
    > now 19 secs.


    Nice! Interesting ratio, as this pretty much reflects the improvement
    I've seen on my SSD based system - though at a different level :-)

    --

    Michael

  7. #7
    Senior Member
    Join Date
    May 2005
    Location
    UK
    Posts
    831
    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.

    Andy

  8. #8
    Senior Member
    Join Date
    May 2005
    Location
    UK
    Posts
    831
    Anyone finding this plugin useful?

    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

  9. #9
    Member srasher's Avatar
    Join Date
    Jun 2006
    Location
    Bochum, Germany
    Posts
    86
    Quote Originally Posted by adhawkins View Post
    Anyone finding this plugin useful?

    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.)

  10. #10
    Senior Member
    Join Date
    Apr 2013
    Location
    UK
    Posts
    1,323
    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..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •