If I understand you correctly you like to perform all these steps
through SlimServer ? Or do you have a separate application in mind ?

I could see two possible solutions:

Solution 1 (Most/all work in an external application)
=====================================================
1. An external application performs some checks on files which the user
has put in a specific directory.
2. If the checks are fulfilled it jumps to point 6 
3. If the checks aren't fulfilled the external application puts the
files in a list/queue
4. The user can look through each file in the queue and preview the
different tag values through the user interface of the external
application. If a tag value is incorrect it can be corrected directly
from the external application.
5. The external application will write any changes to the tags in the
music file
6. The external application moves the file into a directory in the
SlimServer music folder according to a specified pattern, for example
%artist%/%album%.
7. The external application tells SlimServer to perform a scan of the
specific directory which the file was added to.


Solution 2 (Most work in a plugin)
==================================
1. A plugin inside SlimServer checks for files which the user has put
in a specific directory. On each file in this directory it performs
some checks.
2. If the checks are fulfilled it jumps to point 6 
3. If the checks aren't fulfilled the plugin puts the files in a
list/queue
4. The user can look through each file in the queue and preview the
different tag values through the SqueezeBox display or the SlimServer
web interface. If a tag value is incorrect it can be corrected directly
from the SqueezeBox display or the SlimServer web interface.
5. The plugin will write any changes to the tags in the music file.
6. The plugin moves the file into a directory in the SlimServer music
folder according to a specified pattern, for example %artist%/%album%.
7. The plugin tells SlimServer to perform a scan of the specific
directory which the file was added to.


Personally I think solution 1 is the prefered one unless you feel it is
very important to do the previewing and tag editing directly on the
SqueezeBox display. The advantage of solution 1 is also that you don't
have to learn perl, because solution 1 could easily be implemented in
C# or VB. 
I think there already today is commands available in the CLI interface
which SlimServer offers to tell it to perform a rescan. I'm not sure
you can tell it to perform a rescan of a specific directory, but if
that is missing that specific part could pretty easy be implemented in
a small plugin which the external application interacts with. An
existing tagging application can probably be used for most steps in
solution 1 if you can live with having several applications involved.

If you really feel that it is important that the previewing and tag
editing is perform directly on the SqueezeBox display, you would have
to go with solution 2. 

If you want hand-holding I think the best way to get help is to ask
concrete questions on small things. It can be everthing from "how is a
if-statement written in perl" to "how do I tell slimserver to perform a
rescan over the CLI interface". 
For basic perl questions there are a lot of sites on Internet where you
will find tutorials, examples and manuals, so I suggest to look around a
bit before posting very basic questions regarding perl in this forum.
The "Developers" section of the forum is the best place to ask
questions if you like help with something that is related to SlimServer
from a developers point of view.
When I developed my first plugin I started with an existing plugin and
modified it to my needs, that was a good way to start without having to
learn all the perl basics to get something up and running.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.homeip.net) 'My download page'
(http://erland.homeip.net/download)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library and Database Query plugins'
(http://wiki.erland.homeip.net/index.php/Category:SlimServer))
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=42091

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

Reply via email to