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

[linux-minidisc] Implementing downloading in QHiMDTransfer

<-- thread -->
<-- date -->
  • From: "Kevin Chabowski" <kevin@kch42.de>
  • To: "linux-minidisc@lists.fu-berlin.de" <linux-minidisc@lists.fu-berlin.de>
  • Date: Sat, 13 Oct 2012 00:35:04 +0200
  • Subject: [linux-minidisc] Implementing downloading in QHiMDTransfer

Hello,

I am currently trying to implement downloading tracks to HiMD for QHiMDTransfer, I have some questions regarding this:

Is there a way to tell if a file is actually an MP3 file or not, using libmad (could not find anything in their "documentation", perhaps someone here knows better)? I looked at the code of himdcli and could not find a file type checking, so I just tried to transfer something else and it "succeeded". Obviously, the HiMD-Player complains about the useless track. This is okay for a CL-Interface where people are supposed to know what they are doing, but at least for me that would be an unacceptable behavior of a GUI application.

If there is no way, should I just check, if the file ends with '.mp3'? Would not be a really good solution, but better than nothing IMHO.

I would need to recycle some code from himdcli. Simply copying and pasting is obviously a terrible solution. Should I add higher level functions to libhimd (seems to be low-level orientated) or introduce a new library for that? If the latter, someone else would need to integrate it into these strange Qt Project files. I have no idea at all how these work...

Kevin



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