handed / audirvana

Automatically exported from code.google.com/p/audirvana
0 stars 0 forks source link

Albums do not auto-sort by track number #29

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Drag an album folder to the playlist.

What is the expected output? What do you see instead?
I should see all the tracks in order by the track number. Instead, they seem to 
be randomly ordered.

What version of the product are you using? On what operating system?
0.8a (0.8.0) on OSX 10.6.7

Please provide any additional information below.
I'm very surprised to see the tunes not ordering as they should. Am I doing 
something wrong? I can't seem to click on the track # header to sort them 
either. Best I can do is manually drag/drop to resort all the tunes in the 
album. (Tedious to say the least.)

Thanks for some great software otherwise! Audirvana is rocking for me!

Original issue reported on code.google.com by thethr...@gmail.com on 10 Apr 2011 at 4:01

GoogleCodeExporter commented 8 years ago
How are your tracks sorted inside the folders ?
Audirvana gets them in the order sorted by filename.
BTW, usually the filenames start with the track number to get it right in the 
Finder.

Original comment by au.damie...@gmail.com on 10 Apr 2011 at 7:06

GoogleCodeExporter commented 8 years ago
Well that's very interesting because all the names of the files files I'm 
trying begin with the track number -- complete with leading zeros. When I drag 
them into the playlist window or directly to the Audirvana icon in the dock, 
they are appended to the playlist in a seemingly *random* order. How very 
interesting that you do not see this behavior...

Just to illustrate a little, I have an album here with 7 tracks. The format of 
the filenames is "01 - Song Name.flac", "02 - Song name.flac", etc. When I add 
them to the empty playlist, the track numbers appear in the following order: 7, 
2, 3, 4, 6, 5, 1. If I add them again, the songs are appended to the list in 
exactly the same order. I'm of course seeing similar behavior no matter what 
the album is -- it always seems to be random.

I'm happy to help track this one down in any way that I can.

Thanks!

Original comment by thethr...@gmail.com on 10 Apr 2011 at 9:25

GoogleCodeExporter commented 8 years ago
Exact same issue here. With Audirvana I have always had to expand the folder, 
select all the tracks manually (by shift-clicking song "01 - xx.flac" through 
"12 - xx.flac") and then dropping these to the playlist. If I drag and drop the 
entire folder I get the same random order. 

Original comment by jdebo...@gmail.com on 11 Apr 2011 at 11:46

GoogleCodeExporter commented 8 years ago
Ah yes! I see now that dragging the files themselves is a workaround.

As a side note, wouldn't it make more sense to sort by the track number in the 
metadata then fall back to the filename if track numbers are the same or 
missing? This is a bit of a different conversation, though.

Original comment by thethr...@gmail.com on 11 Apr 2011 at 12:05

GoogleCodeExporter commented 8 years ago
If this is the reason they are not sorting correctly, then yes that makes 
sense! This is how Fidelia and Decibel must be doing it as tracks are sorting 
correctly with them.

Original comment by jdebo...@gmail.com on 11 Apr 2011 at 1:46

GoogleCodeExporter commented 8 years ago
Well even if they are sorting by filenames, it should still be working whether 
I drag the folder or the files themselves. The fact that I'm feeling track 
number in the metadata should take precedence is only a sidenote here, but I'm 
just a user. :)

Original comment by thethr...@gmail.com on 11 Apr 2011 at 2:05

GoogleCodeExporter commented 8 years ago
How is the folder that contains track you don't get in the correct order?
Does it contain subfolders ?

Original comment by au.damie...@gmail.com on 11 Apr 2011 at 8:03

GoogleCodeExporter commented 8 years ago
Nope, no subfolders. So far, we've only been talking about (1) dragging a 
folder with flacs directly within it, and (2) dragging the set of files 
themselves.

On another note, I'm currently at work on a different Mac, and I don't seem to 
be having this issue at all -- tracks end up in the right order no matter how I 
get them there. :)

Original comment by thethr...@gmail.com on 11 Apr 2011 at 8:10

GoogleCodeExporter commented 8 years ago
It happens for me 100% of the time on my 2010 macmini with latest software 
updates.

With other players the files are always in the right order. Would love to see 
this fixed as I love this player otherwise.

Original comment by jdebo...@gmail.com on 11 Apr 2011 at 9:08

GoogleCodeExporter commented 8 years ago
Haha I just found us a big clue!

I noticed that the problem disappeared when I play local files! I then tried 
files off my SMB-mounted mounted volume and sure enough, they come in at 
"random".

I went ahead and tried mounting something via NFS. Still had the same 
randomness.

It seems to somehow be an issue with files on a network mount.

Original comment by thethr...@gmail.com on 11 Apr 2011 at 11:30

GoogleCodeExporter commented 8 years ago
ok, so this means for these network mounts, the folders are not sorted.
I'll then need to add sorting to the folder enumeration function.

Thanks for the investigation.

Original comment by au.damie...@gmail.com on 12 Apr 2011 at 11:47

GoogleCodeExporter commented 8 years ago
Wow this feedback system is great! I have a few tips/suggestions that I will 
submit in a new request. Great stuff Damien!

Original comment by jdebo...@gmail.com on 12 Apr 2011 at 11:56

GoogleCodeExporter commented 8 years ago
This is exactly the same issue I reported as issue 25: 
http://code.google.com/p/audirvana/issues/detail?identity=25. Local files load 
as expected, files on remote shares  (AFP in my case) load randomly.

Original comment by michield...@gmail.com on 12 Apr 2011 at 1:00

GoogleCodeExporter commented 8 years ago
Thank you, Damien!

Original comment by thethr...@gmail.com on 12 Apr 2011 at 1:30

GoogleCodeExporter commented 8 years ago
Sorting by pathname files/dirs added in rev115

If this is not fixing the issue, please reopen this issue.

Original comment by au.damie...@gmail.com on 16 Apr 2011 at 8:17

GoogleCodeExporter commented 8 years ago
Issue 25 has been merged into this issue.

Original comment by au.damie...@gmail.com on 16 Apr 2011 at 8:18

GoogleCodeExporter commented 8 years ago
Thank you, this solved the issue for me. I downloaded and compiled SVN rev116, 
and no issues now with the song order of a network folder dropped into the 
playlist. 

Original comment by michield...@gmail.com on 19 Apr 2011 at 12:44