Go Back   Team-BHP > Under the Hood > In-Car Entertainment


Reply
 
Thread Tools Search this Thread
Old 27th March 2013, 10:45   #16
Senior - BHPian
 
DerAlte's Avatar
 
Join Date: Mar 2007
Location: Bangalore
Posts: 8,076
Thanked: 2,876 Times
Default Re: How to sort music on a USB flash drive?

Quote:
Originally Posted by saket77 View Post
... Or may be I am acting too smart!
Not really. You are trying to do the logical thing.

There is a difference between 'view' and physical sorting. In any OS (with GUI), one can change the view in the (equivalent of) File Explorer to any sort order - only the display is changed. You are not wrong in expecting a tool to actually physically sort the files.

Be sure to change the file names to start with track number (as per your choice). Do this *before* you use the tool, so that the tool will set the physical order based on the filename - which starts with track number.

A quick and dirty method is to drag and drop the files into an empty directory on the drive one at a time, in the order that you want to listen to them. Open the source and destination in 2 separate windows when doing this. DON'T mark a group of files while dragging and dropping - you never know the order in which Windows will transfer.
DerAlte is offline   (1) Thanks Reply With Quote
Old 27th March 2013, 11:00   #17
Distinguished - BHPian
 
saket77's Avatar
 
Join Date: Dec 2012
Location: Ranchi
Posts: 3,191
Thanked: 4,242 Times
Default Re: How to sort music on a USB flash drive?

Quote:
Originally Posted by DerAlte View Post

A quick and dirty method is to drag and drop the files into an empty directory on the drive one at a time, in the order that you want to listen to them. Open the source and destination in 2 separate windows when doing this. DON'T mark a group of files while dragging and dropping - you never know the order in which Windows will transfer.
Thanks Aniruddha.

^ as of now, I am resorting to the above method only. I re-transferred all the files in the order I wanted the player to play. Its working that way only but its a long & time consuming method.

To cut it little shorter, I first copied the songs that I wanted to come first in every directory. After 10-15 songs in each directory, I copied all the remaining tracks as they would mostly come after reaching my destination, so who cares!
So, the bottom line is to arrange the first few songs of the directory, so that they play first. If we have to add new songs, make a new directory & put the new songs there first. Then cut-paste the songs in the other directory to the new one & as we know, cut-paste in the same drive hardly takes time. This is how I am living with it!

Regards,
Saket
saket77 is offline   Reply With Quote
Old 27th March 2013, 14:31   #18
BHPian
 
Join Date: Mar 2010
Location: Bangalore
Posts: 394
Thanked: 154 Times
Default Re: How to sort music on a USB flash drive?

Quote:
Originally Posted by saket77 View Post
Thanks Aniruddha.

^ as of now, I am resorting to the above method only. I re-transferred all the files in the order I wanted the player to play. Its working that way only but its a long & time consuming method.
Regards,
Saket
My HU in does by file name. Hence I wrote small perl script. This might solve your issue also.

What this script does is, it take winamp playlist and destination directory as input. It then copies all songs in the order it appears in playlist. While it copies them one by one, it also appends sequence numbers in the beginning of files. This will ensure creation date of file is date copied. If you need this script I will upload it here. You need Perl v2.5 (search active Perl) and above is installed in you machine.


I basically create playlist in certain order, it is easy as I don't have to wait till file copied. And its easy to search and create play list in winamp than in file system. Feed playlist to this script. You are done.
RaguHolla is offline   (1) Thanks Reply With Quote
Old 27th March 2013, 15:02   #19
Distinguished - BHPian
 
saket77's Avatar
 
Join Date: Dec 2012
Location: Ranchi
Posts: 3,191
Thanked: 4,242 Times
Default Re: How to sort music on a USB flash drive?

Hey thanks Ragu! I think it will do it. I think your script might be useful for many people, if you can upload that.

I have also downloaded some FATsorters which claim to be built for the purpose.
Thanks,
Saket
saket77 is offline   Reply With Quote
Old 27th March 2013, 15:56   #20
BHPian
 
swami.n's Avatar
 
Join Date: Jan 2013
Location: TN-10
Posts: 252
Thanked: 182 Times
Default Re: How to sort music on a USB flash drive?

Quote:
Originally Posted by saket77 View Post
Hey thanks Ragu! I think it will do it. I think your script might be useful for many people, if you can upload that.

I have also downloaded some FATsorters which claim to be built for the purpose.
Thanks,
Saket
So Saket, Did you get to try out any of the sorters and what were your results?
swami.n is offline   Reply With Quote
Old 27th March 2013, 21:55   #21
BHPian
 
Join Date: Mar 2010
Location: Bangalore
Posts: 394
Thanked: 154 Times
Default Re: How to sort music on a USB flash drive?

Quote:
Originally Posted by saket77 View Post
Hey thanks Ragu! I think it will do it. I think your script might be useful for many people, if you can upload that.
Here is the file. playList.doc

You need to rename the file to playList.doc to playlist.pl.

You need to install perl before you can try this. For windows you get free perl at following link

Once perl is installed usually it associate itself with .pl extension. Open command prompt and run "playlist.pl playlistpath destination".

Its pretty simple code, see if it helps.
RaguHolla is offline   (2) Thanks Reply With Quote
Old 27th March 2013, 23:03   #22
Senior - BHPian
 
parsh's Avatar
 
Join Date: Aug 2010
Location: Bombay
Posts: 1,517
Thanked: 956 Times
Default Re: How to sort music on a USB flash drive?

I have no idea why all this sorting is required. Generally the HU sorting should be independent of the date and time the file is written on the media and mostly based on alpha-numeric sorting of folder names and within folders the alpha-numeric sorting of the file names.

Most of the HUs resort to the sorting in the following manner, as is a case with a Pioneer HU, this should help:

How to sort music on a USB flash drive?-pioneer-2din-fhp6050ub-user-manual_page_57.jpg
parsh is offline   Reply With Quote
Old 27th March 2013, 23:57   #23
BHPian
 
Join Date: Sep 2010
Location: Bangalore
Posts: 828
Thanked: 113 Times
Default Re: How to sort music on a USB flash drive?

Arent there any HU's that allow easy folder navigation or read playlists files saved from a PC to the usb drive?


-R
Ragul is offline   Reply With Quote
Old 28th March 2013, 11:01   #24
Senior - BHPian
 
DerAlte's Avatar
 
Join Date: Mar 2007
Location: Bangalore
Posts: 8,076
Thanked: 2,876 Times
Default Re: How to sort music on a USB flash drive?

Quote:
Originally Posted by parsh View Post
I have no idea why all this sorting is required. Generally the HU sorting should be independent of the date and time the file is written on the media and mostly based on alpha-numeric sorting of folder names and within folders the alpha-numeric sorting of the file names. ...
Perhaps you are not reading the text carefully, and missing something. Refer to the last 3 bullets in your attachment.
1. "User cannot assign folder numbers and specify playback sequence with this unit"
2. "Playback sequence of the audio file is the same as the recorded sequence in the USB device"
3. "To specify the playback sequence, the following method is recommended ..."

It is clear that whichever technical writer wrote the manual made a hash of the issue by writing contradictory statements. First they say User cannot specify playback sequence, and then they say To specify playback sequence ...

* The HU described in the manual is doing the same thing that @Saket77's Blau HU is doing - playing files in physical order
* The description also means there is no facility for using Playlists
* The technical writer made an innocent assumption that naming files, with sequential numbers at the start, changes the physical order of the files. Poor chap!
* (For the programmers here) All device systems, including USB systems, use the Unix-style Get First Entry - Get Next Entry to query device / directory contents - where the source returns in order of physical storage in the File System. Once the HU has created a map of the contents, it has the freedom to do all subsequent operations based on that *map*. In this case, the HU doesn't sort the tree branches in the map in alpha-numeric order, and just plays back in branch sequence. If one wants a different sort order, one has to physically reorganize files on the device - just like @saket77 is trying to do

Quote:
Originally Posted by Ragul View Post
Arent there any HU's that allow easy folder navigation or read playlists files saved from a PC to the usb drive? ...
1. Kenwood sorts the song map in the HU in Name order before playing. There may be other brands which do this, including newer Blau HUs (the limitation earlier was a software implementation limitation in the HU)

2. HUs cannot accept and execute a computer-based Playlist - simply because of difference in storage / file systems. In a computer-based Playlist, one can specify full-path-spec of the location of a particular song file. That would be meaningless on an HU, since the HU doesn't have it's own storage, and gets files dynamically from an external device (one at a time). Querying file system and file contents (READ) over USB is not the same as reading a file system directly through OS calls

