Watching the log isn't going to work I don't think, the timing of the
writes don't really line up with song changes like I thought they did. 
It works fine when you are manually advancing from track to track, you
get a new log entry immediately which reliably indicates that you need
to query for changes.  Intermittent writes to the log that aren't
associated with a song change are pretty easy to deal with without a lot
of extra external queries.

The problem I just realized earlier is that towards the end of a song,
about 5-10 seconds before the track changes, there's a log write but
there is not one when the track actually does change, which sucks.  So
you kinda know that something may have happened when there's a log write
but you don't really know for sure whether it's a track change, close to
a track change or just something being logged for some other reason,
without doing some detective work.


------------------------------------------------------------------------
sodface's Profile: http://forums.slimdevices.com/member.php?userid=19057
View this thread: http://forums.slimdevices.com/showthread.php?t=109694

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

Reply via email to