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

Display project file version number #6530

Closed
ghost opened this issue Oct 4, 2022 · 4 comments
Closed

Display project file version number #6530

ghost opened this issue Oct 4, 2022 · 4 comments

Comments

@ghost
Copy link

ghost commented Oct 4, 2022

Hi

I would like to request a feature that tells, after opening a LMMS file, which LMMS version was used to save the file.
On the sharing platform this version is shown too. But we can't find this information in LMMS itself.

Why is this usefull?

  • you can identify the LMMS version used to save the file and if there are some playback issues, you can go back to that LMMS version (we can't do this now, because for a file not uploaded to the sharing platform, we don't know the LMMS version...)

  • you can save the file again (overwrite) so the very latest format is used. Especially useful for older files on the sharing platform. You can then verify in LMMS the latest format is used when you open the file again after overwriting it

Where can it be shown?

  • Maybe in the right lower corner as a sort of small information box/status bar that shows the LMMS version (which was used to save the file) of the currently opened file in LMMS. There is no status bar at all now, so it could fit in there perfectly. Maybe even other information I don't think about now can be added there.

(maybe next to the LMMS version, some general song information can be shown like file size, number of tracks, ...)

Question: is there actually a way we can read the LMMS version used to save a file? I can't open a LMMS file with a text editor or don't know what to do with it. So I think it's not possible? How is the sharing platform reading the version number?
This is what my feature request's goal is :)

Thanks
Lisa

@allejok96
Copy link
Contributor

Thanks for a well written suggestion. As a matter of fact LMMS has this feature already. When you open a file with a different version number it displays a notification in the lower left corner. It only considers the first and second part of the version number, e.g. 1.2 -> 1.3 displays a notification, but 1.2.1 -> 1.2.2 does not.

AFAIK there is no way to see the version number of a project inside LMMS and it would be nice to have so I'm not marking this as duplicate. Related to #2557 though.

There is a way to extract version number from a project file if you can use the command line. This will convert a project to a format you can open in a text editor:

lmms dump project.mmpz > project.mmp

@allejok96 allejok96 changed the title feature request: LMMS version number Display project file version number Oct 5, 2022
@ghost
Copy link
Author

ghost commented Oct 5, 2022

There is a way to extract version number from a project file if you can use the command line. This will convert a project to a format you can open in a text editor:

lmms dump project.mmpz > project.mmp

Thanks for answering all my questions.
I understand mmpz is a compressed form of mmp? What compression is used (ZIP, ...)?

@allejok96
Copy link
Contributor

It's essentially raw DEFLATE data. Same compression used by gzip/zip but without all that extra stuff that makes possible to open with an ordinary program.

If you need more support or have more questions feel free to join the LMMS discord

@allejok96
Copy link
Contributor

OP is gone, let's move this into #2557 Improved Project Notes

@allejok96 allejok96 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 22, 2022
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

1 participant