platinum-md icon indicating copy to clipboard operation
platinum-md copied to clipboard

MD -> PC feature?

Open timkahlke opened this issue 5 years ago • 14 comments

First of all: THANKS YOU for saving me from the hassle to get a virtual Win7 installation. However, it would be amazing to have a MD -> PC feature to backup the MDs to my Mac

timkahlke avatar Jan 21 '20 00:01 timkahlke

Hey - glad you're enjoying it! The only player that really supports that is the MZ-RH1 - unfortunately I don't have one to test on, but it possibly wouldn't be too hard to support.

gavinbenda avatar Jan 21 '20 00:01 gavinbenda

That's the one ... if you were closer to Sydney you could borrow mine for testing but I'm also happy to test any potential development version ... just in case.

timkahlke avatar Jan 21 '20 01:01 timkahlke

@gavinbenda I have an MZ-RH1 as well and am patiently waiting for this feature to be developed.

Invictaz avatar Jan 22 '20 18:01 Invictaz

If this option comes I hope it can auto convert to various formats. ATRAC1 SP RAW = .AEA but maybe it can also be WAV or MP3.

Invictaz avatar Mar 27 '20 03:03 Invictaz

Unfortunately it's not a part of netmdcli - there is another Python library that claims to be able to do it - would need some help to port it, and probably impossible for me to do much more without an MZ-RH1 device to test with: https://github.com/gavinbenda/linux-minidisc/blob/master/netmd/downloadhack.py

gavinbenda avatar Mar 27 '20 05:03 gavinbenda

I submitted an issue in the original repo to port it to libnetmd. Some of the devs suggested it can be called already as a ~~submodule~~ subprocess.

https://github.com/linux-minidisc/linux-minidisc/issues/63

Invictaz avatar Mar 31 '20 21:03 Invictaz

Not submodule, but subprocess.

thp avatar Mar 31 '20 21:03 thp

I stand corrected. Thanks

Invictaz avatar Apr 01 '20 00:04 Invictaz

This is the python script to read tracks off a RH1: https://github.com/gavinbenda/linux-minidisc/blob/master/netmd/upload.py

Tested with python 2.7 on OSX and it works:

$ python upload.py -t 003
Storing in .
Uploading ./03 - Untitled Track.aea
Done: 10000/7a8960 (0.82%)
Done: 20000/7a8960 (1.63%)
Done: 30000/7a8960 (2.45%)
....
Done: 7a0000/7a8960 (99.56%)
Done: 7a8960/7a8960 (100.00%)
Finished.
$ ffmpeg -i ./03 - Untitled Track.aea 03.mp3
....
Input #0, aea, from '03 - Untitled Track.aea':
  Duration: 00:03:40.02, bitrate: 292 kb/s
    Stream #0:0: Audio: atrac1, 44100 Hz, stereo, fltp, 292 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (atrac1 (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
Output #0, mp3, to '03.mp3':
  Metadata:
    TSSE            : Lavf58.45.100
    Stream #0:0: Audio: mp3 (libmp3lame), 44100 Hz, stereo, fltp
    Metadata:
      encoder         : Lavc58.91.100 libmp3lame
03 - Untitled Track.aea: Input/output errors speed=40.7x    
size=    3437kB time=00:03:39.89 bitrate= 128.0kbits/s speed=  41x    
video:0kB audio:3436kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.007190%

deenine avatar Sep 24 '20 10:09 deenine

Proof of concept download from MD to PC with RH1: https://github.com/gavinbenda/platinum-md/pull/62

Tested on OSX, may not be portable due to python2 dependencies.

Screenshot 2020-09-24 at 19 44 16

deenine avatar Sep 24 '20 18:09 deenine

Thanks @deenine - that is excellent work! I just got an MZ-RH1 this week, so will give it a test, I don't think it's a huge deal to use Python as another dependency, but will mean existing users will have to add it in unless I can find a nice way to include it via Electron packaging.

gavinbenda avatar Sep 25 '20 10:09 gavinbenda

Ooo yeah this now works on OSX - windows soon.

gavinbenda avatar Mar 12 '21 12:03 gavinbenda

Hi, I currently checked feature with WIN10, MZ-RH1 and latest platinum md software. Device is recognized well and I can store music on recorder. When I want to read music from recorder into PC, transfer is starting, running and completing, but I get no file in computer folder (left pane on screen). Have I done something wrong? Thank you!

TravelRec avatar Nov 24 '21 19:11 TravelRec

Ooo yeah this now works on OSX - windows soon.

Is this feature working in Windows now? It shows up in the UI and the transfer seems to be happening but then no files appear in the PC directory.

nmatsuda avatar Jan 10 '23 22:01 nmatsuda