From glaubitz@physik.fu-berlin.de Sun Apr 03 16:33:30 2011 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q6OMs-0003nN-7y>; Sun, 03 Apr 2011 16:33:30 +0200 Received: from mx.physik.fu-berlin.de ([160.45.64.218]) by relay1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1Q6OMs-0001Yk-5a>; Sun, 03 Apr 2011 16:33:30 +0200 Received: from squeeze64.physik.fu-berlin.de ([160.45.66.239]) by mx.physik.fu-berlin.de with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Q6OMr-0008EM-Vm; Sun, 03 Apr 2011 16:33:30 +0200 Received: from glaubitz by squeeze64.physik.fu-berlin.de with local (Exim 4.72 #1 (Debian)) id 1Q6OMr-0006bE-UT; Sun, 03 Apr 2011 16:33:29 +0200 Date: Sun, 3 Apr 2011 16:33:29 +0200 From: Adrian Glaubitz To: manner.moe@gmx.de Message-ID: <20110403143329.GA25211@physik.fu-berlin.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Sender: Adrian Glaubitz X-Originating-IP: 160.45.64.218 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1301841210-00005A17-E2FDD4FC/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.318387, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Burundi.ZEDAT.-Berlin.DE X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED Cc: linux-minidisc@lists.fu-berlin.de Subject: Re: [linux-minidisc] First patch for write support on HiMD available X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Apr 2011 14:33:31 -0000 On Thu, Mar 31, 2011 at 12:30:18AM +0200, manner.moe@gmx.de wrote: > >>>>>> not fixed yet: > >>>>> > >>>>>> - links to string table (title, artist, album) are not set correctly? > >>>>>> title is stored at index 01 (0x40010) of string table but is shown as > >>>>>> "unknown title" in himddump, artist and album are not set. > >>>>> > >>>>> O.K., encoding is not set in the string table. > >>>>> By setting encoding (first byte of string field) the title will be shown > >>>>> correctly. > > Hi, > i fixed this and rearranged the string writing procedure to ensure to set the > right encoding byte. > Also, as my first patch may be hard to reproduce i splitted it into several > parts. > Just apply them one after another rigth after applying martens patch. > So you do not have to merge the code manually. Nice, thanks alot. I've uploaded the patches to our usual location on my webspace [1]. Unfortunately, I'm quite busy these days so I don't have really time to do any testing myself. Everyone on the list is welcome to test the patches, make suggestions or send in improvements. I will update the task list in the wiki to reflect the recent developments. Adrian From glaubitz@physik.fu-berlin.de Sun Apr 03 23:05:23 2011 Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q6UU6-00079n-D3>; Sun, 03 Apr 2011 23:05:22 +0200 Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1Q6UU6-000853-8y>; Sun, 03 Apr 2011 23:05:22 +0200 Received: from z92e7.pia.fu-berlin.de ([87.77.146.231] helo=kri3-1x-dhcp348.studby.uio.no) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1Q6UU6-0005AR-39>; Sun, 03 Apr 2011 23:05:22 +0200 Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Adrian Glaubitz In-Reply-To: <20110403143329.GA25211@physik.fu-berlin.de> Date: Sun, 3 Apr 2011 23:05:20 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <60410844-53E6-46C9-AFB6-C2A76BD896B5@physik.fu-berlin.de> References: <20110403143329.GA25211@physik.fu-berlin.de> To: Adrian Glaubitz X-Mailer: Apple Mail (2.1084) X-Originating-IP: 87.77.146.231 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1301864722-00005A17-0CCE7B95/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.279208, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Botsuana.ZEDAT.-Berlin.DE X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED Cc: linux-minidisc@lists.fu-berlin.de Subject: Re: [linux-minidisc] First patch for write support on HiMD available X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Apr 2011 21:05:23 -0000 On Apr 3, 2011, at 4:33 PM, Adrian Glaubitz wrote: >=20 > Nice, thanks alot. I've uploaded the patches to our usual location on > my webspace [1]. Unfortunately, I'm quite busy these days so I don't > have really time to do any testing myself. Everyone on the list is > welcome to test the patches, make suggestions or send in > improvements. I will update the task list in the wiki to reflect the > recent developments. Somehow forgot to post the link for the reference [1] =3D). Adrian [1] = http://users.physik.fu-berlin.de/~glaubitz/linux-minidisc/pending-patches/= From glaubitz@physik.fu-berlin.de Tue Apr 05 01:47:10 2011 Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q6tUC-0008GQ-Tw>; Tue, 05 Apr 2011 01:47:09 +0200 Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q6tUC-0007Sk-Rl>; Tue, 05 Apr 2011 01:47:08 +0200 Received: from kri3-1x-dhcp348.studby.uio.no ([193.157.241.96]) by inpost2.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtpsa (envelope-from ) id <1Q6tUC-00027Z-LL>; Tue, 05 Apr 2011 01:47:08 +0200 From: Adrian Glaubitz Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Tue, 5 Apr 2011 01:47:08 +0200 Message-Id: <4054CC58-C054-40F0-A428-9205536A0EB0@physik.fu-berlin.de> To: linux-minidisc mailing list Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) X-Originating-IP: 193.157.241.96 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1301960828-00005A17-4CD0F0DC/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000012, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Botsuana.ZEDAT.-Berlin.DE X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=ALL_TRUSTED,ITS_LEGAL Subject: [linux-minidisc] Inclusion of NetMD encryption keys in the master source X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Apr 2011 23:47:11 -0000 Dear linux-minidisc list followers, as you might have seen from our last commit [1], we have now included the encryption keys which are required to allow for transfers of audio = to NetMD devices. Despite the fact that we were never granted the = permission by Sony Japan to publish any of the keys employed in the original = software, SonicStage and it's security and DRM stack, OpenMG, we are still able now to provide you with the necessary keys for NetMD transfers. The trick is that NetMD uses a session-based encryption which is valid for the actual transfer only. This means, that all audio is eventually stored unencrypted on the MiniDisc medium. So, in order to be able to transfer audio data to a NetMD device, it is not required to know a specific, secret key owned by Sony, but rather, only finding a key which the NetMD device will accept as a valid key for a transfer. Since we have thoroughly examined and understood OpenMG and it's underlying encryption to date, we were able to calculate our own valid keys which are accepted by any NetMD device for a secure transfer. We have thus calculated our own valid set of keys and included them into the upstream source as seen in the recent commit. Since we have calculated these keys our own and they cannot be used for any other purpose except allowing a valid, encrypted transfer to a NetMD device, we are very confident that it is 100% legal to adapt and distribute these keys as open source. To simplify things for the users, I have created updated packages in my Ubuntu Launchpad PPA and highly encourage everyone on Ubuntu to install and test the packages [2]. It's very helpful to receive some feedback on whether the keys are actually working with all NetMD devices. With the recent commit, we have now a complete, but highly experimental free implementation of the NetMD protocol in Python. The = next step would therefore now to port the code to a lean and well-designed C code to lift the NetMD support out of the experimental zone into something useful for productive use. Many users are in fact a bit overwhelmed by the complexity and rather cumbersome usage of the Python scripts. As we've been planning a C port of the Python code for a long time, we had already one developer who has started porting the code. His preliminary work can be found here [3]. If anyone on this list feels obliged to help us in this = regard, please go ahead. We, and most of our users, would highly encourage a polished NetMD support, as most of the MiniDisc devices with USB out there support NetMD and not HiMD. A C port will eventually allow the integration into the main UI application, QHiMDTransfer. As always, we are looking forward to any suggestions and feedback on the current code. Regards, Adrian [1] = https://lists.fu-berlin.de/pipermail/linux-minidisc/2011-March/msg00017.ht= ml [2] https://launchpad.net/~glaubitz/+archive/linux-minidisc [3] = http://users.physik.fu-berlin.de/~glaubitz/linux-minidisc/mdlib.tar.gz= From bardolobo@gmail.com Tue Apr 05 15:05:16 2011 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q75wY-0001ST-Bv>; Tue, 05 Apr 2011 15:05:14 +0200 Received: from mail-vw0-f54.google.com ([209.85.212.54]) by relay1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q75wY-0005PZ-1T>; Tue, 05 Apr 2011 15:05:14 +0200 Received: by vws18 with SMTP id 18so247582vws.13 for ; Tue, 05 Apr 2011 06:05:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=SnHyuJiPiNR5I1xaRLvWgXluQDV+AN+e/7uhjvJGxzM=; b=HUQBKRSw5K/Uyn2U4jcLWH66tn4V1lhXzcFYixUWviifIl4975E8Gv7UYo+s1ll8rG rrhkxNDMfwg0BvzSL/ZwrbOBuPXVx5tO4tavsGkiuZQlplxp7diaLUEK9Gmw2TjOo1LH gqQoxSNOYa12IViSykG/WdEMtO2lkmA77hM+U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=RC3KSBLlvP7PHLKIt0B96CR5uSkay51JgPjgvH5U6qlSb1pAh4Iq/9M9hMNdBnC321 boe9FKsvPcCvidDSTtHsjCc+rpeSDln/9TGY5MBxt1SaDpQDL9qZIVhHiiZVZkQPtuIz 7QuVhDM7huhRqIlDmOlBG3vYTq2RKSXi6saqs= Received: by 10.52.18.74 with SMTP id u10mr2507998vdd.192.1302008713118; Tue, 05 Apr 2011 06:05:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.169.198 with HTTP; Tue, 5 Apr 2011 06:04:53 -0700 (PDT) In-Reply-To: <4054CC58-C054-40F0-A428-9205536A0EB0@physik.fu-berlin.de> References: <4054CC58-C054-40F0-A428-9205536A0EB0@physik.fu-berlin.de> From: Taliesin Bardwolf Date: Tue, 5 Apr 2011 15:04:53 +0200 Message-ID: To: Adrian Glaubitz Content-Type: multipart/alternative; boundary=20cf30549e87d7054f04a02b86f0 X-Originating-IP: 209.85.212.54 X-ZEDAT-Hint: A X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1302008714-00005A17-78712711/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Gabun.ZEDAT.-Berlin.DE X-Spam-Level: xxx X-Spam-Status: No, score=3.0 required=5.0 tests=DNS_FROM_RFC_POST, HTML_20_30, HTML_MESSAGE,ITS_LEGAL,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Mailman-Approved-At: Tue, 05 Apr 2011 15:06:51 +0200 Cc: linux-minidisc mailing list Subject: Re: [linux-minidisc] Inclusion of NetMD encryption keys in the master source X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Apr 2011 13:05:16 -0000 --20cf30549e87d7054f04a02b86f0 Content-Type: text/plain; charset=ISO-8859-1 Hi! Just to say congratulations for this advance XD It seems very interesting. I hope soon we can enjoy it into QHiMD software :D And if anyone needs a "guinea pig" in order to try this software, here I am :D 2011/4/5 Adrian Glaubitz > Dear linux-minidisc list followers, > > as you might have seen from our last commit [1], we have now included > the encryption keys which are required to allow for transfers of audio to > NetMD devices. Despite the fact that we were never granted the permission > by Sony Japan to publish any of the keys employed in the original software, > SonicStage and it's security and DRM stack, OpenMG, we are still > able now to provide you with the necessary keys for NetMD transfers. > > The trick is that NetMD uses a session-based encryption which is > valid for the actual transfer only. This means, that all audio is > eventually stored unencrypted on the MiniDisc medium. So, > in order to be able to transfer audio data to a NetMD device, it > is not required to know a specific, secret key owned by Sony, but > rather, only finding a key which the NetMD device will accept > as a valid key for a transfer. Since we have thoroughly examined > and understood OpenMG and it's underlying encryption to date, > we were able to calculate our own valid keys which are accepted > by any NetMD device for a secure transfer. We have thus calculated > our own valid set of keys and included them into the upstream > source as seen in the recent commit. Since we have calculated > these keys our own and they cannot be used for any other purpose > except allowing a valid, encrypted transfer to a NetMD device, > we are very confident that it is 100% legal to adapt and distribute > these keys as open source. > > To simplify things for the users, I have created updated packages > in my Ubuntu Launchpad PPA and highly encourage everyone > on Ubuntu to install and test the packages [2]. It's very helpful > to receive some feedback on whether the keys are actually > working with all NetMD devices. > > With the recent commit, we have now a complete, but highly > experimental free implementation of the NetMD protocol in Python. The next > step would therefore now to port the code to a lean and well-designed > C code to lift the NetMD support out of the experimental zone into > something useful for productive use. Many users are in fact a > bit overwhelmed by the complexity and rather cumbersome usage > of the Python scripts. As we've been planning a C port of the > Python code for a long time, we had already one developer who > has started porting the code. His preliminary work can be found > here [3]. If anyone on this list feels obliged to help us in this regard, > please go ahead. We, and most of our users, would highly > encourage a polished NetMD support, as most of the MiniDisc > devices with USB out there support NetMD and not HiMD. A > C port will eventually allow the integration into the main > UI application, QHiMDTransfer. > > As always, we are looking forward to any suggestions and feedback > on the current code. > > Regards, > > Adrian > > [1] > https://lists.fu-berlin.de/pipermail/linux-minidisc/2011-March/msg00017.html > [2] https://launchpad.net/~glaubitz/+archive/linux-minidisc > [3] http://users.physik.fu-berlin.de/~glaubitz/linux-minidisc/mdlib.tar.gz > _______________________________________________ > linux-minidisc mailing list > linux-minidisc@lists.fu-berlin.de > https://lists.fu-berlin.de/listinfo/linux-minidisc > --20cf30549e87d7054f04a02b86f0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi! Just to say congratulations for this advance XD It seems very interesti= ng. I hope soon we can enjoy it into QHiMD software :D

A= nd if anyone needs a "guinea pig" in order to try this software, = here I am :D

2011/4/5 Adrian Glaubitz &= lt;glaubitz@physik.fu-berli= n.de>
Dear linux-minidisc list followers,

as you might have seen from our last commit [1], we have now included
the encryption keys which are required to allow for transfers of audio to NetMD devices. Despite the fact that we were never granted the permission by Sony Japan to publish any of the keys employed in the original software,=
SonicStage and it's security and DRM stack, OpenMG, we are still
able now to provide you with the necessary keys for NetMD transfers.

The trick is that NetMD uses a session-based encryption which is
valid for the actual transfer only. This means, that all audio is
eventually stored unencrypted on the MiniDisc medium. So,
in order to be able to transfer audio data to a NetMD device, it
is not required to know a specific, secret key owned by Sony, but
rather, only finding a key which the NetMD device will accept
as a valid key for a transfer. Since we have thoroughly examined
and understood OpenMG and it's underlying encryption to date,
we were able to calculate our own valid keys which are accepted
by any NetMD device for a secure transfer. We have thus calculated
our own valid set of keys and included them into the upstream
source as seen in the recent commit. Since we have calculated
these keys our own and they cannot be used for any other purpose
except allowing a valid, encrypted transfer to a NetMD device,
we are very confident that it is 100% legal to adapt and distribute
these keys as open source.

To simplify things for the users, I have created updated packages
in my Ubuntu Launchpad PPA and highly encourage everyone
on Ubuntu to install and test the packages [2]. It's very helpful
to receive some feedback on whether the keys are actually
working with all NetMD devices.

With the recent commit, we have now a complete, but highly
experimental free implementation of the NetMD protocol in Python. The next<= br> step would therefore now to port the code to a lean and well-designed
C code to lift the NetMD support out of the experimental zone into
something useful for productive use. Many users are in fact a
bit overwhelmed by the complexity and rather cumbersome usage
of the Python scripts. As we've been planning a C port of the
Python code for a long time, we had already one developer who
has started porting the code. His preliminary work can be found
here [3]. If anyone on this list feels obliged to help us in this regard, please go ahead. We, and most of our users, would highly
encourage a polished NetMD support, as most of the MiniDisc
devices with USB out there support NetMD and not HiMD. A
C port will eventually allow the integration into the main
UI application, QHiMDTransfer.

As always, we are looking forward to any suggestions and feedback
on the current code.

Regards,

Adrian

[1] https://lists.fu-berlin.de/pipermail/li= nux-minidisc/2011-March/msg00017.html
[2] https://launchpad.net/~glaubitz/+archive/linux-minidisc<= br> [3] http://users.physik.fu-berlin.de/~glaubitz/li= nux-minidisc/mdlib.tar.gz
_______________________________________________
linux-minidisc mailing list
linux-minidisc@lists.f= u-berlin.de
https://lists.fu-berlin.de/listinfo/linux-minidisc

--20cf30549e87d7054f04a02b86f0-- From manner.moe@gmx.de Fri Apr 08 20:26:11 2011 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q8GNm-0000xz-KN>; Fri, 08 Apr 2011 20:26:10 +0200 Received: from mailout-de.gmx.net ([213.165.64.22]) by relay1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with smtp (envelope-from ) id <1Q8GNm-0001uz-Fm>; Fri, 08 Apr 2011 20:26:10 +0200 Received: (qmail invoked by alias); 08 Apr 2011 18:26:10 -0000 Received: from dslc-082-082-130-013.pools.arcor-ip.net (EHLO MyHost) [82.82.130.13] by mail.gmx.net (mp034) with SMTP; 08 Apr 2011 20:26:10 +0200 X-Authenticated: #17747474 X-Provags-ID: V01U2FsdGVkX18IOQh0iX0IMX3sbV+5jjehtA9tCLIVK7kNdjsqTm ziyGVSgaLroClq Date: Fri, 8 Apr 2011 20:26:09 +0200 Message-ID: <89C06D1B-FE2A-4DA8-AFA2-2FA506643107@gmx.de> X-GeMail-Ref: <0826407D-ECEF-4D60-BB75-1829DED5E4A2@gmx.de> From: manner.moe@gmx.de To: linux-minidisc@lists.fu-berlin.de Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit MIME-Version: 1.0 X-Mailer: GcMail 5.2.3.0(RG6) http://www.gcmail.de X-Y-GMX-Trusted: 0 X-Originating-IP: 213.165.64.22 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1302287170-00005A17-AD616ECA/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.195142, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Benin.ZEDAT.-Berlin.DE X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=NO_REAL_NAME,SPF_HELO_PASS, SPF_PASS Subject: Re: [linux-minidisc] First patch for write support on HiMD available X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.11 Precedence: list Reply-To: manner.moe@gmx.de List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Apr 2011 18:26:11 -0000 >Betreff : Re: [linux-minidisc] First patch for write support on HiMD available >Gesendet: 14.03.2011 21:56:17 >An : "Adrian Glaubitz " >Von: "manner.moe@gmx.de" >----- Originale Nachricht ----- >not fixed yet: >- dos_settime seems not to work correctly (only on windows?) We have to check if the date set in struct tm * tm is inside the range of the dos time format. If we set all values to 0, the year will be calculated as -80. We only use the the first 7 bits (0b0110000) so this will result in the year 2028 in dos time format. Also the last frame of the last block is set incorrectly in the part info table of the trkidx file. All frames are counted but we only need the number of frames in the last block. We can get it from abucket.nframes at the end of the audio stream because this always holds the number of frames in the current audio block. I´m busy at the moment, i´ll send some more patches at the weekend. I realized that SonicStage sometimes can read and play the disc via usb audio transfer (but the RH1 cannot play) but i canot localize when it can read and when not. SonicStage sometimes can read the disc if 4 or 5 tracks are downloaded. If less than 4 or more than 5 it cannot but this may vary for different tracks. I only tested downloading the same track yet. Thomas. From manner.moe@gmx.de Sat Apr 09 19:35:42 2011 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q8c4T-0001J7-BB>; Sat, 09 Apr 2011 19:35:41 +0200 Received: from mailout-de.gmx.net ([213.165.64.23]) by relay1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with smtp (envelope-from ) id <1Q8c4T-0002sI-5S>; Sat, 09 Apr 2011 19:35:41 +0200 Received: (qmail invoked by alias); 09 Apr 2011 17:35:40 -0000 Received: from dslc-082-082-130-013.pools.arcor-ip.net (EHLO MyHost) [82.82.130.13] by mail.gmx.net (mp025) with SMTP; 09 Apr 2011 19:35:40 +0200 X-Authenticated: #17747474 X-Provags-ID: V01U2FsdGVkX18ZQRBou5YZJakXnG81qcIpgzl0xw0fcIcUNk3me9 qCFjT8ChgsQhF+ Date: Sat, 9 Apr 2011 19:35:39 +0200 Message-ID: <73A483DB-D900-49D9-91A4-7B431DBBBA19@gmx.de> X-GeMail-Ref: <89C06D1B-FE2A-4DA8-AFA2-2FA506643107@gmx.de> From: manner.moe@gmx.de To: linux-minidisc@lists.fu-berlin.de Content-Type: multipart/mixed; boundary="=_gcmail5" MIME-Version: 1.0 X-Mailer: GcMail 5.2.3.0(RG6) http://www.gcmail.de X-Y-GMX-Trusted: 0 X-Originating-IP: 213.165.64.23 X-ZEDAT-Hint: A X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1302370541-00005A17-25C81EE6/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.083454, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Benin.ZEDAT.-Berlin.DE X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=NO_REAL_NAME,SPF_HELO_PASS, SPF_PASS Subject: Re: [linux-minidisc] First patch for write support on HiMD available X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.11 Precedence: list Reply-To: manner.moe@gmx.de List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Apr 2011 17:35:42 -0000 This is a multi-part message in MIME format --=_gcmail5 Content-Type: multipart/alternative; boundary="=_gcmail5_alt" --=_gcmail5_alt Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit >Betreff : Re: [linux-minidisc] First patch for write support on HiMD available >Gesendet: 08.04.2011 20:26:09 >An : "linux-minidisc@lists.fu-berlin.de" >Von: "manner.moe@gmx.de" >----- Originale Nachricht ----- >>Betreff : Re: [linux-minidisc] First patch for write support on HiMD available >>Gesendet: 14.03.2011 21:56:17 >>An : "Adrian Glaubitz " >>Von: "manner.moe@gmx.de" >>----- Originale Nachricht ----- >>not fixed yet: >>- dos_settime seems not to work correctly (only on windows?) >We have to check if the date set in struct tm * tm is inside the range of the >dos time format. >If we set all values to 0, the year will be calculated as -80. We only use >the the first 7 bits (0b0110000) so this will result in the year 2028 in dos >time format. >Also the last frame of the last block is set incorrectly in the part info >table of the trkidx file. >All frames are counted but we only need the number of frames in the last >block. We can get it from abucket.nframes at the end of the audio stream >because this always holds the number of frames in the current audio block. >I´m busy at the moment, i´ll send some more patches at the weekend. O.K., here are the patches. Thomas. --=_gcmail5_alt-- --=_gcmail5 Content-Type: application/octet-stream; name="0009-set-dostime-correctly.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="0009-set-dostime-correctly.patch" ZGlmZiAtLWdpdCBhL2xpYmhpbWQvdHJhY2tpbmRleC5jIGIvbGliaGltZC90cmFja2luZGV4LmMK aW5kZXggOTY2ZjA5Zi4uMmM5NGY1YSAxMDA2NDQKLS0tIGEvbGliaGltZC90cmFja2luZGV4LmMK KysrIGIvbGliaGltZC90cmFja2luZGV4LmMKQEAgLTU4LDE1ICs1OCwyOSBAQCBzdGF0aWMgdm9p ZCBnZXRfZG9zdGltZShzdHJ1Y3QgdG0gKiB0bSwgdW5zaWduZWQgY29uc3QgY2hhciAqIGJ5dGVz KQogICAgIHRtLT50bV95ZWFyID0gKCh0aGVkYXRlICYgMHhGRTAwKSA+PiA5KSArIDgwOwogfQog CitzdGF0aWMgZ2Jvb2xlYW4gaXNfb3V0X29mX3JhbmdlKGNvbnN0IHN0cnVjdCB0bSAqIHRtKQor eworICAgIHJldHVybiB0bS0+dG1fbWRheSA8IDEgfHwgdG0tPnRtX21kYXkgPiAzMSB8fAorICAg ICAgICAgICB0bS0+dG1fbW9uIDwgMCB8fCB0bS0+dG1fbW9uID4gMTEgfHwKKyAgICAgICAgICAg dG0tPnRtX3llYXIgPCA4MCB8fCB0bS0+dG1feWVhciA+IDIwNyB8fAorICAgICAgICAgICB0bS0+ dG1fc2VjIDwgMCB8fCB0bS0+dG1fc2VjID4gNTkgfHwKKyAgICAgICAgICAgdG0tPnRtX21pbiA8 IDAgfHwgdG0tPnRtX21pbiA+IDU5IHx8CisgICAgICAgICAgIHRtLT50bV9ob3VyIDwgMCB8fCB0 bS0+dG1faG91ciA+IDIzIDsKK30KIAogc3RhdGljIHZvaWQgZG9zX3NldHRpbWUodW5zaWduZWQg Y2hhciAqIGJ1ZmZlciwgY29uc3Qgc3RydWN0IHRtICogdG0pCiB7Ci0gICBzZXRiZXdvcmQxNihi dWZmZXIsICh0bS0+dG1fbWRheSkgfAotICAgICAgICAgICAgICAgICAgICAgICAoKHRtLT50bV9t b24gKyAxKSA8PCA1KSB8Ci0gICAgICAgICAgICAgICAgICAgICAgICgodG0tPnRtX3llYXIgLSA4 MCkgPDwgOSkpOwotICAgc2V0YmV3b3JkMTYoYnVmZmVyKzIsICh0bS0+dG1fc2VjLzIpIHwKLSAg ICAgICAgICAgICAgICAgICAgICAgICAodG0tPnRtX21pbiA8PCA1KSB8Ci0gICAgICAgICAgICAg ICAgICAgICAgICAgKHRtLT50bV9ob3VyIDw8IDEpKTsKKyAgIGlmKGlzX291dF9vZl9yYW5nZSh0 bSkpCisgICAgICAgbWVtc2V0KGJ1ZmZlciwgMCwgNCk7CisgICBlbHNlCisgICB7CisgICAgICAg c2V0YmV3b3JkMTYoYnVmZmVyLCAodG0tPnRtX21kYXkpIHwKKyAgICAgICAgICAgICAgICAgICAg ICAgICAgICgodG0tPnRtX21vbiArIDEpIDw8IDUpIHwKKyAgICAgICAgICAgICAgICAgICAgICAg ICAgICgodG0tPnRtX3llYXIgLSA4MCkgPDwgOSkpOworICAgICAgIHNldGJld29yZDE2KGJ1ZmZl cisyLCAodG0tPnRtX3NlYy8yKSB8CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICh0bS0+ dG1fbWluIDw8IDUpIHwKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKHRtLT50bV9ob3Vy IDw8IDExKSk7CisgICB9CiB9CiAKIHN0YXRpYyB2b2lkIHNldHRyYWNrKHN0cnVjdCB0cmFja2lu Zm8gKnQsIHVuc2lnbmVkIGNoYXIgKiB0cmFja2J1ZmZlcikK --=_gcmail5 Content-Type: application/octet-stream; name="0007-set-string-index-correctly.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="0007-set-string-index-correctly.patch" ZGlmZiAtLWdpdCBhL2xpYmhpbWQvdHJhY2tpbmRleC5jIGIvbGliaGltZC90cmFja2luZGV4LmMK aW5kZXggZDc4ZTE0Yi4uOTY2ZjA5ZiAxMDA2NDQKLS0tIGEvbGliaGltZC90cmFja2luZGV4LmMK KysrIGIvbGliaGltZC90cmFja2luZGV4LmMKQEAgLTUzOSwxMiArNTM5LDEyIEBAIGludCBoaW1k X2FkZF9zdHJpbmcoc3RydWN0IGhpbWQgKiBoaW1kLCBzdHJ1Y3QgZW5jc3RyaW5nICpzdHJpbmcs IGludCB0eXBlLCBzdHJ1CiAJICAgIGlmKGN1cmlkeCA9PSBsYXN0aWR4KQogCQl7CiAJCSAgICBz ZXRiZXdvcmQxNigmY3VyY2h1bmtbMTRdLCAoU1RSSU5HX1RZUEVfQ09OVElOVUFUSU9OIDw8IDEy KSArIDApOyAgICAgIC8vIHR5cGUgfCBsbmsKLSAgICAgICAgICAgICAgICAgICAgbWVtY3B5KGN1 cmNodW5rLCBzdHJpbmctPnN0cmluZytzdHJpZHgqMTQsIChyZXN0ID09IDAgPyAxNCA6IHJlc3Qp ICk7CisgICAgICAgICAgICAgICAgICAgIG1lbWNweShjdXJjaHVuaywgc3RyaW5nLT5zdHJpbmcr c3RyaWR4KjE0LTEsIChyZXN0ID09IDAgPyAxNCA6IHJlc3QpICk7CiAJCSAgICBicmVhazsKIAkJ fQogCiAJICAgIHNldGJld29yZDE2KCZjdXJjaHVua1sxNF0sIChTVFJJTkdfVFlQRV9DT05USU5V QVRJT04gPDwgMTIpKyhjdXJpZHgrMSkpOyAgICAgIC8vIHR5cGUgfCBsbmsKLSAgICAgICAgICAg IG1lbWNweShjdXJjaHVuaywgc3RyaW5nLT5zdHJpbmcrc3RyaWR4KjE0LCAxNCk7CisgICAgICAg ICAgICBtZW1jcHkoY3VyY2h1bmssIHN0cmluZy0+c3RyaW5nK3N0cmlkeCoxNC0xLCAxNCk7CiAJ fQogCiAgICAgcmV0dXJuIGlkeF9mcmVlc2xvdDsK --=_gcmail5 Content-Type: application/octet-stream; name="0008-set-number-of-frames-correctly.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="0008-set-number-of-frames-correctly.patch" ZGlmZiAtLWdpdCBhL2hpbWRkdW1wL2hpbWRkdW1wLmMgYi9oaW1kZHVtcC9oaW1kZHVtcC5jCmlu ZGV4IDk0NjgyYzIuLjliMjRlMDggMTAwNjQ0Ci0tLSBhL2hpbWRkdW1wL2hpbWRkdW1wLmMKKysr IGIvaGltZGR1bXAvaGltZGR1bXAuYwpAQCAtNTQxLDcgKzU0MSw2IEBAIGdpbnQgd3JpdGVfYmxv Y2tzKHN0cnVjdCBtYWRfc3RyZWFtICpzdHJlYW0sIHN0cnVjdCBoaW1kX3dyaXRlc3RyZWFtICp3 cml0ZV9zdHJlCiAgICAgbWFkX3RpbWVyX3QgbWFkX3RpbWVyOwogCiAgICAgZ2ludCBpYmxvY2s9 MCwgaWZyYW1lPTA7Ci0gICAgZ2ludCBsZW5ibG9ja3M9MDsKIAogICAgIG1hZF90aW1lcl9yZXNl dCgmbWFkX3RpbWVyKTsKICAgICBidWNrZXRfaW5pdCgmYnVja2V0KTsKQEAgLTU3NywxMiArNTc2 LDYgQEAgZ2ludCB3cml0ZV9ibG9ja3Moc3RydWN0IG1hZF9zdHJlYW0gKnN0cmVhbSwgc3RydWN0 IGhpbWRfd3JpdGVzdHJlYW0gKndyaXRlX3N0cmUKIAkgICAgLy9wcmludGYoIkRCRzogQnVja2V0 IGZ1bGwhXG4iKTsKICAgICAgICAgICAgIGJsb2NrX2luaXQoJmJ1Y2tldC5ibG9jaywgYnVja2V0 Lm5mcmFtZXMsIGJ1Y2tldC50b3RzaXplLCBpYmxvY2ssIGNpZCk7CiAKLQkgICAgLy8JICAgIGJs b2NrX3ByaW50aW5mbygmYnVja2V0LmJsb2NrKTsKLQotCSAgICAvLyBvYmZ1c2NhdGUgYXVkaW8t ZGF0YSB1c2luZyBrZXkgZGVyaXZlZCBmcm9tIHRyYWNrLW51bWJlcgotCSAgICAvLwkgICAgcHJp bnRmKCJcbiBEZWNyeXB0ZWQsZmlyc3QgMzAgYnl0ZXM6XG4iKTsKLQkgICAgLy8gcHJpbnRfaGV4 KCZidWNrZXQuYmxvY2suYXVkaW9fZGF0YVswXSwgMzApOwotCiAJICAgIC8vIEVuY3J5cHQgYmxv Y2sKIAkgICAgaW50IGk9MDsKIAkgICAgZm9yKGk9MDtpIDwgYnVja2V0LnRvdHNpemU7IGkrKykK QEAgLTU5NSw5ICs1ODgsOCBAQCBnaW50IHdyaXRlX2Jsb2NrcyhzdHJ1Y3QgbWFkX3N0cmVhbSAq c3RyZWFtLCBzdHJ1Y3QgaGltZF93cml0ZXN0cmVhbSAqd3JpdGVfc3RyZQogCQkgICAgcGVycm9y KCJ3cml0ZSBibG9jayIpOwogCQl9CiAKLQkgICAgbGVuYmxvY2tzICs9IGJ1Y2tldC50b3RzaXpl OwotCSAgICAvL3ByaW50ZigiXG4gRW5jcnlwdGVkLCBmaXJzdCAzMCBieXRlczogXG4iKTsKLQkg ICAgLy8JICAgIHByaW50X2hleCgmYnVja2V0LmJsb2NrLmF1ZGlvX2RhdGFbMF0sIDMwKTsKKyAg ICAgICAgICAgIC8vIHJlbWVtYmVyIG51bWJlciBvZiBmcmFtZXMgaW4gY3VycmVudCBhdWRpbyBi bG9jaworICAgICAgICAgICAgaWZyYW1lID0gYnVja2V0Lm5mcmFtZXM7CiAKIAkgICAgYnVja2V0 X2luaXQoJmJ1Y2tldCk7CiAKQEAgLTYwNywyNyArNTk5LDE1IEBAIGdpbnQgd3JpdGVfYmxvY2tz KHN0cnVjdCBtYWRfc3RyZWFtICpzdHJlYW0sIHN0cnVjdCBoaW1kX3dyaXRlc3RyZWFtICp3cml0 ZV9zdHJlCiAJCS8vcHJpbnRmKCJFUlJPUjogVW5leHBlY3RlZCBmdWxsIGJsb2NrXG4iKTsKIAkJ ZXhpdCgxKTsKIAkgICAgfQotCSAgICBlbHNlIGlmKG5ieXRlc19hZGRlZCA9PSAwKSB7Ci0JCS8v cHJpbnRmKCJEQkc6IEZyYW1lIGlzIHRvbyBiaWcgZm9yIGJsb2NrXG4iKTsKLQkJaWZyYW1lKys7 ICAvLyBTa2lwIGZyYW1lCi0JICAgIH0KLQkgICAgZWxzZQotCQlpZnJhbWUrKzsKIAogCSAgICBp YmxvY2sgKz0gMTsKIAkgICAgY29udGludWU7CiAJfQogCWVsc2UgaWYobmJ5dGVzX2FkZGVkID09 IDApIHsKIAkgICAgLy9wcmludGYoIkRCRzogRnJhbWUgaXMgdG9vIGJpZyBmb3IgYmxvY2tcbiIp OwotCSAgICBidWNrZXRfaW5pdCgmYnVja2V0KTsKLQkgICAgaWZyYW1lKys7CisgICAgICAgICAg ICBidWNrZXRfaW5pdCgmYnVja2V0KTsKIAkgICAgY29udGludWU7CiAJfQotCWVsc2UgewotCSAg ICAvL3ByaW50ZigiREJHOiBBZGRlZCAlaSBieXRlc1xuIiwgbmJ5dGVzX2FkZGVkKTsKLQkgICAg aWZyYW1lKys7Ci0KLQl9CiAgICAgfQogCiAgICAgaWYoIChuYmxvY2tzICE9IE5VTEwpICYmIChu ZnJhbWVzICE9IE5VTEwpICYmIChkdXJhdGlvbiAhPSBOVUxMKSkK --=_gcmail5-- From glaubitz@physik.fu-berlin.de Sun Apr 10 09:58:03 2011 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q8pWz-0002DC-Sq>; Sun, 10 Apr 2011 09:58:02 +0200 Received: from mx.physik.fu-berlin.de ([160.45.64.218]) by relay1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1Q8pWz-0000vV-PB>; Sun, 10 Apr 2011 09:58:01 +0200 Received: from squeeze64.physik.fu-berlin.de ([160.45.66.239]) by mx.physik.fu-berlin.de with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Q8pWz-00076D-JY; Sun, 10 Apr 2011 09:58:01 +0200 Received: from glaubitz by squeeze64.physik.fu-berlin.de with local (Exim 4.72 #1 (Debian)) id 1Q8pWz-0007xI-IP; Sun, 10 Apr 2011 09:58:01 +0200 Date: Sun, 10 Apr 2011 09:58:01 +0200 From: Adrian Glaubitz To: manner.moe@gmx.de Message-ID: <20110410075801.GA30433@physik.fu-berlin.de> References: <73A483DB-D900-49D9-91A4-7B431DBBBA19@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <73A483DB-D900-49D9-91A4-7B431DBBBA19@gmx.de> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: Adrian Glaubitz X-Originating-IP: 160.45.64.218 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1302422281-00005A17-73E45677/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.209759, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Dschibuti.ZEDAT.-Berlin.DE X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED Cc: linux-minidisc@lists.fu-berlin.de Subject: Re: [linux-minidisc] First patch for write support on HiMD available X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2011 07:58:04 -0000 On Sat, Apr 09, 2011 at 07:35:39PM +0200, manner.moe@gmx.de wrote: > >I´m busy at the moment, i´ll send some more patches at the weekend. > > O.K., here are the patches. I have put them at the usual place [1]. I highly suggest that we apply Mårten's patch for the write support together with all your recent patches. Since these patch add new functionality while hopefully not breaking any existing code, it should be safe to apply them. The code can then mature upstream. I just fear that it starts getting to messy when have to deal with all the external patches =). It will also easier for other people to test the code and help finding the remaining issues. Adrian [1] http://users.physik.fu-berlin.de/~glaubitz/linux-minidisc/pending-patches/ From petter-earley@t-online.de Sun Apr 10 13:38:38 2011 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q8syT-0000Q0-DZ>; Sun, 10 Apr 2011 13:38:37 +0200 Received: from mailout05.t-online.de ([194.25.134.82]) by relay1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q8syT-0001nJ-AF>; Sun, 10 Apr 2011 13:38:37 +0200 Received: from fwd09.aul.t-online.de (fwd09.aul.t-online.de ) by mailout05.t-online.de with smtp id 1Q8syT-0003Fk-EM; Sun, 10 Apr 2011 13:38:37 +0200 Received: from [192.168.2.104] (r3aS-4Z1YhLV7buAQlEAezUHIyo3WU2vjGyobUet6CsBV2Z+MrdJpwg5nIjYnV5Zi4@[80.128.122.151]) by fwd09.t-online.de with esmtp id 1Q8syQ-03ajc80; Sun, 10 Apr 2011 13:38:34 +0200 From: Michael Earley Content-Type: multipart/alternative; boundary=Apple-Mail-14--141716382 Date: Sun, 10 Apr 2011 13:38:34 +0200 Message-Id: <371637DB-F4D1-4880-A9C2-AD81AC084760@t-online.de> To: linux-minidisc@lists.fu-berlin.de Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) X-ID: r3aS-4Z1YhLV7buAQlEAezUHIyo3WU2vjGyobUet6CsBV2Z+MrdJpwg5nIjYnV5Zi4 X-TOI-MSGID: 2c09cdcf-614a-4c0e-8b75-4ed35de93cdc X-Originating-IP: 194.25.134.82 X-ZEDAT-Hint: A X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1302435517-00005A17-8E94A905/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000869, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Dschibuti.ZEDAT.-Berlin.DE X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=HTML_60_70,HTML_MESSAGE Subject: [linux-minidisc] netmdpython X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2011 11:38:38 -0000 --Apple-Mail-14--141716382 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hello, I followed the steps in = https://wiki.physik.fu-berlin.de/linux-minidisc/doku.php?id=3Dnetmdpython = for MacOS Snow Leopard, but hit the following error=20 $ ./lsmd.py -h Traceback (most recent call last): File "./lsmd.py", line 3, in import libnetmd File "/Users/michael/linux-minidisc/netmd/libnetmd.py", line 5, in = from Crypto.Cipher import DES ImportError: No module named Crypto.Cipher Same error for the other python scripts. Is this a known problem, or = have I missed a step? Thanks, Michael= --Apple-Mail-14--141716382 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii https://wiki.physik.fu-berlin.de/linux-minidisc/doku.php?id=3Dnet= mdpython for MacOS Snow Leopard, but hit the following = error 
$ = ./lsmd.py -h

Traceback (most recent call = last):
  File "./lsmd.py", line 3, in = <module>
    import = libnetmd
  File = "/Users/michael/linux-minidisc/netmd/libnetmd.py", line 5, in = <module>
    from Crypto.Cipher import = DES
ImportError: No module named = Crypto.Cipher

Same error for the = other python scripts. Is this a known problem, or have I missed a = step?

Thanks, Michael
= --Apple-Mail-14--141716382-- From glaubitz@physik.fu-berlin.de Sun Apr 10 13:44:54 2011 Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q8t4W-0000bj-Vd>; Sun, 10 Apr 2011 13:44:53 +0200 Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1Q8t4W-0007Ao-TL>; Sun, 10 Apr 2011 13:44:52 +0200 Received: from z92e7.pia.fu-berlin.de ([87.77.146.231] helo=kri3-1x-dhcp348.studby.uio.no) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1Q8t4W-0000YN-Pc>; Sun, 10 Apr 2011 13:44:52 +0200 Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Adrian Glaubitz In-Reply-To: <371637DB-F4D1-4880-A9C2-AD81AC084760@t-online.de> Date: Sun, 10 Apr 2011 13:44:52 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <371637DB-F4D1-4880-A9C2-AD81AC084760@t-online.de> To: Michael Earley X-Mailer: Apple Mail (2.1084) X-Originating-IP: 87.77.146.231 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1302435892-00005A17-3E2016FD/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000345, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Gabun.ZEDAT.-Berlin.DE X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED Cc: linux-minidisc@lists.fu-berlin.de Subject: Re: [linux-minidisc] netmdpython X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2011 11:44:54 -0000 Hi Michael, On Apr 10, 2011, at 1:38 PM, Michael Earley wrote: >=20 > I followed the steps in = https://wiki.physik.fu-berlin.de/linux-minidisc/doku.php?id=3Dnetmdpython = for MacOS Snow Leopard, but hit the following error=20 >=20 I need to update these instructions, thanks for hinting me at that. > $ ./lsmd.py -h >=20 > Traceback (most recent call last): > File "./lsmd.py", line 3, in > import libnetmd > File "/Users/michael/linux-minidisc/netmd/libnetmd.py", line 5, in = > from Crypto.Cipher import DES > ImportError: No module named Crypto.Cipher >=20 > Same error for the other python scripts. Is this a known problem, or = have I missed a step? You will need to install the crypto packages for Python. Depending on = your version of Python, you will need to install a specific version. If you're using the stock = Python of MacOS X Snow Leopard, the Python version is 2.6 and you need to install = "py26-crypto": sudo port install py26-crypto Please let me know if this fixes your problem. Adrian= From glaubitz@physik.fu-berlin.de Sun Apr 10 15:34:18 2011 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q8umP-0003vV-KT>; Sun, 10 Apr 2011 15:34:17 +0200 Received: from mx.physik.fu-berlin.de ([160.45.64.218]) by relay1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q8umP-0007NI-IT>; Sun, 10 Apr 2011 15:34:17 +0200 Received: from squeeze64.physik.fu-berlin.de ([160.45.66.239]) by mx.physik.fu-berlin.de with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Q8umP-0008Nk-CG for linux-minidisc@lists.fu-berlin.de; Sun, 10 Apr 2011 15:34:17 +0200 Received: from glaubitz by squeeze64.physik.fu-berlin.de with local (Exim 4.72 #1 (Debian)) id 1Q8umP-0000LQ-BG for ; Sun, 10 Apr 2011 15:34:17 +0200 Resent-From: Adrian Glaubitz Resent-Date: Sun, 10 Apr 2011 15:34:17 +0200 Resent-Message-ID: <20110410133417.GA1324@physik.fu-berlin.de> Resent-To: linux-minidisc@lists.fu-berlin.de Received: from deliver1.zedat.fu-berlin.de ([130.133.4.79]) by mbox5.zedat.fu-berlin.de (Exim 4.69) for glaubitz@zedat.fu-berlin.de with esmtp (envelope-from ) id <1Q8ulI-0002Vi-FA>; Sun, 10 Apr 2011 15:33:08 +0200 Received: from dispatch2.zedat.fu-berlin.de ([130.133.4.71]) by deliver1.zedat.fu-berlin.de (Exim 4.69) for glaubitz@zedat.fu-berlin.de with esmtp (envelope-from ) id <1Q8ulH-0005kf-TQ>; Sun, 10 Apr 2011 15:33:07 +0200 Received: from dispatch1.zedat.fu-berlin.de ([130.133.4.70]) by dispatch2.zedat.fu-berlin.de (Exim 4.69) for glaubitz@zedat.fu-berlin.de with esmtp (envelope-from ) id <1Q8ulF-0002Ff-Vb>; Sun, 10 Apr 2011 15:33:05 +0200 Received: from inpost1.zedat.fu-berlin.de ([130.133.4.68]) by dispatch1.zedat.fu-berlin.de (Exim 4.69) for glaubitz@zedat.fu-berlin.de with esmtp (envelope-from ) id <1Q8ulD-0007hw-Ua>; Sun, 10 Apr 2011 15:33:04 +0200 Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]) by inpost1.zedat.fu-berlin.de (Exim 4.69) for glaubitz@zedat.fu-berlin.de with esmtp (envelope-from ) id <1Q8ulD-0000Qf-Sb>; Sun, 10 Apr 2011 15:33:03 +0200 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for glaubitz@zedat.fu-berlin.de with esmtp (envelope-from ) id <1Q8ulD-0004ct-QH>; Sun, 10 Apr 2011 15:33:03 +0200 Received: from mailout08.t-online.de ([194.25.134.20]) by relay1.zedat.fu-berlin.de (Exim 4.69) for glaubitz@physik.fu-berlin.de with esmtp (envelope-from ) id <1Q8ulD-0007I8-Na>; Sun, 10 Apr 2011 15:33:03 +0200 Received: from fwd05.aul.t-online.de (fwd05.aul.t-online.de ) by mailout08.t-online.de with smtp id 1Q8ulD-0001vY-C2; Sun, 10 Apr 2011 15:33:03 +0200 Received: from [192.168.2.104] (GiApyeZBYhuPbezv+Ky1g+-PR00oDwM70F-Jg1L0DrrrxKe5ecPg3kwwhmU5PMbZ82@[80.128.122.151]) by fwd05.t-online.de with esmtp id 1Q8ulB-1UHpfE0; Sun, 10 Apr 2011 15:33:01 +0200 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) From: Michael Earley In-Reply-To: Date: Sun, 10 Apr 2011 15:33:00 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <3E19D269-BD5F-461D-B4D3-B7592793D230@t-online.de> References: <371637DB-F4D1-4880-A9C2-AD81AC084760@t-online.de> To: Adrian Glaubitz X-Mailer: Apple Mail (2.1084) X-ID: GiApyeZBYhuPbezv+Ky1g+-PR00oDwM70F-Jg1L0DrrrxKe5ecPg3kwwhmU5PMbZ82 X-TOI-MSGID: badc1930-def3-4595-94c7-711d661ccdff X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1302442383-00005A17-CDC4A456/0-0/0-0 Resent-Sender: Adrian Glaubitz X-Originating-IP: 160.45.64.218 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1302442457-00005A17-D947ADB8/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000233, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Dschibuti.ZEDAT.-Berlin.DE X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none Subject: Re: [linux-minidisc] netmdpython X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2011 13:34:18 -0000 Hello Adrian, thanks for the speedy reply. I'm still getting the same error after sudo port install py26-crypto If I type python in the Terminal window, I get Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49)=20 [GCC 4.2.1 (Apple Inc. build 5646)] on darwin Is this correct? Regards, Michael Am 10.04.2011 um 13:44 schrieb Adrian Glaubitz: > Hi Michael, >=20 > On Apr 10, 2011, at 1:38 PM, Michael Earley wrote: >=20 >>=20 >> I followed the steps in = https://wiki.physik.fu-berlin.de/linux-minidisc/doku.php?id=3Dnetmdpython = for MacOS Snow Leopard, but hit the following error=20 >>=20 >=20 > I need to update these instructions, thanks for hinting me at that. >=20 >> $ ./lsmd.py -h >>=20 >> Traceback (most recent call last): >> File "./lsmd.py", line 3, in >> import libnetmd >> File "/Users/michael/linux-minidisc/netmd/libnetmd.py", line 5, in = >> from Crypto.Cipher import DES >> ImportError: No module named Crypto.Cipher >>=20 >> Same error for the other python scripts. Is this a known problem, or = have I missed a step? >=20 > You will need to install the crypto packages for Python. Depending on = your version of Python, > you will need to install a specific version. If you're using the stock = Python of MacOS X Snow > Leopard, the Python version is 2.6 and you need to install = "py26-crypto": >=20 > sudo port install py26-crypto >=20 > Please let me know if this fixes your problem. >=20 > Adrian From glaubitz@physik.fu-berlin.de Sun Apr 10 18:10:00 2011 Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q8xD5-0000Oo-F1>; Sun, 10 Apr 2011 18:09:59 +0200 Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1Q8xD5-0007NE-Cd>; Sun, 10 Apr 2011 18:09:59 +0200 Received: from z92e7.pia.fu-berlin.de ([87.77.146.231] helo=kri3-1x-dhcp348.studby.uio.no) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1Q8xD5-00054J-5H>; Sun, 10 Apr 2011 18:09:59 +0200 Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Adrian Glaubitz In-Reply-To: <3E19D269-BD5F-461D-B4D3-B7592793D230@t-online.de> Date: Sun, 10 Apr 2011 18:09:58 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <371637DB-F4D1-4880-A9C2-AD81AC084760@t-online.de> <3E19D269-BD5F-461D-B4D3-B7592793D230@t-online.de> To: Michael Earley X-Mailer: Apple Mail (2.1084) X-Originating-IP: 87.77.146.231 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1302451799-00005A17-A6BDA3F2/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.111375, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Gabun.ZEDAT.-Berlin.DE X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED Cc: linux-minidisc mailing list Subject: Re: [linux-minidisc] netmdpython X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2011 16:10:00 -0000 On Apr 10, 2011, at 3:33 PM, Michael Earley wrote: > thanks for the speedy reply. >=20 > I'm still getting the same error after sudo port install py26-crypto >=20 The problem is obviously, that your installed version of Python is not = looking for the installed extra packages at the correct location. Macports = installs all it's packages under /opt/local, including the packages for Python while = the default version of Python of MacOS looks for the packages under: /Library/Python/2.6/site-packages I'm currently not sure how to properly fix that on MacOS X, but you can use the Python version from MacPorts in the meantime by calling the script with /opt/local/bin/python2.6: /opt/local/bin/python2.6 ~/linux-minidisc/netmd/lsmd.py -hUsage: = lsmd.py [options] Options: -h, --help show this help message and exit -b BUS, --bus=3DBUS =20 -d DEVICE, --device=3DDEVICE -u, --uuids I just tested that on Snow Leopard and it works fine. Just haven't found = out yet how to fix it permanently, but I will investigate into that. > If I type python in the Terminal window, I get >=20 > Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49)=20 > [GCC 4.2.1 (Apple Inc. build 5646)] on darwin Yes. The version is correct. Adrian= From linux-minidisc@lists.fu-berlin.de Sun Apr 10 18:25:21 2011 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q8xRw-0000tm-Hb>; Sun, 10 Apr 2011 18:25:20 +0200 Received: from mail-forward1.uio.no ([129.240.10.70]) by relay1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q8xRw-0008O6-CK>; Sun, 10 Apr 2011 18:25:20 +0200 Received: from exim by mail-out1.uio.no with local-bsmtp (Exim 4.75) (envelope-from ) id 1Q8xRv-0006l3-OF for linux-minidisc@lists.fu-berlin.de; Sun, 10 Apr 2011 18:25:19 +0200 Received: from mail-mx1.uio.no ([129.240.10.29]) by mail-out1.uio.no with esmtp (Exim 4.75) (envelope-from ) id 1Q8xRv-0006l0-Kh for linux-minidisc@lists.fu-berlin.de; Sun, 10 Apr 2011 18:25:19 +0200 Received: from div-8021x-dhcp077.uio.no ([193.157.176.86] helo=sulphur) by mail-mx1.uio.no with esmtps (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Q8xRv-0004RV-3P for linux-minidisc@lists.fu-berlin.de; Sun, 10 Apr 2011 18:25:19 +0200 Received: from mkarcher by sulphur with local (Exim 4.72) (envelope-from ) id 1Q8xRu-0002mY-MK for linux-minidisc@lists.fu-berlin.de; Sun, 10 Apr 2011 18:25:18 +0200 Date: Sun, 10 Apr 2011 18:25:18 +0200 Message-Id: To: linux-minidisc@lists.fu-berlin.de Content-Type: text/plain; charset=utf-8 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 3b8b4a2babcfc463a843af12247ddfbe3c79d3c1 X-Git-Newrev: 763a17ae4f0bf9f51c3668744fcb62a49bb74ec2 From: Michael Karcher X-UiO-Spam-info: not spam, SpamAssassin (score=0.0, required=5.0, autolearn=disabled, FSL_HELO_NON_FQDN_1=0.001, HELO_NO_DOMAIN=0.001, uiobl=NO, uiouri=NO) X-UiO-Scanned: 28D0EAF51FD6D3F638D1EDFBC804E5C004018231 X-UiO-SPAM-Test: remote_host: 193.157.176.86 spam_score: 0 maxlevel 80 minaction 2 bait 0 mail/h: 1 total 51 max/h 3 blacklist 0 greylist 0 ratelimit 0 X-Originating-IP: 129.240.10.70 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1302452720-00005A17-37E4B2C7/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Botsuana.ZEDAT.-Berlin.DE X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none Subject: [linux-minidisc] [commit] Linux utilities to deal with Sony Minidisc Walkman branch, master, updated. 0.1.0-9-g763a17a X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2011 16:25:21 -0000 This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Linux utilities to deal with Sony Minidisc Walkman". The branch, master has been updated via 763a17ae4f0bf9f51c3668744fcb62a49bb74ec2 (commit) via 018f7fe99f60d94cf98285a935e394e5e8948ab8 (commit) via 8618e15817f1a59e0a95d464a3ea883d2420d940 (commit) via 37dbbfaccd6cd89c0d022ed872d19b947a7f7ac4 (commit) via 79799aadecc250d87e68ae1d07f688d7febd447e (commit) via 646b5c316e9efe794cad9bdd15f5ab9b78f160b4 (commit) via 4cc386e0fea98fdcb5c379eec45186ef1b8bbad9 (commit) via 5a5c5515f2a938d7589232fa470f98dfe959a7ad (commit) from 3b8b4a2babcfc463a843af12247ddfbe3c79d3c1 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 763a17ae4f0bf9f51c3668744fcb62a49bb74ec2 Author: Michael Karcher Date: Sun Apr 10 17:59:34 2011 +0200 Fix string handling - Use the linked free list instead of assuming a sufficient number of consecutive string slots to be free - Handle out-of-string space more gracefully - Remove misleading comments in get_songinfo This patch is partly using ideas and code from a proposed by by Thomas Arp. commit 018f7fe99f60d94cf98285a935e394e5e8948ab8 Author: Michael Karcher Date: Sun Apr 10 13:08:00 2011 +0200 Open files read/write only as needed. Opening with "rb+" all the time will break if the Hi-MD disk is mounted without write permission for the user. Reading the medium should still work in that case. commit 8618e15817f1a59e0a95d464a3ea883d2420d940 Author: Thomas Arp Date: Sun Apr 10 13:03:00 2011 +0200 Handle undefined time for DOS time stamps commit 37dbbfaccd6cd89c0d022ed872d19b947a7f7ac4 Author: Thomas Arp Date: Sun Apr 10 13:01:56 2011 +0200 Set number of frames correctly commit 79799aadecc250d87e68ae1d07f688d7febd447e Author: Thomas Arp Date: Sun Apr 10 12:58:41 2011 +0200 Use zero fragment key for MP3 commit 646b5c316e9efe794cad9bdd15f5ab9b78f160b4 Author: Thomas Arp Date: Sun Apr 10 12:56:56 2011 +0200 Add track in play order table and write complete track info commit 4cc386e0fea98fdcb5c379eec45186ef1b8bbad9 Author: Thomas Arp Date: Sun Apr 10 12:55:44 2011 +0200 Write complete audio block data commit 5a5c5515f2a938d7589232fa470f98dfe959a7ad Author: MÃ¥rten Cassel Date: Thu Mar 10 00:43:46 2011 +0100 Enable transferring MP3 files to HiMD media using himddump writemp3 command. What doesnt work: ID3 files will not be included. ----------------------------------------------------------------------- Summary of changes: himddump/himddump.c | 447 +++++++++++++++++++++++++++++++++++++++++++++++- himddump/himddump.pro | 2 +- libhimd/himd.c | 117 ++++++++++++- libhimd/himd.h | 56 ++++++- libhimd/himd_private.h | 15 ++ libhimd/mdstream.c | 93 ++++++++++- libhimd/trackindex.c | 242 ++++++++++++++++++++++++++ 7 files changed, 964 insertions(+), 8 deletions(-) hooks/post-receive -- Linux utilities to deal with Sony Minidisc Walkman From Michael.Karcher@fu-berlin.de Sun Apr 10 18:33:51 2011 Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q8xaA-0001CY-Sj>; Sun, 10 Apr 2011 18:33:51 +0200 Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q8xaA-00018D-Qt>; Sun, 10 Apr 2011 18:33:50 +0200 Received: from i577b7f52.versanet.de ([87.123.127.82] helo=[192.168.0.125]) by inpost2.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtpsa (envelope-from ) id <1Q8xaA-0006FU-MK>; Sun, 10 Apr 2011 18:33:50 +0200 From: Michael Karcher To: Michael Karcher In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Sun, 10 Apr 2011 18:34:03 +0200 Message-ID: <1302453243.4010.17.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 Content-Transfer-Encoding: 8bit X-Originating-IP: 87.123.127.82 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1302453230-00005A17-DDA0A2DC/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Algerien.ZEDAT.-Berlin.DE X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED Subject: Re: [linux-minidisc] [commit] Linux utilities to deal with Sony Minidisc Walkman branch, master, updated. 0.1.0-9-g763a17a X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2011 16:33:51 -0000 Am Sonntag, den 10.04.2011, 18:25 +0200 schrieb Michael Karcher: > commit 5a5c5515f2a938d7589232fa470f98dfe959a7ad > Author: MÃ¥rten Cassel > Date: Thu Mar 10 00:43:46 2011 +0100 > > Enable transferring MP3 files to HiMD media using himddump writemp3 command. > > What doesnt work: ID3 files will not be included. This really is what it sounds like! Soon we will be able to add MP3 files to a Hi-MD medium. The current code still has various issues, and while we really appreciate feedback, we strongly advise against using the code to write on Hi-MD media with important contents. In the worst case, it could destroy the logic structure of the audio of your medium and make all music unplayable. So: Please only use it on toy media, where a loss of data doesn't hurt your. And also: Please reformat/initialize/delete-all (or however you like to call it) the medium after testing the upload MP3 code before using it for anything else. Regards, Michael Karcher From linux-minidisc@lists.fu-berlin.de Sun Apr 10 22:45:37 2011 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q91Vo-0000Xg-BG>; Sun, 10 Apr 2011 22:45:36 +0200 Received: from mail-forward2.uio.no ([129.240.10.71]) by relay1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q91Vo-00047C-6O>; Sun, 10 Apr 2011 22:45:36 +0200 Received: from exim by mail-out2.uio.no with local-bsmtp (Exim 4.74) (envelope-from ) id 1Q91Vn-000261-OA for linux-minidisc@lists.fu-berlin.de; Sun, 10 Apr 2011 22:45:35 +0200 Received: from mail-mx1.uio.no ([129.240.10.29]) by mail-out2.uio.no with esmtp (Exim 4.74) (envelope-from ) id 1Q91Vn-00025y-Ke for linux-minidisc@lists.fu-berlin.de; Sun, 10 Apr 2011 22:45:35 +0200 Received: from div-8021x-dhcp077.uio.no ([193.157.176.86] helo=sulphur) by mail-mx1.uio.no with esmtps (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Q91Vn-0000o4-8S for linux-minidisc@lists.fu-berlin.de; Sun, 10 Apr 2011 22:45:35 +0200 Received: from glaubitz by sulphur with local (Exim 4.72) (envelope-from ) id 1Q91Vn-0002rv-2B for linux-minidisc@lists.fu-berlin.de; Sun, 10 Apr 2011 22:45:35 +0200 Date: Sun, 10 Apr 2011 22:45:35 +0200 Message-Id: To: linux-minidisc@lists.fu-berlin.de Content-Type: text/plain; charset=utf-8 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 763a17ae4f0bf9f51c3668744fcb62a49bb74ec2 X-Git-Newrev: 47527ddf2b988f72387fcbefc549bf422d32edc3 From: Adrian Glaubitz X-UiO-Spam-info: not spam, SpamAssassin (score=0.0, required=5.0, autolearn=disabled, FSL_HELO_NON_FQDN_1=0.001, HELO_NO_DOMAIN=0.001, uiobl=NO, uiouri=NO) X-UiO-Scanned: A68B50E0E1C2A6A9801CEB118CB0D5AE7DCC86E1 X-UiO-SPAM-Test: remote_host: 193.157.176.86 spam_score: 0 maxlevel 80 minaction 2 bait 0 mail/h: 1 total 52 max/h 3 blacklist 0 greylist 0 ratelimit 0 X-Originating-IP: 129.240.10.71 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1302468336-00005A17-2ACA4C59/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Botsuana.ZEDAT.-Berlin.DE X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none Subject: [linux-minidisc] [commit] Linux utilities to deal with Sony Minidisc Walkman branch, master, updated. 0.1.0-10-g47527dd X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2011 20:45:37 -0000 This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Linux utilities to deal with Sony Minidisc Walkman". The branch, master has been updated via 47527ddf2b988f72387fcbefc549bf422d32edc3 (commit) from 763a17ae4f0bf9f51c3668744fcb62a49bb74ec2 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 47527ddf2b988f72387fcbefc549bf422d32edc3 Author: Adrian Glaubitz Date: Sun Apr 10 22:44:25 2011 +0200 Fix himd_add_string to take string length as an argument. ----------------------------------------------------------------------- Summary of changes: libhimd/himd.h | 2 +- libhimd/trackindex.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) hooks/post-receive -- Linux utilities to deal with Sony Minidisc Walkman From linux-minidisc@lists.fu-berlin.de Sun Apr 10 22:52:31 2011 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q91cU-0000ks-Tz>; Sun, 10 Apr 2011 22:52:31 +0200 Received: from mail-forward2.uio.no ([129.240.10.71]) by relay1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q91cU-0004ck-PL>; Sun, 10 Apr 2011 22:52:30 +0200 Received: from exim by mail-out2.uio.no with local-bsmtp (Exim 4.74) (envelope-from ) id 1Q91cU-0003sV-Gu for linux-minidisc@lists.fu-berlin.de; Sun, 10 Apr 2011 22:52:30 +0200 Received: from mail-mx4.uio.no ([129.240.10.45]) by mail-out2.uio.no with esmtp (Exim 4.74) (envelope-from ) id 1Q91cU-0003sS-G9 for linux-minidisc@lists.fu-berlin.de; Sun, 10 Apr 2011 22:52:30 +0200 Received: from div-8021x-dhcp077.uio.no ([193.157.176.86] helo=sulphur) by mail-mx4.uio.no with esmtps (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Q91cU-0006nq-47 for linux-minidisc@lists.fu-berlin.de; Sun, 10 Apr 2011 22:52:30 +0200 Received: from glaubitz by sulphur with local (Exim 4.72) (envelope-from ) id 1Q91cT-0002ss-Ua for linux-minidisc@lists.fu-berlin.de; Sun, 10 Apr 2011 22:52:30 +0200 Date: Sun, 10 Apr 2011 22:52:29 +0200 Message-Id: To: linux-minidisc@lists.fu-berlin.de Content-Type: text/plain; charset=utf-8 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 47527ddf2b988f72387fcbefc549bf422d32edc3 X-Git-Newrev: e6b41d79715c5584d836aaf35aad2ef80fd89ebe From: Adrian Glaubitz X-UiO-Spam-info: not spam, SpamAssassin (score=0.0, required=5.0, autolearn=disabled, FSL_HELO_NON_FQDN_1=0.001, HELO_NO_DOMAIN=0.001, uiobl=NO, uiouri=NO) X-UiO-Scanned: 732CD647CDB5D5783191D796B5B0926A8E95E717 X-UiO-SPAM-Test: remote_host: 193.157.176.86 spam_score: 0 maxlevel 80 minaction 2 bait 0 mail/h: 2 total 53 max/h 3 blacklist 0 greylist 0 ratelimit 0 X-Originating-IP: 129.240.10.71 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1302468750-00005A17-01542671/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Gabun.ZEDAT.-Berlin.DE X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none Subject: [linux-minidisc] [commit] Linux utilities to deal with Sony Minidisc Walkman branch, master, updated. 0.1.0-11-ge6b41d7 X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2011 20:52:31 -0000 This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Linux utilities to deal with Sony Minidisc Walkman". The branch, master has been updated via e6b41d79715c5584d836aaf35aad2ef80fd89ebe (commit) from 47527ddf2b988f72387fcbefc549bf422d32edc3 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit e6b41d79715c5584d836aaf35aad2ef80fd89ebe Author: Adrian Glaubitz Date: Sun Apr 10 22:51:51 2011 +0200 Minor code cleanup. Fix spelling, remove some trailing spaces. ----------------------------------------------------------------------- Summary of changes: himddump/himddump.c | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) hooks/post-receive -- Linux utilities to deal with Sony Minidisc Walkman From manner.moe@gmx.de Sun Apr 10 23:27:46 2011 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q92Ab-0001nx-1W>; Sun, 10 Apr 2011 23:27:45 +0200 Received: from mailout-de.gmx.net ([213.165.64.22]) by relay1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with smtp (envelope-from ) id <1Q92Aa-0007Kf-Ug>; Sun, 10 Apr 2011 23:27:45 +0200 Received: (qmail invoked by alias); 10 Apr 2011 21:27:44 -0000 Received: from dslc-082-082-130-013.pools.arcor-ip.net (EHLO MyHost) [82.82.130.13] by mail.gmx.net (mp060) with SMTP; 10 Apr 2011 23:27:44 +0200 X-Authenticated: #17747474 X-Provags-ID: V01U2FsdGVkX19O4HpO7xpOoLfGSJPv5VQgjjfwzGGyTvu4Vw6bzl uw9UP5sBhOHWIE Date: Sun, 10 Apr 2011 23:27:40 +0200 Message-ID: X-GeMail-Ref: From: manner.moe@gmx.de To: "Michael Karcher" Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit MIME-Version: 1.0 X-Mailer: GcMail 5.2.3.0(RG6) http://www.gcmail.de X-Y-GMX-Trusted: 0 X-Originating-IP: 213.165.64.22 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1302470865-00005A17-624657DC/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Burundi.ZEDAT.-Berlin.DE X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=NO_REAL_NAME,SPF_HELO_PASS, SPF_PASS Subject: Re: [linux-minidisc] [commit] Linux utilities to deal with Sony Minidisc Walkman branch, master, updated. 0.1.0-9-g763a17a X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.11 Precedence: list Reply-To: manner.moe@gmx.de List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2011 21:27:46 -0000 >Betreff : [linux-minidisc] [commit] Linux utilities to deal with Sony Minidisc Walkman branch, master, updated. 0.1.0-9-g763a17a >Gesendet: 10.04.2011 18:25:18 >An : "linux-minidisc@lists.fu-berlin.de" >Von: "Michael Karcher " >----- Originale Nachricht ----- >This is an automated email from the git hooks/post-receive script. It was >generated because a ref change was pushed to the repository containing >the project "Linux utilities to deal with Sony Minidisc Walkman". >The branch, master has been updated > via 763a17ae4f0bf9f51c3668744fcb62a49bb74ec2 (commit) >Those revisions listed above that are new to this repository have >not appeared on any other notification email; so we list those >revisions in full, below. >- Log ----------------------------------------------------------------- >commit 763a17ae4f0bf9f51c3668744fcb62a49bb74ec2 >Author: Michael Karcher >Date: Sun Apr 10 17:59:34 2011 +0200 > Fix string handling > > - Use the linked free list instead of assuming a sufficient number of > consecutive string slots to be free > > - Handle out-of-string space more gracefully > > - Remove misleading comments in get_songinfo > > This patch is partly using ideas and code from a proposed by by Thomas Arp. Hello Michael, gconvert has following syntax: gchar * g_convert (const gchar *str, gssize len, const gchar *to_codeset, const gchar *from_codeset, gsize *bytes_read, gsize *bytes_written, GError **error); "to_codeset" and "from_codeset" have to be changed. I think your patch tries to convert utf8 into a valid himd encoding format. My previous patch uses "length = strlen(string)" inside himd_add_string() and doesn´t need the string length as an argument of himd_add_string(). Your current patch uses "gsize length" uninitialized. Compilation fails with error "too many arguments to function "himd_add_string". If I understand your patch correctly your patch depends on strings encoded in utf8. This is true for strings taken from get_songinfo() in himddump.c which reads the strings from the id3 tag and converts them to utf8 automatically. But for future use (titling etc.) we should leave himd_add_string() encoding independent, so strings taken from user input shouldn´t be converted if the user computers current encoding is a valid encoding format for the himd medium. For example, if the user computers encoding is SHIFT_JIS we shouldn´t convert it to utf8 and the try to reconvert it to make himd_add_string work. Regards Thomas From manner.moe@gmx.de Sun Apr 10 23:35:40 2011 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q92IF-00024z-O6>; Sun, 10 Apr 2011 23:35:39 +0200 Received: from mailout-de.gmx.net ([213.165.64.22]) by relay1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with smtp (envelope-from ) id <1Q92IF-0007vs-KX>; Sun, 10 Apr 2011 23:35:39 +0200 Received: (qmail invoked by alias); 10 Apr 2011 21:35:39 -0000 Received: from dslc-082-082-130-013.pools.arcor-ip.net (EHLO MyHost) [82.82.130.13] by mail.gmx.net (mp044) with SMTP; 10 Apr 2011 23:35:39 +0200 X-Authenticated: #17747474 X-Provags-ID: V01U2FsdGVkX1+btbl9xj6bCea5KThGpIBRr1sEbWydWaQQuU1gj6 lrVmjXKishgN+r Date: Sun, 10 Apr 2011 23:35:35 +0200 Message-ID: <6CA8EAAB-42A1-4AF9-9992-A115C0D98A57@gmx.de> X-GeMail-Ref: From: manner.moe@gmx.de To: linux-minidisc@lists.fu-berlin.de Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit MIME-Version: 1.0 X-Mailer: GcMail 5.2.3.0(RG6) http://www.gcmail.de X-Y-GMX-Trusted: 0 X-Originating-IP: 213.165.64.22 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1302471339-00005A17-835020BD/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Gabun.ZEDAT.-Berlin.DE X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=NO_REAL_NAME,SPF_HELO_PASS, SPF_PASS Subject: [linux-minidisc] Fw: [commit] Linux utilities to deal with Sony Minidisc Walkman branch, master, updated. 0.1.0-9-g763a17a X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.11 Precedence: list Reply-To: manner.moe@gmx.de List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2011 21:35:40 -0000 Betreff : Re: [linux-minidisc] [commit] Linux utilities to deal with Sony Minidisc Walkman branch, master, updated. 0.1.0-9-g763a17a Gesendet: 10.04.2011 23:27:40 An : "Michael Karcher " Von: "manner.moe@gmx.de" ----- Originale Nachricht ----- >Betreff : [linux-minidisc] [commit] Linux utilities to deal with Sony Minidisc Walkman branch, master, updated. 0.1.0-9-g763a17a >Gesendet: 10.04.2011 18:25:18 >An : "linux-minidisc@lists.fu-berlin.de" >Von: "Michael Karcher " >----- Originale Nachricht ----- >This is an automated email from the git hooks/post-receive script. It was >generated because a ref change was pushed to the repository containing >the project "Linux utilities to deal with Sony Minidisc Walkman". >The branch, master has been updated > via 763a17ae4f0bf9f51c3668744fcb62a49bb74ec2 (commit) >Those revisions listed above that are new to this repository have >not appeared on any other notification email; so we list those >revisions in full, below. >- Log ----------------------------------------------------------------- >commit 763a17ae4f0bf9f51c3668744fcb62a49bb74ec2 >Author: Michael Karcher >Date: Sun Apr 10 17:59:34 2011 +0200 > Fix string handling > > - Use the linked free list instead of assuming a sufficient number of > consecutive string slots to be free > > - Handle out-of-string space more gracefully > > - Remove misleading comments in get_songinfo > > This patch is partly using ideas and code from a proposed by by Thomas Arp. Hello Michael, gconvert has following syntax: gchar * g_convert (const gchar *str, gssize len, const gchar *to_codeset, const gchar *from_codeset, gsize *bytes_read, gsize *bytes_written, GError **error); "to_codeset" and "from_codeset" have to be changed. I think your patch tries to convert utf8 into a valid himd encoding format. If I understand your patch correctly your patch depends on strings encoded in utf8. This is true for strings taken from get_songinfo() in himddump.c which reads the strings from the id3 tag and converts them to utf8 automatically. But for future use (titling etc.) we should leave himd_add_string() encoding independent, so strings taken from user input shouldn´t be converted if the user computers current encoding is a valid encoding format for the himd medium. For example, if the user computers encoding is SHIFT_JIS we shouldn´t convert it to utf8 and the try to reconvert it to make himd_add_string work. Regards Thomas P.S.: Also himd recorders and SonicStage keeps unused string slots for unnamed tracks. I think we should use this mechanims too to avoid incompatibilities. From linux-minidisc@lists.fu-berlin.de Mon Apr 11 00:08:25 2011 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q92nw-00034n-Ga>; Mon, 11 Apr 2011 00:08:24 +0200 Received: from mail-forward2.uio.no ([129.240.10.71]) by relay1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q92nw-0001hC-Bk>; Mon, 11 Apr 2011 00:08:24 +0200 Received: from exim by mail-out2.uio.no with local-bsmtp (Exim 4.74) (envelope-from ) id 1Q92nv-0006tt-MH for linux-minidisc@lists.fu-berlin.de; Mon, 11 Apr 2011 00:08:23 +0200 Received: from mail-mx2.uio.no ([129.240.10.30]) by mail-out2.uio.no with esmtp (Exim 4.74) (envelope-from ) id 1Q92nv-0006tq-Ij for linux-minidisc@lists.fu-berlin.de; Mon, 11 Apr 2011 00:08:23 +0200 Received: from div-8021x-dhcp077.uio.no ([193.157.176.86] helo=sulphur) by mail-mx2.uio.no with esmtps (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Q92nv-0005bY-5C for linux-minidisc@lists.fu-berlin.de; Mon, 11 Apr 2011 00:08:23 +0200 Received: from mkarcher by sulphur with local (Exim 4.72) (envelope-from ) id 1Q92nu-00040U-VG for linux-minidisc@lists.fu-berlin.de; Mon, 11 Apr 2011 00:08:23 +0200 Date: Mon, 11 Apr 2011 00:08:22 +0200 Message-Id: To: linux-minidisc@lists.fu-berlin.de Content-Type: text/plain; charset=utf-8 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: e6b41d79715c5584d836aaf35aad2ef80fd89ebe X-Git-Newrev: fea88276c5452402cce6698c1150726a1ae9b7bc From: Michael Karcher X-UiO-Spam-info: not spam, SpamAssassin (score=0.0, required=5.0, autolearn=disabled, FSL_HELO_NON_FQDN_1=0.001, HELO_NO_DOMAIN=0.001, uiobl=NO, uiouri=NO) X-UiO-Scanned: 7C02E5908D6CB3B0602D15F3E9F3146B482B81D7 X-UiO-SPAM-Test: remote_host: 193.157.176.86 spam_score: 0 maxlevel 80 minaction 2 bait 0 mail/h: 1 total 54 max/h 3 blacklist 0 greylist 0 ratelimit 0 X-Originating-IP: 129.240.10.71 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1302473304-00005A17-F59D4286/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Botsuana.ZEDAT.-Berlin.DE X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none Subject: [linux-minidisc] [commit] Linux utilities to deal with Sony Minidisc Walkman branch, master, updated. 0.1.0-13-gfea8827 X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2011 22:08:25 -0000 This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Linux utilities to deal with Sony Minidisc Walkman". The branch, master has been updated via fea88276c5452402cce6698c1150726a1ae9b7bc (commit) via 9ac70240f7d4410d591649d25c17e15ad148b42f (commit) from e6b41d79715c5584d836aaf35aad2ef80fd89ebe (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit fea88276c5452402cce6698c1150726a1ae9b7bc Author: Michael Karcher Date: Sun Apr 10 23:55:24 2011 +0200 Fix order of parameters for g_convert Thanks to Thomas Arp for pointing out my mistake. commit 9ac70240f7d4410d591649d25c17e15ad148b42f Author: Michael Karcher Date: Sun Apr 10 23:49:01 2011 +0200 Revert "Fix himd_add_string to take...", correct fix. This reverts commit 47527ddf2b988f72387fcbefc549bf422d32edc3. This commit "fixed" the wrong half of my broken fix string handling commit. This commit also includes the right fix, too. ----------------------------------------------------------------------- Summary of changes: himddump/himddump.c | 6 +++--- libhimd/himd.h | 2 +- libhimd/trackindex.c | 9 +++++---- 3 files changed, 9 insertions(+), 8 deletions(-) hooks/post-receive -- Linux utilities to deal with Sony Minidisc Walkman From Michael.Karcher@fu-berlin.de Mon Apr 11 00:09:33 2011 Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q92p2-00037W-SR>; Mon, 11 Apr 2011 00:09:32 +0200 Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1Q92p2-0001B3-QO>; Mon, 11 Apr 2011 00:09:32 +0200 Received: from i577b6678.versanet.de ([87.123.102.120] helo=[192.168.0.125]) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1Q92p2-0006F2-L9>; Mon, 11 Apr 2011 00:09:32 +0200 From: Michael Karcher To: manner.moe@gmx.de In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Mon, 11 Apr 2011 00:09:50 +0200 Message-ID: <1302473390.4010.36.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 Content-Transfer-Encoding: 8bit X-Originating-IP: 87.123.102.120 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1302473372-00005A17-5A24701D/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000880, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Benin.ZEDAT.-Berlin.DE X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED Cc: linux-minidisc@lists.fu-berlin.de Subject: Re: [linux-minidisc] [commit] Linux utilities to deal with Sony Minidisc Walkman branch, master, updated. 0.1.0-9-g763a17a X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2011 22:09:33 -0000 Am Sonntag, den 10.04.2011, 23:27 +0200 schrieb manner.moe@gmx.de: > gconvert has following syntax: > gchar * g_convert (const gchar *str, gssize len, const gchar *to_codeset, > const gchar *from_codeset, gsize *bytes_read, gsize *bytes_written, GError > **error); > "to_codeset" and "from_codeset" have to be changed. > I think your patch tries to convert utf8 into a valid himd encoding format. You are right. That function has a confusing parameter order. > My previous patch uses "length = strlen(string)" inside himd_add_string() and > doesn´t need the string length as an argument of himd_add_string(). Right. > Your current patch uses "gsize length" uninitialized. Wrong. It's initialized by g_convert. And you *can* not achieve what you want using strlen. You need the length of the converted string in bytes. The converted string might be in UTF-16, and strlen can not work on UTF-16 strings. > Compilation fails with error "too many arguments to function "himd_add_string". Right. I forgot to add the patches to himddump.c > If I understand your patch correctly your patch depends on strings encoded in > utf8. Yes. This is intended, because the user of libhimd should not need to care about what encodings are understood by the Hi-MD format. As we can store UTF-16 on Hi-MD, all unicode characters can be represented (which does not mean the Hi-MD Walkman necessarily can display them). Also UTF-8 can represent all unicode characters, and UTF-8 is the more common character set in the Linux community. > This is true for strings taken from get_songinfo() in himddump.c which > reads the strings from the id3 tag and converts them to utf8 automatically. Right. > For example, if the user computers encoding is SHIFT_JIS we shouldn´t convert > it to utf8 and the try to reconvert it to make himd_add_string work. Why that? In the general case, the users encoding might be something completely different, like big5 (a chinese character set), Latin-5 (ISO-8859-9, a turkish character set) or Codepage 1251 (the default cyrillic character set on Windows). Passing data in an arbitrary character set does not seem to make sense to me. Also note that with Windows NT and later, the preferred character set is Unicode (the wide character functions all use UTF-16LE), the internal characterset of Qt is Unicode (using UTF-16 with native endianness), and the default character set of Gtk is also unicode (represented as UTF-8). So if you get the string from a GUI, you most likely can get it as unicode. The conversion unicode->shift_jis and shift_jis->unicode (especially if performed by glib in both directions) should be completely reversible and thus do no harm. Regards, Michael Karcher From linux-minidisc@lists.fu-berlin.de Mon Apr 11 00:18:39 2011 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q92xq-0003OS-Iw>; Mon, 11 Apr 2011 00:18:38 +0200 Received: from mail-forward1.uio.no ([129.240.10.70]) by relay1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q92xq-0002Nj-E8>; Mon, 11 Apr 2011 00:18:38 +0200 Received: from exim by mail-out1.uio.no with local-bsmtp (Exim 4.75) (envelope-from ) id 1Q92xq-0001T9-1c for linux-minidisc@lists.fu-berlin.de; Mon, 11 Apr 2011 00:18:38 +0200 Received: from mail-mx2.uio.no ([129.240.10.30]) by mail-out1.uio.no with esmtp (Exim 4.75) (envelope-from ) id 1Q92xq-0001T6-0q for linux-minidisc@lists.fu-berlin.de; Mon, 11 Apr 2011 00:18:38 +0200 Received: from div-8021x-dhcp077.uio.no ([193.157.176.86] helo=sulphur) by mail-mx2.uio.no with esmtps (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Q92xp-00085h-LL for linux-minidisc@lists.fu-berlin.de; Mon, 11 Apr 2011 00:18:37 +0200 Received: from mkarcher by sulphur with local (Exim 4.72) (envelope-from ) id 1Q92xp-00041f-F8 for linux-minidisc@lists.fu-berlin.de; Mon, 11 Apr 2011 00:18:37 +0200 Date: Mon, 11 Apr 2011 00:18:37 +0200 Message-Id: To: linux-minidisc@lists.fu-berlin.de Content-Type: text/plain; charset=utf-8 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: fea88276c5452402cce6698c1150726a1ae9b7bc X-Git-Newrev: ef9b3faf724e1826964030e6e9f327d916681e87 From: Michael Karcher X-UiO-Spam-info: not spam, SpamAssassin (score=0.0, required=5.0, autolearn=disabled, FSL_HELO_NON_FQDN_1=0.001, HELO_NO_DOMAIN=0.001, uiobl=NO, uiouri=NO) X-UiO-Scanned: 434BF884786D8093EC0CA97DABD41A26E7776DF2 X-UiO-SPAM-Test: remote_host: 193.157.176.86 spam_score: 0 maxlevel 80 minaction 2 bait 0 mail/h: 2 total 55 max/h 3 blacklist 0 greylist 0 ratelimit 0 X-Originating-IP: 129.240.10.70 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1302473918-00005A17-F37D32F8/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Dschibuti.ZEDAT.-Berlin.DE X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none Subject: [linux-minidisc] [commit] Linux utilities to deal with Sony Minidisc Walkman branch, master, updated. 0.1.0-14-gef9b3fa X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2011 22:18:39 -0000 This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Linux utilities to deal with Sony Minidisc Walkman". The branch, master has been updated via ef9b3faf724e1826964030e6e9f327d916681e87 (commit) from fea88276c5452402cce6698c1150726a1ae9b7bc (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit ef9b3faf724e1826964030e6e9f327d916681e87 Author: Michael Karcher Date: Mon Apr 11 00:18:34 2011 +0200 Remove debugging cruft (mostly comments) ----------------------------------------------------------------------- Summary of changes: himddump/himddump.c | 69 --------------------------------------------------- 1 files changed, 0 insertions(+), 69 deletions(-) hooks/post-receive -- Linux utilities to deal with Sony Minidisc Walkman From Michael.Karcher@fu-berlin.de Mon Apr 11 00:39:42 2011 Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q93ID-00046G-7c>; Mon, 11 Apr 2011 00:39:41 +0200 Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1Q93ID-0003g4-5J>; Mon, 11 Apr 2011 00:39:41 +0200 Received: from i577b6678.versanet.de ([87.123.102.120] helo=[192.168.0.125]) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1Q93ID-0007ac-0F>; Mon, 11 Apr 2011 00:39:41 +0200 From: Michael Karcher To: manner.moe@gmx.de In-Reply-To: <6CA8EAAB-42A1-4AF9-9992-A115C0D98A57@gmx.de> References: <6CA8EAAB-42A1-4AF9-9992-A115C0D98A57@gmx.de> Content-Type: text/plain; charset="UTF-8" Date: Mon, 11 Apr 2011 00:39:57 +0200 Message-ID: <1302475197.13870.14.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 Content-Transfer-Encoding: 7bit X-Originating-IP: 87.123.102.120 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1302475181-00005A17-A1D3BE28/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000003, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Benin.ZEDAT.-Berlin.DE X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED Cc: linux-minidisc@lists.fu-berlin.de Subject: Re: [linux-minidisc] Fw: [commit] Linux utilities to deal with Sony Minidisc Walkman branch, master, updated. 0.1.0-9-g763a17a X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2011 22:39:42 -0000 Am Sonntag, den 10.04.2011, 23:35 +0200 schrieb manner.moe@gmx.de: > P.S.: Also himd recorders and SonicStage keeps unused string slots for > unnamed tracks. I think we should use this mechanims too to avoid > incompatibilities. This statement does not seem to be true in regard to recorders. I just recorded a track using an MZ-RH1 Hi-MD walkman by just pushing (i.e. dragging) the record button and pressing the stop button after a couple of seconds. The trackindex entry contains the value zero for track string index, album string index, artist string index and album track number. No empty slots have been created. If you record a lot of tracks to the Hi-MD, stringslots will be a real scarce resource. You have up to 2047 tracks, and up to 4095 string slots. Now remember that each string occupies at least one slot. If you allocate one album, one artist and one title string, the string table is completely filled after 1365 tracks. Now remember you just have 13 latin-1 characters, 6 UTF-16 characters or a similar low amount of shift-jis characters in this one slot per track, so meaningful title, artist and album titles will most likely occupy more than one slot. It adds to the problem, that you must not share strings (that is, for two songs from the same album, you need to store the album title twice, because the recorder deletes the album title string as soon as you delete the first song). In this context, I consider wasting slots with empty strings a really bad idea. Another patch from you I left out is the id3tag linker flags patch. The linker flags for id3tag should be added by pkgconfig, even on Win32. If that doesn't work, rather fix the .pc file than hack it in the qhimdtransfer makefile. Did you build the id3tag library yourself? If yes, could you add building instructions to our Wiki (I suppose you have write access to it)? Regards, Michael Karcher From linux-minidisc@lists.fu-berlin.de Mon Apr 11 10:49:36 2011 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q9CoR-0006Ts-JO>; Mon, 11 Apr 2011 10:49:35 +0200 Received: from mail-forward1.uio.no ([129.240.10.70]) by relay1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q9CoR-0001tB-EJ>; Mon, 11 Apr 2011 10:49:35 +0200 Received: from exim by mail-out1.uio.no with local-bsmtp (Exim 4.75) (envelope-from ) id 1Q9CoQ-0000fz-Ky for linux-minidisc@lists.fu-berlin.de; Mon, 11 Apr 2011 10:49:34 +0200 Received: from mail-mx2.uio.no ([129.240.10.30]) by mail-out1.uio.no with esmtp (Exim 4.75) (envelope-from ) id 1Q9CoQ-0000fv-HS for linux-minidisc@lists.fu-berlin.de; Mon, 11 Apr 2011 10:49:34 +0200 Received: from div-8021x-dhcp077.uio.no ([193.157.176.86] helo=sulphur) by mail-mx2.uio.no with esmtps (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Q9CoQ-0001lO-5P for linux-minidisc@lists.fu-berlin.de; Mon, 11 Apr 2011 10:49:34 +0200 Received: from mkarcher by sulphur with local (Exim 4.72) (envelope-from ) id 1Q9CoP-0004Nn-UY for linux-minidisc@lists.fu-berlin.de; Mon, 11 Apr 2011 10:49:34 +0200 Date: Mon, 11 Apr 2011 10:49:33 +0200 Message-Id: To: linux-minidisc@lists.fu-berlin.de Content-Type: text/plain; charset=utf-8 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: ef9b3faf724e1826964030e6e9f327d916681e87 X-Git-Newrev: e137d79a972e9d13a32b1de0d71f694d49a716f0 From: Michael Karcher X-UiO-Spam-info: not spam, SpamAssassin (score=0.0, required=5.0, autolearn=disabled, FSL_HELO_NON_FQDN_1=0.001, HELO_NO_DOMAIN=0.001, uiobl=NO, uiouri=NO) X-UiO-Scanned: 421AF99DC4399749B5F4A13DB8E45924444E796D X-UiO-SPAM-Test: remote_host: 193.157.176.86 spam_score: 0 maxlevel 80 minaction 2 bait 0 mail/h: 1 total 56 max/h 3 blacklist 0 greylist 0 ratelimit 0 X-Originating-IP: 129.240.10.70 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1302511775-00005A17-124366E5/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Dschibuti.ZEDAT.-Berlin.DE X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none Subject: [linux-minidisc] [commit] Linux utilities to deal with Sony Minidisc Walkman branch, master, updated. 0.1.0-15-ge137d79 X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 08:49:36 -0000 This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Linux utilities to deal with Sony Minidisc Walkman". The branch, master has been updated via e137d79a972e9d13a32b1de0d71f694d49a716f0 (commit) from ef9b3faf724e1826964030e6e9f327d916681e87 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit e137d79a972e9d13a32b1de0d71f694d49a716f0 Author: Michael Karcher Date: Mon Apr 11 10:49:53 2011 +0200 Fix memory leak in himd_add_string ----------------------------------------------------------------------- Summary of changes: libhimd/trackindex.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) hooks/post-receive -- Linux utilities to deal with Sony Minidisc Walkman From glaubitz@physik.fu-berlin.de Tue Apr 12 02:58:13 2011 Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1Q9Rvm-0004iJ-Uw>; Tue, 12 Apr 2011 02:58:11 +0200 Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1Q9Rvm-0003ts-Sw>; Tue, 12 Apr 2011 02:58:10 +0200 Received: from kri3-1x-dhcp348.studby.uio.no ([193.157.241.96]) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1Q9Rvm-0005oP-PS>; Tue, 12 Apr 2011 02:58:10 +0200 Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Adrian Glaubitz In-Reply-To: <1302453243.4010.17.camel@localhost> Date: Tue, 12 Apr 2011 02:58:10 +0200 Content-Transfer-Encoding: 7bit Message-Id: <4BF9D844-3C20-4EF0-AAF9-B04CA5E2D1CA@physik.fu-berlin.de> References: <1302453243.4010.17.camel@localhost> To: Michael Karcher X-Mailer: Apple Mail (2.1084) X-Originating-IP: 193.157.241.96 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1302569890-00005A17-A4AC322C/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Botsuana.ZEDAT.-Berlin.DE X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED Cc: linux-minidisc mailing list Subject: Re: [linux-minidisc] [commit] Linux utilities to deal with Sony Minidisc Walkman branch, master, updated. 0.1.0-9-g763a17a X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 00:58:13 -0000 On Apr 10, 2011, at 6:34 PM, Michael Karcher wrote: > This really is what it sounds like! Soon we will be able to add MP3 > files to a Hi-MD medium. The current code still has various issues, and > while we really appreciate feedback, we strongly advise against using > the code to write on Hi-MD media with important contents. In the worst > case, it could destroy the logic structure of the audio of your medium > and make all music unplayable. If anyone wants to test the write functionality without having to struggle building the code themselves, I have uploaded updated packages to my Ubuntu personal package archive (PPA) [1]. All distributions from Jaunty throughout Natty are supported. I might be building binaries for MacOS as well if people are interested. However, since we will be soon able to integrate the functionality into QHiMDTransfer and the code, as Michael pointed out, is still highly experimental, it might be wiser for most people to wait. Adrian [1] https://launchpad.net/~glaubitz/+archive/linux-minidisc From glaubitz@physik.fu-berlin.de Wed Apr 13 20:10:32 2011 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1QA4WM-00046p-QX>; Wed, 13 Apr 2011 20:10:31 +0200 Received: from mx.physik.fu-berlin.de ([160.45.64.218]) by relay1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1QA4WM-0005j5-Nr>; Wed, 13 Apr 2011 20:10:30 +0200 Received: from squeeze64.physik.fu-berlin.de ([160.45.66.239]) by mx.physik.fu-berlin.de with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1QA4WM-0000fn-Hr for linux-minidisc@lists.fu-berlin.de; Wed, 13 Apr 2011 20:10:30 +0200 Received: from glaubitz by squeeze64.physik.fu-berlin.de with local (Exim 4.72 #1 (Debian)) id 1QA4WM-0002OL-Gr for ; Wed, 13 Apr 2011 20:10:30 +0200 Resent-From: Adrian Glaubitz Resent-Date: Wed, 13 Apr 2011 20:10:30 +0200 Resent-Message-ID: <20110413181030.GA9024@physik.fu-berlin.de> Resent-To: linux-minidisc@lists.fu-berlin.de Received: from deliver1.zedat.fu-berlin.de ([130.133.4.79]) by mbox5.zedat.fu-berlin.de (Exim 4.69) for glaubitz@zedat.fu-berlin.de with esmtp (envelope-from ) id <1QA4Bg-0004pH-NV>; Wed, 13 Apr 2011 19:49:08 +0200 Received: from dispatch2.zedat.fu-berlin.de ([130.133.4.71]) by deliver1.zedat.fu-berlin.de (Exim 4.69) for glaubitz@zedat.fu-berlin.de with esmtp (envelope-from ) id <1QA4Bd-0003mB-DG>; Wed, 13 Apr 2011 19:49:05 +0200 Received: from dispatch1.zedat.fu-berlin.de ([130.133.4.70]) by dispatch2.zedat.fu-berlin.de (Exim 4.69) for glaubitz@zedat.fu-berlin.de with esmtp (envelope-from ) id <1QA4BU-0000to-Md>; Wed, 13 Apr 2011 19:48:56 +0200 Received: from inpost1.zedat.fu-berlin.de ([130.133.4.68]) by dispatch1.zedat.fu-berlin.de (Exim 4.69) for glaubitz@zedat.fu-berlin.de with esmtp (envelope-from ) id <1QA4BQ-0005m6-AB>; Wed, 13 Apr 2011 19:48:52 +0200 Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]) by inpost1.zedat.fu-berlin.de (Exim 4.69) for glaubitz@zedat.fu-berlin.de with esmtp (envelope-from ) id <1QA4BQ-0000GG-7W>; Wed, 13 Apr 2011 19:48:52 +0200 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for glaubitz@zedat.fu-berlin.de with esmtp (envelope-from ) id <1QA4BQ-00055m-4r>; Wed, 13 Apr 2011 19:48:52 +0200 Received: from mailout10.t-online.de ([194.25.134.21]) by relay1.zedat.fu-berlin.de (Exim 4.69) for glaubitz@physik.fu-berlin.de with esmtp (envelope-from ) id <1QA4BQ-00034D-0K>; Wed, 13 Apr 2011 19:48:52 +0200 Received: from fwd13.aul.t-online.de (fwd13.aul.t-online.de ) by mailout10.t-online.de with smtp id 1QA4BS-0005M2-CX; Wed, 13 Apr 2011 19:48:54 +0200 Received: from [192.168.2.104] (ZXJZt-Z-QhgZ2-6tScg20G9if-SvEIfMnO-Dba+K15iyv1GlZ89fqj022TtuScDwlx@[80.128.72.194]) by fwd13.t-online.de with esmtp id 1QA4BI-1YzJVQ0; Wed, 13 Apr 2011 19:48:44 +0200 From: Michael Earley Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/alternative; boundary=Apple-Mail-1-139693785 Date: Wed, 13 Apr 2011 19:48:44 +0200 In-Reply-To: To: Adrian Glaubitz References: <371637DB-F4D1-4880-A9C2-AD81AC084760@t-online.de> <3E19D269-BD5F-461D-B4D3-B7592793D230@t-online.de> Message-Id: <97952F7B-4D5F-41B1-B2C2-677E1080C36C@t-online.de> X-Mailer: Apple Mail (2.1084) X-ID: ZXJZt-Z-QhgZ2-6tScg20G9if-SvEIfMnO-Dba+K15iyv1GlZ89fqj022TtuScDwlx X-TOI-MSGID: 5169b5a3-69b9-4743-bf9f-dd13f400a165 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1302716932-00005A17-7EB6051A/0-0/0-0 Resent-Sender: Adrian Glaubitz X-Originating-IP: 160.45.64.218 X-ZEDAT-Hint: A/A/A X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1302718230-00005A17-1EDC5637/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.001059, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Gabun.ZEDAT.-Berlin.DE X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=HTML_50_60,HTML_FONT_BIG, HTML_MESSAGE Subject: Re: [linux-minidisc] netmdpython X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 18:10:32 -0000 --Apple-Mail-1-139693785 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hello Adrian, thanks again for the help. Running the lsmd.py script with /opt/local/bin/python2.6 now produces = correct output. Following the instructions on = https://wiki.physik.fu-berlin.de/linux-minidisc/doku.php?id=3Dnetmdpython = I downloaded SoX v14.3.1 and, although it is not mentioned explicitly, I = added to $PATH in .profile. Running dump_md.py -t 1 gives me the following output Storing in MyMD Recording 01 - LP:ATA.ogg ( 00:06:52.041 ) Waiting for MD... [0, 0, 0, 0, 2 ... 0, 0, 0, 0, 68] Input File : 'default' (coreaudio) Channels : 2 Sample Rate : 44100 Precision : 16-bit Sample Encoding: 16-bit Signed Integer PCM In:0.00% 00:00:00.00 [00:00:00.00] Out:0 [ | ] = Clip:0 Done, waiting for sox to return... Finished. The MD MZ-910 connected by USB runs for the length of time of track one = before "Finished" is logged, but no progression of time is logged and = MyMD/01\ -\ LP\:ATA.ogg is empty. Am I missing some parameter? Regards, Michael Am 10.04.2011 um 18:09 schrieb Adrian Glaubitz: > On Apr 10, 2011, at 3:33 PM, Michael Earley wrote: >=20 >> thanks for the speedy reply. >>=20 >> I'm still getting the same error after sudo port install py26-crypto >>=20 >=20 > The problem is obviously, that your installed version of Python is not = looking > for the installed extra packages at the correct location. Macports = installs all > it's packages under /opt/local, including the packages for Python = while the > default version of Python of MacOS looks for the packages under: >=20 > /Library/Python/2.6/site-packages >=20 > I'm currently not sure how to properly fix that on MacOS X, but you = can > use the Python version from MacPorts in the meantime by calling the > script with /opt/local/bin/python2.6: >=20 > /opt/local/bin/python2.6 ~/linux-minidisc/netmd/lsmd.py -hUsage: = lsmd.py [options] >=20 > Options: > -h, --help show this help message and exit > -b BUS, --bus=3DBUS =20 > -d DEVICE, --device=3DDEVICE > -u, --uuids >=20 > I just tested that on Snow Leopard and it works fine. Just haven't = found out yet > how to fix it permanently, but I will investigate into that. >=20 >> If I type python in the Terminal window, I get >>=20 >> Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49)=20 >> [GCC 4.2.1 (Apple Inc. build 5646)] on darwin >=20 > Yes. The version is correct. >=20 > Adrian --Apple-Mail-1-139693785 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Hello = Adrian,

thanks again for the = help.

Running the lsmd.py script = with /opt/local/bin/python2.6 now produces correct = output.

Following the instructions on https://wiki.physik.fu-berlin.de/linux-minidisc/doku.php?id=3Dnet= mdpython I downloaded SoX v14.3.1 and, although it is not mentioned = explicitly, I added <sox install = dir> to $PATH in = .profile.

Running = dump_md.py -t 1 gives me the following output
Storing in MyMD Recording 01 - LP:ATA.ogg ( 00:06:52.041 ) Waiting for MD... [0, 0, 0, 0, 2
...
0, 0, 0, 0, 68] Input File : 'default' (coreaudio) Channels : 2 Sample Rate : 44100 Precision : 16-bit Sample Encoding: 16-bit Signed Integer PCM In:0.00% 00:00:00.00 [00:00:00.00] Out:0 [ | ] = Clip:0 Done, waiting for sox to return... Finished.

The MD MZ-910 = connected by USB runs  for the length of time of track one before = "Finished" is logged, but no progression of time is logged and =  MyMD/01\ -\ = LP\:ATA.ogg is empty.

Am I missing some = parameter?

Regards, = Michael


Am 10.04.2011 um 18:09 = schrieb Adrian Glaubitz:

On = Apr 10, 2011, at 3:33 PM, Michael Earley wrote:

thanks for the speedy reply.

I'm still = getting the same error after sudo port install = py26-crypto


The problem is obviously, that your = installed version of Python is not looking
for the installed extra = packages at the correct location. Macports installs all
it's packages = under /opt/local, including the packages for Python while the
default = version of Python of MacOS looks for the packages under:

= /Library/Python/2.6/site-packages

I'm currently not sure = how to properly fix that on MacOS X, but you can
use the Python = version from MacPorts in the meantime by calling the
script with = /opt/local/bin/python2.6:

/opt/local/bin/python2.6 = ~/linux-minidisc/netmd/lsmd.py -hUsage: lsmd.py [options]

= Options:
 -h, --help =            show = this help message and exit
 -b BUS, --bus=3DBUS =     
 -d DEVICE, = --device=3DDEVICE
 -u, --uuids

I just = tested that on Snow Leopard and it works fine. Just haven't found out = yet
how to fix it permanently, but I will investigate into = that.

If I type python in the Terminal = window, I get

Python 2.6.1 = (r261:67515, Jun 24 2010, 21:47:49)
[GCC 4.2.1 (Apple Inc. build 5646)] on = darwin

Yes. The version is = correct.

Adrian

= --Apple-Mail-1-139693785-- From plr.vincent@gmail.com Wed Apr 13 21:29:42 2011 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1QA5kz-0006rZ-Tw>; Wed, 13 Apr 2011 21:29:42 +0200 Received: from mail-wy0-f182.google.com ([74.125.82.182]) by relay1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1QA5kz-0005uA-R6>; Wed, 13 Apr 2011 21:29:41 +0200 Received: by wyf23 with SMTP id 23so928184wyf.13 for ; Wed, 13 Apr 2011 12:29:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; bh=Mf/9OGMaRR881F1A2WgzNfZxPPD8m3g2s4r054XIJ6U=; b=QYC/OWg6xcRMyBxfWoWfK4vZ1mPUikwdbo4pWfFrHy+6VJkNhrwAkaKi4o0sG4Bk7v KgyaeQ+M5aGrpxIC+dmV2Oqh4JgKz63Azxo2MVK/EERzHtxgi2j/gI3S9A5V4SGql2mL 0fai/6J6SuvZzoMMeInW3hPlVHFMD/0JqQo4o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=nITl7SjYsEue8MfoulqoHbQOboX8U4oghHzVPmLcRMslDFglaQUc6JIwQD6LPSrYW3 t9pDorsA4EH4tAADxd9v9MLpc391GZrsVavrcIpSH9cmo32d4f74gdu1wfRorY7vrFLt EYCGrtb9NdL0MqcDS9xStslQ21bQNel4tPm/w= Received: by 10.227.179.138 with SMTP id bq10mr2038347wbb.12.1302722981360; Wed, 13 Apr 2011 12:29:41 -0700 (PDT) Received: from x2.localnet (ALille-154-1-23-101.w86-196.abo.wanadoo.fr [86.196.14.101]) by mx.google.com with ESMTPS id w25sm534185wbd.22.2011.04.13.12.29.40 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 13 Apr 2011 12:29:40 -0700 (PDT) From: Vincent Pelletier To: linux-minidisc@lists.fu-berlin.de Date: Wed, 13 Apr 2011 21:30:03 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.38-1-amd64; KDE/4.4.5; x86_64; ; ) References: <371637DB-F4D1-4880-A9C2-AD81AC084760@t-online.de> <97952F7B-4D5F-41B1-B2C2-677E1080C36C@t-online.de> In-Reply-To: <97952F7B-4D5F-41B1-B2C2-677E1080C36C@t-online.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Message-Id: <201104132130.04528.plr.vincent@gmail.com> X-Originating-IP: 74.125.82.182 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1302722981-00005A17-730BB532/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.043852, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Dschibuti.ZEDAT.-Berlin.DE X-Spam-Level: x X-Spam-Status: No, score=1.4 required=5.0 tests=DNS_FROM_RFC_POST, FORGED_RCVD_HELO,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS Subject: Re: [linux-minidisc] netmdpython X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 19:29:42 -0000 Le mercredi 13 avril 2011 19:48:44, Michael Earley a =E9crit : > The MD MZ-910 connected by USB runs for the length of time of track one > before "Finished" is logged, but no progression of time is logged and=20 > MyMD/01\ -\ LP\:ATA.ogg is empty. dump_md.py configures SoX to only start recording when some sound strength = is=20 reached, and from that point record for track length duration. Either the track has low volume, or your mixer setting (probably the record= =20 input selection) is incorrect. Regards, =2D-=20 Vincent Pelletier From glaubitz@physik.fu-berlin.de Wed Apr 13 23:11:13 2011 Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1QA7LD-0001vc-G8>; Wed, 13 Apr 2011 23:11:11 +0200 Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1QA7LD-0000ua-E6>; Wed, 13 Apr 2011 23:11:11 +0200 Received: from kri3-1x-dhcp348.studby.uio.no ([193.157.241.96]) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1QA7LD-0002EH-7i>; Wed, 13 Apr 2011 23:11:11 +0200 Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Adrian Glaubitz In-Reply-To: <97952F7B-4D5F-41B1-B2C2-677E1080C36C@t-online.de> Date: Wed, 13 Apr 2011 23:11:10 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <5E42F322-05F3-484C-B97E-72015A6358C3@physik.fu-berlin.de> References: <371637DB-F4D1-4880-A9C2-AD81AC084760@t-online.de> <3E19D269-BD5F-461D-B4D3-B7592793D230@t-online.de> <97952F7B-4D5F-41B1-B2C2-677E1080C36C@t-online.de> To: Michael Earley X-Mailer: Apple Mail (2.1084) X-Originating-IP: 193.157.241.96 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1302729071-00005A17-16754BCB/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Algerien.ZEDAT.-Berlin.DE X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED Cc: linux-minidisc mailing list Subject: Re: [linux-minidisc] netmdpython X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 21:11:13 -0000 Hi Michael, On Apr 13, 2011, at 7:48 PM, Michael Earley wrote: > Hello Adrian, >=20 > thanks again for the help. You're welcome. Please always remember to put the mailing list = (linux-minidisc@lists.fu-berlin.de) in CC when replying. This way all people on the list will be able to = help, I'm not the only developer and I also don't know all the code. That's why I bounced your mail to = the list. > Following the instructions on = https://wiki.physik.fu-berlin.de/linux-minidisc/doku.php?id=3Dnetmdpython = I downloaded SoX v14.3.1 and, although it is not mentioned explicitly, I = added to $PATH in .profile. >=20 > Running dump_md.py -t 1 gives me the following output >=20 (...) > The MD MZ-910 connected by USB runs for the length of time of track = one before "Finished" is logged, but no progression of time is logged = and MyMD/01\ -\ LP\:ATA.ogg is empty. >=20 > Am I missing some parameter? Just to avoid any misconception, you know that you need to hook up your = MiniDisc Walkman to your computer using an additional analog audio cable, don't you? I'm just saying that = because many people incorrectly assumed that all NetMD devices allow uploads, that is transfers from the device = to the PC, over USB which is not correct. Due to the limitations of the hardware, only the latest Sony model, the = MZ-RH1 (and it's rebadged model MZ-RH200) allows direct digital uploads over USB of standard MiniDisc (NetMD), all = other NetMD devices and HiMD devices in NetMD mode allow downloads, that is transfers to the device, only. So = you either need to get hold of an MZ-RH1 or upload the tracks over analog cable. This limitation does not apply = for HiMD devices operated in HiMD mode. As Vincent already pointed out, Sox will not start recording unless a = certain input level is detected at the soundcard inputs. This explains why the recording didn't start. Adrian= From petter-earley@t-online.de Mon Apr 18 21:52:38 2011 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1QBuUt-0006vd-S5>; Mon, 18 Apr 2011 21:52:36 +0200 Received: from mailout03.t-online.de ([194.25.134.81]) by relay1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1QBuUt-0006OT-OX>; Mon, 18 Apr 2011 21:52:35 +0200 Received: from fwd02.aul.t-online.de (fwd02.aul.t-online.de ) by mailout03.t-online.de with smtp id 1QBuUs-000797-MI; Mon, 18 Apr 2011 21:52:34 +0200 Received: from [192.168.2.104] (XYSKjqZJ8hFWx+V3+TOsUBD42ukqhqs3iOH+1-tAgUwwxe+JwXr6jG7xbH42ouRQYg@[80.128.48.3]) by fwd02.t-online.de with esmtp id 1QBuUo-0wyRJw0; Mon, 18 Apr 2011 21:52:30 +0200 From: Michael Earley Content-Type: multipart/alternative; boundary=Apple-Mail-1-579120021 Date: Mon, 18 Apr 2011 21:52:30 +0200 Message-Id: <1C749F77-A250-4E9E-9693-62283E022E90@t-online.de> To: linux-minidisc@lists.fu-berlin.de Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) X-ID: XYSKjqZJ8hFWx+V3+TOsUBD42ukqhqs3iOH+1-tAgUwwxe+JwXr6jG7xbH42ouRQYg X-TOI-MSGID: c361ecc9-6767-48ef-b8c3-caaa5508529d X-Originating-IP: 194.25.134.81 X-ZEDAT-Hint: A X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1303156355-00005A17-9C837126/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Dschibuti.ZEDAT.-Berlin.DE X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=HTML_40_50,HTML_MESSAGE Subject: [linux-minidisc] Feedback from a MZ-N910 Mac OS X user X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Apr 2011 19:52:38 -0000 --Apple-Mail-1-579120021 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hello, well thanks to Adrian and Vincent I finally got the python scripts = running to copy from a MZ-N910 to my Macbook with Snow Leopard and I'd = like to give a little feedback on my experience as a simple user. 1. python has to be called directly from /opt/local/bin/python2.6 = instead of ./ as the installed version of Python is apparently not = looking for the installed extra packages at the correct location. 2. The instructions for Mac OS X on = https://wiki.physik.fu-berlin.de/linux-minidisc/doku.php?id=3Dnetmdpython = do not explicitly mention adding to $PATH in .profile. 3. The instructions mention audio card with analog input as a = requirement, but somehow I overlooked this and wondered why SoX wasn't = picking up any sound. Maybe you could make this a little clearer 4. SoX v14.3.1 would not record, not even with a simple sox -d xxx.wav 5. SoX v14.3.2 records, but gives out a lot of "sox WARN coreaudio: = coreaudio: unhandled buffer overrun. Data discarded." errors. I = realize that this isn't your problem, folks, and I'll keep an eye open = for a new release. Now, where was that "Donate" button again... Regards, Michael= --Apple-Mail-1-579120021 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii https://wiki.physik.fu-berlin.de/linux-minidisc/doku.php?id=3Dnet= mdpython do not explicitly mention adding <sox install = dir> to $PATH in .profile.
3. The instructions mention audio card with = analog input as a requirement, but somehow I overlooked this and = wondered why SoX wasn't picking up any sound. Maybe you could make this = a little clearer

