I am having trouble getting our Google Cloud hosted audio files to actually play in app. Does anyone have advice on how to find the bucket url to add as a file source in the SAB. I have both added the audio files to the SAB and hosted them in a publicly accessible bucket, but they will not play in the app.
I have your project from the other support issue I looked into. One of the audio file in the project is: A01___02_Genesis_______O2TRKBST.mp3
When I try this url: https://storage.googleapis.com/incilapp/A01___02_Genesis_______O2TRKBST.mp3
I get this error:
<Error>
<Code>NoSuchKey</Code>
<Message>The specified key does not exist.</Message>
<Details>No such object: incilapp/A01___02_Genesis_______O2TRKBST.mp3</Details>
</Error>
You should test that URL with one of your files.
Testing your URL plus a file name: https://storage.googleapis.com/incilapp/B01___01_Matthew_____TRKBSTN2DA.mp3
That produces an error:
In the Key element we see that there is another part to the path: Turkish_tur_BST_NT_Drama
So the next path to try is: https://storage.googleapis.com/incilapp/Turkish_tur_BST_NT_Drama/B01___01_Matthew_____TRKBSTN2DA.mp3
and that brings up the file like this. Seeing this confirms you have the correct URL.
But the OT needs a different source as found in the XML file further down. But this one has a space in it. It must be replaced with the space replacement character %20:
My Rule 1: To save grief with URLs never use spaces in filenames or folder names.
So then test with an OT file: https://storage.googleapis.com/incilapp/Turkish_tur_BST_S_Drama%202/A01___01_Genesis_______O2TRKBST.mp3
That works, like above.