Closed andyboeh closed 4 years ago
Looks basically good to me. Did you have any other devices than the Sharp to test this with? My Sony has battery contact issues, but I'll try to revive it if not.
I just tested sending tracks on my Sony MZ-N505, it works as previously. SonicStage doesn't seem to make a difference between Sony and Sharp devices anyway.
Ok, if Soncistage does it it should be as good as they come. Merging this here, looks like there might be movement upstream so hopefully we can have recording support there in the near future.
Thank you!
While porting this to @cybercase's netmd-js, I also noticed that the Sharp does not support (or not accept) disabling track protection - the command is rejected with 0x08
. Since the return value is ignored anyway, this is currently not an issue, but for future reference we should note that
@andyboeh this might help Hi-MD devices as well as they require exclusive access. The other option is that the discs can be viewed in the Windows Explorer. When Sonicstage requires exclusive access, the windows explorer route is closed iirc.
@Invictaz Interesting to know! Were you able to test this? Unfortunately, I don't own a Hi-MD device. I'm actually looking for one, but they are rather expensive...
@andyboeh well there still is no new Windows GUI build from the guys over at Linux-minidisc or @vuori I use an unofficial one by @thp but that is from years ago. So If someone compiles a Windows build for me with your fixes I will test it right away :+1: Maybe you can compile it for me. I have never compiled software lol.
Maybe you can compile it for me. I have never compiled software lol.
Sorry, I don't use Windows at all. However, the change has been ported to netmd-js
and Web MiniDisc has been updated as well to support the devices. Maybe it does work with your HiMD player (ready-to-run version available at https://stefano.brilli.me/webminidisc/).
@andyboeh well there still is no new Windows GUI build from the guys over at Linux-minidisc or @vuori I use an unofficial one by @thp but that is from years ago. So If someone compiles a Windows build for me with your fixes I will test it right away 👍 Maybe you can compile it for me. I have never compiled software lol.
@Invictaz I have a windows build (32bit) from the latest upstream and from @vuori release that I can send you so you can test.
At least the Sharp IM-DR420 NetMD recorder only allows track downloads if exclusive access to the device has been requested. Otherwise, it rejects all secure commands with
0x0a
.This PR adds two new functions to
libnetmd.c
and calls them when sending a track. While it should not hurt other devices, I haven't tested this.