Jump to content

Recommended Posts

  • Build number: 925-bundle-play [925004-e49ac43]
  • Device model: Pixel 4
  • Android version: 12
  • ROM: stock
  • steps to reproduce:
    1. Open Info/Tags for a currently playing track
    2. Note the year
    3. Close tag window
    4. Open Library
    5. Select Years
    6. Note how list only contains a single year, and it is not the year that the tag was tagged
      • Expected: Years list contains an entry for each year that a song is tagged.  In this video example, there should be 2020 and 2021
    7. Go to Settings -> Library -> Rescan
    8. Wait for scan to finish, repeat steps 4-6, same issue

 

ffmpeg.gif

Link to comment
https://forum.powerampapp.com/topic/23120-years-do-not-display/
Share on other sites

If that 2020 and other tag entries have been updated since the initial scan of the file, the database won't hold the new details (Info/Tags reads directly from the file, not the music database). Try a Full Rescan to update any modified tags and see if you still have the same problem. I see all years in that Category (PA build 926).

Andre

What List Options sorting order have you chosen for the Years category? You may have selected 'By Date Added to Library' instead of 'By year'. [Edit: Just tried that and it doesn't seem to make a difference; I'm not ever sure how it can be applied to this Category anyway to be honest]

Your results list is also showing only 5 songs in the whole category, which doesn't make sense either. I assume all of your other music appears in the All Songs or Albums lists. In Album views, do you see the years shown in the metadata content?

image.png

Andre

Wow, 2,628 songs in just one folder, and no Album names. That's an... unexpected... way to organise a music collection. :)

Were you expecting to see more songs with Genre details by the way, or are those tags mostly empty too?

Could you temporarily upload a couple of sample files to a shareable location for checking? One of the five from that visible 2021 list, and another from the All Songs list which you think should be showing a year but isn't. Thanks.

Andre

48 minutes ago, andrewilley said:

Wow, 2,628 songs in just one folder, and no Album names. That's an... unexpected... way to organise a music collection. :)

Most of the music I listen to comes out as singles, or sometimes is just released.  So an album name is often duplicitous of the song name.  And lacking any other way to sub-divide them (too many don't have genres tagged) I ended up just sticking them in one folder because 99% of the time I listen with "shuffle all".  I certainly earned the title of oddball

48 minutes ago, andrewilley said:

Were you expecting to see more songs with Genre details by the way, or are those tags mostly empty too?

Genre looks correct

48 minutes ago, andrewilley said:

Could you temporarily upload a couple of sample files to a shareable location for checking? One of the five from that visible 2021 list, and another from the All Songs list which you think should be showing a year but isn't. Thanks.

Would mediainfo output suffice?

This one shows up in the years list

General
Complete name                            : Firebeatz feat. Kelli-Leigh - On Top Of Mine (Extended Mix).mp3
Format                                   : MPEG Audio
File size                                : 5.02 MiB
Duration                                 : 3 min 37 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 193 kb/s
Track name                               : On Top Of Mine (Extended Mix)
Performer                                : Firebeatz feat. Kelli-Leigh
Publisher                                : Spinnin' Records
Recorded date                            : 2021
BPM                                      : 124
Comment                                  : Key E flat major

Audio
Format                                   : MPEG Audio
Format version                           : Version 1
Format profile                           : Layer 3
Mode                                     : Joint stereo
Mode extension                           : MS Stereo
Duration                                 : 3 min 37 s
Bit rate mode                            : Variable
Bit rate                                 : 192 kb/s
Channel(s)                               : 2 channels
Sampling rate                            : 44.1 kHz
Compression mode                         : Lossy
Stream size                              : 5.02 MiB (100%)

This one doesn't:

General
Complete name                            : Pleasure Generation feat. Salena Mastroianni - Sacrifice.mp3
Format                                   : MPEG Audio
File size                                : 4.34 MiB
Duration                                 : 3 min 11 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 190 kb/s
Track name                               : Sacrifice
Performer                                : Pleasure Generation feat. Salena Mastroianni
Publisher                                : Perfect Havoc
Genre                                    : Future House
Recorded date                            : 2020
Writing library                          : Lavf58.17.101
BPM                                      : 125
comment                                  : Key B major

Audio
Format                                   : MPEG Audio
Format version                           : Version 1
Format profile                           : Layer 3
Mode                                     : Joint stereo
Mode extension                           : MS Stereo
Duration                                 : 3 min 11 s
Bit rate mode                            : Variable
Bit rate                                 : 192 kb/s
Channel(s)                               : 2 channels
Sampling rate                            : 44.1 kHz
Compression mode                         : Lossy
Stream size                              : 4.34 MiB (100%)

 

 

I know this used to work at some point but not sure when it broke.

The 2021 file uses common ID3v2.3 tagging and the standard TYER ('Year') tag for the year. The 2020 file uses ID3v2.4 tagging, and has just a TDRC tag (which is a multi-use 'Recording Time/Date' tag) for the year.

ID3v2.3.0:
  | Publisher = Spinnin' Records
  | - Tag 'TPUB' (18 bytes):
  |     0014: 00 53 70 69 6e 6e 69 6e 27 20 52 65 63 6f 72 64 [.Spinnin' Record]
  |     0024: 73 00                                           [s.]
  | Year = 2021
  | - Tag 'TYER' (6 bytes):
  |     0030: 00 32 30 32 31 00                               [.2021.]
  | BeatsPerMinute = 124
  | - Tag 'TBPM' (5 bytes):
  |     0040: 00 31 32 34 00                                  [.124.]
  | Title = On Top Of Mine
  | - Tag 'TIT2' (16 bytes):
  |     004f: 00 4f 6e 20 54 6f 70 20 4f 66 20 4d 69 6e 65 00 [.On Top Of Mine.]
  | Artist = Firebeatz feat. Kelli-Leigh
  | - Tag 'TPE1' (29 bytes):
  |     0069: 00 46 69 72 65 62 65 61 74 7a 20 66 65 61 74 2e [.Firebeatz feat.]
  |     0079: 20 4b 65 6c 6c 69 2d 4c 65 69 67 68 00          [ Kelli-Leigh.]
  | Comment = Key E flat major
  | - Tag 'COMM' (22 bytes):
  |     0090: 00 65 6e 67 00 4b 65 79 20 45 20 66 6c 61 74 20 [.eng.Key E flat ]
  |     00a0: 6d 61 6a 6f 72 00                               [major.]

 

ID3v2.4.0:
  | Artist = Pleasure Generation feat. Salena Mastroianni
  | - Tag 'TPE1' (46 bytes):
  |     0014: 03 50 6c 65 61 73 75 72 65 20 47 65 6e 65 72 61 [.Pleasure Genera]
  |     0024: 74 69 6f 6e 20 66 65 61 74 2e 20 53 61 6c 65 6e [tion feat. Salen]
  |     0034: 61 20 4d 61 73 74 72 6f 69 61 6e 6e 69 00       [a Mastroianni.]
  | Publisher = Perfect Havoc
  | - Tag 'TPUB' (15 bytes):
  |     004c: 03 50 65 72 66 65 63 74 20 48 61 76 6f 63 00    [.Perfect Havoc.]
  | UserDefinedText = (comment) Key B major
  | - Tag 'TXXX' (21 bytes):
  |     0065: 03 63 6f 6d 6d 65 6e 74 00 4b 65 79 20 42 20 6d [.comment.Key B m]
  |     0075: 61 6a 6f 72 00                                  [ajor.]
  | Genre = Future House
  | - Tag 'TCON' (14 bytes):
  |     0084: 03 46 75 74 75 72 65 20 48 6f 75 73 65 00       [.Future House.]
  | BeatsPerMinute = 125
  | - Tag 'TBPM' (5 bytes):
  |     009c: 03 31 32 35 00                                  [.125.]
  | Title = Sacrifice
  | - Tag 'TIT2' (11 bytes):
  |     00ab: 03 53 61 63 72 69 66 69 63 65 00                [.Sacrifice.]
  | RecordingTime = 2020
  | - Tag 'TDRC' (6 bytes):
  |     00c0: 03 32 30 32 30 00                               [.2020.]
  | EncoderSettings = Lavf58.17.101
  | - Tag 'TSSE' (15 bytes):
  |     00d0: 03 4c 61 76 66 35 38 2e 31 37 2e 31 30 31 00    [.Lavf58.17.101.]

Poweramp's tag scanner normally reads the standard TYER tag, but it seems to read the TDRC one too for me (it shows as a 2020 song anyway). Strange that a FULL Rescan (not just a regular one) didn't fix it for you.

Simply loading the problem file into TagScanner on a PC and re-saving it without any changes will by default write the more common ID3v2.3 tag format, and a TYER date tag, which might solve your problem. Give it a try with one file, and if it works just run a batch process to resaved every one.

Andre

Note that for many players only the TYER tag is valid for year and TDRC is ignored. The TYER official spec only allows for a 4-digit integer value. No month or day is allowed, even though some tagging apps allow it to be written. The TDRC value allows for more details including year, month, day, hour, minute, second. I would recommend at a minimum to have the TYER field filled in, even if it is a duplicate of the first four digits of TDRC so that all media players you use can be useful.

I found 5 files with 2.4 tags in my collection.  I re-wrote all of then as 2.3, transferred them over to the phone and did a full rescan.  Same issue.

I checked my collection with TagScanner and noticed five files with more than four digits in the year.  Exiftool confirms that all have a 4 digit TYER and a 4 digit TDAT.

I took a look at another file that should be showing up; it has no date and is tagged TYER.  Of course, it's not seen in the year list in Poweramp

  | Year = 2003
  | - Tag 'TYER' (6 bytes):
  |     005e: 00 32 30 30 33 00                               [.2003.]

 

Edited by mzico

Even the 2.4 tag file worked fine on my device (Samsung Android 11, PA 926) and the year was read fine from the TDRC tag, so I'm not sure why it's not working for you.

In the 2.3 spec, TYER should officially just be a four-digit year while TDAT can contain month/date, but in the wild I've seen a lot of files where TYER contains yyyy-mm-dd. PA ignores any extra month/date data as it does not use it.

What do you see if you sort the All Songs category 'By Year' ? Do the songs seems to be organised as you would expect, or still as though there's no year data stored?

FULL Rescan is meant to clear the database and start from scratch, but some info (such as ratings) is meant to persist, so it's still possible there is something wrong with your database. You could try changing the folder name for your music, Full Rescan to completely empty the database, and then re-assign to use the new folder name in the Music Folders menu (which will force the files to be read as completely new items).

If that doesn't work, as a last resort try a clear uninstall / re-install, with a clear app data for good measure.

Andre

  • 3 weeks later...

Hello.  I join this same problem.  I don't know when this problem started, but it didn't happen before, since the way I use Poweramp is lab classification by years.

 I have done everything you have talked about before.  I have edited each tag individually but I don't know how to fix it.

 I have this same folder in a pixel 5 and it works correctly.  I currently have a Oneplus 8T and a Oneplus 3T and the problem is the same.

 I hope we find a solution because it's a bit awkward.

 Thanks

Hello. I have done some more tests and I just verified that it is not a problem with the version of the id3 tag. I have renamed a file that does not appear in the list of years and I have put a year that does appear in the list of years and surprise! That file appears with the year I entered. So the problem is another. I can't figure out what it is, but that's an interesting piece of information.

So simply re-naming a file (so it gets scanned into PA as a 'new' item) fixes the problem and the year shows for that song? But doing a FULL Rescan (in Settings > Library) does not?

Might be worth forcing PA to read every song as a 'new' file by renaming the overall folder name which contains all of your music, then doing a Full Rescan (so the AP Library becomes completely empty) and then pointing Settings > Library > Music Folders to your new folder and letting it rescan everything again as new files. Note: this may remove any ratings and play counts, and you might need to Resolve any internal Playlists afterwards, so definitely a good idea to export a settings Backup first. 

Andre

Hello.  I've done a full scan but it doesn't fix it.  The problem is that certain years are not read by PA, because as you can see in the video to a file that has the year 1956, I change it and I put any of those that are seen in the list of years, it integrates it in the list of that year, but if I put the year that corresponds to it again, it disappears.

@maxmp I think this might be one for you. I still can't replicate this issue by saving a new year via Info/Tags>Edit; each time I edit the 'Year' tag, the song re-appears in the expected period in the Years category. Tried MP3 ID3v2.3 and FLAC.

Andre

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...