{"id":15573857,"url":"https://github.com/gch1p/deadbeef-playlist","last_synced_at":"2025-10-05T22:37:44.552Z","repository":{"id":62567051,"uuid":"359927612","full_name":"gch1p/deadbeef-playlist","owner":"gch1p","description":"python library for reading and writing deadbeef binary playlists in dbpl format","archived":false,"fork":false,"pushed_at":"2021-05-04T20:41:12.000Z","size":7,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-24T21:03:56.662Z","etag":null,"topics":["deadbeef"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gch1p.png","metadata":{"files":{"readme":"README.md","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":"2021-04-20T19:21:34.000Z","updated_at":"2024-11-24T12:21:13.000Z","dependencies_parsed_at":"2022-11-03T17:47:45.659Z","dependency_job_id":null,"html_url":"https://github.com/gch1p/deadbeef-playlist","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gch1p%2Fdeadbeef-playlist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gch1p%2Fdeadbeef-playlist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gch1p%2Fdeadbeef-playlist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gch1p%2Fdeadbeef-playlist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gch1p","download_url":"https://codeload.github.com/gch1p/deadbeef-playlist/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242313660,"owners_count":20107357,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["deadbeef"],"created_at":"2024-10-02T18:14:36.695Z","updated_at":"2025-10-05T22:37:44.451Z","avatar_url":"https://github.com/gch1p.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# deadbeef-playlist\n\nThis is a Python library for reading and writing playlists in the \"DBPL\" binary\nformat, created by my absolute favorite desktop audio player\n[DeaDBeeF](https://github.com/DeaDBeeF-Player/deadbeef).\n\nI created it to be able to edit paths to audio files in the playlist, although\nit's possible to change any tracks properties.\n\n## Installation\n\nIt's available in Pypi:\n```\npip install dbpl\n```\n\n## Example\n\nLet's imagine you have a large `.dbpl` playlist with hundreds of items, and you want\nto change tracks paths from `/data/music` to `/Volumes/music`. Write a script\nnamed `script.py`:\n\n```python\nfrom dbpl import Playlist\nfrom argparse import ArgumentParser\n\nif __name__ == '__main__':\n    parser = ArgumentParser()\n    parser.add_argument('--input', required=True, help='input file')\n    parser.add_argument('--output', required=True, help='output file')\n    args = parser.parse_args()\n\n    playlist = Playlist(args.input)\n    for t in playlist.tracks:\n        uri = t.get_uri()\n        uri = uri.replace('/data/music', '/Volumes/music')\n        t.set_uri(uri)\n    playlist.save(args.output)\n```\n\n## License\n\nBSD-2c","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgch1p%2Fdeadbeef-playlist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgch1p%2Fdeadbeef-playlist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgch1p%2Fdeadbeef-playlist/lists"}