Jump to content

edited tracks appear at the beginning of the album


Go to solution Solved by andrewilley,

Recommended Posts

this has been persistent since i bought the recent "Feature Package". basically, if i edit the tags of any track, it will automatically show up at the start of the album in spite of its #. there's no way of getting it back where it was supposed to be without editing every single other track on the album, which would be pretty dumb anyway.

my sort option is set to "by disc and track #", as i have multiple compilations and other albums of that sort. the bug is undone by setting it to "by track #", which leads me to believe this has something to do with them not having a disc set. as far as i know, there's no way of editing the disc number in winamp. what should i do? (besides, obviously, editing them out on the PC and copying them into the phone)

for reference, i edited the tags to the top two songs, and they were placed before track no. 1.  does Poweramp automatically create a disc number when editing the tags? and, if so, will there be an option to edit the actual disc number?

WhatsApp Image 2024-09-30 at 20.17.42_26dcc7a4.jpg

Link to comment
Share on other sites

I believe you have set the sort order to by date added to library, so if that is the case, any time you edit a file, Poweramp will treat it as a new file because it's data stored by Poweramp have been changed. Just set the list option in album view to by track number, and it will be fine.

Bencherished 

Link to comment
Share on other sites

2 hours ago, thankyoucapitalism said:

my sort option is set to "by disc and track #", as i have multiple compilations and other albums of that sort. the bug is undone by setting it to "by track #", which leads me to believe this has something to do with them not having a disc set. as far as i know, there's no way of editing the disc number in winamp. what should i do? 

as i said before, it's set to "by disc and track #".

Link to comment
Share on other sites

@MotleyG precisely! all i edited was the titles, not the number or the disc (the latter of which you can't even edit in the app). editing the titles leads to them getting tacked to the beginning of the album, as they no longer have a disc number. what's confusing is that the tracks did not have a disc number to begin with, but the app seems to almost assign one as the default and removes it once it can't find it. that's why i think it's a bug.

Link to comment
Share on other sites

There are definitely some existing oddities about how PA handles missing Track# and/or Disc# tags (previously reported, e.g. missing Disc# tags are interpted as being Disc #1, but only if there is also a Track# present) so if Save is changing missing content without offering the user a chance to redefine it, then that could be causing this. I'll do some tests and come back to this.

Andre

Link to comment
Share on other sites

I think I've worked it out.  I think Max has corrected most of the issues where missing 'Disc' tags were being interpreted as Disc #1 rather than being considered (more correctly) as null values. However it will need a Full Rescan for the library database to be updated so all the existing songs reflect the change.

So, when you saved those revised Titles, the correct Track# and empty Disc# tags were saved accurately, and are now being displayed correctly too (i.e. with no Disc#). However the older files (the ones from the existing scans of the library) are still showing their Disc# as '1'. These are thus being sorted after the new (corrected) null Disc songs.

Try a Full Rescan and see if that now shows all of the files in the order you expect (with the incorrect '1' disc numbers gone). 

Andre

Link to comment
Share on other sites

@maxmp Although I don't think it is the issue here (which just needs a Full Rescan) I do agree that it seems odd that you can update (and also remove) Track# tags using the 'Edit Tags' feature, but there is no edit box for Disc# - even though its contents are shown in Info/Tags. Could that be added please?

Andre

Link to comment
Share on other sites

@thankyoucapitalism thanks for the report, but this is probably very track type/tag specific, i.e. it's happening for that particular tagging scheme used in your tracks - which is probably not 100% standard so that means isolated use case logic should be specifically added to handle tracks with such tags. It's not otherwise easily possible to reproduce. Please send me couple of such tracks (the edited one and just couple of non-edited will be enough) to gpmaxmpz@gmail.com for investigation. 

Link to comment
Share on other sites

@thankyoucapitalism Please do a Full Rescan (in Settings=>Library) before you check any further. From my own tests, I suspect that there's actually nothing wrong with the saved files, they are just being handled differently from the other existing songs in the database which were from a previous scan. A Full Rescan will make the old entries behave like the newer ones - i.e. so all the songs have no Disc Numbers, instead of the older songs being incorrectly sorted as Disc '1'.

Andre

Link to comment
Share on other sites

@thankyoucapitalism Has a Full Rescan resolved this issue for you? I'm pretty sure it will turn out to just be that the older songs are still displaying as Disc '1' which would be sorted after reaved songs which show no Disc#. Otherwise as Max says, two sample files from the above screenshot would be needed (you can post temporary links here if you'd like me to take a look too).

Andre

Link to comment
Share on other sites

  • Solution
3 hours ago, maxmp said:

 The tag edited track (within Poweramp) is immediately updated in the db, so Full Rescan shouldn't add anything to that.

Yes, that was my point. Although all of the existing audio files had no Disc# tags in the first place, the old scanner used to store the songs in the database with an interpreted Disc value of '1'.

So when a few tracks were then resaved using the latest PA (still with no Disc tags present) those resaved songs were updated in the database with a null Disc number rather than the old '1' value. Then a Disc#/Track# sorting process put the null Disc# songs first, then the Disc# 1 songs.

image.png

A Full Rescan corrected all of the older entries so they too showed with null disc values, and sorting was then only done by Track#. Any further re-saves will be fine too, as they'll match correctly with everything else now in the database.

Andre

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...