{"id":17200632,"url":"https://github.com/perlence/wikigenre","last_synced_at":"2026-07-25T00:31:50.951Z","repository":{"id":29491853,"uuid":"33029379","full_name":"Perlence/wikigenre","owner":"Perlence","description":"A foobar2000 companion designed to fetch genres","archived":false,"fork":false,"pushed_at":"2016-08-24T20:41:18.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-22T11:19:45.534Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Perlence.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-28T10:24:59.000Z","updated_at":"2016-08-24T20:41:20.000Z","dependencies_parsed_at":"2022-08-24T13:00:47.953Z","dependency_job_id":null,"html_url":"https://github.com/Perlence/wikigenre","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Perlence/wikigenre","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Perlence%2Fwikigenre","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Perlence%2Fwikigenre/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Perlence%2Fwikigenre/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Perlence%2Fwikigenre/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Perlence","download_url":"https://codeload.github.com/Perlence/wikigenre/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Perlence%2Fwikigenre/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35861393,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-24T02:00:07.870Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-10-15T02:09:16.925Z","updated_at":"2026-07-25T00:31:50.932Z","avatar_url":"https://github.com/Perlence.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wikigenre\n\nA foobar2000 companion designed to fetch genres.\n\n\n## Installation\n\n1.  Clone the repository:\n\n    ```batch\n    \u003e git clone https://github.com/Perlence/wikigenre.git\n    ```\n\n2.  Install the package:\n\n    ```batch\n    \u003e pip install .\n    ```\n\n\n## Usage\n\nThere are 3 modes of operation: *path*, *query* and *stdin*.\n\nAll modes differ in the way artist and album info is acquired. This info is used then to search Wikipedia for genres.\n\n### Path mode\n\nIn *path mode* you specify glob so the program tries to open audio files located there, and get artist and album info from tags.\n\nExample:\n\n```batch\nwikigenre \"c:/music/The Beatles/*/*.mp3\"\n```\n\n### Query mode\n\nIn *query mode* you pass the artist and album info in special form:\n\n```\n[artist - ]album(; [artist - ]album)*\n```\n\nExample:\n\n```batch\n\u003e wikigenre -q \"The Beatles - Abbey Road\"\nThe Beatles - Abbey Road: Rock\n\n\u003e wikigenre -q \"Abbey Road\"\nAbbey Road: Rock\n\n\u003e wikigenre -q \"Abbey Road; Metallica - ...And Justice for All\"\nAbbey Road: Rock\nMetallica - ...And Justice for All: Thrash Metal\n```\n\n### Stdin mode\n\nI use *stdin mode* in conjecture with foobar2000.\n\n* Select the tracks in the playlist.\n* Press \u003ckbd\u003eCtrl+C\u003c/kbd\u003e to copy.\n* Start `cmd.exe` and execute `wikigenre | clip`,\n* Paste.\n* Press \u003ckbd\u003eEnter\u003c/kbd\u003e for a new line.\n* Press \u003ckbd\u003eCtrl+Z\u003c/kbd\u003e for EOF.\n  The program parses artist and album data from each line and proceeds to Wikipedia, then it redirects output to `clip`.\n* Switch to foobar2000.\n* Open **Track Properties** with \u003ckbd\u003eAlt+Enter\u003c/kbd\u003e.\n* Double click on **Genres** in the column **Name**.\n* Select all.\n* Paste.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperlence%2Fwikigenre","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperlence%2Fwikigenre","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperlence%2Fwikigenre/lists"}