Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Arisa-Snowbell
Copy link
Contributor

@Arisa-Snowbell Arisa-Snowbell commented May 2, 2025

adding support for data/image in urls, using existing config value config::cover_size so covers stop changing sizes between song source etc.., gotta adapt UI so it makes more sense but its functional

@univrsal
Copy link
Owner

univrsal commented May 3, 2025

The resizing part isn't really necessary, OBS already has an option to keep an image source within certain bounds.

@Arisa-Snowbell
Copy link
Contributor Author

Want me to create separate PR with only support for the data:image?

@univrsal
Copy link
Owner

univrsal commented May 10, 2025

Nah, just remove it, squash the commits and force push.

@Arisa-Snowbell
Copy link
Contributor Author

did commit only for the support of the data:image in urls and then did refactor commit of the function so it all uses early returns

@Arisa-Snowbell Arisa-Snowbell changed the title feat: support data:image on mpris:artUrl + enforce size of covers feat: support data:image on mpris:artUrl May 11, 2025
@Arisa-Snowbell
Copy link
Contributor Author

If anyone ended up on this PR by accident when searching how to keep the images same size, way to resize the images in OBS is through filter called "Scaling/Aspect Ratio" when you right click on the image source.

@univrsal
Copy link
Owner

I actually meant this option in the transform for any source, it's also in the documentation on the obs forums:
image

@univrsal univrsal merged commit 17cbd3f into univrsal:master May 11, 2025
4 of 6 checks passed
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