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

[Feature Request]: Add preview for .mscz sheet music #363

Closed
3 tasks done
Jollottaja opened this issue Aug 22, 2024 · 1 comment
Closed
3 tasks done

[Feature Request]: Add preview for .mscz sheet music #363

Jollottaja opened this issue Aug 22, 2024 · 1 comment
Labels
Type: Enhancement New feature or request Type: UI/UX User interface and/or user experience

Comments

@Jollottaja
Copy link

Checklist

  • I am using an up-to-date version.
  • I have read the documentation.
  • I have searched existing issues.

Description

Currently TagStudio shows .mscz files like so
image

Solution

However, as per the documentation on the .mscz file type:

"MuseScore format (*.mscz)

MSCZ is the standard MuseScore file format and recommended for most uses. A score saved in this format takes up very little disk space, but preserves all the necessary information. The format is a ZIP-compressed version of .mscx files and includes any images the score may contain and a thumbnail.

Note: An .mscz file can be unzipped using a ZIP software utility to extract an uncompressed .mscx file. (Note that changing the file extension from .mscz to .zip may be required to unzip the .mscz file, depending on the software utility used.)"

If a .mscz file is unzipped, then the thumbnail for that score can be found under /Thumbnails/thumbnail.png
It would be nice for TagStudio to be able to access these thumbnails and show them as a preview, instead of the current blank file icon.

Python has a library called zipfile, which could be used to access the contents inside the archive, without the need to temporarily extract them.

Alternatives

No response

@CyanVoxel
Copy link
Member

Added in #366/#545

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement New feature or request Type: UI/UX User interface and/or user experience
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants