Home of the Squeezebox™ & Transporter® network music players.
Page 6 of 10 FirstFirst ... 45678 ... LastLast
Results 51 to 60 of 96
  1. #51
    Senior Member
    Join Date
    May 2005
    Posts
    127
    Quote Originally Posted by adhawkins View Post
    Ok, there's a new beta release (1.1.0b) in the beta repository. This implements the option to make library views recursive or not.
    With recursive enabled: Create Library Views Complete 00:00:19
    With recursive disabled: Create Library Views Complete 00:00:18

    - Songs added as expected in both cases.
    - Changing RECURSIVE setting initiated a new scan as expected.

    Quote Originally Posted by adhawkins View Post
    Also, anyone running LMS on Windows care to give this a test for me?
    I'm using the docker image with Debian 11.

    Quote Originally Posted by adhawkins View Post
    Hopefully it'll just be offered as a straight upgrade from 1.1.0a.
    I did not test the straight upgrade (I disabled the plugin and re-enabled it). If there is a way I can still test it?

  2. #52
    Senior Member
    Join Date
    May 2005
    Location
    UK
    Posts
    832
    Quote Originally Posted by coldslabs View Post
    I did not test the straight upgrade (I disabled the plugin and re-enabled it). If there is a way I can still test it?
    Thanks for confirming the test data, appreciate it.

    Not sure about being able to test. However, I've made another change that means I only need to scan the filesystem once even if you have multiple library views defined. Once I'm happy with that I'll release a new beta version. Hopefully you'll be able to do a straight upgrade with that one.

    Andy

  3. #53
    Senior Member Chunkywizard's Avatar
    Join Date
    Feb 2009
    Location
    Sindlesham, UK
    Posts
    950
    Thanks for the new beta Andy, I have now started to use your plugin :-)

    One thing I found if that when I enable a view it still displays my Spotify artists/ albums. Are way to suppress those when in restricted view?

    Cheers

    CW
    Squeezebox: Boom x2 (Kitchen and Living Room), Radio x4 (Kids, Play Room and Bedroom), PiCorePlayer (Office)
    Server: 8.1.0 for PCP
    Plugins: Spotty | Dynamic Playlists | SQL Playlist | Music and Artist Information | TrackStat
    Remote: iPhone8/iPad Air running iPeng
    Music: Last.fm

  4. #54
    Senior Member
    Join Date
    May 2005
    Location
    UK
    Posts
    832
    Quote Originally Posted by Chunkywizard View Post
    One thing I found if that when I enable a view it still displays my Spotify artists/ albums. Are way to suppress those when in restricted view?
    To be honest, I have no idea.

    All this plugin does is add IDs for matching tracks into the library view, so I'm not sure why Spotify libraries are showing up as well.

    Maybe @mherger can advise?

    Andy

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

    ANNOUNCE: Simple Library Views plugin

    >> One thing I found if that when I enable a view it still displays my
    >> Spotify artists/ albums. Are way to suppress those when in restricted
    >> view?
    >>

    > To be honest, I have no idea.


    As Simple Library Views is based on local files on the local file system
    there's no way to use it with online tracks.

  6. #56
    Senior Member Chunkywizard's Avatar
    Join Date
    Feb 2009
    Location
    Sindlesham, UK
    Posts
    950
    Hi Michael, I don't want to use it for on-line tracks, I just want, that when I invoke a simple library view, the restricted view doesn't show Spotify tracks (ie turns off the Spotty plug-in!). Is that possible for Andy to code in some way?

    Cheers

    CW
    Squeezebox: Boom x2 (Kitchen and Living Room), Radio x4 (Kids, Play Room and Bedroom), PiCorePlayer (Office)
    Server: 8.1.0 for PCP
    Plugins: Spotty | Dynamic Playlists | SQL Playlist | Music and Artist Information | TrackStat
    Remote: iPhone8/iPad Air running iPeng
    Music: Last.fm

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

    ANNOUNCE: Simple Library Views plugin

    > Hi Michael, I don't want to use it for on-line tracks, I just want, that
    > when I invoke a simple library view, the restricted view doesn't show
    > Spotify tracks (ie turns off the Spotty plug-in!). Is that possible for
    > Andy to code in some way?


    Ah, got you. Yes, that should be fairly easy. Replace

    WHERE url like ?

    with

    WHERE url LIKE ? AND url LIKE 'file://%'

    This ensures that only local files are part of the library.

  8. #58
    Senior Member Chunkywizard's Avatar
    Join Date
    Feb 2009
    Location
    Sindlesham, UK
    Posts
    950
    Thanks Michael!

    Andy, does that make sense and can you make the change please?
    Squeezebox: Boom x2 (Kitchen and Living Room), Radio x4 (Kids, Play Room and Bedroom), PiCorePlayer (Office)
    Server: 8.1.0 for PCP
    Plugins: Spotty | Dynamic Playlists | SQL Playlist | Music and Artist Information | TrackStat
    Remote: iPhone8/iPad Air running iPeng
    Music: Last.fm

  9. #59
    Senior Member
    Join Date
    May 2005
    Location
    UK
    Posts
    832
    Quote Originally Posted by mherger View Post
    Ah, got you. Yes, that should be fairly easy. Replace

    WHERE url like ?

    with

    WHERE url LIKE ? AND url LIKE 'file://%'

    This ensures that only local files are part of the library.
    But the value passed to 'like' is already a file:// URL. It's created using:

    Code:
    		my $pathSearch = Slim::Utils::Misc::fileURLFromPath($dir) . "/%";
    		$sth_recursive_insert->execute($id, $pathSearch);
    Or am I misunderstanding what 'fileURLFromPath' does?

    Andy

  10. #60
    Senior Member
    Join Date
    May 2005
    Location
    UK
    Posts
    832
    I've just uploaded v1.1.0c - this incorporates some minor efficiency updates which may make a difference on large libraries or slower storage. The scanning of the disk for .simple-library-views-xxxx files is now done once for all libraries, rather than individually for each library.

    This should just updated from 1.1.0b if you have the 'beta.xml' repo listed in LMS.

    Comments appreciated.

    Andy

Posting Permissions

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