#๐Ÿ”’ How to get the correct output from this code

10 messages ยท Page 1 of 1 (latest)

warm helmBOT
#

@pastel cedar

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

novel basalt
#

!paste

warm helmBOT
#
Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

pastel cedar
#
Fetching metadata for the song: Bohemian Rhapsody...
Invalid date format for release: 2000-07
No date available for this release.
AI-Resolved Metadata: {'title': 'Bohemian Rhapsody - Remastered 2011', 'contributing_artists': ['South Notts Brass Band', 'Williams-Fairey Engineering Brass Band', 'Queen'], 'album_artist': 'South Notts Brass Band', 'album': 'A Night At The Opera (Deluxe Remastered Version)', 'year': '1975', 'genres': ['classic rock', 'glam rock', 'rock']}

Process finished with exit code 0```
novel basalt
#

What's your question?

pastel cedar
#

The output is: ```py
AI-Resolved Metadata: {'title': 'Bohemian Rhapsody - Remastered 2011', 'contributing_artists': ['South Notts Brass Band', 'Williams-Fairey Engineering Brass Band', 'Queen'], 'album_artist': 'South Notts Brass Band', 'album': 'A Night At The Opera (Deluxe Remastered Version)', 'year': '1975', 'genres': ['classic rock', 'glam rock', 'rock']}


I've wired up all the databases correctly, but no amount of working the api calls results in getting :
```py
{'title': 'Bohemian Rhapsody', 
'contributing_artists': 'Queen', 
'album_artist': 'Queen', 
'album': 'A Night At The Opera',
'year': '1975', 
'genres': ['classic rock', 'glam rock', 'rock']}
warm helmBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.