Broken Pipe issue clarification/resolution

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1753
    Iris
    Participant

    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 bytes

    I’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

    #12677
    rpedde
    Participant

    @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 bytes

    I’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

    #12678
    Iris
    Participant

    @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.

    #12679
    Iris
    Participant

    @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

    #12680
    Iris
    Participant

    122 views and no takers 🙁

    #12681
    rpedde
    Participant

    @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.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Nightlies Feedback’ is closed to new topics and replies.