3. Many HUs do allow Playlists to be created on the HU, but this is a different method. The Playlist will work *as long as* the device is not disconnected. As soon as one disconnects the device, the Playlist is unusable. I don't think the HU writes the Playlist on to the device for playing back the next time the same device connects - HUs don't write anything to external devices

4. Only with Apple iDevices (not sure, but some HUs may support M$ devices also in the same way), the protocol works in a way that Playlists on the iDevice is available for execution on the HU - only then can the HU claim to be "iPod compatible"
DerAlte is offline   (1) Thanks Reply With Quote
Old 12th May 2016, 11:22   #25
BHPian
 
JMaruru's Avatar
 
Join Date: Jun 2008
Location: Bengaluru
Posts: 527
Thanked: 101 Times
Question Re: Some mp3's not playing from USB stick?

Some of the mp3 files does NOT play on my car HU. It comes out as - Track ' " (<single quote> <space> <double quote> - on the HU display.

What might be the reason here? Please advise.
JMaruru is offline   Reply With Quote
Old 25th November 2016, 11:01   #26
NPV
Distinguished - BHPian
 
NPV's Avatar
 
Join Date: Oct 2009
Location: Namma Bengaluru
Posts: 4,817
Thanked: 4,764 Times
Default Re: How to sort music on a USB flash drive?

Quote:
Originally Posted by saket77 View Post
I would like to have it play following MY sequence. How do I go about it, please let me know.
Saket - thanks for your thread.
I was surprised when I faced this problem when using a USB pen drive in the Wagon R's HU.

I think I found a simple solution/workaround using the "touch" command, and there is no need to use any tool like Fat Sorter, etc

Posted details here in my ownership thread - Link (Our 2016 Glistening Grey Maruti WagonR VXi - Waggy® meets Dizzy®)

Last edited by NPV : 25th November 2016 at 11:08.
NPV is offline   (1) Thanks Reply With Quote
Old 25th November 2016, 20:24   #27
BHPian
 
JMaruru's Avatar
 
Join Date: Jun 2008
Location: Bengaluru
Posts: 527
Thanked: 101 Times
Question Re: How to sort music on a USB flash drive?

Quote:
Originally Posted by NPV View Post
Saket - thanks for your thread.
I was surprised when I faced this problem when using a USB pen drive in the Wagon R's HU.

I think I found a simple solution/workaround using the "touch" command, and there is no need to use any tool like Fat Sorter, etc

Posted details here in my ownership thread - Link
How did you get 'touch' command to work on MS-DOS?

When i tried, got the message 'Not recognized as internal or external command'.

Please explain.
JMaruru is offline   (1) Thanks Reply With Quote
Old 26th November 2016, 22:09   #28
NPV
Distinguished - BHPian
 
NPV's Avatar
 
Join Date: Oct 2009
Location: Namma Bengaluru
Posts: 4,817
Thanked: 4,764 Times
Default Re: How to sort music on a USB flash drive?

Quote:
Originally Posted by JMaruru View Post
How did you get 'touch' command to work on MS-DOS?
I didn't use it on DOS/Windows but on a Mac which is Linux based. However, there are ways using custom scripting/code to build an equivalent of a "touch" command for Windows, like this

Last edited by NPV : 26th November 2016 at 22:12.
NPV is offline   (2) Thanks Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
Utility for numbering files/folders on USB drive for Car Music Players moresandesh In-Car Entertainment 25 7th May 2016 10:23
USB Flash Drives Sang Gadgets, Computers & Software 59 27th September 2015 14:58
How to create a bootable USB flash drive ? vdiatech Gadgets, Computers & Software 28 22nd June 2014 23:42
All about USB Flash Drives a.k.a Pen Drive / Thumb Drive / Memory Stick / Jump Drive KSM-Vtec Gadgets, Computers & Software 1 28th February 2012 12:04
Corsair Flash Voyager 8 gb flash disk - Corrupt? nishantgandhi Gadgets, Computers & Software 5 28th July 2009 14:55


All times are GMT +5.5. The time now is 03:24.

Copyright ©2000 - 2017, Team-BHP.com
Proudly powered by E2E Networks