joshie / beatsaber-to-audica

Convert Beat Saber custom tracks to Audica
8 stars 2 forks source link

Info.json undefined #2

Closed Robbint closed 4 years ago

Robbint commented 4 years ago

I'm getting the following error when trying to convert Beat Saber songs:

var infoPath = filePath['info.json'].replace(/[^/]*$/,'');
                                     ^

TypeError: Cannot read property 'replace' of undefined
    at createAudica (D:\Temp\b2a\beatsaber_to_audica\app\bstoaud.js:72:40)
    at D:\Temp\b2a\beatsaber_to_audica\app\bstoaud.js:51:5
    at D:\Temp\b2a\beatsaber_to_audica\app\node_modules\recursive-readdir\index.js:88:20
    at FSReqWrap.oncomplete (fs.js:154:5)

I've tried with folders (songs) containing the info.json file, as well as songs from both bsaber and beatsaver.

The songs does not get converted.

joshie commented 4 years ago

Hi @Robbint , this issue should be resolved with the latest build https://github.com/joshie/beatsaber-to-audica/releases/tag/0.2.1