{"id":20804412,"url":"https://github.com/sequencemedia/music-library-parser","last_synced_at":"2026-03-09T18:03:31.348Z","repository":{"id":37936412,"uuid":"442139037","full_name":"sequencemedia/music-library-parser","owner":"sequencemedia","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-06T22:37:32.000Z","size":2595,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-07T03:34:50.082Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"XSLT","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sequencemedia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-12-27T11:22:00.000Z","updated_at":"2026-03-06T22:37:34.000Z","dependencies_parsed_at":"2024-02-11T15:49:44.381Z","dependency_job_id":"6a8f73f3-6411-43a6-bd81-b5d7e20e6bee","html_url":"https://github.com/sequencemedia/music-library-parser","commit_stats":{"total_commits":895,"total_committers":4,"mean_commits":223.75,"dds":"0.015642458100558643","last_synced_commit":"48e7f953d55d596ace5a50f72e9b89e2d209df7c"},"previous_names":[],"tags_count":771,"template":false,"template_full_name":null,"purl":"pkg:github/sequencemedia/music-library-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sequencemedia%2Fmusic-library-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sequencemedia%2Fmusic-library-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sequencemedia%2Fmusic-library-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sequencemedia%2Fmusic-library-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sequencemedia","download_url":"https://codeload.github.com/sequencemedia/music-library-parser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sequencemedia%2Fmusic-library-parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30305911,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T17:35:44.120Z","status":"ssl_error","status_checked_at":"2026-03-09T17:35:43.707Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T19:09:15.991Z","updated_at":"2026-03-09T18:03:31.314Z","avatar_url":"https://github.com/sequencemedia.png","language":"XSLT","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @sequencemedia/music-library-parser\n\nJavaScript functions and XSL stylesheets to parse an Apple Music `Library.xml` file and transform it to [`m3u`](https://en.wikipedia.org/wiki/M3U) files, JSON, JavaScript, or EcmaScript.\n\nRequires [Java](https://www.oracle.com/java/technologies/javase-downloads.html) and [Saxon PE](https://www.saxonica.com/welcome/welcome.xml).\n\n## Library\n\nTransforms the entire library.\n\n```javascript\nimport { toM3U } from './src/js/library/index.mjs'\nimport {\n  toJSON,\n  toJS,\n  toES\n } from './src/js/library/transform/index.mjs'\n```\n\n### `toM3U`\n\nRequires the arguments `jar`, `xml`, and `destination`.\n\n- `jar` - the path to the Saxon binary on your device\n- `xml` - the path to the Apple Music `Library.xml` file\n- `destination` - the path for the `m3u` files to be written\n\nReturns a `Promise` resolving when all `m3u` files are written.\n\n### `toJSON`\n\nRequires the arguments `jar`, and `xml`.\n\n- `jar` - the path to the Saxon binary on your device\n- `xml` - the path to the Apple Music `Library.xml` file\n\nReturns a `Promise` resolving to a `JSON` string.\n\n### `toJS`\n\nRequires the arguments `jar`, and `xml`.\n\n- `jar` - the path to the Saxon binary on your device\n- `xml` - the path to the Apple Music `Library.xml` file\n\nReturns a `Promise` resolving to a JavaScript object.\n\n### `toES`\n\nRequires the arguments `jar`, and `xml`.\n\n- `jar` - the path to the Saxon binary on your device\n- `xml` - the path to the Apple Music `Library.xml` file\n\nReturns a `Promise` resolving to a collection of JavaScript `Map` and `Set` instances.\n\n## Playlists\n\nTransforms the playlists.\n\n```javascript\nimport { toM3U } from './src/js/library/playlists/index.mjs'\nimport {\n  toJSON,\n  toJS,\n  toES\n } from './src/js/library/playlists/transform/index.mjs'\n```\n\nSee **Library**.\n\n## Tracks\n\nTransforms the tracks.\n\n```javascript\nimport { toM3U } from './src/js/library/tracks/index.mjs'\nimport {\n  toJSON,\n  toJS,\n  toES\n } from './src/js/library/tracks/transform/index.mjs'\n```\n\nSee **Library**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsequencemedia%2Fmusic-library-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsequencemedia%2Fmusic-library-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsequencemedia%2Fmusic-library-parser/lists"}