Use standard capitalization for format and language Audible via API

This might be nitpicking a little, but for my use case, language and format show as all lowercase in the results and I prefer standard case. So I added this to both of the .inc files. Would you consider adding something like this?

json_select "format_type"
If "unabridged"
    Say "Unabridged"
Else
    SayRest
EndIf
json_select "language"
If "english"
    Say "English"
Else
    SayRest
EndIf

Another suggestion would be using RegexpReplace “(^.)” “\U$1” to capitalise the first letter of any value from “format_type"/“language”. Could be worthwhile as a setting.

Also, welcome @whatxremains :grimacing:

Not nitpicking at all, and I'd prefer a solution for arbitrary languages and formats.

Good idea! Unfortunately, \U is not available with the ICU regular expression engine used by the macOS version of Mp3tag.

I'll add a way to proper capitalize the first letter of the input with a future version of Mp3tag and will extend the script accordingly then.

I've just released audible-api v0.6.4, which now uses standard capitalization for format and language.