Skip to content

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

Closed
@Jollottaja

Description

@Jollottaja

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: EnhancementNew feature or requestType: UI/UXUser interface and/or user experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions