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

Re: [linux-minidisc] Implementing downloading in QHiMDTransfer

<-- thread -->
<-- date -->
  • From: "Kevin Chabowski" <kevin@kch42.de>
  • To: "Michael Karcher" <Michael.Karcher@fu-berlin.de>
  • Date: Sat, 13 Oct 2012 14:16:50 +0200
  • Cc: "linux-minidisc@lists.fu-berlin.de" <linux-minidisc@lists.fu-berlin.de>
  • Subject: Re: [linux-minidisc] Implementing downloading in QHiMDTransfer

Am 13.10.2012, 13:15 Uhr, schrieb Michael Karcher <Michael.Karcher@fu-berlin.de>:
In the GUI, I would not consider to offer the user to upload any file
not having a supported extension, i.e. only MP3 at the time being. A
basic MP3 sanity check as discussed above would be a good idea.

Okay, so I will add a file extension check when the download button should be unlocked and perhaps try to implement this sanity check in the actual upload code.

As long as you keep to plain basic C, as it is used in libhimd (and
himdcli), please feel free to move the code to libhimd. It is what
should be done in my oppinion anyway.
[...]
As we have an himd_mp3stream, we should add an himd_mp3writestream
[...]
The abstraction layer libhimd currently provides is on the
layer of streams and frames, so opening the file, extracting ID3 tags
and splitting it into frames should not really go into libhimd, but
generating the TOC entry for the track index (including adding the
strings to the string table) would belong there.

Good, I will try this. The himd_mp3writestream sounds like a good solution. I will include ID3 tag reading and title writing but perhaps in another function, so it
will be easier to move it to a higher-level API later.

Kevin



<-- thread -->
<-- date -->
  • Follow-Ups:
    • Re: [linux-minidisc] Implementing downloading in QHiMDTransfer
      • From: Thomas Arp <manner.moe@gmx.de>
  • References:
    • [linux-minidisc] Implementing downloading in QHiMDTransfer
      • From: "Kevin Chabowski" <kevin@kch42.de>
    • Re: [linux-minidisc] Implementing downloading in QHiMDTransfer
      • From: Michael Karcher <Michael.Karcher@fu-berlin.de>
  • linux-minidisc - October 2012 - 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