I have the following command line :

liquidsoap -c "output.dummy(audio_to_stereo(single('avicii.mp3')))"

and simple c program that uses inotify to monitor accesses to a directory
(available here:
http://darkeside.blogspot.ca/2007/12/linux-inotify-example.html)

This is all a very simple test environment set up to recreate what we are
currently experiencing.

So whenever I run the above Liquidsoap command, the inotify program reports
the file was opened in read/write mode. If I take away write permissions on
this file, then Liquidsoap opens it in read mode.

This opening in write mode is a problem for us, because we are listening
for these events with our media-monitor to ensure the file's metadata are
in sync with Airtime's database, and introduces a few complications (
http://dev.sourcefabric.org/browse/CC-4343).

Is there a reason for this behaviour, or can we change it?

Martin

P.S. Sorry for the possibly overly-verbose email :)


-- 
Open source radio in the cloud. Get yours now! ---> http://airtime.pro

Martin Konecny
Software Developer, Sourcefabric
[email protected]

720 Bathurst St. Suite 203
M5S 2R4, Toronto, ON, Canada
+1 (416) 892-8420 (Cell)
Skype: martin.konecny15

http://www.sourcefabric.org
http://www.twitter.com/Sourcefabric
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to