gandt;133108 Wrote: 
> can you give me a lightening guide on using it please

Sure thing.  If you are on a Windows box, you can use the Task
Scheduler (in Start-]Accessories-]System Tools) to create a series of
tasks that will run every night (or however often you want to rescan
your library).  If you are on a UNIX box, you can use the cron
scheduler to accomplish the same thing.  The gist is that you want to
tell Music IP to do 3 things:  

1)  ADD YOUR NEW MUSIC TO THE LIBRARY.
You can accomplish this via the API by scheduling your browser to open
the following page (or using "wget" on a unix box):

http://localhost:10002/server/add?root=[PATH TO YOUR MUSIC]

Replace "[PATH TO YOUR MUSIC]" with the actual path to your music
folder, i.e. "\\my_network_drive\media\Music"

So if you're using task scheduler and IE, the scheduled task would look
like this:

c:\progra~1\intern~1\iexplore.exe
"http://localhost:10002/server/add?root=\\fatcat\tracey\my music", as
in cparker's example.

If you're using UNIX, you might want:

wget -q -O /dev/null
"http://localhost:10002/server/add?root=\\fatcat\tracey\my music"

The -q tells wget not to output any information to the command line,
and the "-O /dev/null" tells it not to save the html file that you surf
to (its default behavior is to save the file).

So that step would happen first, say, at 1:30 AM every morning.

2) REFRESH YOUR LIBRARY.
This is to clear out files that have moved or changed or been deleted
or re-tagged.

The URL for this is:

http://localhost:10002/server/refresh

That should run at say 2:15 AM to give the previous command 45 minutes
to run (it should not take that long, but it can't hurt to be safe).

3.  ANALYZE/VALIDATE YOUR MUSIC.
This is to make your files mixable (it should only be doing this to
your newly added music, so it shouldn't take too long).

The URL for this one is:

"http://localhost:10002/server/validate?action=Start Validation"

I have this start at 3:00 AM.

4.  SLIMSERVER RESCAN
This is to get SlimServer to reload the new information from your Music
IP library.

cparker provided a direct URL to trigger this maunally; you can also
just use the included Scheduled Rescan plugin in SlimServer (you set
the time you want the rescan to run on the Server Settings -> Plugins
page in SlimServer).  I have mine start at 3:45 AM to give the
validation time to complete.

Does this answer your question?  I hope so.  I'm happy to provide more
details if you need them.


-- 
tfish77
------------------------------------------------------------------------
tfish77's Profile: http://forums.slimdevices.com/member.php?userid=1809
View this thread: http://forums.slimdevices.com/showthread.php?t=26854

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to