axeldelafosse / stemgen

🎛 Stemgen is a Stem file generator. Convert any track into a Stem and have fun with Traktor.
https://stemgen.dev
MIT License
212 stars 39 forks source link

fix issue when file has no metadata tags #1

Closed CorgiMan closed 4 years ago

CorgiMan commented 4 years ago

If your track has no tags, this command will otherwise hang forever.

The ":-" uses an empty string as the default value in case the tags variable doesn't exists. This changes the command from jo -p -- to jo -p -- "". The first command will hang indefinitely, the latter will echo "{}" to the standard out.

Tested on OSX

axeldelafosse commented 4 years ago

Thanks!