Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
translations translations
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Rockbox 4.0 - Album Artist changed behaviour
« previous next »
  • Print
Pages: [1] 2

Author Topic: Rockbox 4.0 - Album Artist changed behaviour  (Read 1144 times)

Offline croxis

  • Member
  • *
  • Posts: 8
Rockbox 4.0 - Album Artist changed behaviour
« on: April 02, 2025, 05:32:54 AM »
Having upgraded from 3.15 to 4.0 I noticed the Album Artist menu on the Database is not showing any artists when the album artist is not present. In other words, I only see listed files which have an album artist tag present.

What can I do to restore the previous behaviour?
« Last Edit: April 03, 2025, 04:28:46 AM by croxis »
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1194
Re: Rockbox 4.0 - Album Artist menu missing artists
« Reply #1 on: April 02, 2025, 06:45:34 AM »
It used to be we mushed them all together which created some issue when both existed
you should be able to go to 'Artists' which I think will still mush them together but
not 100% on that
Logged

Offline croxis

  • Member
  • *
  • Posts: 8
Re: Rockbox 4.0 - Album Artist menu missing artists
« Reply #2 on: April 02, 2025, 07:03:02 AM »
Quote from: Bilgus on April 02, 2025, 06:45:34 AM
It used to be we mushed them all together which created some issue when both existed
you should be able to go to 'Artists' which I think will still mush them together but
not 100% on that

Going to 'Artists' has all the Artists mushed together yes, this is the same as 3.15 when going to 'Artists'.
What changed was the behavior of 'Album Artist' where in 3.15 it wouldn't show the Artists values if there was an 'albumartist' tag present. Meaning it wouldn't list Artists from compilation albums and instead had a 'Various Artists' artist which is what I use on all my compilation albums on the 'albumartist' tag. (this is my desired behaviour).
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1194
Re: Rockbox 4.0 - Album Artist menu missing artists
« Reply #3 on: April 02, 2025, 08:00:08 AM »
Sorry was a bit fuzzy on the changes around this

several of the devs were discussing this as the patch came through and nearly reverted it

it is different than the previous behavior but after checking it out
I feel that its probably correct in regard to the other tags
going to <Untagged> will get the rest of the entries and pretty much give you similar.
Not exactly the same though since there is now separation between the <untagged> tracks and the ones that do actually have an album artist

That said if there is interest I can come up with a custom entry to get you the old behavior
Logged

Offline croxis

  • Member
  • *
  • Posts: 8
Re: Rockbox 4.0 - Album Artist menu missing artists
« Reply #4 on: April 02, 2025, 08:11:52 AM »
Going to [Untagged] on 'Album Artist' lists all the albums which is not intended.

Quote from: Bilgus on April 02, 2025, 08:00:08 AM
That said if there is interest I can come up with a custom entry to get you the old behavior

I'm interested on this, I have created a tagnavi_user.config copied from the original:

Code: [Select]
# Define the title of the main menu
%menu_start "main" "Database"
"Album Artist" -> albumartist   -> album  -> title = "fmt_title"

How do I go about changing this?
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1194
Re: Rockbox 4.0 - Album Artist menu missing artists
« Reply #5 on: April 02, 2025, 08:20:56 AM »
https://www.rockbox.org/wiki/DataBase#tagnavi.config_v2.0_Syntax
you make a custom entry
Logged

Offline croxis

  • Member
  • *
  • Posts: 8
Re: Rockbox 4.0 - Album Artist menu missing artists
« Reply #6 on: April 02, 2025, 10:59:24 AM »
I need help creating it.
Here are my unsuccessful attempts:

These seemed straightforward but I can't seem to find a solution with the syntax. Neither of these worked.
Code: [Select]
"Album Artist" -> albumartist | artist  -> album  -> title = "fmt_title"
"Album Artist" -> albumartist ? albumartist | artist  -> album  -> title = "fmt_title"
Logged

Offline bahus

  • Member
  • *
  • Posts: 213
Re: Rockbox 4.0 - Album Artist menu missing artists
« Reply #7 on: April 02, 2025, 11:42:35 AM »
I'm not expert in tagnavi so I might be wrong but from what I see in docs   - <filter> (that's what you try to define) doesn't support custom formatting. It's defined as simple as:

Quote
is a tag field (see below for supported tag fields)

The only place that supports custom formatting is track title:
Quote
Note: a %format string can be used for formatting only the track title. It cannot be used for formatting within the album hierarchy
Logged

Offline croxis

  • Member
  • *
  • Posts: 8
