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

Cover art crashes program on track change #7

Open
tristangough opened this issue Feb 23, 2024 · 0 comments
Open

Cover art crashes program on track change #7

tristangough opened this issue Feb 23, 2024 · 0 comments

Comments

@tristangough
Copy link

When launching simple_print.py The metadata loads fine, but when the track changes the program crashes.

Unknown shairport-sync core (ssnc) code "pcst", with base64 data MjEzMDk0NDA5OQ==.

Looks like when the metadata.py file tries to write the cover art in line 98

file.write(self.songcoverart.binary). # this is not base64!

It references tempfile.py

return func(*args, **kwargs)
TypeError: a bytes-like object is required, not 'NoneType'

It seems like it's not recognizing newer Airplay codes, possibly since Airplay has been updated since you created this.

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

No branches or pull requests

1 participant