Error playing "song title" prepare failed.: status

Posted:
Tue Jan 11, 2011 5:05 am
by uhhmoney
Error playing "song title" prepare failed.: status=0x1 (IOException)
I get this error almost every time I start to play a new song after it has buffered enough to start playing. Anybody else run into this? How do I fix it?

Posted:
Mon Feb 14, 2011 7:38 pm
by neofreak
The same thing happens to me. Sometimes songs will play fine, but more often than not I get:
Prepare failed.: status=0x1 (IOException)
If I hit the play button again it usually plays fine.
(This is with the Android client)

Posted:
Wed Feb 16, 2011 5:48 am
by aksarfevad
Confirmed here as well. I did a google search came up with this:
http://www.remwebdevelopment.com/dev/a63/Playing-Audio-error-PVMFErrNotSupported-Prepare-failed-status0x1-.html
Sindre: looks like you should be using a FileInputStream. I checked out the Android project source and found (in Rev:2133 line 479):
- Code: Select all
mediaPlayer.setDataSource(file.getPath());
and replaced it with:
- Code: Select all
FileInputStream fis = new FileInputStream(file);
mediaPlayer.setDataSource(fis.getFD());
and added the import for java.io.FileInputStream . This fixed the issue for me initially, though I'd run it for a few days and on a few servers before assuming it works in all cases.

Posted:
Sat Mar 19, 2011 1:08 am
by steveliv
aksarfevad wrote:Confirmed here as well. I did a google search came up with this:
http://www.remwebdevelopment.com/dev/a63/Playing-Audio-error-PVMFErrNotSupported-Prepare-failed-status0x1-.htmlSindre: looks like you should be using a FileInputStream. I checked out the Android project source and found (in Rev:2133 line 479):
- Code: Select all
mediaPlayer.setDataSource(file.getPath());
and replaced it with:
- Code: Select all
FileInputStream fis = new FileInputStream(file);
mediaPlayer.setDataSource(fis.getFD());
and added the import for java.io.FileInputStream . This fixed the issue for me initially, though I'd run it for a few days and on a few servers before assuming it works in all cases.
does that mean you rebuilt the subsonic android apk? if so can you share? this error is driving me crazy.
Re: Error playing "song title" prepare failed.: status

Posted:
Fri Sep 09, 2011 2:44 pm
by rubbersoul
i'm having this same issue. it happens to me on wifi and 3g. sometimes it'll play just fine, but often times i'll get this error. i keep pressing play and eventually it will play fine so it isn't the file.
i don't use the web app much, but i've never experienced a problem through the browser so i think it is specific to the android app. this error is driving me crazy as well.
Re: Error playing "song title" prepare failed.: status

Posted:
Wed Sep 21, 2011 12:24 pm
by falconey
Count me in as having this issue. This is new though, I didn't have this issue in previous versions.