Announcement

Collapse
No announcement yet.

ANNOUNCE: Simple Library Views plugin

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • ANNOUNCE: Simple Library Views plugin

    > Should this be configurable by the way? Or is excluding remote artists a
    > sensible setting for the plugin?


    As your plugin relies on the local file system and NOT on metadata I'd
    say it's reasonable to not include remote content.

  • #2
    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:



    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, 21:57.

    Comment


    • #3
      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
      Server - LMS 8.4.0 RPi4B 4GB/NanoSound ONE case/pCP 8.1.0 - 75K library, playlists & LMS cache on Sata SSD (ntfs)

      Lounge - DAC32 - AudioEngine B2
      Office - RPi 3B+/HiFiBerry DAC HAT/RPi screen - Edifier D12
      Bedroom - Echo Show 8

      Spares - 1xSB Touch, 1xSB3, 4xRPi, AVI DM5 speakers

      Comment


      • #4
        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

        Comment


        • #5
          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

          Comment


          • #6
            Originally posted by adhawkins
            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 Files
            Server - LMS 8.4.0 RPi4B 4GB/NanoSound ONE case/pCP 8.1.0 - 75K library, playlists & LMS cache on Sata SSD (ntfs)

            Lounge - DAC32 - AudioEngine B2
            Office - RPi 3B+/HiFiBerry DAC HAT/RPi screen - Edifier D12
            Bedroom - Echo Show 8

            Spares - 1xSB Touch, 1xSB3, 4xRPi, AVI DM5 speakers

            Comment


            • #7
              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
              Michael

              "It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
              (LMS: Settings/Information)

              Comment


              • #8
                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

                Comment


                • #9
                  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

                  Comment


                  • #10
                    Originally posted by adhawkins
                    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.)

                    Comment


                    • #11
                      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..

                      Comment


                      • #12
                        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:



                        I'll start adding a few of my own ideas there, look forward to hearing any others.

                        Andy

                        Comment


                        • #13
                          I've just release v1.0.0. Not much changed, but I'd consider this 'stable' now.

                          v1.0.0
                          ------

                          * Correctly initialise preferences on new install

                          Please let me know if you have any issues or suggestions. Best bet is via GitHub:



                          Andy

                          Comment


                          • #14
                            ANNOUNCE: Simple Library Views plugin

                            > I've just release v1.0.0. Not much changed, but I'd consider this
                            > 'stable' now.


                            I've added your plugin to the main repository. Thanks!

                            --

                            Michael
                            Michael

                            "It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
                            (LMS: Settings/Information)

                            Comment


                            • #15
                              Originally posted by mherger
                              I've added your plugin to the main repository. Thanks!
                              What does that mean exactly? People won't have to add my own repo.xml?

                              Should I continue to maintain repo.xml?

                              Andy

                              Comment

                              Working...
                              X
                              😀
                              🥰
                              🤢
                              😎
                              😡
                              👍
                              👎