[opensuse] copying rip'ed CD music to USB stick with vfat
I have a USB stick (thumbnail size) for the car, I rip CD's and copy them over. Every now and then, the copy will fail with error messages that appear to be related to the character sets and such: cp: cannot create directory ‘Pet Shop Boys - Discography: The Complete Singles Collection’: Invalid argument rsync: mkstemp "/var/run/media/per/BBC2-DF04/.06 - What Have I Done To Deserve This?.mp3.7myEiY" failed: Invalid argument (22) rsync: mkstemp "/var/run/media/per/BBC2-DF04/.18 - Was It Worth It?.mp3.Hbf1LV" failed: Invalid argument (22) cp: cannot create regular file ‘10 - Fughetta "In dich hab ich gehoffet, Herr".mp3’: Invalid argument Apparently '?', ':' and '"' are all causing a problem. I've googled it some and read a few pages about how to mount the usb stick with the right codepage and charset .... it's been so long since I've had to dabble with codepages and charsets .... Here is what I would like to do - pop in a CD, crank up k3b, rip the contents into a folder <name-of-cd>, copy that folder to the usb stick (already mounted). On my laptop, the USB is typically mounted like this: /dev/sdb1 on /var/run/media/per/BBC2-DF04 type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro) All suggestions and insight most welcome. -- Per Jessen, Zürich (0.8°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 05/12/2016 à 21:33, Per Jessen a écrit :
Apparently '?', ':' and '"' are all causing a problem. I've googled it
not accepted by vfat use detox to fix the problem jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/05/2016 03:42 PM, jdd wrote:
Le 05/12/2016 à 21:33, Per Jessen a écrit :
Apparently '?', ':' and '"' are all causing a problem. I've googled it
not accepted by vfat
use detox to fix the problem
Thank you for that :-) Most efficacious. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 06/12/2016 à 15:16, Anton Aylward a écrit :
On 12/05/2016 03:42 PM, jdd wrote:
Le 05/12/2016 à 21:33, Per Jessen a écrit :
Apparently '?', ':' and '"' are all causing a problem. I've googled it
not accepted by vfat
use detox to fix the problem
Thank you for that :-) Most efficacious.
warning: by default detox don't fix colons (","), have to be removed by hand (I find some on facebook image names) jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/06/2016 10:11 AM, jdd wrote:
warning: by default detox don't fix colons (","), have to be removed by hand (I find some on facebook image names)
That's "commas". it cleans up colons (":") just fine. It seems there are a couple of config files and the ability to have local (per user) over-ride. When I figure all that out I may see how to replace commas with underbars ("_"), and of course it already know how to replace double underbars with a single. https://linux.die.net/man/5/detoxrc I've tried creating a 'safe.trb' with the comma mapped to _ but I'm getting something wrong. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 06/12/2016 à 18:23, Anton Aylward a écrit :
I've tried creating a 'safe.trb' with the comma mapped to _ but I'm getting something wrong.
please share if you succeed I didn't jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-12-05 21:33, Per Jessen wrote:
I have a USB stick (thumbnail size) for the car, I rip CD's and copy them over. Every now and then, the copy will fail with error messages that appear to be related to the character sets and such:
Ah, yes.
cp: cannot create regular file ‘10 - Fughetta "In dich hab ich gehoffet, Herr".mp3’: Invalid argument
Apparently '?', ':' and '"' are all causing a problem. I've googled it some and read a few pages about how to mount the usb stick with the right codepage and charset .... it's been so long since I've had to dabble with codepages and charsets ....
no...
Here is what I would like to do -
pop in a CD, crank up k3b, rip the contents into a folder <name-of-cd>, copy that folder to the usb stick (already mounted).
Well, the trick is to use a ripper program that has as an option something like "sanitize file names for MsDos". I don't use k3b. I use "audex", which is also a KDE program. I have started it now, and to be truthful, I don't see the option there, but I do copy my music to sticks without problems. Or for my car, to a CD with mp3. Ah, I see where it is. Profiles, modify a profile, filenames, create FAT32 compatible filenames. Which I see it is "off" in the one I try, but "on" for "extreme quality", the one I used last. Once the file was created already, you need a program to modify the names. I have no experience with "detox" which jdd mentions, sounds interesting. I see it only on some home repos, like "home:winski". https://software.opensuse.org/package/detox +++................ Detox is a utility designed to clean up file names. It replaces difficult to work with characters, such as spaces, with standard equivalents. It will also clean up file names with UTF-8 or Latin-1 (or CP-1252) characters in them. ................++- There is also this package in oss: packman has S | Name | Summary | Type --+--------------+-----------------------------------------+-------- | python-detox | Distributing activities of the tox tool | package -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
Carlos E. R. wrote:
Here is what I would like to do -
pop in a CD, crank up k3b, rip the contents into a folder <name-of-cd>, copy that folder to the usb stick (already mounted).
Well, the trick is to use a ripper program that has as an option something like "sanitize file names for MsDos".
I don't use k3b. I use "audex", which is also a KDE program.
That seems to do the trick, but it appears (I have not actually timed it) to be somewhat slower than k3b. It seems to just turn unsupported vfat charcters into underscores "_", right ?
Once the file was created already, you need a program to modify the names. I have no experience with "detox" which jdd mentions, sounds interesting.
If it's only a matter of vfat not supporting certain characters, it's hardly a big deal to write a script with tr and some rename commands. I'm running audex on my leap422 laptop, it really seems to be sloooooow. -- Per Jessen, Zürich (3.4°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Per Jessen wrote:
I'm running audex on my leap422 laptop, it really seems to be sloooooow.
Yep, k3b rip'ed a CD in 10mins flat, no problems, audex failed halfway through after 15mins. Weird. -- Per Jessen, Zürich (2.7°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-12-06 17:18, Per Jessen wrote:
Per Jessen wrote:
I'm running audex on my leap422 laptop, it really seems to be sloooooow.
Yep, k3b rip'ed a CD in 10mins flat, no problems, audex failed halfway through after 15mins. Weird.
Failed? -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
Carlos E. R. wrote:
On 2016-12-06 17:18, Per Jessen wrote:
Per Jessen wrote:
I'm running audex on my leap422 laptop, it really seems to be sloooooow.
Yep, k3b rip'ed a CD in 10mins flat, no problems, audex failed halfway through after 15mins. Weird.
Failed?
Yes, it failed. -- Per Jessen, Zürich (-1.4°C) http://www.cloudsuisse.com/ - your owncloud, hosted in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-12-06 23:39, Per Jessen wrote:
Carlos E. R. wrote:
Yep, k3b rip'ed a CD in 10mins flat, no problems, audex failed halfway through after 15mins. Weird.
Failed?
Yes, it failed.
But where, how...? Maybe a read CD failure? -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
Carlos E. R. wrote:
On 2016-12-06 23:39, Per Jessen wrote:
Carlos E. R. wrote:
Yep, k3b rip'ed a CD in 10mins flat, no problems, audex failed halfway through after 15mins. Weird.
Failed?
Yes, it failed.
But where, how...?
In the middle of rip'ing. It just stooped and reported "failed".
Maybe a read CD failure?
I thought so too, but k3b had no problems afterwards. -- Per Jessen, Zürich (-0.5°C) http://www.cloudsuisse.com/ - your owncloud, hosted in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/07/2016 01:30 AM, Per Jessen wrote:
In the middle of rip'ing. It just stooped and reported "failed".
... and never says why. I hate it when they do that. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-12-07 07:30, Per Jessen wrote:
Carlos E. R. wrote:
But where, how...?
In the middle of rip'ing. It just stooped and reported "failed".
Maybe a read CD failure?
I thought so too, but k3b had no problems afterwards.
There might be something in the log. :-? You can also increase "paranoia" for CD reading. In the first settings screen. It never failed here, I ripped my entire collection, which is not really big, though. Maybe fifty CDs -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
On 2016-12-06 16:54, Per Jessen wrote:
Carlos E. R. wrote:
Here is what I would like to do -
pop in a CD, crank up k3b, rip the contents into a folder <name-of-cd>, copy that folder to the usb stick (already mounted).
Well, the trick is to use a ripper program that has as an option something like "sanitize file names for MsDos".
I don't use k3b. I use "audex", which is also a KDE program.
That seems to do the trick, but it appears (I have not actually timed it) to be somewhat slower than k3b.
Speed depends on which profile you choose. Ie, quality vs size choices.
It seems to just turn unsupported vfat charcters into underscores "_", right ?
I think so.
Once the file was created already, you need a program to modify the names. I have no experience with "detox" which jdd mentions, sounds interesting.
If it's only a matter of vfat not supporting certain characters, it's hardly a big deal to write a script with tr and some rename commands.
Maybe, yes.
I'm running audex on my leap422 laptop, it really seems to be sloooooow.
You have to select a profile or create your own and tune it. I see on start on terminal several tools it uses: lame, faac... even "mv" appears in the list. Converting mp3 at high quality is slow, yes. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
Carlos E. R. wrote:
Once the file was created already, you need a program to modify the names. I have no experience with "detox" which jdd mentions, sounds interesting.
If it's only a matter of vfat not supporting certain characters, it's hardly a big deal to write a script with tr and some rename commands.
Maybe, yes.
I'm running audex on my leap422 laptop, it really seems to be sloooooow.
You have to select a profile or create your own and tune it.
I see on start on terminal several tools it uses: lame, faac... even "mv" appears in the list.
Converting mp3 at high quality is slow, yes.
I'll have to check what k3b does - I never did any adjustment of quality etc. Quality is largely irrelevant, it's for the car. -- Per Jessen, Zürich (-1.4°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-12-06 23:39, Per Jessen wrote:
Carlos E. R. wrote:
Converting mp3 at high quality is slow, yes.
I'll have to check what k3b does - I never did any adjustment of quality etc. Quality is largely irrelevant, it's for the car.
Try selecting a different profile with audex and time it. I just had a look a k3b and I didn't see audio adjustments, which is probably one of the reasons that I chose audex in the not distant past. In the more distant past I used grip, which was highly tunable. I have seen some software that could simultaneously generate several files for the same cd rip; say one low quality for the car, another high quality. Or with different formats. But I can't remember which software it was; maybe it was grip, dunno. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
participants (4)
-
Anton Aylward
-
Carlos E. R.
-
jdd
-
Per Jessen