"ccccccccccccccccc1\/\/ccccccccccccccccc2\/\/\/ccccccccccccccccc3\/ccccccccccccccccc4", -- this what you expect now
But, sometimes field #13 has:
"ccccccccccccccccc1/ccccccccccccccccc2/ccccccccccccccccc3/ccccccccccccccccc4//ccccccccccccccccc5/ccccccccccccccccc6",
id suffix in the first case: ccccccccccccccccc2_ccccccccccccccccc3
id suffix in the second case: ccccccccccccccccc4_ccccccccccccccccc5
Fix:
const match = audio[13].match(/[0-9a-z]+/g);
return id + '_' + match.slice(-3,-1).join('_');
This will fix issue: loading.... stuck message.
Also consider:
const USER_AGENT = navigator.userAgent;
Some Fixes