FAQ  •  Register  •  Login

Check if file is playing



Serviio newbie

Posts: 6

Joined: Sun Jun 19, 2011 5:17 pm

Post Thu Oct 20, 2011 6:00 pm

Check if file is playing

I am wondering if it is possible to detect if an file is playing.
For starters, I am running Debian and I have not upgraded to 0.6 yet
When a files is being accessed by serviio it dont "update" access time on the file, according to stat -c%x
I tried DEBUG logging to see if I can get something useful out of that, but the amount of data makes this a less good of a way to detect.

The reason I want to detect this is that I sometimes change some files out with better versions, and I don't want to delete something that I am playing


User avatar

Serviio developer / Site Admin

Posts: 16920

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Oct 20, 2011 10:57 pm

Re: Check if file is playing

no, not really a way to find out unless you parse the log file.

Return to Third-party tools integration

Who is online

Users browsing this forum: No registered users and 2 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.