Skip to content

Commit

Permalink
fix: set csvtojson delimiter as auto
Browse files Browse the repository at this point in the history
  • Loading branch information
rombat committed Sep 23, 2022
1 parent 3a5e9cc commit 49b3077
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion lib/handlers/MBNDSynchronizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 49b3077

Please sign in to comment.