Compressing on BB1 trashes music collection.

161 views
Skip to first unread message

AJ

unread,
Feb 10, 2020, 11:28:52 AM2/10/20
to Brennan Forum
I recently received a Brennan BB1 as a gift and was very pleased with it until I tried compressing the CD’s I had ripped.  I ripped about 30 CD’s and everything was fine with all the CD’s being found on CDDB database, however the storage was filling up fast so I set the BB1 to compress the ripped WAV files to MP3 which took about a day.  After this process had completed I found that numerous tracks would not play and lots of track titles had been truncated.

After some investigation I found that the cause of this problem was due to full stops in the CD details returned from CDDB.  The ripping process has absolutely no problem with this and the WAV files are created correctly with the full stop in the file name and everything works fine.  The problem appears to be that when the compression process derives the name of the output MP3 file from the input WAV file it is incorrectly parsing the input file name by assuming the everything pass the first full stop is the file extension, the correct way to find and replace the file extension is to search for the last full stop in the file name/path.

At best this problem causes some track descriptions being truncated, at worst it causes files to be written in the wrong location and to be overwritten. The following shows that a single MP3 file has been created in albums directory due to the album title containing a full stop, this MP3 file is in fact the last track of the album the other tracks having been overwritten and that original WAV files have been deleted.


# ls -la /media/sd3/music/Shostakovich/
total 17792
drwxr-xr-x    5 root     root         16384 Jan  1  1980 .
drwxr-xr-x   22 root     root         16384 Feb  7 21:17 ..
drwxr-xr-x    2 root     root         16384 Feb  7 10:28 Simply Shostakovich
drwxr-xr-x    2 root     root         16384 Jan  1  1980 Symphony No.7 'Leningrad'
-rwxr-xr-x    1 root     root      18130289 Jan  1  1980 Symphony No.mp3
drwxr-xr-x    2 root     root         16384 Jan  1  1980 The Jazz Album


# ls -la /media/sd3/music/Shostakovich/Symphony\ No.7\ \'Leningrad\'/
total 288
drwxr-xr-x    2 root     root         16384 Jan  1  1980 .
drwxr-xr-x    5 root     root         16384 Jan  1  1980 ..
-rwxr-xr-x    1 root     root        153600 Feb  5 23:04 coverart.565
-rwxr-xr-x    1 root     root         80380 Feb  5 15:54 coverart.jpg
-rwxr-xr-x    1 root     root            42 Feb  5 15:54 toc



Daniel Taylor

unread,
Feb 10, 2020, 2:14:45 PM2/10/20
to Brennan Forum
It's precisely for reasons such as this that I do all my ripping on my computer, where I can edit the information to my satisfaction.  Then I Import to my Brennan unit.  Or you can transfer via NAS.

PMB

unread,
Feb 11, 2020, 3:42:42 AM2/11/20
to Brennan Forum
Hi AJ,

Thank you for the feedback. I'll pass this along to Martin Brennan.

Paul
Brennan Support.

MJB

unread,
Feb 12, 2020, 7:10:21 AM2/12/20
to Brennan Forum
Hi AJ

Thanks for one of the best bug reports I've had. I made a change in the latest software release which I believe will fix this.

Martin

AJ

unread,
Feb 13, 2020, 10:56:03 AM2/13/20
to Brennan Forum
I have tried the new software and can confirm that it fixes this issue.

Thanks for the quick turnaround.

Andrew.

PMB

unread,
Feb 14, 2020, 2:03:42 AM2/14/20
to Brennan Forum
Hi AJ,

Great, thanks for the confirmation.

Paul
Brennan Support.
Reply all
Reply to author
Forward
0 new messages