-
Notifications
You must be signed in to change notification settings - Fork 44
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] Support for musical sources, multi-level metadata and experimental annotations #1281
Conversation
Co-authored-by: Frank Schirlitz <[email protected]> Co-authored-by: Sebastian Meyer <[email protected]> Co-authored-by: Sebastian Meyer <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Matthias Richter <[email protected]> Co-authored-by: Hizkiel Alemayehu <[email protected]> Co-authored-by: Daniel Röwenstrunk <[email protected]> Co-authored-by: Hizkiel Alemayehu <[email protected]> Co-authored-by: Christopher Timm <[email protected]> Co-authored-by: Sebastian Meyer <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Beatrycze Volk <[email protected]> Co-authored-by: frank-ulrich-weber <[email protected]>
Co-authored-by: Sebastian Meyer <[email protected]>
Co-authored-by: Sebastian Meyer <[email protected]>
… 0 (#1280) Co-authored-by: Sebastian Meyer <[email protected]>
Review already happened when merging the original branches into source branch. |
|
||
$.ajax({url}).done(function (data, status, jqXHR) { | ||
try { | ||
let score = tk.renderData(jqXHR.responseText, verovioSettings); |
Check warning
Code scanning / CodeQL
Useless assignment to local variable Warning
return; | ||
} | ||
|
||
var pdfFormat = "A4"; |
Check warning
Code scanning / CodeQL
Useless assignment to local variable Warning
} | ||
|
||
var pdfFormat = "A4"; | ||
var pdfOrientation = "portrait"; |
Check warning
Code scanning / CodeQL
Useless assignment to local variable Warning
var parser = new DOMParser(); | ||
var xmlDoc = parser.parseFromString(tk.getMEI(), "text/xml"); | ||
var work = xmlDoc.getElementsByTagName("work"); | ||
var pdfTitle = work[0].getElementsByTagName("title")[0].textContent; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
* @access protected | ||
*/ | ||
protected ?Document $document; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line is a cause for #1293
@@ -532,6 +828,7 @@ dlfViewer.prototype.init = function(controlNames) { | |||
|
|||
// Initiate loading fulltexts | |||
this.initLoadFulltexts(); | |||
this.initLoadScores(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If score is empty, this breaks loading the fulltext.
error: dlfScoreUtil = undefined
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for reporting this! I've opened a new issue: #1407
This adds support for musical sources with MEI-encoded scores. They are visualized using Verovio. Furthermore, musical sources can be navigated page-based (like every other document) or alternatively based on measurement information.
In addition, this adds support for multi-level metadata (i. e. metadata grouping) for all documents.
This also adds experimental support for annotations.