Arlodotexe / strix-music

Combine any music sources into a single library. It's your music. Play it your way.
http://www.strixmusic.com
139 stars 4 forks source link

[new] Select an album item automatically if an artist only contains 1 AlbumItem in Zune Shell. #236

Closed amaid closed 1 year ago

amaid commented 1 year ago

Overview

In Progress #129

Following the zune desktop app, if an artist has only one albumitem in the album collection select it automatically from the album collection.

Checklist

This PR meets the following requirements:

Additional info

Not provided

amaid commented 1 year ago

Looks like this doesn't deselect when moving between albums.

There's a lot of bugs with album selection state when moving between artists that I hadn't noticed before. Let's save this for after the big refactor.

The deselection issue has been fixed, re the second one, zune shell CollectionContent has been refactored to use SwitchPresenter instead of relying on the visual states. This has fixed most of the major bugs.

amaid commented 1 year ago

Found just one issue in testing - items that are added to the collection after load don't get the correct visual state applied.

Recording.2023-06-12.040311.mp4

This was fixed in the latest commit.