Nissan 370Z Forum  

Sorting Audio Files on the OEM Radio

So the sorting of music files on my flash drive has drove me nuts on this car since I've gotten it. Unfortunately I couldn't really find any information about how

Go Back   Nissan 370Z Forum > Nissan 370Z Tech Area > Audio & Video


Like Tree2Likes
  • 2 Post By OhioYJ

Reply
 
LinkBack Thread Tools Display Modes
Old 01-19-2017, 07:41 PM   #1 (permalink)
Enthusiast Member
 
OhioYJ's Avatar
 
Join Date: Nov 2016
Location: Ohio
Posts: 261
Drives: 2016 370Z
Rep Power: 952
OhioYJ has a reputation beyond reputeOhioYJ has a reputation beyond reputeOhioYJ has a reputation beyond reputeOhioYJ has a reputation beyond reputeOhioYJ has a reputation beyond reputeOhioYJ has a reputation beyond reputeOhioYJ has a reputation beyond reputeOhioYJ has a reputation beyond reputeOhioYJ has a reputation beyond reputeOhioYJ has a reputation beyond reputeOhioYJ has a reputation beyond repute
Default Sorting Audio Files on the OEM Radio

So the sorting of music files on my flash drive has drove me nuts on this car since I've gotten it. Unfortunately I couldn't really find any information about how it sorts the files. After doing a bunch of digging, I found I a utility specifically designed to fix sorting, so the files appear alphabetically, like you would expect, rather random way it appears. (It's actually not random, it has to do with creation times)

While this really is a single command that fixes this. I wanted to make sure it was detailed enough that someone who wasn't computer savvy could follow it and successfully fix their flash drive. Especially since it's a Linux utility.

Anyways, there are probably tools for Windows that do this, but I use Linux, and you can boot Linux from a flash drive, without installing it, and without harming or touching your system, so, my instructions will be using Linux.

To create a bootable Linux flash drive you can use Unetbootin, which you can download for free here (Your other option would be to burn the ISO straight to a DVD and skip the unetbootin step):

https://unetbootin.github.io/

For Linux, I'm using Linux Mint Cinnamon, You can download for free here:

https://www.linuxmint.com/download.php

Then run unetbootin (yours will look a little different, I'm running it in Linux):



Point it to the Linux ISO, and tell it where an empty flash drive is. It will erase everything on the flash drive. Afterwards you can load whatever you want on the flash drive. However be aware when booting Linux from this drive you can't access what is on the drive (at least not by normal methods).

After this has successfully completed, reboot the PC, and boot from the USB drive. Your PC will boot into Linux.

Next we need to install the fatsort program. You need to open up the "start menu" and open the "synaptic package manager". You can find this stuff in the menus, however the easiest way to get to these items is to just start typing the name of the item. See below:



Search fatsort, click the box, choose install, and then click apply. It's that easy it will download everything that's need and install.



Once synaptic package manager is done, click ok, and close it out. Next insert your flash drive into your PC. Or if you use a SD card, insert the SD card, or plug the SD card reader etc in now. Again open up the menu and now we need to open up "disks" to figure out which device the drive we need to sort is.





Ok in this image, my flash drive I can see the device is /dev/sdd1. This is what I need to know. Note, sometimes your flash drive might have two partitions. You might run into a flash drive that has a very small partition say a 1-4 MB partition at the beginning that might be /dev/sdd0 you don't care about this, you just care about that larger one. If there are two click on the larger area and note what it says.

Now we have the information we need to actually sort the files. Time to open up a terminal window:



Now run sudo fatsort -f /dev/sdd1 <-- /dev/sdd1 should be whatever information you found in disks



Note the -f option forces fatsort to sort the drive even if it's mounted. Fatsort otherwise will just complain about the drive being mounted. If you dismount a flash drive, fatsort won't be able to see it at all.

**--2023 Update Edit--**

-In some newer versions of Linux fatsort will not work with the drive mounted, even with the -f option. If you run into this unmount the drive using the information found in disks:

sudo unmount /media/ohioyj/LEE

Then run fatsort:

sudo fatsort -f /dev/sdd1

**--End Edit--**

Once you are done, you can safely dismount the drive (as always don't just remove it). You can power down your PC, and remove both flash drives safely. Once both flash drives are removed, when you turn back on your PC, Windows will boot as normal.

Now when you insert your flash drive in the car, your music files should now be in alphabetical order like you would expect, rather than the random order they appeared before.
simul8r and CTRL+Z like this.

Last edited by OhioYJ; 08-22-2023 at 12:02 PM.
OhioYJ is offline   Reply With Quote
Old 01-20-2017, 05:22 AM   #2 (permalink)
Premium Member
 
SouthArk370Z's Avatar
 
Join Date: Nov 2010
Location: South Arkansas
Posts: 8,435
Drives: 2014 Challenger
Rep Power: 324197
SouthArk370Z has a reputation beyond reputeSouthArk370Z has a reputation beyond reputeSouthArk370Z has a reputation beyond reputeSouthArk370Z has a reputation beyond reputeSouthArk370Z has a reputation beyond reputeSouthArk370Z has a reputation beyond reputeSouthArk370Z has a reputation beyond reputeSouthArk370Z has a reputation beyond reputeSouthArk370Z has a reputation beyond reputeSouthArk370Z has a reputation beyond reputeSouthArk370Z has a reputation beyond repute
Default

Would formatting the flash drive to NTFS do any good?

Edit: Many Linux distros can be downloaded as a live image and burnt to CD/DVD without using Unetbootin.
__________________
Steering Lock Links - Search The370Z Bookmarklet - FSM @ NICOclub
Mankind has progressed past the need for war but we haven't evolved that far. - NachoMahma

Last edited by SouthArk370Z; 01-20-2017 at 05:30 AM.
SouthArk370Z is offline   Reply With Quote
Old 01-20-2017, 05:40 AM   #3 (permalink)
Enthusiast Member
 
OhioYJ's Avatar
 
Join Date: Nov 2016
Location: Ohio
Posts: 261
Drives: 2016 370Z
Rep Power: 952
OhioYJ has a reputation beyond reputeOhioYJ has a reputation beyond reputeOhioYJ has a reputation beyond reputeOhioYJ has a reputation beyond reputeOhioYJ has a reputation beyond reputeOhioYJ has a reputation beyond reputeOhioYJ has a reputation beyond reputeOhioYJ has a reputation beyond reputeOhioYJ has a reputation beyond reputeOhioYJ has a reputation beyond reputeOhioYJ has a reputation beyond repute
Default

Quote:
Originally Posted by SouthArk370Z View Post
Would formatting the flash drive to NTFS do any good?

Edit: Many Linux distros can be downloaded as a live image and burnt to CD/DVD without using Unetbootin.
I didn't think about NTFS. Fatsort won't sort NTFS drives, I know that. I think the car would do the same thing with the NTFS drives as it's using creation times for sorting for some reason rather than files names. I haven't tried though. Assuming this is true, I'd rather using FAT32 just so I can easily sort the drives. Not sure why Nissan did this, I took this flash drive straight out of my VW where it was sorted properly.

All this is assuming the Nissan radio will read NTFS drives too, I haven't tried that either.

Good point about just burning the ISO, I should add that. I always use the flash drives so I forget about using the CD/DVD sometimes.
OhioYJ is offline   Reply With Quote
Old 08-22-2023, 12:03 PM   #4 (permalink)
Enthusiast Member
 
OhioYJ's Avatar
 
Join Date: Nov 2016
Location: Ohio
Posts: 261
Drives: 2016 370Z
Rep Power: 952
OhioYJ has a reputation beyond reputeOhioYJ has a reputation beyond reputeOhioYJ has a reputation beyond reputeOhioYJ has a reputation beyond reputeOhioYJ has a reputation beyond reputeOhioYJ has a reputation beyond reputeOhioYJ has a reputation beyond reputeOhioYJ has a reputation beyond reputeOhioYJ has a reputation beyond reputeOhioYJ has a reputation beyond reputeOhioYJ has a reputation beyond repute
Default

2023 Update

-In some newer versions of Linux fatsort will not work with the drive mounted, even with the -f option. If you run into this unmount the drive using the information found in disks:

sudo unmount /media/ohioyj/LEE

Then run fatsort:

sudo fatsort -f /dev/sdd1
OhioYJ is offline   Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Amp to stock radio using Fierce Audio line converter VDC_OFF DIY Section (Do-It-Yourself) 5 07-20-2016 05:41 PM
DXF or DWG Logo files. Daishi9000 Nissan 370Z General Discussions 0 01-28-2016 08:15 PM
Reading Cipher log files, can anyone help? (FI car) snowsurfdirtx Tuning 2 04-09-2014 10:25 AM
Request for drf files from Dynojet! Jordo! Engine & Drivetrain 9 02-11-2011 03:52 PM
Want brakes but having trouble sorting through the BS motoextreme Brakes & Suspension 28 01-08-2010 12:02 AM


All times are GMT -5. The time now is 05:05 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.0 PL2