{"id":17681337,"url":"https://github.com/madeindjs/feedid3","last_synced_at":"2025-03-12T14:31:10.216Z","repository":{"id":96109000,"uuid":"125757937","full_name":"madeindjs/feedID3","owner":"madeindjs","description":"Improve ID3 tags for a local library.","archived":true,"fork":false,"pushed_at":"2018-04-20T11:57:32.000Z","size":77,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-05T21:41:50.654Z","etag":null,"topics":["discogs","id3","mp3","mp3agic"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/madeindjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-18T19:02:26.000Z","updated_at":"2023-06-29T20:03:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"4daa5109-144d-4382-b435-d81f2de6234e","html_url":"https://github.com/madeindjs/feedID3","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madeindjs%2FfeedID3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madeindjs%2FfeedID3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madeindjs%2FfeedID3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madeindjs%2FfeedID3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/madeindjs","download_url":"https://codeload.github.com/madeindjs/feedID3/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243234477,"owners_count":20258473,"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":["discogs","id3","mp3","mp3agic"],"created_at":"2024-10-24T09:10:51.992Z","updated_at":"2025-03-12T14:31:10.198Z","avatar_url":"https://github.com/madeindjs.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"feedID3\n=======\n\nImprove MP3's ID3 tags using [Discogs](https://www.discogs.com) API.\n\n\u003e Currently on alpha stage, use it at your own risk\n\nUsage\n-----\n\nYou can import this librairy in your project using [Jitpack](https://jitpack.io/). Example using Gradle:\n\n~~~gradle\n// build.gradle\n\n// ..\n\nallprojects {\n    repositories {\n        // ...\n        maven { url 'https://jitpack.io' }\n    }\n}\n\n\ndependencies {\n    // ...\n    compile 'com.github.madeindjs:feedid3:0.1'\n}\n~~~\n\n\nExamples\n--------\n\n~~~java\nimport com.mpatric.mp3agic.ID3v24Tag;\nimport com.mpatric.mp3agic.InvalidDataException;\nimport com.mpatric.mp3agic.NotSupportedException;\nimport com.mpatric.mp3agic.UnsupportedTagException;\nimport java.io.IOException;\nimport java.util.Iterator;\n\npublic class Main {\n\n    public static void main(String[] args) {\n        Discog.CONSUMER_KEY = \"xEnspHdzbJFKuGlvlNde\";\n        Discog.CONSUMER_SECRET = \"jtgMHnbpRaGbXEDBXimCDddFqLtzZTAG\";\n\n        // Open file\n        MyMp3File file;\n        try {\n            // open file\n            file = new MyMp3File(\"src/test/resources/empty.mp3\");\n\n            // find \u0026 set first result from Discog API\n            file.getInformations();\n            ID3v24Tag id3 = file.getNewID3();\n            file.update();\n\n            // find all results from discog API\n            DiscogResults searchResults = file.searchResults();\n            // iterate from results\n            Iterator\u003cDiscogRelease\u003e iterator = searchResults.iterator();\n            while (iterator.hasNext()) {\n                DiscogRelease release = iterator.next();\n                System.out.println(String.format(\n                        \"%s - %s\",\n                        release.getArtist(),\n                        release.getTitle()\n                ));\n            }\n\n        } catch (IOException e) {\n            System.err.println(\"Can't read / write MP3 file\");\n        } catch (UnsupportedTagException | InvalidDataException | NotSupportedException e) {\n            System.err.println(\"Can't read / write ID3 Tag\");\n        } catch (DiscogConsumerNotSetException e) {\n            System.err.println(\"Consumer key / secret not valid\");\n        }\n\n    }\n\n}\n~~~\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadeindjs%2Ffeedid3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmadeindjs%2Ffeedid3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadeindjs%2Ffeedid3/lists"}