diff --git a/index.js b/index.js index 8ab9b77..73852e3 100644 --- a/index.js +++ b/index.js @@ -11,7 +11,7 @@ program .description( 'MusicBee to Navidrome Sync (MBNDS) : Tools to sync MusicBee DB to Navidrome DB\nhttps://github.com/rombat/musicbee-navidrome-sync' ) - .version('1.0.1', '-v, --version', 'output the current version'); + .version('1.0.3', '-v, --version', 'output the current version'); program .command('fullSync') diff --git a/lib/handlers/MBNDSynchronizer.js b/lib/handlers/MBNDSynchronizer.js index 71181e5..f23ecdf 100644 --- a/lib/handlers/MBNDSynchronizer.js +++ b/lib/handlers/MBNDSynchronizer.js @@ -146,7 +146,7 @@ class MBNDSynchronizer { const { options, user, sequelize, limit, paths } = this; let musicBeeCollection = await csv2json({ - delimiter: ';', + delimiter: 'auto', colParser: { albumRating: 'number', playCount: 'number', diff --git a/package.json b/package.json index 5aabdc2..e712693 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "musicbee-navidrome-sync", - "version": "1.0.1", + "version": "1.0.3", "description": "sync ratings and playcount from musicbee db to navidrome db", "main": "index.js", "scripts": {