I've been using Subsonic as a media player for my existing Ogg Vorbis collection. When I use the Web player I need to transcode the files on the fly, so I set it up to do so (changing "-o" to "-o -" in step 1, the oggdec step, of course). Generally it works great, but every now and again my songs cut off early and I see a warning message like this:
12570500 [btpool0-23] WARN org.mortbay.log - /stream: java.io.IOException: Closed
There seems to be a premature termination of the transcoding step, or the entire stdout stream doesn't get transferred.
Changing to an external player doesn't help unless I eliminate the transcoding step. The problem occurred much more often with version 3.4 than it does with 3.5.beta2, but it still happens.
I'm using a Debian Linux box. The problem occurs with both the standalone version and the WAR version in Jetty (I know it isn't a huge change). I haven't tried other servlet containers like Tomcat, but I have tried changing the JVM from Sun Java 6 to a GCJ version. Failures seem to occur at exactly the same point in a given song. Increasing the JVM memory doesn't help. Changing the transcoding steps, like going from using oggdec to an ogg123 variant and changing the intermediate type from WAV to RAW, doesn't change anything. Songs cut off at (it seems) the exact same place.
Any ideas for how I can fix this? I really like Subsonic and its Web player and I'd like to keep using them. Thanks.