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

Ability to replace "Playlist view" solid background with a custom image. #719

Open
Sneakpeakcss opened this issue May 6, 2023 · 1 comment

Comments

@Sneakpeakcss
Copy link

I've noticed that similar functionality already exists in case of providing custom images for CUI buttons. Would it be possible to provide the same option to replace the solid background colour with an image ?

backgroundExample

The only 'issue' i can imagine about this(from user side), would be the lack of transparency for selected items, but at the end of the day that seems like a cosmetic styling choice completely on the user.

 
 

Also… similarly to my previous request about removing Group indentations (That worked ideally, so thank you very much for providing a solution for it back then), is there an easy edit to achieve this?
Since it's for personal use then it doesn't really matter how rudimentary it would be, i.e providing a path to the image during compilation or loading an image from a static foobar profile path, losing the build-in solid colour option also wouldn't be a problem to me.

However i can imagine that this might be too time consuming on you than a simple one-liner like last time… If it's even possible at all.
This would completely finalise my switch to CUI + FoobarV2, so it would be very appreaciated.

@reupen
Copy link
Owner

reupen commented May 8, 2023

Also… similarly to my previous request about removing Group indentations (That worked ideally, so thank you very much for providing a solution for it back then), is there an easy edit to achieve this?

You'd need to add a render_background method to PlaylistViewRenderer that overrides the method in the base class. However, the logic that loads and renders the image would need to be written, and you'd want the image to be cached so that it's is not read and decoded every time the background is rendered. So it's a fair bit more involved than the indentation edit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants