Hi all
I’ve got two different audio internet sources in the same app - pointing to different directories on archive.org
When I try to select the second of these audio sources in for an audio file SAB, it doesn’t allow the selection, but substitutes the first one. Needless to say the audio downloads don’t work when I build the app. Is this a limitation, or something that needs fixing?
SAB 12.0 build release 134
Thanks
Phil
Look in the appDef and make sure that the different sources have different ids. Look for <audio-sources>
. Here is an example …
<audio-sources>
<audio-source id="a1" type="assets">
<name>asset</name>
</audio-source>
<audio-source id="d1" type="download" default="true">
<name>archive</name>
<access-methods value="download" />
<folder>WEB</folder>
<address>https://archive.org/download/ENGWEBN2DA</address>
</audio-source>
</audio-sources>
Make sure that the different type="download"
sources have different id=dX
values. For some reason, I have come across projects with multiple sources with the same id.
Chris
Just one user experience data point… We use a different code for OT and NT in a full Bible app, and it seems to work fine. Here’s what our Media > Audio > File Source data looks like:
(The last entry there is for audio recordings of the introductions which are not in FCBH’s Bible Brain, but are included directly in the the APK file.)
Jeff
Thanks Chris, Jeff.
I looked at the appdef directly and saw that the id value was the same, and changed it manually and now it works.
Thanks
Phil