Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash when attempting to play a tag #60

Closed
wants to merge 1 commit into from

Conversation

Ramblurr
Copy link

This commit fixes a crash when playing a tag like this:

roon.play_media(zone_id, ["Library", "Tags", "mytag"])

This does not fix the playing of the tag (that still doesn't work), but it prevents a KeyError exception from being thrown because the "hint" field doesn't exist.

Related to #59

This commit fixes a crash when playing a tag like this:

    roon.play_media(zone_id, ["Library", "Tags", "mytag"])

This does not fix the playing of the tag (that still doesn't work), but
it prevents a KeyError exception from being thrown because the "hint"
field doesn't exist.

Related to pavoni#59
@pavoni
Copy link
Owner

pavoni commented Dec 29, 2022

Would you like me to merge this - or would you like to wait for your full fix to allow tags to play?

If you'd like to merge - would you mind adding a comment to the get to explain why it's needed? Will just help someone coming to it later.

@pavoni
Copy link
Owner

pavoni commented Feb 18, 2023

@Ramblurr I've added a fix in this PR #71

This will play tags - rather than just stopping the crash - so will close this one.

@pavoni pavoni closed this Feb 18, 2023
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.

2 participants