Crapmodem
It was so obvious. To find the annoying tracks I simply plugged my back up into a PC and searched for all .wav files. It only took about 20 seconds.
 
Looking at the resulting list, they were all from 'Now!' albums and were by an artiste named Ke$ha. Go to each track on the B2, change the name to Kesha and those files compressed during the next down time.
 
So it was all because of a specific character the B2 doesn't like.
 
I wish I'd thought of that before. Hope it is helpful...
MarkF
ooh,yeah. "$" is a reserved character in many operating systems. Glad you found it, and thank you for telling us about it!
Reply 0 0
Daniel Taylor
Were the Ke$ha songs ripped on the B2, or imported/uploaded?  I ask because the B2 should have taken care of any characters it doesn't like when it did the rip.  So I'm wondering how that $ got into the title in the first place.
Reply 0 0
Crapmodem
CD ripped in the usual way by the B2.
 
Clearly it picked up the artist and track names that were already created and put into the database by someone when the CDs were released some time ago.
Reply 0 0
Daniel Taylor
Then it appears that Brennan letting that problematic character through could be considered a bug (I do).  How is the innocent, average user to know that what appears to be a valid, and in this case correct (the way she really spells her name), character is going to cause a problem.  Brennan already replaces some problematic characters with a reasonable substitution.  Why not in this case?
Reply 0 0
Fred
Hi Daniel
 
Not condoning anything here, but putting myself in the software developers shoes, it is VERY difficult to anticipate all cases of  unexpected input. I should think the developer "assumed" that the musicbrainz search returned valid data and simply used it.  
Remember that the more code one writes to capture the unexpected the bigger the software gets and the slower, more complex the coding task.  99% of the time this has not been an issue, while it is now, was the developer wrong (given that you can not anticipate everything) and is the correction worth encoding - how much of an annoyance it is causing the customers?
Glad I am not Martin!
 
Fred
Reply 0 0
MarkF
Inputs should ALWAYS be validated, and not assumed to be acceptable without checking.
(and don't miss the hidden caption)
Reply 0 0
Crapmodem
Without wishing to muddy the waters of a thread that I started, as a Brennan customer of over 10 years, I have often found that the support people hear what they expect to hear, rather than what the end user is saying. Here is my classic example:
I bought a JB7 and, while I was (and am) happy with it, it has one massive flaw. When playing albums such as Abbey Road or Dark Side of the Moon - where some tracks merge into each other - it is impossible to play them as they should be. Between each track there is either a gap, or a (segue based) fade out and in again. The only solution is to rip the CD as one long track and then reinstall it. This is not what I wanted and can also reduce the sound quality.
Several times I called to ask if this was a known issue that could be resolved and each time they said, "everything is fine, it's working OK", which is support team for, "I don't understand the problem."
When it became time for me to consider buying a B2, I asked if it has the same issue, politely making it clear that this would be a deal breaker. I kept asking and eventually (after promising calls from Martin several times that never actually happened) our friend Paul picked up the phone. At last, about 8 years after I first asked, I was speaking to someone who listened. He replicated the issue on his JB7, said, "oh, I see what you mean" and then tested some appropriate albums on a B2. Confirmed the issue was not repeated there and I immediately bought a B2.
The point is that, because the support team know polite and friendly but do not know technical, the issue never even went onto the JB7 wish list. When people asked me if I would recommend buying a JB7, I always said, "it's a great piece of kit, but it has this one serious flaw." I'm sure that's not what Brennan wanted me to be saying to potential customers!
Reply 2 0
MarkF
What you are describing -- that is, what you WANT, not what the JB7 was doing --  is called "gapless play". There are software players (e.g., VLC) that still do not do gapless play, even though they are programmed by some very smart people, and the problem has been known and discussed many times on their support forums and by their developers. And there are software players (e.g., foobar2000) that have been doing gapless play for years. Many car audio systems are unable to do gapless play.
 
Sometimes I think "everything is fine, it's working OK" is actually supposed to mean, "that's how we designed it, so it is behaving as we expect it to behave", rather than "we don't understand the problem". In other words, it's not a bug, it's a feature (of a poor design).
 
For the use case you describe, lack of gapless play is a major defect. For the use case that the JB7 was apparently designed (and marketed) for -- randomized playback of whole collections without regard to album boundaries or sequences -- lack of gapless play is a non-issue.
 
My usual experience with customer service departments is slightly different from yours, and similarly annoying. I will do some orderly troubleshooting, make notes on my actions and observations, and provide them -- in writing, where possible -- to the CS rep. Who promptly asks me to do some of the things I've just described having done, or answers a question unrelated to the one I asked.  And my response is to say, you didn't read what I sent, and you didn't answer the question I asked. READ IT AGAIN.
 
I much prefer being part of official beta tests, because for those it's usually the programmer or engineer who wants the feedback and talks to the tester, instead of someone with a script who doesn't actually have the product available. Dealing with Brennan, which is a very small company by consumer-electronics standards, is closer to being a perpetual beta tester than an anonymous customer, with all the good and bad things that implies. I understand that for some customers, that's not desirable, but for me it's terrific.
 
Cheers -- m.
Reply 0 0
PaulB
Hi All,
 
I have made a note of the problematic "$" character.
Reply 0 0
Crapmodem
Paul, thank you.
 
MarkF, my late father used to describe support people as, "a one answer person in a 3 question job."
Reply 2 0
Daniel Taylor
Fred wrote:
Hi Daniel
 
Not condoning anything here, but putting myself in the software developers shoes, it is VERY difficult to anticipate all cases of  unexpected input. I should think the developer "assumed" that the musicbrainz search returned valid data and simply used it.  
Remember that the more code one writes to capture the unexpected the bigger the software gets and the slower, more complex the coding task.  99% of the time this has not been an issue, while it is now, was the developer wrong (given that you can not anticipate everything) and is the correction worth encoding - how much of an annoyance it is causing the customers?
Glad I am not Martin!
 
Fred
Having spent decades in a software developer's shoes, I stand by my assessment.  The list of characters that can stop the system dead in its tracks is short.  They're already checking for some (most?) of them, why not all of them.  This is also an argument for efficient code.  There are good ways and bad ways of doing things.  I'm sure somebody has a good algorithm for parsing a string for bad characters.
 
Another, completely different way to deal with the problem as reported would be to examine the code that crashed when trying to compress a track that had a bad character in the filename.  To me, this is another bug.  A major shortcoming of the Brennan products is that there is nearly zero error reporting when something serious happens.  I would have designed it differently.
 
When going after the tracks to compress, one at a time, when a problem arises that currently stops the process entirely, instead they could just go on to the next track and keep going.  Then when the end has been reached, the only tracks left uncompressed are the problem tracks.  That would make it much easier for the user to identify the problem.
Reply 0 0
MarkF
I'm with Daniel here. I haven't done much coding myself -- I was a sysadmin, not a developer -- but it seems to me that Fred has the problem backwards: you don't check for things you can't handle, you check to make sure that only things you CAN handle are part of the input.
 
Looking for the unexpected is a huge universe of possibilities, so don't do that. Stating that you will handle this set of characters and no others, then validating that each character is part of that tiny set, is much easier. It's the same sort of problem as the "filename too long" issue: you don't try to make the buffer long enough for every possible name, you say "I will handle only nn characters", and then you allow only that much input.
 
I won't quote the Bad News Bears about assumptions, but you know what I mean.
Reply 0 0
Daniel Taylor
MarkF wrote:
It's the same sort of problem as the "filename too long" issue: you don't try to make the buffer long enough for every possible name, you say "I will handle only nn characters", and then you allow only that much input.
Amen!  They made the check in the JB7 and then left it out for the B2 and beyound.  ???
Reply 0 0
AJ
The Brennan code replaces characters that are invalid for filenames, however the $ is a valid character as far as filenames are concerned, and in fact in this case files were created with $ in their names. However, the $ character does have a special meaning to the shell and needs to be escaped for the file to be used via a shell command, as do various other characters. I believe that one of the methods that the Brennan uses to compress files is to create a shell process to run ffmpeg, and it looks like $ is missing for the list of characters to be escaped.
 
See these websites for more information.
 
 
 
Andrew.
Reply 1 0
Reply