API key config items are implemented UI-side
Added ability to generate API keys through the settings
Switched getmp3s and getmp4s api calls to be GET requests rather than POST
Removed unused code from settings dialog
<mat-checkboxcolor="accent"[(ngModel)]="new_config['API']['use_API_key']"><ng-containeri18n="Enable Public API key setting">Enable Public API</ng-container></mat-checkbox>
</div>
<divclass="col-12 mb-3">
<divclass="enable-api-key-div">
<mat-form-fieldcolor="accent">
<input[disabled]="!new_config['API']['use_API_key']"[(ngModel)]="new_config['API']['API_key']"matInputplaceholder="Public API Key"i18n-placeholder="Public API Key setting placeholder"required>
<mat-hint><atarget="_blank"href="https://developers.google.com/youtube/v3/getting-started"><ng-containeri18n="View API docs setting hint">View documentation</ng-container></a></mat-hint>
</mat-form-field>
</div>
<divclass="api-key-div">
<buttonmatTooltip-i18nmatTooltip="This will delete your old API key!"mat-stroked-button(click)="generateAPIKey()"><ng-containeri18n="Generate key button">Generate</ng-container></button>