On Sat, Mar 10, 2012 at 11:44:10PM +0800, zw g wrote:
> Dear List,
> 
> 
> Is the 'auto_update' feature of MPD available on Mac OS X?
> 
> >From my testing, it does work on my Linux box, but failed on Mac OS X.
> It's a really nice feature, i miss it after i switched to my Mac.
> 
> And one more step, is it available on Windows?
> 
> If both not, is there any trick to do that?
> I really love that.

AFAIK, auto_update is as of now only supported through inotify, which is
a Linux interface.

Both Mac OS X[1] and Windows[2] seem to have interfaces to get file
system notifications, and glib also has an interface (GFileMonitor[3])
that might work on all three major operating systems.

[1] 
https://developer.apple.com/library/mac/#documentation/Darwin/Reference/FSEvents_Ref/FSEvents_h/
[2] 
http://msdn.microsoft.com/en-us/library/windows/desktop/aa365261%28v=vs.85%29.aspx
[3] http://developer.gnome.org/gio/unstable/GFileMonitor.html

HTH,
        Jonathan Neuschäfer

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team

Reply via email to