Skip to content

Change stopped to STATE_IDLE instead of STATE_OFF#1

Open
apetrycki wants to merge 1 commit intomasterfrom
apetrycki-patch-1
Open

Change stopped to STATE_IDLE instead of STATE_OFF#1
apetrycki wants to merge 1 commit intomasterfrom
apetrycki-patch-1

Conversation

@apetrycki
Copy link
Copy Markdown
Owner

Description:

Putting the player in the off state doesn't allow you to change playlists from the media_player card, so you cannot turn mopidy on from a clean state using the card. Changed the "stopped" state to STATE_IDLE instead so functions are available from the card. Play also now loads the first playlist if no songs are on the track list.

Checklist:

  • The code change is tested and works locally. Tested with mopidy running locally with and without songs in the track list.

Putting the player in the off state doesn't allow you to change playlists from the media_player card, so you cannot turn mopidy on from a clean state using the card.  Play also now loads the first playlist if no songs are on the track list.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant