-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
When syncing files from MM5 to MMS the folder structure is changed to some standardized "/Artist - Album/Song"-structure. MM5 also sends the local file path in "source_path", but this attribute does not seem to be stored in the database.
When MM5 on subsequent syncs is calling the "scan" endpoint on MMS, the local file location is used. As the location starts with "C:\dir\subdir...", resulting in an exception and stack dump in the log as the c: is parsed as the protocol part in an URL:
Error: Unknown protocol: 'c'
at ContentDirectoryService.newURL (/usr/src/mms/lib/contentDirectoryService.js:1971:10)
at /usr/src/mms/lib/mediaProvider.js:694:30
at /usr/src/mms/node_modules/async/dist/async.js:2583:44
at replenish (/usr/src/mms/node_modules/async/dist/async.js:446:21)
at /usr/src/mms/node_modules/async/dist/async.js:451:13
at eachLimit$1 (/usr/src/mms/node_modules/async/dist/async.js:2713:34)
at awaitable (/usr/src/mms/node_modules/async/dist/async.js:211:32)
at Object.eachSeries (/usr/src/mms/node_modules/async/dist/async.js:2741:16)
at Object.awaitable (/usr/src/mms/node_modules/async/dist/async.js:211:32)
at MediaProvider._connectFile (/usr/src/mms/lib/mediaProvider.js:690:9)
at /usr/src/mms/lib/mediaProvider.js:718:9
at /usr/src/mms/node_modules/async/dist/async.js:2583:44
at replenish (/usr/src/mms/node_modules/async/dist/async.js:446:21)
at /usr/src/mms/node_modules/async/dist/async.js:451:13
at eachLimit$1 (/usr/src/mms/node_modules/async/dist/async.js:2713:34)
at awaitable (/usr/src/mms/node_modules/async/dist/async.js:211:32)
MM5 then proceed to upload most or all of the files again.
How is the file sync supposed to work between MM5 and MMS?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels