nl_tokens: Prepares media src for internal usage
pl_tokens: function processUri ( src ) { // Collapse double slashes (File plugin issue): ms-appdata:///temp//recs/memos/media.m4a => ms-appdata:///temp/recs/memos/media.m4a src = src . <mask> ( / ([^\/:])(\/\/)([^\/]) / g , '$1/$3' ) ; // Remove beginning slashes src = src . replace ( / ^[\\\/]{1,2} / , '' ) ; var uri = setTemporaryFsByDefault ( src ) ; uri = fullPathToAppData ( uri ) ; uri = cdvfileToAppData ( uri ) ; return uri ; }