We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[14:48:27] [ManzanaCore] INFO: Checking access token found in cache... [14:48:29] [ManzanaCore] INFO: Checking media-user-token... [14:48:29] [ManzanaCore] INFO: Fetching api response... [14:48:29] [ManzanaCore] INFO: Using the previous response found in cache... ┌─────────────────────────────── Traceback (most recent call last) ────────────────────────────────┐ │ C:\Users\Dann\Manzana-Apple-Music-Lyrics\manzana.py:65 in │ │ │ │ 62 if name == "main": │ │ 63 │ os.system('cls' if os.name == 'nt' else 'clear') │ │ 64 │ console.print(LOGO) │ │ > 65 │ main() │ │ 66 │ │ │ │ C:\Users\Dann\Manzana-Apple-Music-Lyrics\manzana.py:60 in main │ │ │ │ 57 │ ) │ │ 58 │ args = parser.parse_args() │ │ 59 │ │ │ > 60 │ arguments(args) │ │ 61 │ │ 62 if name == "main": │ │ 63 │ os.system('cls' if os.name == 'nt' else 'clear') │ │ │ │ C:\Users\Dann\Manzana-Apple-Music-Lyrics\handler.py:33 in arguments │ │ │ │ 30 │ │ if args.sync: syncMsPointCount = 3 │ │ 31 │ │ │ │ 32 │ │ applemusic = AppleMusic(CACHE, CONFIG, syncMsPointCount) │ │ > 33 │ │ data = applemusic.getInfo(args.url) │ │ 34 │ │ │ │ 35 │ │ __dir = data.get("dir") │ │ 36 │ │ if not os.path.exists(__dir): │ │ │ │ C:\Users\Dann\Manzana-Apple-Music-Lyrics\api\api.py:185 in getInfo │ │ │ │ 182 │ │ │ │ syncpoints=self.sync, │ │ 183 │ │ │ ) │ │ 184 │ │ elif self.kind == "song": │ │ > 185 │ │ │ return song( │ │ 186 │ │ │ │ self.__getJson(), │ │ 187 │ │ │ │ syncpoints=self.sync, │ │ 188 │ │ │ ) │ │ │ │ C:\Users\Dann\Manzana-Apple-Music-Lyrics\api\song.py:54 in song │ │ │ │ 51 │ │ │ │ 52 │ │ if "lyrics" in track["relationships"]: │ │ 53 │ │ │ if len(track["relationships"]["lyrics"].get("data")) > 0: │ │ > 54 │ │ │ │ __info["ttml"] = track["relationships"]["lyrics"]["data"][0]["attributes │ │ 55 │ │ │ │ __info.update(getLyrics(track["relationships"]["lyrics"]["data"][0]["att │ │ 56 │ │ │ │ 57 │ │ trackList.append(__info) │ └──────────────────────────────────────────────────────────────────────────────────────────────────┘ KeyError: 'attributes'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
[14:48:27] [ManzanaCore] INFO: Checking access token found in cache...
[14:48:29] [ManzanaCore] INFO: Checking media-user-token...
[14:48:29] [ManzanaCore] INFO: Fetching api response...
[14:48:29] [ManzanaCore] INFO: Using the previous response found in cache...
┌─────────────────────────────── Traceback (most recent call last) ────────────────────────────────┐
│ C:\Users\Dann\Manzana-Apple-Music-Lyrics\manzana.py:65 in │
│ │
│ 62 if name == "main": │
│ 63 │ os.system('cls' if os.name == 'nt' else 'clear') │
│ 64 │ console.print(LOGO) │
│ > 65 │ main() │
│ 66 │
│ │
│ C:\Users\Dann\Manzana-Apple-Music-Lyrics\manzana.py:60 in main │
│ │
│ 57 │ ) │
│ 58 │ args = parser.parse_args() │
│ 59 │ │
│ > 60 │ arguments(args) │
│ 61 │
│ 62 if name == "main": │
│ 63 │ os.system('cls' if os.name == 'nt' else 'clear') │
│ │
│ C:\Users\Dann\Manzana-Apple-Music-Lyrics\handler.py:33 in arguments │
│ │
│ 30 │ │ if args.sync: syncMsPointCount = 3 │
│ 31 │ │ │
│ 32 │ │ applemusic = AppleMusic(CACHE, CONFIG, syncMsPointCount) │
│ > 33 │ │ data = applemusic.getInfo(args.url) │
│ 34 │ │ │
│ 35 │ │ __dir = data.get("dir") │
│ 36 │ │ if not os.path.exists(__dir): │
│ │
│ C:\Users\Dann\Manzana-Apple-Music-Lyrics\api\api.py:185 in getInfo │
│ │
│ 182 │ │ │ │ syncpoints=self.sync, │
│ 183 │ │ │ ) │
│ 184 │ │ elif self.kind == "song": │
│ > 185 │ │ │ return song( │
│ 186 │ │ │ │ self.__getJson(), │
│ 187 │ │ │ │ syncpoints=self.sync, │
│ 188 │ │ │ ) │
│ │
│ C:\Users\Dann\Manzana-Apple-Music-Lyrics\api\song.py:54 in song │
│ │
│ 51 │ │ │
│ 52 │ │ if "lyrics" in track["relationships"]: │
│ 53 │ │ │ if len(track["relationships"]["lyrics"].get("data")) > 0: │
│ > 54 │ │ │ │ __info["ttml"] = track["relationships"]["lyrics"]["data"][0]["attributes │
│ 55 │ │ │ │ __info.update(getLyrics(track["relationships"]["lyrics"]["data"][0]["att │
│ 56 │ │ │
│ 57 │ │ trackList.append(__info) │
└──────────────────────────────────────────────────────────────────────────────────────────────────┘
KeyError: 'attributes'
The text was updated successfully, but these errors were encountered: