Sortorder bug, or missing settings?

Alternative Android Client for Subsonic

Moderators: daneren2005, moderators

Sortorder bug, or missing settings?

Postby Luterin » Thu Aug 20, 2015 2:33 pm

First of all, I'm using DSub 4.9 7 and Subsonic 5.2.1.

And now to the issue, in some cases, the sort order within an album becomes wrong after I've chosen an album to play. It becomes sorted on the songname instead of track number, but it is sorted correctly both on the "official" Subsonic Android app and on the Subsonic Webinterface.

This mainly happends to old rips I have, which might not have track info in the ID3 tag, it might be in the comment tag instead, but the old system seemed to default to the sort order of the actual filename, which always is indexed correctly.

So is there any way to change the sort order in DSub that I'm missing?

Thanks in advance!
Luterin
 
Posts: 25
Joined: Thu Jun 03, 2010 6:28 pm

Re: Sortorder bug, or missing settings?

Postby daneren2005 » Thu Aug 20, 2015 9:46 pm

I haven't seen that one before. Mind sending me a temp username/password and what folder I can look at to reproduce?
Developer of DSub for Android
daneren2005
 
Posts: 1704
Joined: Fri Jul 06, 2012 7:52 pm

Re: Sortorder bug, or missing settings?

Postby Luterin » Thu Aug 20, 2015 9:52 pm

Sure, I'll set up an account and PM you the info.
Luterin
 
Posts: 25
Joined: Thu Jun 03, 2010 6:28 pm

Re: Sortorder bug, or missing settings?

Postby daneren2005 » Fri Aug 21, 2015 1:11 am

DSub does a custom sort because so much is different between server versions and the various mods. DSub sorts by track #, but only if it is in the tags. The server is doing a default sort on the filename which contains the track #, while Dsub is sorting on first the Track # then the Title.

ex:
Code: Select all
<child id="43196" parent="43183" isDir="false" title="Swamped" album="Comalies" artist="Lacuna Coil" year="2002" genre="Gothic" coverArt="43183" size="5763698" contentType="audio/mpeg" suffix="mp3" duration="240" bitRate="192" path="L/Lacuna Coil/Lacuna_Coil-Comalies-Ltd.Ed.-Digipak-2002/01-swamped-berc.mp3" isVideo="false" created="2010-01-19T15:18:48.000Z" albumId="631" artistId="226" type="music"/>
<child id="43189" parent="43183" isDir="false" title="Heaven's A Lie" album="Comalies" artist="Lacuna Coil" year="2002" genre="Gothic" coverArt="43183" size="6869221" contentType="audio/mpeg" suffix="mp3" duration="286" bitRate="192" path="L/Lacuna Coil/Lacuna_Coil-Comalies-Ltd.Ed.-Digipak-2002/02-heavens_a_lie-berc.mp3" isVideo="false" created="2010-01-19T15:18:49.000Z" albumId="631" artistId="226" type="music"/>


Now the really odd thing is that the server should have automatically set the Track # when importing due to how the files were named. I'm not sure why they did not. But updating the Track # in Subsonic should fix the issue.

PS You don't have to play the album to see the issue. Just viewing them should show it.
Developer of DSub for Android
daneren2005
 
Posts: 1704
Joined: Fri Jul 06, 2012 7:52 pm

Re: Sortorder bug, or missing settings?

Postby Luterin » Fri Aug 21, 2015 1:26 am

Is there a function in SubSonic that I'm missing that can do this, because fixing track number manually via "Edit Tags" is not something I'd prefer to do, since it's a lot of files to go thru.

Or perhaps a program that can do it, I'll have to look around.

Or you could implement a "Sort on filename" option. :)

Hoping there is an easier way. :)
Luterin
 
Posts: 25
Joined: Thu Jun 03, 2010 6:28 pm

Re: Sortorder bug, or missing settings?

Postby Luterin » Fri Aug 21, 2015 4:02 pm

I made a script that checks the ID3 tags in my files, and it seems that it is A LOT of files that do not have correct ID3 track tag.

Even if Subsonic has the "Edit tags" view, with a suggestion button for the tracks on that album, it's still gonna be a huge workload, but if there is no other way to fix it, I guess I'll just improve my script to handle ID3 writing aswell as reading.

Unless there is a better and/or easier sollution that I have missed.

EDIT:
This is from artists starting with A:

3957 songs checked
57 albums : 1087 songs / 0 fixed

So, about a fourth of the albums have incorrect ID3 tags. And it's all the oldest ones i have, so whatever I used to convert the CDs with in the beginning had a bug or something I guess. I never noticed it earlier. Ofcourse a "sort by filename" option would be easiest, but it would not solve the actual problem. So I better fix the files instead.
Luterin
 
Posts: 25
Joined: Thu Jun 03, 2010 6:28 pm

Re: Sortorder bug, or missing settings?

Postby grumpwagon » Sat Sep 05, 2015 6:40 pm

You can use beets to mass fix filenames. It automatically imports your music library, looks it up against the musicbrainz DB, and tags appropriately. It's really nice. The developer is super responsive to issues too.
grumpwagon
 
Posts: 74
Joined: Sun Sep 30, 2012 3:36 am

Re: Sortorder bug, or missing settings?

Postby Luterin » Sat Sep 05, 2015 7:03 pm

Cool, thanks a lot for the suggestion! I'll look into it!
Luterin
 
Posts: 25
Joined: Thu Jun 03, 2010 6:28 pm


Return to DSub for Android

Who is online

Users browsing this forum: No registered users and 1 guest