Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Senior Member Ashy72's Avatar
    Join Date
    Jul 2007
    Location
    United Kingdom
    Posts
    126

    Unhappy Multi library Plugin Problem

    Hi all, I have installed multi library 1.5.4, Custom browse, Dynamic Playlist, Trackstat and Musicinfoscr. I have a problem with multilibrary - It doesnt show any music files (e.g albums\artists\playlists) in my two defined new virtual libraries.
    For reference i have Marks library which is my main library which resides under directory F:\My music.
    Then i have also created B library which is new music added to a seperate directory f:\Music 2. This has never been played on my squeezebox yet and i want to keep this music seperate from my main library.

    I have done a clear and rescan and also i have tried the refresh buttons on the multilibrary pages - not sure what they do but no music appears in the menus. Also my new music in Music 2 directory doesnt appear in slimserver.

    1. I need to get my music files listed under the Marks Library and B library Menus in custombrowse.
    2. Will i need to place a shortcut in my main F:\My music directory to the f:\Music 2 directory in order to get the new music scanned in by slimserver?

    Any help would be gratefully received thanks mark.

  2. #2
    Senior Member erland's Avatar
    Join Date
    Dec 2005
    Location
    Sweden
    Posts
    10,318
    Multi Library only handles tracks that already is seen in SlimServer standard browse menus. I'm guessing that you currently only sees the F:\Music files in SlimServer, but not the F:\Music 2 files ?
    If this is the case, you will need to create the shortcut as you suggests and perform a SlimServer rescan, then check the standard browse menu to make sure the F:\Music 2 files are in there.

    After this, you might want to restart SlimServer just to be sure this isn't the problem.

    If the music now isn't shown in the browse menus for the different libraries something is probably wrong with your library configuration. What are the different values in the library configuration for each library set to ?

    You should only set the necessary parameters, so in this case I would guess that in your case that means setting the "Included directory 1" to F:\Music and F:\Music 2 for respective library and leave the rest of the parameters empty. You can of course also change the library name and select which menus to include since these doesn't affect which songs that are included in the libraries.
    Erland Isaksson (My homepage)
    (Developer of many plugins/applets (both free and commercial).
    If you like to encourage future presence on this forum and/or third party plugin/applet development, consider purchasing some plugins)
    You may also want to try my Android apps Squeeze Display and RSS Photo Show
    Interested in the future of music streaming ? ickStream - A world of music at your fingertips.

  3. #3
    Senior Member Ashy72's Avatar
    Join Date
    Jul 2007
    Location
    United Kingdom
    Posts
    126
    Quote Originally Posted by erland View Post
    Multi Library only handles tracks that already is seen in SlimServer standard browse menus. I'm guessing that you currently only sees the F:\Music files in SlimServer, but not the F:\Music 2 files ?
    If this is the case, you will need to create the shortcut as you suggests and perform a SlimServer rescan, then check the standard browse menu to make sure the F:\Music 2 files are in there.

    After this, you might want to restart SlimServer just to be sure this isn't the problem.

    If the music now isn't shown in the browse menus for the different libraries something is probably wrong with your library configuration. What are the different values in the library configuration for each library set to ?

    You should only set the necessary parameters, so in this case I would guess that in your case that means setting the "Included directory 1" to F:\Music and F:\Music 2 for respective library and leave the rest of the parameters empty. You can of course also change the library name and select which menus to include since these doesn't affect which songs that are included in the libraries.

    Hi thanks for the reply I still have the problem though.
    I created the shortcut, rescanned, now the Music2 files are seen mixed into my main library. Now library configuration, is that under Multi library-> Create New Libraries? If so i have created them and changed the title to Marks Library And B Library respectively. But again no albums, artists or songs pop up under albums or any other menu in either the Marks Library Or B Library menus.

    Some things i would like you to check:-

    In Plugins i had to create dirctory paths for various things, here they are for checking:-

    CustomBrowse

    Browse Configuration Directory F:\My Music\My Playlists
    Browse Templates Library C:\Program Files\Slimserver\Plugins\Custom Browse\Templates
    Context Templates Directory C:\Program Files\Slimserver\Plugins\Custom Browse\Context Templates
    Cache Directory For Images C:\Program Files\Slimserver\Plugins\Custom Browse\Cache Images
    (I created this directory)


    MultiLibrary

    Library Directory F:\My Music
    Library Templates Directory C:\Program Files\Slimserver\Plugins\MultiLibrary\Templates

    Refresh after library has been saved ON

    Hope this helps thanks, Mark

  4. #4
    Senior Member erland's Avatar
    Join Date
    Dec 2005
    Location
    Sweden
    Posts
    10,318
    Quote Originally Posted by Ashy72 View Post
    In Plugins i had to create dirctory paths for various things, here they are for checking:-

    CustomBrowse

    Browse Configuration Directory F:\My Music\My Playlists
    Browse Templates Library C:\Program Files\Slimserver\Plugins\Custom Browse\Templates
    Context Templates Directory C:\Program Files\Slimserver\Plugins\Custom Browse\Context Templates
    Cache Directory For Images C:\Program Files\Slimserver\Plugins\Custom Browse\Cache Images
    (I created this directory)
    If you are talking about the directories you have specified in "Server Settings/Plugins", it is recommended that these points somewhere outside the SlimServer installation. They just need to point to an empty directory. The "Browse Configuration Directory" looks correct, the rest looks like you are pointing them to the plugin installation dir which is not recommended. I don't think this is the problem though.
    Quote Originally Posted by Ashy72 View Post
    MultiLibrary

    Library Directory F:\My Music
    Library Templates Directory C:\Program Files\Slimserver\Plugins\MultiLibrary\Templates
    Same comments as above "Library Directory" look correct. Personally I would maybe point it to "F:\My Music\My Playlists" instead but "F:\My Music" should work too.
    The "Library Templates Directory" looks incorrect for the same reason as mentioned above.

    Now over to the debugging and error finding. In the "Multi Library" section of "Server Settings/Plugin" there is an option to show debug messages. Could you enable this and then push the "Refresh" button in the Multi Library web interface. Directly after this goto: http://localhost:9000/log.txt and post the contents of this log. I should contains some message rows that starts with "Multi Library" if you have enabled the debugging messages the correct way.
    Erland Isaksson (My homepage)
    (Developer of many plugins/applets (both free and commercial).
    If you like to encourage future presence on this forum and/or third party plugin/applet development, consider purchasing some plugins)
    You may also want to try my Android apps Squeeze Display and RSS Photo Show
    Interested in the future of music streaming ? ickStream - A world of music at your fingertips.

  5. #5
    Senior Member Ashy72's Avatar
    Join Date
    Jul 2007
    Location
    United Kingdom
    Posts
    126

    Re- Multilibrary log

    Hi Erland, I cant send the logfile here its too big even with editing out the custombrowse logs, what can i do?

    I have now sorted the directories out for custombrowse and multilibrary e.g put the following in the plugin page

    F:\My Music\My Playlists\CustomBrowse Cache Images
    F:\My Music\My Playlists\CustomBrowse Context Templates
    F:\My Music\My Playlists\CustomBrowse Templates
    F:\My Music\My Playlists\Multilibrary Templates
    F:\My Music\My Playlists\SQL Playlist Templates

    Still not able to see any files in Marks Library and B Library
    I have noticed though that all the above directories remain empty with no files in?

    I have now deleted these two libraries and tried again setting them up as Marks Library Only AND B Library Only. Still doesnt work. Now another problem.... Marks Library and B library still remain in the browse menu on the home page how do i get rid of these they shouldnt be here now?
    Last edited by Ashy72; 2007-09-21 at 08:13.

  6. #6
    Senior Member erland's Avatar
    Join Date
    Dec 2005
    Location
    Sweden
    Posts
    10,318
    Quote Originally Posted by Ashy72 View Post
    Hi Erland, I cant send the logfile here its too big even with editing out the custombrowse logs, what can i do?
    Zip them and if you still can't post them, you can mail them to me directly (if less than 10MB) at: erland_i at hotmail.com

    Another thing, you only need to enable the debugging flag in Multi Library and hit the Refresh button on the Multi Library plugin page. The Custom Browse debug parameter can be disabled since I feel that the problem is related to the Multi Library plugin.

    Quote Originally Posted by Ashy72 View Post
    I have now sorted the directories out for custombrowse and multilibrary e.g put the following in the plugin page

    F:\My Music\My Playlists\CustomBrowse Cache Images
    F:\My Music\My Playlists\CustomBrowse Context Templates
    F:\My Music\My Playlists\CustomBrowse Templates
    F:\My Music\My Playlists\Multilibrary Templates
    F:\My Music\My Playlists\SQL Playlist Templates

    Still not able to see any files in Marks Library and B Library
    I have noticed though that all the above directories remain empty with no files in?
    Thats okey, they should be empty by default. Templates will always be loaded from the directories below the plugin installation dirs and additionally templates you make yourself or download via the download links in the user interface will be put in these directories.

    Quote Originally Posted by Ashy72 View Post
    Now another problem.... Marks Library and B library still remain in the browse menu on the home page how do i get rid of these they shouldnt be here now?
    If you have removed a library, I think you might have to restart SlimServer to remove it from the home page.
    Erland Isaksson (My homepage)
    (Developer of many plugins/applets (both free and commercial).
    If you like to encourage future presence on this forum and/or third party plugin/applet development, consider purchasing some plugins)
    You may also want to try my Android apps Squeeze Display and RSS Photo Show
    Interested in the future of music streaming ? ickStream - A world of music at your fingertips.

  7. #7
    Senior Member Ashy72's Avatar
    Join Date
    Jul 2007
    Location
    United Kingdom
    Posts
    126

    Here is my Multilibrary Log as requested (part of it that contains some errors)

    Erland please check my last post in case you miss my edited comments.



    MultiLibrary: Synchronization finished
    MultiLibrary: Searching for item configuration in: F:\My Music\My Playlists
    MultiLibrary: Loading configuration from: C:\Program Files\SlimServer\server\Plugins\MultiLibrary\Templ ates
    MultiLibrary: Loading dependentlibrary.xml and converting from latin1
    MultiLibrary: Loading standard.xml and converting from latin1
    MultiLibrary: Loading configuration from: F:\My Music\My Playlists\Multilibrary Templates
    MultiLibrary: Loading configuration from: F:\My Music\My Playlists
    MultiLibrary: Loading configuration from: F:\My Music\My Playlists
    MultiLibrary: Loading B Library Only.ml.values.xml and converting from latin1
    MultiLibrary: Searching for template: standard.xml
    MultiLibrary: Reading template: standard.template
    MultiLibrary: Loading standard.template and converting from latin1
    MultiLibrary: Loading Marks Library Only.ml.values.xml and converting from latin1
    MultiLibrary: Searching for template: standard.xml
    MultiLibrary: Reading template: standard.template
    MultiLibrary: Loading standard.template and converting from latin1
    MultiLibrary: Getting library templates from Custom Browse
    MultiLibrary: Getting library templates from Custom Browse
    MultiLibrary: Getting library templates from Custom Browse
    MultiLibrary: Getting library templates from Custom Browse
    MultiLibrary: Getting library templates from Custom Browse
    MultiLibrary: Getting library templates from Custom Browse
    ERROR: INPUT.Choice: getExtVal - couldn't run coderef. [Can't use string ("SAVED_PLAYLISTS") as a HASH ref while "strict refs" in use at C:\Program Files\SlimServer\server/Plugins/MultiLibrary/Plugin.pm line 81.
    ]

    ERROR: INPUT.Choice: getExtVal - couldn't run coderef. [Can't use string ("SAVED_PLAYLISTS") as a HASH ref while "strict refs" in use at C:\Program Files\SlimServer\server/Plugins/MultiLibrary/Plugin.pm line 96.
    ]

  8. #8
    Senior Member erland's Avatar
    Join Date
    Dec 2005
    Location
    Sweden
    Posts
    10,318
    By looking at the end of the log you sent me it looks like you have setup your libraries like this:
    - Marks Library Only: F:\My Music (Only include flac and mp3 files)
    - B Library Only: F:\Music2 (Only include flac and mp3 files)

    Is this how you like them defined ?
    If it is, could you use the standard SlimServer browse menus in the web interface and browse to a song which should be in each library. In the Song Info page look for the "Location" attribute and post the value of this attribute for one song which should belong to each library here. I just want to look how the full path to a song looks like.

    I've never seen the error you list in your last post. Could you:
    - Try to restart SlimServer and see if you still get it
    - Look in the "F:\My Music\My Playlists" directory and make sure there aren't any *.ml.values.xml or *.ml.xml files there besides those two that represents your libraries.

    Until you find the problem it is a good idea to restart SlimServer after you have changed the library definition as you like them to look. It shouldn't be needed, but there has been some bugs earlier that was solved by a restart.

    There were a lot of errors earlier in the log you sent me, but the last refresh seems to have worked without errors according to the log. Unfortunately the debug messages doesn't print the number of tracks it finds for the library, so it might still not match any tracks.
    Erland Isaksson (My homepage)
    (Developer of many plugins/applets (both free and commercial).
    If you like to encourage future presence on this forum and/or third party plugin/applet development, consider purchasing some plugins)
    You may also want to try my Android apps Squeeze Display and RSS Photo Show
    Interested in the future of music streaming ? ickStream - A world of music at your fingertips.

  9. #9
    Senior Member Ashy72's Avatar
    Join Date
    Jul 2007
    Location
    United Kingdom
    Posts
    126
    Quote Originally Posted by erland View Post
    By looking at the end of the log you sent me it looks like you have setup your libraries like this:
    - Marks Library Only: F:\My Music (Only include flac and mp3 files)
    - B Library Only: F:\Music2 (Only include flac and mp3 files)

    Is this how you like them defined ?
    If it is, could you use the standard SlimServer browse menus in the web interface and browse to a song which should be in each library. In the Song Info page look for the "Location" attribute and post the value of this attribute for one song which should belong to each library here. I just want to look how the full path to a song looks like.

    I've never seen the error you list in your last post. Could you:
    - Try to restart SlimServer and see if you still get it


    Until you find the problem it is a good idea to restart SlimServer after you have changed the library definition as you like them to look. It shouldn't be needed, but there has been some bugs earlier that was solved by a restart.

    There were a lot of errors earlier in the log you sent me, but the last refresh seems to have worked without errors according to the log. Unfortunately the debug messages doesn't print the number of tracks it finds for the library, so it might still not match any tracks.
    Ok i dont mind about the only include mp3/flac as these are the only files i have in my libraries.

    Here are the structures you requested:-

    F:\My Music\The Beatles\1\01 Love Me Do.mp3 (download)

    F:\Music2\B Collection\ Stevie Wonder feat. Michael Jackson - All I Do (Cleopatra.mp3 (download)

    About 300 Songs are all placed in this one folder under B Collection


    I've never seen the error you list in your last post. Could you:
    - Try to restart SlimServer and see if you still get it

    Restarted still get errors see new log to your email Ashy72 multilibrary log2.


    - Look in the "F:\My Music\My Playlists" directory and make sure there aren't any *.ml.values.xml or *.ml.xml files there besides those two that represents your libraries.

    Only Marks Library Only.ml.values.xml and
    B Library Only.ml.values.xml are present throughout the directory.

  10. #10
    Senior Member erland's Avatar
    Join Date
    Dec 2005
    Location
    Sweden
    Posts
    10,318
    Ok, everything looks correct in the log as far as I can see.

    The errors in the log now is from the SQL Playlist plugin and is caused by some error in the file: F:\My Music\My Playlists\randomtracks.sql.values

    My guess is that there is some problem with non ascii characters, there has been some bugs related to this before. However, this won't affect the Multi Library/Custom Browse plugins, so let's just ignore that error for the moment.

    Would it be possible for you to install the Database Query plugin so we can actually look what is inside the database ?

    If you do this, you can choose the "Free form query", hit the edit button and change the SQL statement field to the following and then hit "save and execute":
    Code:
    select count(distinct multilibrary_track.track),name from multilibrary_libraries,multilibrary_track
    	where multilibrary_libraries.id=multilibrary_track.library
    group by multilibrary_libraries.id
    The result should be the number of tracks in each library, if the first column shows 0 we have some problem in the Multi Library plugin, else the problem is with the Custom Browse plugin.

    To install the Database Query plugin just:
    1. Download it from my web page
    2. Unzip it in the plugins directory
    3. Restart SlimServer

    If the Database Query plugin shows that there are some tracks in the libraries, we can proceed with the Custom Browse plugin. In the Multi Library section of "Server Settings/Plugin", you can now disable the debug logging parameter. Instead I like to you enable the debug logging parameter in the Custom Browse section.

    After this browse into one of the libraries browse menus that doesn't show any entries and directly after this look in the log. You should see some entries starting with "Custom Browse" if you have enabled to logging correctly. Look for any error and send me the complete log again unless you can see what the problem is yourself.

    If the libraries menu directly in the browse menu doesn't show anything, you can also repeat the procedure by browsing into the menu inside the browse menu called "Custom Browse" and post the log when you do this.
    Erland Isaksson (My homepage)
    (Developer of many plugins/applets (both free and commercial).
    If you like to encourage future presence on this forum and/or third party plugin/applet development, consider purchasing some plugins)
    You may also want to try my Android apps Squeeze Display and RSS Photo Show
    Interested in the future of music streaming ? ickStream - A world of music at your fingertips.

Posting Permissions

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