all downloaded audio is available there is /media folder
but never get sent to the card "listen-my-audio"
So its breaking, that because the field "AudioList" is empty
repeat for each line tKey in the keys of sDownloadedAudioA
put sDownloadedAudioA[tKey]["file_id"] into tSearchA["file_id"]
## This fetchMediaItems funciton loads data from local copy of
## JNANAM SQLite file which might be outdated.
put fetchMediaItems(tSearchA) into tDataA
if tDataA[1]["file_id"] is empty then
throw "jnanam.sqlite is not up to date"
exit getDownloadedAudio
end if
put tDataA into sDownloadedAudioA[tKey]["metadata"]
end repeat
The files present in the media folder — which is where the downloaded files should be placed — are not appearing in the list when the user goes to My Downloads.
therefore