{"id":23433779,"url":"https://github.com/dnalchemist/music-library","last_synced_at":"2025-07-29T05:02:30.069Z","repository":{"id":57738246,"uuid":"99930898","full_name":"DNAlchemist/music-library","owner":"DNAlchemist","description":null,"archived":false,"fork":false,"pushed_at":"2017-11-29T20:05:19.000Z","size":109,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-15T09:41:27.197Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/DNAlchemist.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-08-10T14:17:21.000Z","updated_at":"2017-08-17T16:20:54.000Z","dependencies_parsed_at":"2022-08-24T07:31:02.055Z","dependency_job_id":null,"html_url":"https://github.com/DNAlchemist/music-library","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DNAlchemist%2Fmusic-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DNAlchemist%2Fmusic-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DNAlchemist%2Fmusic-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DNAlchemist%2Fmusic-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DNAlchemist","download_url":"https://codeload.github.com/DNAlchemist/music-library/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248062903,"owners_count":21041671,"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":[],"created_at":"2024-12-23T11:30:26.489Z","updated_at":"2025-04-09T15:47:45.510Z","avatar_url":"https://github.com/DNAlchemist.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Music Library\n[![Build Status][travis-image]][travis-url]\n[![Maven Central][maven-image]][maven-url]\n[![Coverage Status][coveralls-image]][coveralls-url]\n\n[![License][license-image]][license-url]\n\nJava library for music downloads\n\n### download the track\n\n    MusicLibrary musicLibrary = MusicLibrary.createDefaultLibrary(host);\n    musicLibrary.searchTrack(\"Kasabian\", \"Underdog\")\n                .ifPresent(track -\u003e {\n                    try(InputStream in = musicLibrary.fetchInputStream(track)) {\n                        Files.copy(in, Paths.get(\"Kasabian - Underdog.mp3\"))\n                    } catch (IOException e) {\n                        e.printStackTrace();\n                    }\n                });\n                \n### guess the track\n\n    MusicGuesser lib = MusicGuesser.createDefaultGuesser(host);\n    List\u003cString\u003e searchResult = lib.suggest(\"Robert Jo\");\n    assert searchResult.contains(\"Robert johnson - little queen of spades\");\n\n[travis-image]: https://travis-ci.org/DNAlchemist/music-library.svg?branch=master\n[travis-url]: https://travis-ci.org/DNAlchemist/music-library\n[maven-image]: https://maven-badges.herokuapp.com/maven-central/one.chest.ratpack/music-library/badge.svg\n[maven-url]: https://maven-badges.herokuapp.com/maven-central/one.chest.ratpack/music-library\n[coveralls-image]: https://coveralls.io/repos/github/DNAlchemist/music-library/badge.svg?branch=master\n[coveralls-url]: https://coveralls.io/github/DNAlchemist/music-library?branch=master\n\n[license-url]: https://github.com/DNAlchemist/music-library/blob/master/LICENSE\n[license-image]: https://img.shields.io/badge/license-MIT-blue.svg?style=flat\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnalchemist%2Fmusic-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdnalchemist%2Fmusic-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnalchemist%2Fmusic-library/lists"}