Hydrogenaudio Forums

Hosted Forums => foobar2000 => Support - (fb2k) => Topic started by: sdoca on 2020-10-23 18:29:06

Title: Can't Rip Track But Can Play It
Post by: sdoca on 2020-10-23 18:29:06
Hi,

I have a new CD I am ripping to MP3 and one of tracks (out of 14) won't rip.  I get this error:

1 out of 1 tracks converted with major problems.

Source: "cdda://0148ADEA" / index: 10
  Unable to open file for writing (Object not found) : "E:\Shelli\Music\Georg Philipp Telemann, Musica Amphion\Tafelmusik\Georg Philipp Telemann, Musica Amphion - Tafelmusik, Part II No. 1- Overture for trumpet, oboe, strings & continuo in D major, TWV 55-D1- I. Overture- Lentement - Vite - Lentement - Vite - Lentement.mp3"
  Conversion failed: Object not found

However, if I just try to play the track, that works fine.  Is there something that can be done to get this track to rip?  I have tried multiple time with the same error.
Title: Re: Can't Rip Track But Can Play It
Post by: Porcus on 2020-10-24 00:17:55
fb2k can often handle paths longer than what Windows is comfortable with, but this was very long indeed. Tried to just shorten down filename to, say, tracknumber?

(BTW, if you are ripping CDs, why not go lossless first and extract to whatever format you need for portable later?)
Title: Re: Can't Rip Track But Can Play It
Post by: Case on 2020-10-24 18:31:43
That file name should be fine unless the E: drive is using FAT file system. For NTFS file system it isn't even close to hitting any limits.
Title: Re: Can't Rip Track But Can Play It
Post by: sdoca on 2020-11-08 20:02:43
Hi, I believe the drive is NTFS, but I shortened the track name and was able to rip it.  Thanks for the help.
Title: Re: Can't Rip Track But Can Play It
Post by: kode54 on 2020-11-08 21:53:45
I think even without the total path length limit, NTFS still has a 256 character limit per path element.
Title: Re: Can't Rip Track But Can Play It
Post by: Case on 2020-11-09 14:06:45
Indeed it does, most filesystems do. But the longest component in the path above is 203 characters.
Title: Re: Can't Rip Track But Can Play It
Post by: christopher on 2020-11-21 18:09:19
The full path is 268 characters, longer than the default 260 char MAX_PATH (https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file#:~:text=the%20current%20drive.-,Maximum%20Path%20Length%20Limitation,required%20to%20remove%20the%20limit.). This can be modified (https://www.howtogeek.com/266621/how-to-make-windows-10-accept-file-paths-over-260-characters/) following the W10 Anniversary update, but I wouldn't recommend it.
Title: Re: Can't Rip Track But Can Play It
Post by: kode54 on 2020-11-22 00:47:52
foobar already supports arbitrary paths up to 32767 characters long, even on Windows 7 and older, thanks to the "\\?\" prefix it automatically applies to all local paths.
SimplePortal 1.0.0 RC1 © 2008-2021