FU Logo
  • Startseite
  • Kontakt
  • Impressum
  • Home
  • Listenauswahl
  • Anleitungen

Re: [linux-minidisc] running netmd python scripts on windows

<-- thread -->
<-- date -->
  • From: Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
  • To: manner.moe@gmx.de
  • Date: Sun, 24 Oct 2010 12:47:38 +0200
  • Resent-date: Sun, 24 Oct 2010 12:48:54 +0200
  • Resent-date: Sun, 24 Oct 2010 12:48:54 +0200
  • Resent-from: glaubitz@physik.fu-berlin.de
  • Resent-message-id: <20101024104854.GA22278@physik.fu-berlin.de>
  • Resent-sender: Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
  • Resent-to: linux-minidisc@lists.fu-berlin.de
  • Subject: Re: [linux-minidisc] running netmd python scripts on windows

Thomas,

On Oct 23, 2010, at 8:13 PM, manner.moe@gmx.de wrote:

> Hi,
> i succeeded dump_md.py and upload.py on windows.
> On windows version of python there is no os.fork(), so i used subprocess 
> instead to start sox.
> Also, "from Crypto.Cipher import DES" and "from Crypto.Cipher import DES3" in 
> libnetmd.py doesn´t work,
> i used "from Crypto.Cipher import __all__" instead, which works. 
> 

Thats very nice. Thanks alot for the work.

Regarding the patches. You stated in your second mail that the second patch might
not be required anymore. So do you want me to apply the first patch only or both?

Also, did you verify that you did not break any functionality on Linux or should we test?
I don't have a MiniDisc Walkman at hand though unfortunately.

> Requirements:
> latest version of python-libusb1 from Vincent : http://github.com/vpelletier/python-libusb1/tree/
> python2.6 (installer package): http://www.python.org/ftp/python/2.6.6/python-2.6.6.msi
> PyCrypto (installer package) : http://www.voidspace.org.uk/downloads/pycrypto-2.1.0.win32-py2.6.zip
> zadig.exe  (WinUSB driver installer) : http://libusb-winusb-wip.googlecode.com/files/zadig.exe
> libusb windows backend : http://libusb-winusb-wip.googlecode.com/files/libusb_2010.10.14.7z
> sox : http://sourceforge.net/projects/sox/files/sox-win/14.3.1/
> attached patches
> 
> To test it you can follow these steps:
> - install python, PyCrypto and sox via installer package
> - connect your Net MD device and start zadig.exe.
>  Use "Options/List all devices", choose your Net MD device an klick "Install Driver"
> - replace usb1.py and libusb1.py in netmd subdirectory with the letest python-
> libusb1 versions
> - copy libusb1.0.dll from libusb windows backend package to your 
> windows/system32 folder (usually C:\WINDOWS\system32)
>  Use the version according to your OS, MINGW32 version woks fine for me on 
> Windows XP SP3. 
> 
> - open console window(cmd.exe)
> - type "set PATH=C:\<sox install dir>;%PATH%" to add the path of sox.exe 
> temporarely 
>  (<sox install dir> means the path to your sox installation directory, 
> usually C:\sox-14-3-1)
>  To use it permanently you can add the path to your system variables.
> - change into your linux-minidisc folder and apply the patches attached on 
> these mail
> - change into netmd subdir and start the scripts by their name (just type 
> "dump_md.py", "upload.py", ...)
>  with parameters if needed
> 
> There are some problems converting the .aea files uploaded by upload.py with 
> ffmpeg (i used latest win binary),
> i am not sure if it´s an error of the uploaded files or an error of ffmpeg, 
> but i´m working on ;)

We should update the page for "NetMDPython" in the wiki appropriately once the
patches were applied so that people can follow your instructions to work on Windows.


Adrian


<-- thread -->
<-- date -->
  • References:
    • [linux-minidisc] running netmd python scripts on windows
      • From: manner.moe@gmx.de
  • linux-minidisc - October 2010 - Archives indexes sorted by:
    [ thread ] [ subject ] [ author ] [ date ]
  • Complete archive of the linux-minidisc mailing list
  • More info on this list...

Hilfe

  • FAQ
  • Dienstbeschreibung
  • ZEDAT Beratung
  • postmaster@lists.fu-berlin.de

Service-Navigation

  • Startseite
  • Listenauswahl

Einrichtung Mailingliste

  • ZEDAT-Portal
  • Mailinglisten Portal