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

Re: [linux-minidisc] "netmdcli send" does not break on errors

<-- thread -->
<-- date -->
  • From: Michael Karcher <Michael.Karcher@fu-berlin.de>
  • To: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
  • Date: Sun, 18 Sep 2011 14:24:05 +0200
  • Cc: linux-minidisc@lists.fu-berlin.de
  • Subject: Re: [linux-minidisc] "netmdcli send" does not break on errors

Am Samstag, den 17.09.2011, 20:51 +0200 schrieb John Paul Adrian
Glaubitz:
> However, before we make any bigger changes to netmdcli/libnetmd, the
> code will need some further cleanup first. There is some code in netmdcli
> which I think should rather go into libnetmd. I was particularly thinking
> about the code which sets up the secure session and sends a track
> to the device. That should probably better go into libnetmd,

If we are going to refactor the code, we should make it possible to read
the input stream on-demand instead of needing the whole track in memory.
This is especially important for SP uploads that are transferred as PCM,
as the extreme case, a 80 minutes PCM track is nearly 850 megabytes.
Transferring the song is not timing critical, so hard disk acess during
song transfer should not cause issues.
In C, the only method to achieve that would be some kind of call back
(in the python code, an effect like this could be obtained by passing an
iterator to the send function that creates the packet on-demand)

Regards,
  Michael Karcher




<-- thread -->
<-- date -->
  • References:
    • [linux-minidisc] "netmdcli send" does not break on errors
      • From: Thomas Arp <manner.moe@gmx.de>
    • Re: [linux-minidisc] "netmdcli send" does not break on errors
      • From: Thomas Arp <manner.moe@gmx.de>
    • Re: [linux-minidisc] "netmdcli send" does not break on errors
      • From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
  • linux-minidisc - September 2011 - Archives indexes sorted by:
    [ thread ] [ subject ] [ author ] [ date ]
  • Complete archive of the linux-minidisc mailing list
  • More info on this list...

Hilfe

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

Service-Navigation

  • Startseite
  • Listenauswahl

Einrichtung Mailingliste

  • ZEDAT-Portal
  • Mailinglisten Portal