-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Hello everyone,
My friend has just got Victor SS-NT1MD which is a Net MD component set.
However, Web MiniDisc does not support it.
I added a venderId and deviceId of this model to netmd.ts file with the following code:
{ vendorId: 0x04F1, deviceId: 0x6101, name: 'Victor SS-NT1MD' },It works well with yarn run cli devices (I have updated the project on my local computer to use Yarn) and shows the connected device name as:
PS C:\projects\netmd-js> yarn cli devices
yarn run v1.22.15
$ ts-node src/cli.ts devices
Found Device: Victor SS-NT1MD
Done in 3.28s.However, when I tried to wipe a disc with yarn cli wipe --verbose, I got this error message.
NetMDRejected [Error]: Rejected
at NetMDRejected.NetMDError [as constructor] (C:\projects\netmd-js\src\netmd-interface.ts:128:9)
at new NetMDRejected (C:\projects\netmd-js\src\netmd-interface.ts:140:9)
at NetMDInterface.<anonymous> (C:\projects\netmd-js\src\netmd-interface.ts:314:23)
at step (C:\projects\netmd-js\src\netmd-interface.ts:46:23)
at Object.next (C:\projects\netmd-js\src\netmd-interface.ts:27:53)
at fulfilled (C:\projects\netmd-js\src\netmd-interface.ts:18:58)
error Command failed with exit code 1.
The NetMDRejected exception was thrown when reading a reply status in
https://github.com/cybercase/netmd-js/blob/master/src/netmd-interface.ts#L314
In addition, I couldn't upload a raw music file to the device and got the same error message as:
NetMDRejected [Error]: Rejected
at NetMDRejected.NetMDError [as constructor] (C:\projects\netmd-js\src\netmd-interface.ts:128:9)
at new NetMDRejected (C:\projects\netmd-js\src\netmd-interface.ts:140:9)
at NetMDInterface.<anonymous> (C:\projects\netmd-js\src\netmd-interface.ts:314:23)
at step (C:\projects\netmd-js\src\netmd-interface.ts:46:23)
at Object.next (C:\projects\netmd-js\src\netmd-interface.ts:27:53)
at fulfilled (C:\projects\netmd-js\src\netmd-interface.ts:18:58)
error Command failed with exit code 1.
I think adding a venderId and deviceId is not enough, we may need to deal with a low level API to get this work.
I hope you can help to me get Victor SS-NT1MD works with netmd-js.
Thank you so much.
FYI, here is a picture of Victor SS-NT1MD.

CC @asivery