{"id":22096664,"url":"https://github.com/prdpx7/musicquery","last_synced_at":"2026-05-20T10:05:11.972Z","repository":{"id":19501800,"uuid":"87185885","full_name":"prdpx7/musicquery","owner":"prdpx7","description":":musical_note: A Python package which returns song_path after matching given query with all existing songs in music_dir","archived":false,"fork":false,"pushed_at":"2022-01-21T19:09:47.000Z","size":1283,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-01T08:49:03.487Z","etag":null,"topics":["linux","music","python","unix"],"latest_commit_sha":null,"homepage":null,"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/prdpx7.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":"2017-04-04T12:51:09.000Z","updated_at":"2023-03-04T08:52:20.000Z","dependencies_parsed_at":"2022-07-27T00:32:14.750Z","dependency_job_id":null,"html_url":"https://github.com/prdpx7/musicquery","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/prdpx7/musicquery","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prdpx7%2Fmusicquery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prdpx7%2Fmusicquery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prdpx7%2Fmusicquery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prdpx7%2Fmusicquery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prdpx7","download_url":"https://codeload.github.com/prdpx7/musicquery/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prdpx7%2Fmusicquery/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263687150,"owners_count":23496088,"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":["linux","music","python","unix"],"created_at":"2024-12-01T04:12:04.371Z","updated_at":"2026-05-20T10:05:11.938Z","avatar_url":"https://github.com/prdpx7.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# musicquery\n\n\u003e A Python package which returns song_path after matching given query\nwith all existing songs in music_dir\n\n[![Build Status](https://travis-ci.org/prdpx7/musicquery.svg?branch=master)](https://travis-ci.org/prdpx7/musicquery)\n[![MITlicensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/prdpx7/musicquery/master/LICENSE) \n[![PyPI version](https://badge.fury.io/py/musicquery.svg)](https://badge.fury.io/py/musicquery)\n\n## Installation\n```\npip install musicquery\n```\n## Usage\n```python\n\u003e\u003e\u003e from musicquery import MusicQuery\n\u003e\u003e\u003e obj = MusicQuery(music_dir='~/Music', artist='weeknd')\n\u003e\u003e\u003e # when there are more than one song in `all_song_path_list` then it will select a random `song_path`\n\u003e\u003e\u003e obj.__dict__\n  {'all_song_path_list': [\n          '/home/prdpx7/Music/05 Rockin_.mp3',\n          '/home/prdpx7/Music/15 Nothing Without You.mp3',\n          '/home/prdpx7/Music/08 Stargirl Interlude (feat. Lana De.mp3',\n          '/home/prdpx7/Music/07 True Colors.mp3',\n          '/home/prdpx7/Music/13 Attention.mp3',\n          '/home/prdpx7/Music/18 I Feel It Coming (feat. Daft Punk.mp3',\n          .........\n          ],\n    'artist': u'The Weeknd',\n    'error': None,\n    'genre': u'R\u0026B/Soul',\n    'music_dir': '/home/prdpx7/Music/',\n    'song_path': '/home/prdpx7/Music/03 False Alarm.mp3',\n    'status': 'ok',\n    'title': u'False Alarm'\n    }\n\u003e\u003e\u003e obj = MusicQuery(music_dir='~/Music/', title='Fire')\n\u003e\u003e\u003e obj.__dict__\n  {'all_song_path_list': [\n          '/home/prdpx7/Music/Loyd Banks - On Fire.mp3',\n          '/home/prdpx7/Music/Lil Wayne - Fireman.mp3',\n          '/home/prdpx7/Music/22 P!NK - Just Like Fire (From Alice.m4a',\n          '/home/prdpx7/Music/03-eminem-on_fire.mp3'\n          ],\n     'artist': u'Lil Wayne',\n     'error': None,\n     'genre': 'Rap',\n     'music_dir': '/home/prdpx7/Music/',\n     'song_path': '/home/prdpx7/Music/Lil Wayne - Fireman.mp3',\n     'status': 'ok',\n     'title': u'Fireman'\n  }\n```\n## Demo\n![GithubSnap](./screenshot.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprdpx7%2Fmusicquery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprdpx7%2Fmusicquery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprdpx7%2Fmusicquery/lists"}