This will likely work with other Linux flavors besides Fedora Linux 32. This is pretty exciting that you can (1) load SP quality audio on your Net MD, not just LP2 and LP4, and (2) you can load songs without Sony's SonicStream software.
This guy's script did the trick for me: https://www.reddit.com/r/minidisc/comments/934333/writing_to_minidisc_over_usb_heres_how_im_doing_it/
Download that, download vuori's fork linux-minidisc and netmd here: https://github.com/vuori/linux-minidisc, compile linux-minidisc, clone md_downloader from here https://github.com/derwhalfisch/md_downloader, plug your NetMD into your computer via a USB cable, and run the script like this:
./script.sh /path/to/wav/or/mp3/files/*
I forked vuori's linux-minidisc repo, because I wanted to add a python script to delete a minidisc: https://github.com/mhwong/linux-minidisc
Here's how I compiled linux-minidisc:
git clone https://github.com/mhwong/linux-minidisc.git
cd linux-minidisc
qmake-qt5
make -j8
# That's all you should have to do. This will create the netmdcli/netmdcli executable.
Now you can load .wav files onto your Net MD like this:
./script.sh /path/to/wav/or/mp3/files/*
Here's some gotcha's I ran into:
- Python2 is no longer available on Fedora 32 via dnf, so download the latest stable python2 source, and compile and install it
- qt4 didn't work for me. Use dnf to install qt5, to build linux-minidisc
- The main repository for linux-minidisc also didn't work for me, so I used the vuori version which worked
- When transferring files, your LCD screen on your Net MD recorder may not look like the files are being transferred, but be patient and let it transfer for a few minutes for each song.
- I tested this with a .wav file but not an .mp3 file
- Many of the commands you'll have to run as root
- You will have edit the source of script.sh to set your configuration variables (at a minimum, the netmdcli path)
- The python utilities in linux-minidisc, specifically the downloadhack.py, did not work for me to load in LP files.
- You can, however, successfully use lsmd.py to confirm that the file is on your Net MD correctly, in the correct LP format.
- I added a script to erase the entire minidisc on the commandline, in a new fork (https://github.com/mhwong/linux-minidisc). Run "./netmd/eraseDisc.py". Be cautious, because this will erase your entire disc, with no confirmation requested. This might erase write-protected tracks, too.
- My device is a MZ-NE410
- I installed ffmpeg using this: https://computingforgeeks.com/how-to-install-ffmpeg-on-fedora/
- I got a usb error when verifying the transferred file, but the track still seemed to transfer ok.
No comments:
Post a Comment