{"id":48826422,"url":"https://github.com/dem214/xspf-lib","last_synced_at":"2026-04-14T18:29:42.057Z","repository":{"id":57477961,"uuid":"235417793","full_name":"dem214/xspf-lib","owner":"dem214","description":"Library to work with xspf format","archived":false,"fork":false,"pushed_at":"2024-09-03T22:24:02.000Z","size":209,"stargazers_count":9,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-29T01:41:56.950Z","etag":null,"topics":["library","playlist","python","xspf"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/xspf-lib/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dem214.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-21T18:55:30.000Z","updated_at":"2025-08-11T20:27:45.000Z","dependencies_parsed_at":"2022-09-10T04:24:09.281Z","dependency_job_id":null,"html_url":"https://github.com/dem214/xspf-lib","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/dem214/xspf-lib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dem214%2Fxspf-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dem214%2Fxspf-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dem214%2Fxspf-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dem214%2Fxspf-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dem214","download_url":"https://codeload.github.com/dem214/xspf-lib/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dem214%2Fxspf-lib/sbom","scorecard":{"id":333449,"data":{"date":"2025-08-11","repo":{"name":"github.com/dem214/xspf-lib","commit":"d7ad66b3f8fdf8673360c8d50043eb2ecdb1f8a9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/docs.yml:1","Warn: no topLevel permission defined: .github/workflows/publish.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/dem214/xspf-lib/docs.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docs.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/dem214/xspf-lib/docs.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/dem214/xspf-lib/docs.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/dem214/xspf-lib/publish.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/dem214/xspf-lib/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/dem214/xspf-lib/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/dem214/xspf-lib/publish.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/dem214/xspf-lib/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/dem214/xspf-lib/test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/dem214/xspf-lib/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/dem214/xspf-lib/test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/dem214/xspf-lib/test.yml/master?enable=pin","Info:   0 out of   7 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"17 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-230 / GHSA-248v-346w-9cwc","Warn: Project is vulnerable to: PYSEC-2023-135 / GHSA-xqr8-7jwr-rhp7","Warn: Project is vulnerable to: PYSEC-2024-60 / GHSA-jjg7-2v4v-x38h","Warn: Project is vulnerable to: GHSA-cpwx-vrp4-4pq7","Warn: Project is vulnerable to: GHSA-gmj6-6f8f-6699","Warn: Project is vulnerable to: GHSA-h5c8-rqwp-cp95","Warn: Project is vulnerable to: GHSA-h75v-3vvj-5mfj","Warn: Project is vulnerable to: GHSA-q2x7-8rv6-6q7h","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2025-49 / GHSA-5rjg-fvgr-3xxf","Warn: Project is vulnerable to: GHSA-cx63-2mw6-8hw5","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: PYSEC-2023-212 / GHSA-g4mx-q9vg-27p4","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v","Warn: Project is vulnerable to: PYSEC-2023-192 / GHSA-v845-jxx5-vc9f","Warn: Project is vulnerable to: GHSA-jfmj-5v4g-7637"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T04:07:48.746Z","repository_id":57477961,"created_at":"2025-08-18T04:07:48.746Z","updated_at":"2025-08-18T04:07:48.746Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31810735,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"ssl_error","status_checked_at":"2026-04-14T18:05:01.765Z","response_time":153,"last_error":"SSL_read: 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":["library","playlist","python","xspf"],"created_at":"2026-04-14T18:29:41.006Z","updated_at":"2026-04-14T18:29:42.050Z","avatar_url":"https://github.com/dem214.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"========\nxspf-lib\n========\n\n.. image:: https://github.com/dem214/xspf-lib/workflows/Python%20package/badge.svg?branch=master\n    :target: https://github.com/dem214/xspf-lib/actions\n    :alt: Python package\n.. image:: https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat\u0026labelColor=ef8336\n    :target: https://pycqa.github.io/isort/\n    :alt: isort\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n   :target: https://github.com/psf/black\n   :alt: black\n.. image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit\n   :target: https://github.com/pre-commit/pre-commit\n   :alt: pre-commit\n\n\nLibrary to work with xspf.\n\nRequirements\n------------\n\n* `Python 3.8 or higher \u003chttps://www.python.org/downloads/\u003e`_\n\nInstalling\n----------\n\nInstall and update via `pip`_:\n\n.. code-block:: text\n\n    pip install -U xspf-lib\n\nExample\n-------\n1. Generating new playlist.\n\n\u003e\u003e\u003e import xspf_lib as xspf\n\u003e\u003e\u003e killer_queen = xspf.Track(location=\"file:///home/music/killer_queen.mp3\",\n                              title=\"Killer Queen\",\n                              creator=\"Queen\",\n                              album=\"Sheer Heart Attack\",\n                              trackNum=2,\n                              duration=177000,\n                              annotation=\"#2 in GB 1975\",\n                              info=\"https://ru.wikipedia.org/wiki/Killer_Queen\",\n                              image=\"file:///home/images/killer_queen_cover.png\")\n\u003e\u003e\u003e anbtd = xspf.Track()\n\u003e\u003e\u003e anbtd.location = [\"https://freemusic.example.com/loc.ogg\",\n                      \"file:///home/music/anbtd.mp3\"]\n\u003e\u003e\u003e anbtd.title = \"Another One Bites the Dust\"\n\u003e\u003e\u003e anbtd.creator = \"Queen\"\n\u003e\u003e\u003e anbtd.identifier = [\"id1.group\"]\n\u003e\u003e\u003e anbtd.link = [xspf.Link(\"link.namespace\", \"link.uri.info\")]\n\u003e\u003e\u003e anbtd.meta = [xspf.Meta(\"meta.namespace\", \"METADATA_INFO\")]\n\u003e\u003e\u003e playlist = xspf.Playlist(title=\"Some Tracks\",\n                             creator=\"myself\",\n                             annotation=\"I did this only for examples!.\",\n                             trackList=[killer_queen, anbtd])\n\u003e\u003e\u003e print(playlist.xml_string())\n\u003cplaylist version=\"1\" xmlns=\"http://xspf.org/ns/0/\"\u003e\u003ctitle\u003eSome Tracks\u003c/title\u003e\u003ccreator\u003emyself\u003c/creator\u003e\u003cannotation\u003eI did this only for examples!.\u003c/annotation\u003e\u003cdate\u003e2020-02-03T14:29:59.199202+03:00\u003c/date\u003e\u003ctrackList\u003e\u003ctrack\u003e\u003clocation\u003efile:///home/music/killer_queen.mp3\u003c/location\u003e\u003ctitle\u003eKiller Queen\u003c/title\u003e\u003ccreator\u003eQueen\u003c/creator\u003e\u003cannotation\u003e#2 in GB 1975\u003c/annotation\u003e\u003cinfo\u003ehttps://ru.wikipedia.org/wiki/Killer_Queen\u003c/info\u003e\u003cimage\u003efile:///home/images/killer_queen_cover.png\u003c/image\u003e\u003calbum\u003eSheer Heart Attack\u003c/album\u003e\u003ctrackNum\u003e2\u003c/trackNum\u003e\u003cduration\u003e177000\u003c/duration\u003e\u003c/track\u003e\u003ctrack\u003e\u003clocation\u003ehttps://freemusic.example.com/loc.ogg\u003c/location\u003e\u003clocation\u003efile:///home/music/anbtd.mp3\u003c/location\u003e\u003cidentifier\u003eid1.group\u003c/identifier\u003e\u003ctitle\u003eAnother One Bites the Dust\u003c/title\u003e\u003ccreator\u003eQueen\u003c/creator\u003e\u003clink rel=\"link.namespace\"\u003elink.uri.info\u003c/link\u003e\u003cmeta rel=\"meta.namespace\"\u003eMETADATA_INFO\u003c/meta\u003e\u003c/track\u003e\u003c/trackList\u003e\u003c/playlist\u003e\n\u003e\u003e\u003e playlist.write(\"some_tracks.xspf\")\n\n2. Parsing from file.\n\n\u003e\u003e\u003e from xspf_lib import Playlist\n\u003e\u003e\u003e playlist = Playlist.parse(\"some_tracks.xspf\")\n\nLicense\n-------\n\nThe license of the project is MIT License - see LICENSE_ file for details.\n\n.. _LICENSE: https://github.com/dem214/xspf-lib/blob/master/LICENSE\n\n.. _pip: https://pip.pypa.io/en/stable/quickstart\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdem214%2Fxspf-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdem214%2Fxspf-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdem214%2Fxspf-lib/lists"}