{"id":20627825,"url":"https://github.com/albertomorini/glyrics","last_synced_at":"2025-04-11T03:13:39.831Z","repository":{"id":45796420,"uuid":"514610843","full_name":"albertomorini/glyrics","owner":"albertomorini","description":"A lyrics injector to your songs (for itunes)","archived":false,"fork":false,"pushed_at":"2025-02-23T21:25:18.000Z","size":4436,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-11T03:13:32.757Z","etag":null,"topics":["audio","filesystem","genius-api","genius-lyrics","lyrics","music","python","rest-api"],"latest_commit_sha":null,"homepage":"","language":"Python","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/albertomorini.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":"2022-07-16T15:10:14.000Z","updated_at":"2025-02-23T21:25:21.000Z","dependencies_parsed_at":"2025-01-17T06:26:29.606Z","dependency_job_id":"32250af4-5daf-4a26-a6a9-034e60109c56","html_url":"https://github.com/albertomorini/glyrics","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/albertomorini%2Fglyrics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertomorini%2Fglyrics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertomorini%2Fglyrics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertomorini%2Fglyrics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/albertomorini","download_url":"https://codeload.github.com/albertomorini/glyrics/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248333594,"owners_count":21086200,"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":["audio","filesystem","genius-api","genius-lyrics","lyrics","music","python","rest-api"],"created_at":"2024-11-16T13:18:22.949Z","updated_at":"2025-04-11T03:13:39.816Z","avatar_url":"https://github.com/albertomorini.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Glyrics lyrics for Apple Music\n\nGlyrics allow you to store the \u003ca hfref=\"genius.com\"\u003egenius\u003c/a\u003e lyrics into your songs.\n\n## IDEA\n\nWas mainly made for iTunes/Apple Music/iPhoneMusic, insted of copy and paste inside the lyrics of songs, you can do automatically.\n\n**Works only with mp3 and m4a**\n\n\n### Some pics\n![Output](./imgExample/github1.gif)\n\n## Flow\n\n1) glyrics.py -\u003e works with M4A and MP3 files, for each song check into a self registry (glyrics.json) if the song is already searched and founded, avoiding useless searches for songs that already have a lyrics.\n\t- if glyrics found the lyrics, it will store into the song file then do the MD5 of song's name and store into the registry\n\n2) glyricsSelf.py -\u003e works **only** with M4a, checking if the tag \"©lyr\" is empty or not, then it search etc..\n\t- not with mp3 because mp3 use differents tag (see problems chapter)\n\n\u003chr/\u003e\n\n## Usage:\n`$ python3 glyrics.py mode \"path\"`\n\t- mode = \"search\" for search/add lyrics, \"flush\" for delete the existing lyrics\n\t- path is the path to your music folder (is recursive, found every song stored in every subfolder) like /Media/Music/...\n\n\n### Requirements:\n\n- is required a good folder's structure, like iTunes does:\n\u003e \t\n\tartist1/\n\t\talbum1/\n\t\talbum2/\n\tartist2/\n\t  \talbum1/\n\t....\n\n- Python3 with:\n\t- os\n\t- sys\n\t- lyricsgenius\n\t- tinytag\n\t- mutagen\n\n\u003chr/\u003e\n\n## PROBLEMS:\n\n1) Genius's search: if a song has featuring or is a remix i remove that info.\nWhy? Because can brings us different results.\n\n\teg. title=\"Pain 1993 (feat. Playboi Carti)\", artist=\"Drake\"\n\t\tdownload the lyrics in (i guess) Cyrillic languages.\n\n\t\tinstead, title = \"Pain 1993\", artist=\"Drake\"\n\t\tdownload the lyrics in English language.\n**working on it**\n\n2) We can't do a self glyrics for MP3, because it's an awful format cause doesn't have a defined single tag like M4A (\"©lyr\"), MP3 has \"USLT:desc:eng\".. Maybe we can use a regular expression \"USLT*\" to search the tag. *Working on it*\n\n![Output](imgExample/problem_mp3Tag.png)\n\n\n### TODO\n- [ ] correct the artist/title tags, eg. artist=\"Drake \u0026 Kanye West\" song=\"Glow\" is wrong, because the artist is \"Drake\" and the song is \"Glow (feat. Kanye West)\".. so search on genius the song get the righ info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertomorini%2Fglyrics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falbertomorini%2Fglyrics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertomorini%2Fglyrics/lists"}