FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Nightlies Feedback › Broken Pipe issue clarification/resolution
- This topic has 5 replies, 2 voices, and was last updated 17 years, 2 months ago by rpedde.
-
AuthorPosts
-
23/09/2007 at 6:17 PM #1753IrisParticipant
Hi Ron,
This is the first time that this issue has affected me and I only noticed it because I created a ‘Smart’ playlist that included the code:
time_played before 6 months before today
I noticed that as my wma or mp3 tracks were played they were removed from the playlist but NOT any of my flac files. Reviewing the log showed any flac files that were played a write error had occured. Here’s a snippet of the log with all three types:
Streaming file 'Diana Krall - It Could Happen To You.wma' to 192.168.1.100 (offset 0)
Streaming file 'Joe Henderson - Miles Ahead.flac' to 192.168.1.100 (offset 0)
(00185804): Executing /opt/sbin/mt-daapd-ssc.sh "/shares/mss-hdd/Public/Our Music/J/Joe Henderson/So Near, So Far "'('"Musings for Miles"')'"/Joe Henderson - Miles Ahead.flac" 0 271.533 "flac"
Write error: Broken pipe
Finished streaming file to remote: 2084864 bytes
Session 0: Streaming file 'Ray Obiedo - Real Life.mp3' to 192.168.1.100 (offset 0)
Finished streaming file to remote: 7673856 bytesI’ve read a few posts on the “broken pipe” issue but I couldn’t ascertain whether it was fixed. I’ve stayed with svn-1489 for some time now simply because I wasn’t haven’t many issues and decided to stay with it until the next “stable” release. Was the broken pipe issue addressed in one of the nightlies? By your recent posts seems 1589 might be the most stable but I’d only upgrade to that if it solved this issue I’m having here.
Comments?
Iris
23/09/2007 at 8:55 PM #12677rpeddeParticipant@Iris wrote:
Hi Ron,
This is the first time that this issue has affected me and I only noticed it because I created a ‘Smart’ playlist that included the code:
time_played before 6 months before today
I noticed that as my wma or mp3 tracks were played they were removed from the playlist but NOT any of my flac files. Reviewing the log showed any flac files that were played a write error had occured. Here’s a snippet of the log with all three types:
Streaming file 'Diana Krall - It Could Happen To You.wma' to 192.168.1.100 (offset 0)
Streaming file 'Joe Henderson - Miles Ahead.flac' to 192.168.1.100 (offset 0)
(00185804): Executing /opt/sbin/mt-daapd-ssc.sh "/shares/mss-hdd/Public/Our Music/J/Joe Henderson/So Near, So Far "'('"Musings for Miles"')'"/Joe Henderson - Miles Ahead.flac" 0 271.533 "flac"
Write error: Broken pipe
Finished streaming file to remote: 2084864 bytes
Session 0: Streaming file 'Ray Obiedo - Real Life.mp3' to 192.168.1.100 (offset 0)
Finished streaming file to remote: 7673856 bytesI’ve read a few posts on the “broken pipe” issue but I couldn’t ascertain whether it was fixed. I’ve stayed with svn-1489 for some time now simply because I wasn’t haven’t many issues and decided to stay with it until the next “stable” release. Was the broken pipe issue addressed in one of the nightlies? By your recent posts seems 1589 might be the most stable but I’d only upgrade to that if it solved this issue I’m having here.
Comments?
Iris
Don’t know. The issue is that when it transcodes wav files, it doesn’t really know what the ultimate file length is going to be, so it has to guess what the length of the output .wav is. So when it prepares to send the file, it sends what it thinks might be the length of the file, and figures if it sent 90% or so of the file, then it probably sent the whole file and bumps the last_played.
Obviously that isn’t working in your version. What client are you using, and what’s the size of the .flac file? And is it encoded something other than 44.1 stereo 16 bit?
I can try and repo it.
— Ron
23/09/2007 at 11:15 PM #12678IrisParticipant@rpedde wrote:
Obviously that isn’t working in your version. What client are you using, and what’s the size of the .flac file? And is it encoded something other than 44.1 stereo 16 bit?
I can try and repo it.
— Ron
This is happening with all of my flac files. My flac encoder is v1.1.2. The file size of the one I posted is 38,601 kb but like I said it’s happening on all flacs. There are all encoded 44.1 stereo. Bit rates though with flacs are all very high – not sure that’s what you wanted to know.
As far as my client, I’m running Firefly on my MSS+ (see my signature) NAS and installed it per your wiki. You know, other than this issue the files all play fine regardless if their mp3, wma or flac – it just seems the flac files which need to be transcoded to wav are the ones affected. I did read a post where one user was having similar type problems with his ogg files that are transcoded too.
I’d be interested to know if you or anyone else is seeing similar behaviour where a transcoded file generates a broken pipe error and consequently details like last played time doesn’t get updated to the database. That should be easy to verify!
Or, irrespective of the ‘broken pipe’ error can anyone verify if a transcoded flac file updates the database with the time last played? This can be verified by creating a smart playlist like I did using the following code:
time_played after 1 day before today
Should show any and all tracks played since the day before.
Iris 😕
P.S. BTW, I tested the file with the audiotester and they passed, FWIW.
26/09/2007 at 12:25 AM #12679IrisParticipant@Iris wrote:
can anyone verify if a transcoded flac file updates the database with the time last played? This can be verified by creating a smart playlist like I did using the following code:
time_played after 1 day before today
Can someone please check this – preferably a version running on their NAS.
Thanks
Iris
28/09/2007 at 2:34 PM #12680IrisParticipant122 views and no takers 🙁
29/09/2007 at 5:50 AM #12681rpeddeParticipant@Iris wrote:
@Iris wrote:
can anyone verify if a transcoded flac file updates the database with the time last played? This can be verified by creating a smart playlist like I did using the following code:
time_played after 1 day before today
Can someone please check this – preferably a version running on their NAS.
Thanks
Iris
Doesn’t look like it’s fixed in current nightlies. Didn’t work for me either.
-
AuthorPosts
- The forum ‘Nightlies Feedback’ is closed to new topics and replies.