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

improved serving of small and large (tested ~1Mb) cover images #281

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

SZenglein
Copy link
Contributor

I had some problems with pretty large mp3 covers. Initially I tought it was another AudioLib issue, but with these changes it works very smoothly, albeit slowly

@SZenglein SZenglein force-pushed the improve_serve_coverimg branch from 4bc601e to 949fda7 Compare December 23, 2023 01:48
@tueddy
Copy link
Collaborator

tueddy commented Dec 23, 2023

I've tested with my coverart folder (30 different mp3s) and every image is shown with these changes.

@tueddy
Copy link
Collaborator

tueddy commented Dec 26, 2023

Can you provide an example file to reproduce the issue?

@SZenglein SZenglein marked this pull request as draft December 27, 2023 23:27
@SZenglein SZenglein force-pushed the improve_serve_coverimg branch from 949fda7 to a477563 Compare December 28, 2023 00:12
@SZenglein SZenglein marked this pull request as ready for review December 28, 2023 00:26
@SZenglein SZenglein force-pushed the improve_serve_coverimg branch from a477563 to ef75dfe Compare December 28, 2023 00:31
@tueddy
Copy link
Collaborator

tueddy commented Dec 29, 2023

I've tested your sample file with FF, Safari, Chrome & i cannot see any issues with current implementation:
grafik

Your approach seems also slower providing the coverimage. Any ideas to reproduce your issues?

@SZenglein
Copy link
Contributor Author

Weird. It happened the most on Firefox Android, maybe you can try that.

It was a big issue for me, because opening the web page on my phone immediately blocked the core where AsyncTCP is running, crashing everything running there.

@tueddy
Copy link
Collaborator

tueddy commented Dec 29, 2023

OK, i'll try again with android + FF

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