MP3 function in new TSX

Thread Tools
 
Search this Thread
 
Old 04-09-2009 | 04:15 PM
  #1  
Ubuntu-UK's Avatar
Thread Starter
5th Gear
 
Joined: Apr 2009
Posts: 5
Likes: 0
MP3 function in new TSX

Hello

I've just bought a new Accord Tourer in the UK. Stunning car

Looking at the Acura web site, the TSX sold in the US is the same car as the TSX sold in the US. Hence my post here.

I was happy to find out that when you plug in a USB flash pen into the USB port under the centre console armrest, the audio system reads this. It reads it quickly and sounds excellent.

However, I'm unable to find out how the track order is done. You'd expect it be be done from the ID tags in the MP3 or WMA file. Failing that, then alphabetical order. However, neither work on my system and the track order is not set to random. If I upload these WMAs or MP3s to an MP3 device, the tracks order is fine. The ID tags are definitely present and correct.

Picture of tracks without numbers in their filename. The track order is completely random.


Picture of tracks with numbers at the start of the file name, for example:
01 - track 1
02 - track 2
These too are random with no obvious sort pattern.


Does anyone know how to get the tracks to sort correctly?

What about playlists? Can the audio system read them and if so, what format do they need to be in?

Thank you
Old 04-09-2009 | 10:40 PM
  #2  
prox's Avatar
Cruisin'
 
Joined: Aug 2008
Posts: 21
Likes: 0
From: Seattle, WA, USA
I ran into the same problem - the directory is not sorted at all by the audio system. Actually, it's displayed in is the order of the files in the FAT filesystem, not what anyone really wants. I've solved this by using DriveSort, link and details are in this thread: https://acurazine.com/forums/2g-tsx-2009-2014-143/sorting-audio-tracks-via-usb-connection-683979/

Enjoy!

- Mark
Old 04-10-2009 | 04:05 AM
  #3  
Ubuntu-UK's Avatar
Thread Starter
5th Gear
 
Joined: Apr 2009
Posts: 5
Likes: 0
Thanks Mark.

I'm using Ubuntu Linux, so can't use the DriveSort, but at least I know the problem now. They'll be a directory table editor for Linux no doubt.

Cheers
Old 04-10-2009 | 07:09 AM
  #4  
ctwickman's Avatar
Instructor
 
Joined: Oct 2003
Posts: 171
Likes: 2
IPOD is your ultimate solution. With an IPOD you can also have all of your tracks Apple lossless for the best sound quality.
Old 04-10-2009 | 08:02 AM
  #5  
prox's Avatar
Cruisin'
 
Joined: Aug 2008
Posts: 21
Likes: 0
From: Seattle, WA, USA
Originally Posted by Ubuntu-UK
I'm using Ubuntu Linux, so can't use the DriveSort, but at least I know the problem now. They'll be a directory table editor for Linux no doubt.
Let me know if you find one! I'm a Debian GNU/Linux user myself, but I had to resort to Windows in VMware for this one.

Now, if the TSX would just recognize ext3 ...

- Mark
Old 04-10-2009 | 11:01 AM
  #6  
ttk5's Avatar
Vancouver B.C.
 
Joined: Nov 2008
Posts: 2,704
Likes: 325
i dont have the tech package, but when I use a normal usb stick for music, the songs are listed in the same order i put them in.
Old 04-11-2009 | 05:33 PM
  #7  
Ubuntu-UK's Avatar
Thread Starter
5th Gear
 
Joined: Apr 2009
Posts: 5
Likes: 0
Hello Prox

Turns out there is a Linux util called "Fatsort". It's in the Ubuntu repositories, no doubt they'll be a package for Debian as well.

You run it on an umounted filesystem for example

filesort /dev/sdb1

I've also written a bash script which moves the MP3 or WMA files from a directory on the USB stick to the hard disk, then moves them back again in track order. Very useful if your tracks don't have track numbers in front of them, where sorting alphabetically is not useful. Let me know if you want it and I'll post it.
Old 04-11-2009 | 07:09 PM
  #8  
prox's Avatar
Cruisin'
 
Joined: Aug 2008
Posts: 21
Likes: 0
From: Seattle, WA, USA
Originally Posted by Ubuntu-UK
Turns out there is a Linux util called "Fatsort". It's in the Ubuntu repositories, no doubt they'll be a package for Debian as well.
Ha. I don't know how I missed that. Just installed it via apt, works like a charm!

I've got a few older albums that don't have track numbers in front of them (ripped them myself, before I realized it was a stupid thing to do), so that script would be helpful, if you have a chance to post it.

Thanks!

- Mark
Old 04-12-2009 | 04:42 AM
  #9  
Ubuntu-UK's Avatar
Thread Starter
5th Gear
 
Joined: Apr 2009
Posts: 5
Likes: 0
Hello

Stick these scripts in your path somewhere and make it executable. You could combine them into one script, but I've not had time.

Make sure you have write access to the temp directory if not root.

You need package python-mutagen installed for the mutagen-inspect command. This is the only command line util I've found that can read tags in both MP3 and WMA.

If the script just sits there in an endless loop, it's because one or more of your tracks lacks a track number - check them if that happens.

This forum software strips out the tab formatting, so you'll probably want to put them back in.


sortmp3
#!/bin/sh
temp_directory="/tmp/mp3"
current_directory=`pwd`

# Determine number of tracks
total_tracks=`ls *.mp3 2> /dev/null | wc -l`
echo "Total tracks: $total_tracks"
echo

# Move files to temporary directory
if [ $total_tracks -gt 0 ]; then
echo "Moving files to temporary directory..."
echo
mv *.mp3 $temp_directory

# Change to temp directory and move track backs in order of ID tag
cd $temp_directory

track_counter=1

echo "Moving files back to current directory..."
echo
while [ $total_tracks -gt 0 ]; do
for file in *.mp3 ; do
track=`mutagen-inspect "$file" | strings | grep -i trck`
track=${track#TRCK=}
track=${track%/*}

if [ $track = $track_counter ]; then
echo "${track} / ${file}"
mv "$file" "$current_directory"
fi
done

let track_counter=track_counter+1
total_tracks=`ls *.mp3 2> /dev/null | wc -l`
#echo "Counter $track_counter / total_tracks $total_tracks"
done
fi


sortwma
#!/bin/sh
temp_directory="/tmp/mp3"
current_directory=`pwd`

# Determine number of tracks
total_tracks=`ls *.wma 2> /dev/null | wc -l`
echo "Total tracks: $total_tracks"
echo

# Move files to temporary directory
if [ $total_tracks -gt 0 ]; then
echo "Moving files to temporary directory..."
echo
mv *.wma $temp_directory

# Change to temp directory and move track backs in order of ID tag
cd $temp_directory

track_counter=1

echo "Moving files back to current directory..."
echo
while [ $total_tracks -gt 0 ]; do
for file in *.wma ; do
track=`mutagen-inspect "$file" | strings | grep -i tracknumber`
track=${track#WM/TrackNumber=}
track=${track%/*}

if [ $track = $track_counter ]; then
echo "${track} / ${file}"
mv "$file" "$current_directory"
fi
done

let track_counter=track_counter+1
total_tracks=`ls *.wma 2> /dev/null | wc -l`
#echo "Counter $track_counter / total_tracks $total_tracks"
done
Old 04-12-2009 | 10:54 PM
  #10  
prox's Avatar
Cruisin'
 
Joined: Aug 2008
Posts: 21
Likes: 0
From: Seattle, WA, USA
Originally Posted by Ubuntu-UK
Hello

Stick these scripts in your path somewhere and make it executable.
Neat, thanks! Actually, the additional whitespace (tabs) came out just fine in the eMail notification :-)

- Mark
Old 04-18-2009 | 10:16 PM
  #11  
inazTSX's Avatar
Intermediate
 
Joined: Mar 2009
Posts: 27
Likes: 0
Use DriveSort, it worked great for me on a 60GB external USB drive (my old PS3 drive to be exact). It was vital to have them sorted since I had over 1200 directories and 12,000 MP3s on the drive. I could probably drive around the planet a couple of times before repeating a song. :-)
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
tsx_boy
1G TSX Performance Parts & Modifications
4
12-13-2019 09:33 PM
GWEEDOspeedo
Car Parts for Sale
4
01-15-2016 11:39 PM
soupi
2G TSX Audio, Bluetooth, Electronics & Navigation
14
11-15-2015 12:15 PM
blacktsxwagon
5G TLX (2015-2020)
42
10-27-2015 11:12 PM
4drviper
3G TL Audio, Bluetooth, Electronics & Navigation
0
09-23-2015 10:00 PM




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