Bug 13883 - Lilypond mime type
Summary: Lilypond mime type
Status: RESOLVED FIXED
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Jonathan Blandford
QA Contact:
URL: http://lilypond.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-01 11:24 UTC by Wilbert Berendsen
Modified: 2008-06-11 10:33 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
patch (509 bytes, patch)
2008-01-01 11:27 UTC, Wilbert Berendsen
Details | Splinter Review

Description Wilbert Berendsen 2008-01-01 11:24:14 UTC
Add mime-type text/x-lilypond to freedesktop.xml shared-mime-info spec.
Comment 1 Wilbert Berendsen 2008-01-01 11:27:24 UTC
Created attachment 13448 [details] [review]
patch
Comment 2 Bastien Nocera 2008-04-10 07:42:38 UTC
Does this file type have magic? Could you please upload a test file as well?
Comment 3 Bastien Nocera 2008-06-11 09:02:19 UTC
I forgot to ask as well. Can any program other than Lilypond open those files?
Comment 4 Wilbert Berendsen 2008-06-11 10:22:15 UTC
(In reply to comment #3)
> I forgot to ask as well. Can any program other than Lilypond open those files?
> 

Yes, but mostly specialized editors such as jEdit with LilyPondTool or Kate with LilyKDE and batch conversion programs (right-click, Convert to PDF, etc.)

There is no read LilyPond 'magic' because LilyPond files are most times handwritten, but many LilyPond files start with:

\version "d.d.d"

(where d are decimal numbers).
Comment 5 Bastien Nocera 2008-06-11 10:33:11 UTC
* freedesktop.org.xml.in: Patch from Wilbert Berendsen
<wbsoft@xs4all.nl> to add a mime-type for Lilypond music sheets
(Closes: #13883)
* tests/list:
* tests/petite-ouverture-a-danser.ly: Add a test file for the
text/x-lilypond mime-type


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.