Bug 2441 - Add possibility to run external programs
: Add possibility to run external programs
Status: NEW
Product: Logitech Media Server
Classification: Unclassified
Component: Misc
: unspecified
: All All
: -- enhancement (vote)
: Future
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-10-31 00:18 UTC by Hans Palm
Modified: 2011-11-06 23:22 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans Palm 2005-10-31 00:18:47 UTC
The user may want to run external programs in various situations, related to 
the existing functions of the slimserver. Examples:
- When the library is rescanned, full or partial (treat those differently)
- Before a song starts playing

Add the possibility to add the path of external programs and passing of 
parameters using some meta notation, e.g. %d for dírictory path, %f for 
filename. This could either be added in the various server configuration menus, 
or, better, a separate "External Programs" menu may be added. For each 
situation that may be relevant for running external programs, add a list of 
suchs programs and parameter passing (several programs may be executed for a 
certain situation).

One practical example of this would be to apply ReplayGain:

External Programs (menu)
-----------------
The following commands will be executed... (explanation of the feature)

Rescan Music Library/Clear library and rescan everything: <none>
Rescan Music Library/Look for new and changed music: replaygain -r -c %d%f

etc.

I don't know that much about what plugins are capable of. The ability to run 
external programs reduces the need for many dedicated plugins. If the "External 
Programs" may be implemented as a general plugin instead of directly in 
slimserver, this is also fine.
Comment 1 Chris Owens 2010-05-06 15:54:17 UTC
Dean doesn't work here any more :)
Comment 2 Alan Young 2011-11-06 23:22:18 UTC
Unassigned bugs cannot have a priority.