G35 Sedan V36 2007- 08 Discussion about the 2nd Generation G35 Sedan 2007 - 08

CompactFlash: Don't Use XCOPY

Thread Tools
 
Search this Thread
 
Rate Thread
 
Old May 3, 2007 | 04:59 PM
  #31  
bfspider's Avatar
Registered User
Joined: Mar 2007
Posts: 26
Likes: 0
Originally Posted by SPEEED
I know I know, I caught my error after the fact and was too lazy to go in there and do Ctrl + Z on my post...
lol~
 
Reply
Old May 3, 2007 | 07:16 PM
  #32  
GumboChief's Avatar
Registered User
Joined: Aug 2006
Posts: 283
Likes: 0
From: Chicago
Technically, tunebite does not "remove DRM".
It exploits what is generically known as the "analog hole" to re-record the protected file into an unprotected format.
The biggest drawback is a reduction in sound fidelity.

Originally Posted by SPEEED
Or you can use TuneBite to remove the DRM protection from the wmv files.
 
Reply
Old May 3, 2007 | 07:21 PM
  #33  
GumboChief's Avatar
Registered User
Joined: Aug 2006
Posts: 283
Likes: 0
From: Chicago
Xcopy has been supersceded by robocopy. You may want to give that a try. Among other features, it can retain the creation/modify time of the file. Of course this is what the G35 uses to determine playback order.

How in 2007 we get stuck with an mp3 player which fails to acknowledge the "track" value, I will never know.

Good thing I leased

http://www.ss64.com/nt/robocopy.html

Originally Posted by Gorn
Wow! Lot's of replies. Let me see...

To those who suggested I do a Windows file copy (CTRL-A, CTRL-C, CTRL-V) from the file explorer: Please refer to this line on page 4-36 of the G35 manual:



Not wanting to turn my CompactFlash card into an iPod Shuffle, I realized that I would have to tightly control the order in which the songs were being written to the card. It was immediately obvious to me that whatever Win32 API method Windows was using to do this in Explorer et al was not doing it alphabetically, so all my 01-Song1.mp3, 02-Song2.mp3, etc orderings were to no avail. I'm not absolutely sure about this, but I think the API uses a kind of preorder or inorder directory traversal and a FILO policy on the files per directory.

So I tried XCopy, since that does a recursive alphabetic copy, but there's something about it that does something weird, either while writing file blocks or FAT32 entries to the card, that just flips the G35 out and makes it think there's nothing on the card.

So I went with a batch file partially generated by a recursive alphabetic "dir" command with output redirected to a text (.bat) file. I then used a powerful text editor to set up a macro or two to convert that listing into several hundred copy commands (one for each mp3). That worked, and Infiniti is dead right - it preserves file ordering exactly if you write the files one by one in the order you wish them to appear.

To those who wondered if I'm a Unix user turned Windows user: Nah, my home LAN is about 50:50 comprised of XP on Intel hardware and Linux on Intel & PPC hardware. I'm at home in many flavors of Unix and in BSD as well. I keep trying to right-click with Macs though, but I respect their new OS architecture. I spend most of my time on XP at home and Linux at work.
 
Reply
Old May 3, 2007 | 09:19 PM
  #34  
trey's wife's Avatar
My horns hold up my halo
Staff Alumni
iTrader: (2)
Joined: Jun 2005
Posts: 8,185
Likes: 0
From: Alabaster, Alabama
Originally Posted by hokiesean24
I rarely use the jukebox because I stopped buying CDs like 10 years ago. Most all of my music is downloaded from Napster (legally) which I can load to my MP3 player and hook up via Aux. ports. Recently though, I found a new program, Tunebite (thanks to SPEEED, I think ) which allows me to convert my digital music from wma files to mp3s and put them on the CF card. Which makes it a little less cumbersome. In summary All of my music is digital, so I dont have the CDs to rip to the hard drive, I WISH I could copy from CF the hard drive, that would be amazing...
I would think that you would be able to just burn them to CD as a regular audio file and then rip them to the HD in the car. Maybe not though, I haven't tried as I haven't gotten that far into the music collection yet. lol
 
Reply
Old May 3, 2007 | 10:07 PM
  #35  
Gorn's Avatar
Thread Starter
|
Registered User
Joined: May 2007
Posts: 58
Likes: 0
Originally Posted by GumboChief
...it can retain the creation/modify time of the file. Of course this is what the G35 uses to determine playback order.
I doubt this seriously as the G35 manual is pretty clear that it is the order that the files were written that determines this. That means one thing - FAT ordering. Should be an easy test, though.
 
Reply
Old May 3, 2007 | 10:08 PM
  #36  
Gorn's Avatar
Thread Starter
|
Registered User
Joined: May 2007
Posts: 58
Likes: 0
Originally Posted by theacolyte
There is absolutely *0* reason why XCOPY wouldn't work.
Except it doesn't, every time, and the "copy" command does. Weird, huh?
 
Reply
Old May 4, 2007 | 05:07 AM
  #37  
allanak's Avatar
Registered User
Joined: Mar 2007
Posts: 41
Likes: 0
From: Los Angeles, CA
cp -R /mp3 /mnt/compactflash

Where are my linux users at? :P

Seriously though, why are you using xcopy? Want to complicate a simple click and drag job? I've yet to try using my CF slot or my ipod jacks though. Spend a few hours copying mp3s to CD-RW as audio, not data and have the sorted in a better fashion. On a related note, does everyone's gracenote database suck or is it just me?
 
Reply
Old May 4, 2007 | 05:57 AM
  #38  
ThatsMyG's Avatar
Registered User
Joined: Mar 2007
Posts: 195
Likes: 3
From: Ontario
Man you guys are brutal.

Gorn was simply pointing out a very neat workaound, for those so inclined, to once and for all , control the order in which songs appear when played of the CF.

Like many, I had assumed a simple Windows cut and paste, point and click, drag and drop is all I needed, but the files never appears as I had thought. Then I tried to rename folders as 01-Abba ; 02-America ; 03-Beatles etc....and while this might work the first time, it doesnt work when you update the card.

Gorn pointed out a very neat trick around this - doesn't seem to have been taken in the spirit it was given!

The trick simply is to use a batch file, eg COPYTOCF.BAT to do the copying, rather what you would normally do. The file would simply contain COPY commands, for example

copy C:\...My Music\Abba\song1.mp3 h:
copy C:\...My Music\Abba\song2.mp3 h:
copy C:\...My Music\Abba\song3.mp3 h:
copy C:\...My Music\America\song1.mp3 h:
copy C:\...My Music\America\song2.mp3 h:
etc

.....and the above file could be created for the most part with a directory command and some editing.

Granted it's not for everyone...neither is doing mods on a car....but its a great little tip for those who dabble.

So let me say, THANKS!

TMG
 
Reply
Old May 4, 2007 | 08:24 AM
  #39  
hokiesean24's Avatar
Registered User
Joined: May 2005
Posts: 3,022
Likes: 0
From: VA
Originally Posted by trey's wife
I would think that you would be able to just burn them to CD as a regular audio file and then rip them to the HD in the car. Maybe not though, I haven't tried as I haven't gotten that far into the music collection yet. lol
It is my understanding that the car will only rip original (store bought) CDs. That would also take a lot of blank CDs as you can only fit 18ish songs in WAV format per CD. I wish I could burn them as MP3 folders and copy though- but as mentioned, that would probably **** off the recording industry...
 
Reply
Old May 4, 2007 | 08:44 AM
  #40  
mikepro's Avatar
Registered User
Joined: Aug 2006
Posts: 331
Likes: 0
Originally Posted by allanak
cp -R /mp3 /mnt/compactflash

cp -pR /mp3 /mnt/compactflash


Man, I HATE it when people don't use the -p option to preserve creations times. Of course, I'd probably just write a perl script to do this for me...
 
Reply
Old May 4, 2007 | 09:08 AM
  #41  
SPEEED's Avatar
Bad Toro
Staff Alumni
Joined: Jul 2003
Posts: 12,576
Likes: 0
From: Stamford, CT
Originally Posted by hokiesean24
It is my understanding that the car will only rip original (store bought) CDs. That would also take a lot of blank CDs as you can only fit 18ish songs in WAV format per CD. I wish I could burn them as MP3 folders and copy though- but as mentioned, that would probably **** off the recording industry...
I was able to record a burned MP3 CD on the music box.
 
Reply
Old May 4, 2007 | 09:33 AM
  #42  
ThatsMyG's Avatar
Registered User
Joined: Mar 2007
Posts: 195
Likes: 3
From: Ontario
Originally Posted by SPEEED
I was able to record a burned MP3 CD on the music box.
Do you mean:

a) an AUDIO CD (eg about 20 tracks) burned from MP3 files.....or
b) an MP3 CD, ie a CD of say 250 MP3 files?

I didnt think the latter would work.

TMS
 
Reply
Old May 4, 2007 | 09:53 AM
  #43  
hokiesean24's Avatar
Registered User
Joined: May 2005
Posts: 3,022
Likes: 0
From: VA
Originally Posted by ThatsMyG
Do you mean:

a) an AUDIO CD (eg about 20 tracks) burned from MP3 files.....or
b) an MP3 CD, ie a CD of say 250 MP3 files?

I didnt think the latter would work.

TMS
my question EXACLTY!
 
Reply
Old May 4, 2007 | 11:04 AM
  #44  
GumboChief's Avatar
Registered User
Joined: Aug 2006
Posts: 283
Likes: 0
From: Chicago
He means A.

Originally Posted by ThatsMyG
Do you mean:

a) an AUDIO CD (eg about 20 tracks) burned from MP3 files.....or
b) an MP3 CD, ie a CD of say 250 MP3 files?

I didnt think the latter would work.

TMS
 
Reply
Old May 4, 2007 | 01:17 PM
  #45  
theacolyte's Avatar
Spoon!
Joined: Apr 2007
Posts: 209
Likes: 0
From: Berkeley, CA
Originally Posted by allanak
cp -R /mp3 /mnt/compactflash

Where are my linux users at? :P

Seriously though, why are you using xcopy? Want to complicate a simple click and drag job? I've yet to try using my CF slot or my ipod jacks though. Spend a few hours copying mp3s to CD-RW as audio, not data and have the sorted in a better fashion. On a related note, does everyone's gracenote database suck or is it just me?

Bah--- I said it in a post on the 2nd page.
 
Reply


You have already rated this thread Rating: Thread Rating: 0 votes,  average.


All times are GMT -4. The time now is 01:32 PM.