simojenki / bonob

sonos SMAPI implementation allowing integrating different music sources with sonos.
GNU General Public License v3.0
208 stars 15 forks source link

Question / Add years containers and albums display #201

Closed jnth closed 3 months ago

jnth commented 3 months ago

Hello,

First, thank you for this brilliant software! I'm currently adding a new menu at the root level Years to show all years from album release dates. And after selecting a year, we can see all albums in order to play them.

2

3

It's working fine and I'll made a PR. But, as you can see at the screenshot, it's only show the album title. It's not like the favorite album menu that display the album title and the artist name.

I'm following the same way for this new menu like the other but I didn't find a difference... Do you have any advice to show the album title and the artist name ?

simojenki commented 3 months ago

I think this might be determined by the itemType attribute.

Try making each year range have itemType: "albumList",

jnth commented 3 months ago

Thank you for your advice. It fixes my problem.

I made a PR #202