4.  SoX = v14.3.1 would not record, not even with a simple sox -d = xxx.wav

5. =  SoX v14.3.2 records, but gives out a lot of "sox WARN coreaudio: = coreaudio: unhandled buffer overrun.  Data discarded." =  errors. I realize that this isn't your problem, folks, and I'll = keep an eye open for a new release.

Now, where = was that "Donate" button again...

Regards, = Michael
= --Apple-Mail-1-579120021-- From glaubitz@physik.fu-berlin.de Mon Apr 18 22:06:57 2011 Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1QBuil-0007Lm-Sn>; Mon, 18 Apr 2011 22:06:56 +0200 Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1QBuil-0007Wv-Qt>; Mon, 18 Apr 2011 22:06:55 +0200 Received: from kri3-1x-dhcp348.studby.uio.no ([193.157.241.96]) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1QBuil-0005Ke-Ku>; Mon, 18 Apr 2011 22:06:55 +0200 Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Adrian Glaubitz In-Reply-To: <1C749F77-A250-4E9E-9693-62283E022E90@t-online.de> Date: Mon, 18 Apr 2011 22:06:54 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <45626595-A4C6-49C1-B281-B38588152B58@physik.fu-berlin.de> References: <1C749F77-A250-4E9E-9693-62283E022E90@t-online.de> To: Michael Earley X-Mailer: Apple Mail (2.1084) X-Originating-IP: 193.157.241.96 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1303157215-00005A17-7B1B625C/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Burundi.ZEDAT.-Berlin.DE X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED Cc: linux-minidisc@lists.fu-berlin.de Subject: Re: [linux-minidisc] Feedback from a MZ-N910 Mac OS X user X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Apr 2011 20:06:57 -0000 Hi Michael, On Apr 18, 2011, at 9:52 PM, Michael Earley wrote: > Hello, >=20 > well thanks to Adrian and Vincent I finally got the python scripts = running to copy from a MZ-N910 to my Macbook with Snow Leopard and I'd = like to give a little feedback on my experience as a simple user. >=20 Thanks for your kind feedback! We always appreciate that, there's always = something that one overlooks as a developer. Also, we can never test all configurations and settings, so = it really helps a lot improving the software when we receive feedback :). > 1. python has to be called directly from /opt/local/bin/python2.6 = instead of ./ as the installed version of Python is apparently not = looking for the installed extra packages at the correct location. >=20 I haven't had time yet to figure out how to improve that. But once I = know I will add the information to the wiki, putting it onto my todo list right now! We are working on a C port of the NetMD code which is partly going to be = done by a student within this years' Google Summer of Code [1]. So look forward for some major = improvements in usability regarding NetMD soon :). The aim is a complete integration = of the NetMD functionality into QHiMDTransfer, getting closer a fully-fledged, free SonicStage = clone. > 2. The instructions for Mac OS X on = https://wiki.physik.fu-berlin.de/linux-minidisc/doku.php?id=3Dnetmdpython = do not explicitly mention adding to $PATH in .profile. >=20 Thanks for the note, I'll add that. > 3. The instructions mention audio card with analog input as a = requirement, but somehow I overlooked this and wondered why SoX wasn't = picking up any sound. Maybe you could make this a little clearer >=20 True. It's really confusing with the different set of features and = capabilities with all the different MiniDisc models. I actually started to improve documentation here and there, = added a features matrix on the front page of the wiki [1]. The matrix also mentions the requirement of = an analogue audio cable for all models except the MZ-RH1/200. Sorry for the previous confusion. > 4. SoX v14.3.1 would not record, not even with a simple sox -d = xxx.wav >=20 > 5. SoX v14.3.2 records, but gives out a lot of "sox WARN coreaudio: = coreaudio: unhandled buffer overrun. Data discarded." errors. I = realize that this isn't your problem, folks, and I'll keep an eye open = for a new release. >=20 Ok, I think I should bring my MiniDisc Walkman from home. It's currently = at my parents' place in Germany while I reside in Norway. I'll be down there next week. = I got two Macs here (one with Leopard, the other one with Snow Leopard), so I am = able to test myself. > Now, where was that "Donate" button again... Right on the front page :). Thanks for the feedback, Adrian [1] = https://wiki.physik.fu-berlin.de/linux-minidisc/doku.php?id=3Dportingnetmd= [2] https://wiki.physik.fu-berlin.de/linux-minidisc/doku.php#status= From linux-minidisc@lists.fu-berlin.de Sat Apr 30 15:07:21 2011 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1QG9tI-0001Jr-66>; Sat, 30 Apr 2011 15:07:20 +0200 Received: from mail-forward2.uio.no ([129.240.10.71]) by relay1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1QG9tI-000648-1V>; Sat, 30 Apr 2011 15:07:20 +0200 Received: from exim by mail-out2.uio.no with local-bsmtp (Exim 4.75) (envelope-from ) id 1QG9tH-0003lY-Aw for linux-minidisc@lists.fu-berlin.de; Sat, 30 Apr 2011 15:07:19 +0200 Received: from mail-mx3.uio.no ([129.240.10.44]) by mail-out2.uio.no with esmtp (Exim 4.75) (envelope-from ) id 1QG9tH-0003lV-7Q for linux-minidisc@lists.fu-berlin.de; Sat, 30 Apr 2011 15:07:19 +0200 Received: from div-8021x-dhcp077.uio.no ([193.157.176.86] helo=sulphur) by mail-mx3.uio.no with esmtps (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1QG9tG-0002Kq-SS for linux-minidisc@lists.fu-berlin.de; Sat, 30 Apr 2011 15:07:19 +0200 Received: from glaubitz by sulphur with local (Exim 4.72) (envelope-from ) id 1QG9tG-0002Wz-CQ for linux-minidisc@lists.fu-berlin.de; Sat, 30 Apr 2011 15:07:18 +0200 Date: Sat, 30 Apr 2011 15:07:18 +0200 Message-Id: To: linux-minidisc@lists.fu-berlin.de Content-Type: text/plain; charset=utf-8 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: e137d79a972e9d13a32b1de0d71f694d49a716f0 X-Git-Newrev: f419bcdfac31242792794c10d7cb168af73681a4 From: Adrian Glaubitz X-UiO-Spam-info: not spam, SpamAssassin (score=0.0, required=5.0, autolearn=disabled, FSL_HELO_NON_FQDN_1=0.001, HELO_NO_DOMAIN=0.001, uiobl=NO, uiouri=NO) X-UiO-Scanned: 0686A2A621BD8327706FF00DB6ED12569BA3CCEA X-UiO-SPAM-Test: remote_host: 193.157.176.86 spam_score: 0 maxlevel 80 minaction 2 bait 0 mail/h: 1 total 59 max/h 3 blacklist 0 greylist 0 ratelimit 0 X-Originating-IP: 129.240.10.71 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1304168840-00005A17-7FF6B857/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Burundi.ZEDAT.FU-Berlin.DE X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none Subject: [linux-minidisc] [commit] Linux utilities to deal with Sony Minidisc Walkman branch, master, updated. 0.1.0-16-gf419bcd X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Apr 2011 13:07:21 -0000 This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Linux utilities to deal with Sony Minidisc Walkman". The branch, master has been updated via f419bcdfac31242792794c10d7cb168af73681a4 (commit) from e137d79a972e9d13a32b1de0d71f694d49a716f0 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit f419bcdfac31242792794c10d7cb168af73681a4 Author: Vincent Pelletier Date: Sat Apr 30 13:50:21 2011 +0200 Patch series for NetMDPython: * [PATCH 01/06] Make crypto module optional * [PATCH 02/06] Add a note about Python 3.x incompability * [PATCH 03/06] Add installation notes for Windows and Linux * [PATCH 04/06] Stop using archaic raise statement format * [PATCH 05/06] Use divmod * [PATCH 06/06] Update Python libusb1 wrapper to current upstream trunk ----------------------------------------------------------------------- Summary of changes: netmd/README | 30 ++- netmd/libnetmd.py | 69 ++-- netmd/libusb1.py | 126 ++++-- netmd/usb1.py | 1252 ++++++++++++++++++++++++++++++++++++++++++----------- 4 files changed, 1168 insertions(+), 309 deletions(-) hooks/post-receive -- Linux utilities to deal with Sony Minidisc Walkman From linux-minidisc@lists.fu-berlin.de Sat Apr 30 15:27:13 2011 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1QGACW-0001vw-Dt>; Sat, 30 Apr 2011 15:27:12 +0200 Received: from mail-forward1.uio.no ([129.240.10.70]) by relay1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1QGACW-0008Fg-93>; Sat, 30 Apr 2011 15:27:12 +0200 Received: from exim by mail-out1.uio.no with local-bsmtp (Exim 4.75) (envelope-from ) id 1QGACV-0007b2-G9 for linux-minidisc@lists.fu-berlin.de; Sat, 30 Apr 2011 15:27:11 +0200 Received: from mail-mx1.uio.no ([129.240.10.29]) by mail-out1.uio.no with esmtp (Exim 4.75) (envelope-from ) id 1QGACV-0007az-FM for linux-minidisc@lists.fu-berlin.de; Sat, 30 Apr 2011 15:27:11 +0200 Received: from div-8021x-dhcp077.uio.no ([193.157.176.86] helo=sulphur) by mail-mx1.uio.no with esmtps (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1QGACV-0001lj-2S for linux-minidisc@lists.fu-berlin.de; Sat, 30 Apr 2011 15:27:11 +0200 Received: from glaubitz by sulphur with local (Exim 4.72) (envelope-from ) id 1QGACU-0002vH-Qd for linux-minidisc@lists.fu-berlin.de; Sat, 30 Apr 2011 15:27:10 +0200 Date: Sat, 30 Apr 2011 15:27:10 +0200 Message-Id: To: linux-minidisc@lists.fu-berlin.de Content-Type: text/plain; charset=utf-8 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: e137d79a972e9d13a32b1de0d71f694d49a716f0 X-Git-Newrev: e57dcc98cfa07166dc80048c3306f121958508d0 From: Adrian Glaubitz X-UiO-Spam-info: not spam, SpamAssassin (score=0.0, required=5.0, autolearn=disabled, FSL_HELO_NON_FQDN_1=0.001, HELO_NO_DOMAIN=0.001, uiobl=NO, uiouri=NO) X-UiO-Scanned: 420C61139E2DD32CDB59503E1E6A03CE30FC1B8D X-UiO-SPAM-Test: remote_host: 193.157.176.86 spam_score: 0 maxlevel 80 minaction 2 bait 0 mail/h: 2 total 60 max/h 3 blacklist 0 greylist 0 ratelimit 0 X-Originating-IP: 129.240.10.70 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1304170032-00005A17-08FAD404/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Burundi.ZEDAT.FU-Berlin.DE X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none Subject: [linux-minidisc] [commit] Linux utilities to deal with Sony Minidisc Walkman branch, master, updated. 0.1.0-16-ge57dcc9 X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Apr 2011 13:27:13 -0000 This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Linux utilities to deal with Sony Minidisc Walkman". The branch, master has been updated via e57dcc98cfa07166dc80048c3306f121958508d0 (commit) from e137d79a972e9d13a32b1de0d71f694d49a716f0 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit e57dcc98cfa07166dc80048c3306f121958508d0 Author: Vincent Pelletier Date: Sat Apr 30 15:25:32 2011 +0200 Patch series for NetMDPython: * [PATCH 01/06] Make crypto module optional * [PATCH 02/06] Add a note about Python 3.x incompability * [PATCH 03/06] Add installation notes for Windows and Linux * [PATCH 04/06] Stop using archaic raise statement format * [PATCH 05/06] Use divmod * [PATCH 06/06] Update Python libusb1 wrapper to current upstream trunk ----------------------------------------------------------------------- Summary of changes: netmd/README | 30 ++- netmd/libnetmd.py | 69 ++-- netmd/libusb1.py | 126 ++++-- netmd/usb1.py | 1252 ++++++++++++++++++++++++++++++++++++++++++----------- 4 files changed, 1168 insertions(+), 309 deletions(-) hooks/post-receive -- Linux utilities to deal with Sony Minidisc Walkman From glaubitz@physik.fu-berlin.de Sat Apr 30 15:32:17 2011 Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1QGAHR-00025n-7i>; Sat, 30 Apr 2011 15:32:17 +0200 Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1QGAHR-0007HK-5g>; Sat, 30 Apr 2011 15:32:17 +0200 Received: from div-8021x-dhcp107.uio.no ([193.157.176.116]) by inpost2.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtpsa (envelope-from ) id <1QGAHR-0007j9-2U>; Sat, 30 Apr 2011 15:32:17 +0200 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) From: Adrian Glaubitz In-Reply-To: Date: Sat, 30 Apr 2011 15:32:16 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <1885CA59-4E12-47D9-8A10-6FE6440870F5@physik.fu-berlin.de> References: To: Adrian Glaubitz X-Mailer: Apple Mail (2.1084) X-Originating-IP: 193.157.176.116 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1304170337-00005A17-5E928C2A/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000388, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Burundi.ZEDAT.FU-Berlin.DE X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED Subject: Re: [linux-minidisc] [commit] Linux utilities to deal with Sony Minidisc Walkman branch, master, updated. 0.1.0-16-ge57dcc9 X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Apr 2011 13:32:18 -0000 On Apr 30, 2011, at 3:27 PM, Adrian Glaubitz wrote: > - Log = ----------------------------------------------------------------- > commit e57dcc98cfa07166dc80048c3306f121958508d0 > Author: Vincent Pelletier > Date: Sat Apr 30 15:25:32 2011 +0200 >=20 > Patch series for NetMDPython: >=20 > * [PATCH 01/06] Make crypto module optional > * [PATCH 02/06] Add a note about Python 3.x incompability > * [PATCH 03/06] Add installation notes for Windows and Linux > * [PATCH 04/06] Stop using archaic raise statement format > * [PATCH 05/06] Use divmod > * [PATCH 06/06] Update Python libusb1 wrapper to current = upstream trunk Don't get confused by the second, identical commit. I just reverted the previous commit to fix the formatting of the changelog (yes, I'm a perfectionist =3D)). Also, this way I was able to see whether I can restore the git repository from a backup at anytime and I realized it's very easy to restore! Regards, Adrian=