Re: Rockbox 4.0 - Album Artist menu missing artists
« Reply #8 on: April 02, 2025, 02:46:03 PM »
Should I just re-tag my entire library?

Copying 'artist' -> 'albumartist' on everything that isn't a split or compilation? Seems a bit redundant.

I can't seem to figure out the custom entry for the previous behaviour.
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1194
Re: Rockbox 4.0 - Album Artist menu missing artists
« Reply #9 on: April 02, 2025, 04:29:59 PM »
give me a day or two I have to look into how the custom entries work in regards to the empty "" string as it keeps popping a search prompt, an option is to add artist to all the album artist fields but I'd rather not make users do that
Logged

Offline croxis

  • Member
  • *
  • Posts: 8
Re: Rockbox 4.0 - Album Artist changed behaviour
« Reply #10 on: April 03, 2025, 04:33:55 AM »
Changing the topic to better reflect the discussion.

I've found these discussions to be relevant:
https://gerrit.rockbox.org/r/c/rockbox/+/3806
https://gerrit.rockbox.org/r/c/rockbox/+/3947

Use of the 'Album Artist' and 'Artist' tags for compilations was a big point of contention but what I usually see is people using the 'Artist' tag and put 'Various Artists' on 'Album Artist' on compilations.
Examples of this:
https://community.mp3tag.de/t/compilations-artist-album-tag/49911/4
https://community.mp3tag.de/t/tagging-compilations/49402/3
https://support1.bluesound.com/hc/en-us/community/posts/360033430213/comments/360008160374

EDIT: changed wording and added examples
« Last Edit: April 03, 2025, 04:38:22 AM by croxis »
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1194
Re: Rockbox 4.0 - Album Artist changed behaviour
« Reply #11 on: April 03, 2025, 09:13:23 AM »
Well the issue isn't the formatter its that we can't have multiple filters in a single level.
artist->albumartist->album
but what we need to get the previous behavior is artist | albumartist->album
which was hardcoded fallback behavior previously

IDK I'd say maybe we'll come up with something better but probably better to just fill in the empty albumartists for the time being


we've some changes on the database that may make this less painful for your particular use case
Logged

Offline bahus

  • Member
  • *
  • Posts: 213
Re: Rockbox 4.0 - Album Artist changed behaviour
« Reply #12 on: April 03, 2025, 09:40:17 AM »
Quote from: Bilgus on April 03, 2025, 09:13:23 AM
issue isn't the formatter

Well, it depends on how you look at this issue. One possible solution for this issue is to introduce support for a few built-in custom tags (like adding to a predefined list of tags in code custom_tag1, custom_tag2) with the ability to define formatters for them. And configuration could look something like this:

Code: [Select]
#Not sure if it's correct formatting syntax, but something like this:
%custom_tag1 "albumartist_or_artist" "%s" albumartist ? (albumaartist != "" )
%custom_tag1 "albumartist_or_artist" "%s" artist ? (albumaartist == "" )

"Album Artist" -> custom_tag1 -> title = "fmt_title"

This way, custom_tag can be indexed at the db creation step, and there is no need to dynamically merge data at each menu access. That's just a rough proposal for discussion I didn't really inspect the code closely.
« Last Edit: April 03, 2025, 09:47:56 AM by bahus »
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1194
Re: Rockbox 4.0 - Album Artist changed behaviour
« Reply #13 on: April 04, 2025, 10:44:05 AM »
The issue currently is that we are using an awful lot of resources for this database and its already quite unwieldy
to the point we don't really want to add more on top of this

I've been exploring adding some kind of scripting language to core
current contenders are [Micropython, Lua, TCL]
I've done some work towards both micro python and lua but I think they are both going to be too heavy
on ram and bin size to work here

the only thing I have against TCL is the fact thats its a whole other language but it may be the best way forward

I have at least 3 parsers this would eliminate and allow us to expand the syntax and hopefully still be able to be backwards compatible

Logged

Offline croxis

  • Member
  • *
  • Posts: 8
Re: Rockbox 4.0 - Album Artist changed behaviour
« Reply #14 on: April 09, 2025, 02:22:48 PM »
I have decided against retagging my entire library and use the 'Artist' section on the Database.

It seems like only downgrading to 3.15 would bring the previous behavior back, which I won't do. Maybe when a better scripting language is added it would be possible like you suggest.

Thank you everyone for the feedback and suggestions.
Logged

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Rockbox 4.0 - Album Artist changed behaviour
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.064 seconds with 17 queries.