3.1
Streamlined Custom API Key Workflow
This is the second month in a row the bundled API key has hit the monthly quota, so in order to make life easier for everybody, I've decided to slightly streamline the process of setting a custom API Key.
UI Changes
- A new "API Key" section has been added to the UI
- When there is no custom key, ghost text is displayed indicating that the default key bundled with the app is being used.
- A provided key is used right away for the next detection, no need to restart.
- If an invalid key is provided, the app will display an error indicating as much when trying to identity audio.
- To go back to using the default key, simply empty out the contents of the text box.
- If you already have a custom API key set, the value is still loaded from
ShazamApiKey.json
so all you have to do is move your old settings files next to the new exe and it will all continue to work. - A hyperlink is provided in-app that goes to https://github.com/zemoto/WhatAmIHearing?tab=readme-ov-file#rate-limiting which has instructions on how to get your own API key.
- The "API quota reached" error is now shown in-UI rather than with a default message box. When this error is hit, the API Key section is expanded and the text box given focus.
Screenshots:
![](https://private-user-images.githubusercontent.com/27508773/375906479-defa2b6f-58f7-44c3-b062-0dafedd845b3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMjAxNzAsIm5iZiI6MTczOTExOTg3MCwicGF0aCI6Ii8yNzUwODc3My8zNzU5MDY0NzktZGVmYTJiNmYtNThmNy00NGMzLWIwNjItMGRhZmVkZDg0NWIzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDE2NTExMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM5NzNlYmM4NGI2YjIwN2EyNmY1NzZkN2E0MzQ4NDA0Zjc2ZDZjMjVkYzE4YTNiOTlmNjFlYWUwOGUzMzAyZTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0._ukZZToAMmKBabxy_h_7HjtuRLtup6MQNs6nZey64-M)
![](https://private-user-images.githubusercontent.com/27508773/375906526-9449fc6d-74f7-4828-8ff3-06af2b54345f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMjAxNzAsIm5iZiI6MTczOTExOTg3MCwicGF0aCI6Ii8yNzUwODc3My8zNzU5MDY1MjYtOTQ0OWZjNmQtNzRmNy00ODI4LThmZjMtMDZhZjJiNTQzNDVmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDE2NTExMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY3ODFjMTYyZjU0NzAwOTBiNGYxODc3OTQ2ZjJiNzMzMDQwZDc1ZjhiZjRkMDljNGM4MDBjZTk2ZDZmMGU5NDUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.1TEdeztLh-_FAcp3rN-savMZg4Ih5IkS14xwE9QE4jI)
![](https://private-user-images.githubusercontent.com/27508773/375906648-b928b2a9-ab41-4aaa-aed6-93ee2191750d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMjAxNzAsIm5iZiI6MTczOTExOTg3MCwicGF0aCI6Ii8yNzUwODc3My8zNzU5MDY2NDgtYjkyOGIyYTktYWI0MS00YWFhLWFlZDYtOTNlZTIxOTE3NTBkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDE2NTExMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWFiYzBkZGM4YTczM2NiNWZjYzliMGVhNTU5MmFhZDQ0MmYyNTBmOTAzZDZmNjM0NWEzZGJhMWY0YTRkMWQ1ZTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.95Dwu1RO-uqeD8lJXrgK8X1ibchrnOrJJHNNSIT-A-U)
Update Reminder
To update and keep your settings, copy the config.json
, history.json
, and ShazamApiKey.json
files from your old version folder to the new one.