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

Get existing thumbnail #383

Open
ojask opened this issue Dec 8, 2022 · 2 comments
Open

Get existing thumbnail #383

ojask opened this issue Dec 8, 2022 · 2 comments

Comments

@ojask
Copy link

ojask commented Dec 8, 2022

Hi, how can I get the original thumbnail of the files using the thumbnail handler? I want to get album art of MP3 files, do some image manipulation on them, and display THAT as the thumbnail. The handler just completely overwrites the thumbnail, and nothing I've tried has worked so far. I have tried stuff like taglib to get album art from SelectedFileStream, it doesnt work, it probably cant read the stream, idk...

@BluePointLilac
Copy link

It has nothing to do with this project, but I know there is a player project that can display album cover, I wonder if it can help you

@ojask
Copy link
Author

ojask commented Dec 12, 2022

Actually I figured it out now. I just used initializeWithFileServer to get paths of each mp3 file and use the path to do manipulation on the album cover, and display the resulting image as their thumb. Works on vista, all the way to windows 10, seems like initializeWithFileServer is not really obsolete.

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

2 participants