Open Omertron opened 9 years ago
Comment #1 originally posted by Omertron on 2009-05-13T15:10:53.000Z:
FYI
For those of you who don't know this yet, there's a wonderfull program out there to enhance the use of YAMJ, it's called NMTServer.
http://code.google.com/p/nmtserver/
NMTServer will soon provide support to edit the libraries.xml file "on the fly" before running YAMJ. If the developpers of YAMJ accept to fix this defect (788), combined with the NMTServer enhancement (defect 20: http://code.google.com/p/nmtserver/issues/detail?id=20) it will be an ideal solution for people with multiple offline medias.
Pros:
If you are as much interrested as I am by this enhancement, don't hesitate to star both defect... and encourage the developpers for support. ;-)
Comment #2 originally posted by Omertron on 2009-06-25T22:55:05.000Z:
In your case it makes a lot more sense to have library-A.xml and library-B.xml with the same NMT paths but different library name. You then run YAMJ on each xml file to create 2 different jukeboxes. No need to edit any library file again once it's setup, and you can even use a different skin for each with a different property file named on the command line.
Original issue 788 created by Omertron on 2009-05-13T14:42:18.000Z:
What steps will reproduce the problem?
What is the expected output? What do you see instead? When connecting Disk B, the user sets the "scrape library" to false for Disk A... the expected result is that library for Disk B is processed and library for Disk A is fully ignored. What I see instead is that both libraries are not scraped.
What version of the product are you using? On what operating system? Latest version, Windows Vista.
Please provide any additional information below.
Suggestion to solve this issue ("easy fix"): add a parameter to libraries.xml file to completely ignore and entire library.
Eg: <ignoreLibrary>true/false</ignoreLibrary>
This is a sample of libraries.xml file that will cause the issue with the steps described hereabove:
1/</nmtpath> <exclude name="sample,tmp/,temp/"/> <description>Library A</description> <prebuf></prebuf> <scrapeLibrary>false</scrapeLibrary> </library>
1/</nmtpath> <exclude name="sample,tmp/,temp/"/> <description>Library B</description> <prebuf></prebuf> <scrapeLibrary>true</scrapeLibrary> </library>
This is a sample of libraries.xml file with fix that will resolve the issue with the steps described hereabove:
1/</nmtpath> <exclude name="sample,tmp/,temp/"/> <description>Library A</description> <prebuf></prebuf> <scrapeLibrary>true (or false, doesn't really matter because this library is fully ignored anyway)</scrapeLibrary> <ignoreLibrary>true</ignoreLibrary> </library>
1/</nmtpath> <exclude name="sample,tmp/,temp/"/> <description>Library B</description> <prebuf></prebuf> <scrapeLibrary>true</scrapeLibrary> <ignoreLibrary>false</ignoreLibrary> </library>