From hyc@highlandsun.com Wed Jul 31 16:09:59 2013 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by list1.zedat.fu-berlin.de (Exim 4.80.1) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1V4X6D-003v8A-Rk>; Wed, 31 Jul 2013 16:09:58 +0200 Received: from mail.highlandsun.com ([70.87.222.79]) by relay1.zedat.fu-berlin.de (Exim 4.80.1) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1V4X6D-001o57-H0>; Wed, 31 Jul 2013 16:09:57 +0200 Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail.highlandsun.com (Postfix) with ESMTP id 70EF110EA7 for ; Wed, 31 Jul 2013 10:09:55 -0400 (EDT) Message-ID: <51F91AB2.6080504@highlandsun.com> Date: Wed, 31 Jul 2013 07:09:54 -0700 From: Howard Chu User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0 SeaMonkey/2.22a1 MIME-Version: 1.0 To: linux-minidisc@lists.fu-berlin.de Content-Type: multipart/mixed; boundary="------------090105050401040209020709" X-Originating-IP: 70.87.222.79 X-ZEDAT-Hint: A X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1375279797-0000097E-7DD5A5E0/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.370496, version=1.2.4 X-Spam-Flag: NO X-Spam-Status: No, score=0.0 required=5.0 tests=none X-Spam-Checker-Version: SpamAssassin 3.3.3-zedat0a54d5a on Gabun.ZEDAT.FU-Berlin.DE X-Spam-Level: Subject: [linux-minidisc] RecordingDate in QHiMDTransfer X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.14 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, 31 Jul 2013 14:09:59 -0000 This is a multi-part message in MIME format. --------------090105050401040209020709 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I only use MDs for live recordings, and I never title the tracks. I just go by the recording date to remind me what the tracks contain. It always frustrated me that QHiMDTransfer didn't display this info, so I've written this patch to add it. Please consider merging this, thanks. -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/ --------------090105050401040209020709 Content-Type: text/x-diff; name="0001-Add-recordingdate-column.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-Add-recordingdate-column.patch" >From 575c47ca154a9d5818e8b455789736fde15c7728 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 31 Jul 2013 07:00:06 -0700 Subject: [PATCH] Add recordingdate column --- qhimdtransfer/qhimdmodel.cpp | 31 +++++++++++++++++++++++++++++-- qhimdtransfer/qhimdmodel.h | 1 + 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/qhimdtransfer/qhimdmodel.cpp b/qhimdtransfer/qhimdmodel.cpp index ac4bde5..d693666 100644 --- a/qhimdtransfer/qhimdmodel.cpp +++ b/qhimdtransfer/qhimdmodel.cpp @@ -71,6 +71,24 @@ QTime QHiMDTrack::duration() const return t; } +QDateTime QHiMDTrack::recdate() const +{ + QDate d; + QTime t; + QDateTime dt; + if (trackslot != 0) { + t.setHMS(ti.recordingtime.tm_hour, + ti.recordingtime.tm_min, + ti.recordingtime.tm_sec); + d.setDate(ti.recordingtime.tm_year+1900, + ti.recordingtime.tm_mon+1, + ti.recordingtime.tm_mday); + dt.setDate(d); + dt.setTime(t); + } else + return dt; +} + bool QHiMDTrack::copyprotected() const { if(trackslot != 0) @@ -110,8 +128,8 @@ QByteArray QHiMDTrack::makeEA3Header() const } enum columnum { - ColId, ColTitle, ColArtist, ColAlbum, ColLength, ColCodec, ColUploadable, - LAST_columnnum = ColUploadable + ColId, ColTitle, ColArtist, ColAlbum, ColLength, ColCodec, ColUploadable, ColRecDate, + LAST_columnnum = ColRecDate }; QVariant QHiMDTracksModel::headerData(int section, Qt::Orientation orientation, int role) const @@ -138,6 +156,8 @@ QVariant QHiMDTracksModel::headerData(int section, Qt::Orientation orientation, /* Really use the header for the metric in these columns, contents will be shorter */ return QAbstractListModel::headerData(section,orientation,role); + case ColRecDate: + return QSize(met.width("yyyy.MM.dd hh:mm:ss"), 0); } } @@ -159,6 +179,8 @@ QVariant QHiMDTracksModel::headerData(int section, Qt::Orientation orientation, return tr("Format"); case ColUploadable: return tr("Uploadable"); + case ColRecDate: + return tr("Recorded At"); } } return QVariant(); @@ -202,6 +224,11 @@ QVariant QHiMDTracksModel::data(const QModelIndex & index, int role) const return track.codecname(); case ColUploadable: return QVariant(); /* Displayed by checkbox */ + case ColRecDate: + { + QDateTime dt = track.recdate(); + return dt.toString("yyyy.MM.dd hh:mm:ss"); + } } } return QVariant(); diff --git a/qhimdtransfer/qhimdmodel.h b/qhimdtransfer/qhimdmodel.h index 6ccc2f8..bdaed03 100644 --- a/qhimdtransfer/qhimdmodel.h +++ b/qhimdtransfer/qhimdmodel.h @@ -25,6 +25,7 @@ public: QString album() const; QString codecname() const; QTime duration() const; + QDateTime recdate() const; bool copyprotected() const; int blockcount() const; -- 1.7.9.5 --------------090105050401040209020709-- From glaubitz@physik.fu-berlin.de Wed Jul 31 16:41:47 2013 Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]) by list1.zedat.fu-berlin.de (Exim 4.80.1) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1V4Xb0-00406k-9r>; Wed, 31 Jul 2013 16:41:46 +0200 Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.80.1) with esmtp (envelope-from ) id <1V4Xb0-002Mwh-81>; Wed, 31 Jul 2013 16:41:46 +0200 Received: from [141.48.225.251] by inpost2.zedat.fu-berlin.de (Exim 4.80.1) with esmtpsa (envelope-from ) id <1V4Xb0-003vVt-5s>; Wed, 31 Jul 2013 16:41:46 +0200 Message-ID: <51F92229.90407@physik.fu-berlin.de> Date: Wed, 31 Jul 2013 16:41:45 +0200 From: John Paul Adrian Glaubitz User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130630 Icedove/17.0.7 MIME-Version: 1.0 To: Howard Chu References: <51F91AB2.6080504@highlandsun.com> In-Reply-To: <51F91AB2.6080504@highlandsun.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 141.48.225.251 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1375281706-0000097E-19CC0FDF/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.001156, version=1.2.4 X-Spam-Flag: NO X-Spam-Status: No, score=-50.0 required=5.0 tests=ALL_TRUSTED X-Spam-Checker-Version: SpamAssassin 3.3.3-zedat0a54d5a on Burundi.ZEDAT.FU-Berlin.DE X-Spam-Level: Cc: linux-minidisc@lists.fu-berlin.de Subject: Re: [linux-minidisc] RecordingDate in QHiMDTransfer X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.14 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, 31 Jul 2013 14:41:47 -0000 Hello Howard, On 07/31/2013 04:09 PM, Howard Chu wrote: > I only use MDs for live recordings, and I never title the tracks. I just > go by the recording date to remind me what the tracks contain. It always > frustrated me that QHiMDTransfer didn't display this info, so I've > written this patch to add it. Please consider merging this, thanks. Thanks a lot for your contribution! We'll review your patch within the next few days and apply it once we're happy with it. Cheers, Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaubitz@debian.org `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 From hyc@highlandsun.com Wed Jul 31 17:32:38 2013 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by list1.zedat.fu-berlin.de (Exim 4.80.1) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1V4YOD-004Aoj-9m>; Wed, 31 Jul 2013 17:32:37 +0200 Received: from mail.highlandsun.com ([70.87.222.79]) by relay1.zedat.fu-berlin.de (Exim 4.80.1) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1V4YOD-0025xt-3n>; Wed, 31 Jul 2013 17:32:37 +0200 Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail.highlandsun.com (Postfix) with ESMTP id 2CB0D10EA7; Wed, 31 Jul 2013 11:32:34 -0400 (EDT) Message-ID: <51F92E11.3090403@highlandsun.com> Date: Wed, 31 Jul 2013 08:32:33 -0700 From: Howard Chu User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0 SeaMonkey/2.22a1 MIME-Version: 1.0 To: John Paul Adrian Glaubitz References: <51F91AB2.6080504@highlandsun.com> <51F92229.90407@physik.fu-berlin.de> In-Reply-To: <51F92229.90407@physik.fu-berlin.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 70.87.222.79 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1375284757-0000097E-E16E69B3/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.309652, version=1.2.4 X-Spam-Flag: NO X-Spam-Status: No, score=0.0 required=5.0 tests=none X-Spam-Checker-Version: SpamAssassin 3.3.3-zedat0a54d5a on Gabun.ZEDAT.FU-Berlin.DE X-Spam-Level: Cc: linux-minidisc@lists.fu-berlin.de Subject: Re: [linux-minidisc] RecordingDate in QHiMDTransfer X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.14 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, 31 Jul 2013 15:32:38 -0000 John Paul Adrian Glaubitz wrote: > Hello Howard, > > On 07/31/2013 04:09 PM, Howard Chu wrote: >> I only use MDs for live recordings, and I never title the tracks. I just >> go by the recording date to remind me what the tracks contain. It always >> frustrated me that QHiMDTransfer didn't display this info, so I've >> written this patch to add it. Please consider merging this, thanks. > > Thanks a lot for your contribution! We'll review your patch within > the next few days and apply it once we're happy with it. Sounds good. It also occurs to me, it would be nice to set the timestamp on the transferred files as well. If you're interested I'll write a patch for this too. -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/ From glaubitz@physik.fu-berlin.de Wed Jul 31 18:11:39 2013 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by list1.zedat.fu-berlin.de (Exim 4.80.1) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1V4Yzx-0004EW-V9>; Wed, 31 Jul 2013 18:11:38 +0200 Received: from mx.physik.fu-berlin.de ([160.45.64.218]) by relay1.zedat.fu-berlin.de (Exim 4.80.1) with esmtp (envelope-from ) id <1V4Yzx-002EKY-TN>; Wed, 31 Jul 2013 18:11:37 +0200 Received: from zlogin2.physik.fu-berlin.de ([160.45.66.3]) by mx.physik.fu-berlin.de with esmtp (Exim 4.80) (envelope-from ) id 1V4Yzv-0006Fh-Rb; Wed, 31 Jul 2013 18:11:35 +0200 Received: from glaubitz by zlogin2.physik.fu-berlin.de with local (Exim 4.80 #3 (Debian)) id 1V4Yzv-00013V-QS; Wed, 31 Jul 2013 18:11:35 +0200 Date: Wed, 31 Jul 2013 18:11:35 +0200 From: John Paul Adrian Glaubitz To: Howard Chu Message-ID: <20130731161135.GA3353@physik.fu-berlin.de> References: <51F91AB2.6080504@highlandsun.com> <51F92229.90407@physik.fu-berlin.de> <51F92E11.3090403@highlandsun.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51F92E11.3090403@highlandsun.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: John Paul Adrian Glaubitz X-Originating-IP: 160.45.64.218 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1375287097-0000097E-403B69A0/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.002591, version=1.2.4 X-Spam-Flag: NO X-Spam-Status: No, score=-50.0 required=5.0 tests=ALL_TRUSTED X-Spam-Checker-Version: SpamAssassin 3.3.3-zedat0a54d5a on Dschibuti.ZEDAT.FU-Berlin.DE X-Spam-Level: Cc: linux-minidisc@lists.fu-berlin.de Subject: Re: [linux-minidisc] RecordingDate in QHiMDTransfer X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.14 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, 31 Jul 2013 16:11:39 -0000 On Wed, Jul 31, 2013 at 08:32:33AM -0700, Howard Chu wrote: > John Paul Adrian Glaubitz wrote: > >Hello Howard, > > > >On 07/31/2013 04:09 PM, Howard Chu wrote: > >>I only use MDs for live recordings, and I never title the tracks. I just > >>go by the recording date to remind me what the tracks contain. It always > >>frustrated me that QHiMDTransfer didn't display this info, so I've > >>written this patch to add it. Please consider merging this, thanks. > > > >Thanks a lot for your contribution! We'll review your patch within > >the next few days and apply it once we're happy with it. > > Sounds good. It also occurs to me, it would be nice to set the > timestamp on the transferred files as well. If you're interested > I'll write a patch for this too. Sure, go ahead ;). We're all currently a bit low on time, so there isn't much upstream development at the moment even though we have still some things on the TODO list and we already know how to implement most of the things (most of the things behind NetMD/HiMD is already documented in the wiki). In any case, thanks a lot for your contributions! Cheers, Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaubitz@debian.org `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 From hyc@highlandsun.com Wed Jul 31 18:35:50 2013 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by list1.zedat.fu-berlin.de (Exim 4.80.1) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1V4ZNM-0007qt-Oz>; Wed, 31 Jul 2013 18:35:48 +0200 Received: from mail.highlandsun.com ([70.87.222.79]) by relay1.zedat.fu-berlin.de (Exim 4.80.1) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1V4ZNM-002J6o-D6>; Wed, 31 Jul 2013 18:35:48 +0200 Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail.highlandsun.com (Postfix) with ESMTP id E169210EA7; Wed, 31 Jul 2013 12:35:45 -0400 (EDT) Message-ID: <51F93CE1.1050508@highlandsun.com> Date: Wed, 31 Jul 2013 09:35:45 -0700 From: Howard Chu User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0 SeaMonkey/2.22a1 MIME-Version: 1.0 To: John Paul Adrian Glaubitz References: <51F91AB2.6080504@highlandsun.com> <51F92229.90407@physik.fu-berlin.de> <51F92E11.3090403@highlandsun.com> <20130731161135.GA3353@physik.fu-berlin.de> In-Reply-To: <20130731161135.GA3353@physik.fu-berlin.de> Content-Type: multipart/mixed; boundary="------------060007080007060208020609" X-Originating-IP: 70.87.222.79 X-ZEDAT-Hint: A X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1375288548-0000097E-D5E456ED/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.157763, version=1.2.4 X-Spam-Flag: NO X-Spam-Status: No, score=0.0 required=5.0 tests=none X-Spam-Checker-Version: SpamAssassin 3.3.3-zedat0a54d5a on Gabun.ZEDAT.FU-Berlin.DE X-Spam-Level: Cc: linux-minidisc@lists.fu-berlin.de Subject: Re: [linux-minidisc] RecordingDate in QHiMDTransfer X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.14 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, 31 Jul 2013 16:35:50 -0000 This is a multi-part message in MIME format. --------------060007080007060208020609 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit John Paul Adrian Glaubitz wrote: > On Wed, Jul 31, 2013 at 08:32:33AM -0700, Howard Chu wrote: >> John Paul Adrian Glaubitz wrote: >>> Hello Howard, >>> >>> On 07/31/2013 04:09 PM, Howard Chu wrote: >>>> I only use MDs for live recordings, and I never title the tracks. I just >>>> go by the recording date to remind me what the tracks contain. It always >>>> frustrated me that QHiMDTransfer didn't display this info, so I've >>>> written this patch to add it. Please consider merging this, thanks. >>> >>> Thanks a lot for your contribution! We'll review your patch within >>> the next few days and apply it once we're happy with it. >> >> Sounds good. It also occurs to me, it would be nice to set the >> timestamp on the transferred files as well. If you're interested >> I'll write a patch for this too. > > Sure, go ahead ;). Worksforme ;) > We're all currently a bit low on time, so there isn't much upstream > development at the moment even though we have still some things on the > TODO list and we already know how to implement most of the things > (most of the things behind NetMD/HiMD is already documented in the > wiki). > > In any case, thanks a lot for your contributions! > > Cheers, > > Adrian > -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/ --------------060007080007060208020609 Content-Type: text/x-diff; name="0001-Set-datestamp-of-uploaded-tracks.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-Set-datestamp-of-uploaded-tracks.patch" >From 9d99649303dd655200e98518334e12377f3236c9 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 31 Jul 2013 09:26:12 -0700 Subject: [PATCH] Set datestamp of uploaded tracks --- qhimdtransfer/qhimdmainwindow.cpp | 39 +++++++++++++++++++++++++++++++++++++ qhimdtransfer/qhimdmainwindow.h | 1 + 2 files changed, 40 insertions(+) diff --git a/qhimdtransfer/qhimdmainwindow.cpp b/qhimdtransfer/qhimdmainwindow.cpp index e2675d9..5e1bf87 100644 --- a/qhimdtransfer/qhimdmainwindow.cpp +++ b/qhimdtransfer/qhimdmainwindow.cpp @@ -7,6 +7,35 @@ #include +#ifndef Q_OS_WIN +#include +#endif + +void QHiMDMainWindow::setstamp(const QHiMDTrack & trk, QFile & f) +{ + QDateTime dt = trk.recdate(); + f.flush(); +#ifdef Q_OS_WIN + SYSTEMTIME st; + FILETIME ft; + QDate d = dt.date(); + QTime t = dt.time(); + st.wYear = d.year(); + st.wMonth = d.month(); + st.wDay = d.day(); + st.wHour = t.hour(); + st.wMinute = t.minute(); + st.wSecond = t.second(); + st.wMilliseconds = t.msec(); + if (SystemTimeToFileTime(&st, &ft)) + SetFileTime(f.handle(), &ft, NULL, &ft); +#else + struct timeval tv[2]; + tv[0].tv_usec = tv[1].tv_usec = 0; + tv[0].tv_sec = tv[1].tv_sec = dt.toTime_t(); + futimes(f.handle(), tv); +#endif +} QString QHiMDMainWindow::dumpmp3(const QHiMDTrack & trk, QString file) { @@ -44,6 +73,8 @@ QString QHiMDMainWindow::dumpmp3(const QHiMDTrack & trk, QString file) } if(status.status != HIMD_STATUS_AUDIO_EOF) errmsg = tr("Error reading audio data: ") + status.statusmsg; + else + setstamp(trk, f); clean: f.close(); @@ -113,6 +144,8 @@ QString QHiMDMainWindow::dumpoma(const QHiMDTrack & track, QString file) } if(status.status != HIMD_STATUS_AUDIO_EOF) errmsg = QString("Error reading audio data: ") + status.statusmsg; + else + setstamp(track, f); clean: f.close(); @@ -142,6 +175,9 @@ QString QHiMDMainWindow::dumppcm(const QHiMDTrack & track, QString file) signal_out.precision = 16; signal_out.rate = 44100; + if(!f.open(QIODevice::ReadWrite)) + return tr("Error opening file for WAV output"); + if(!(out = sox_open_write(file.toUtf8(), &signal_out, NULL, NULL, NULL, NULL))) return tr("Error opening file for WAV output"); @@ -181,8 +217,11 @@ QString QHiMDMainWindow::dumppcm(const QHiMDTrack & track, QString file) } if(status.status != HIMD_STATUS_AUDIO_EOF) errmsg = QString("Error reading audio data: ") + status.statusmsg; + else + setstamp(track, f); clean: + f.close(); sox_close(out); himd_nonmp3stream_close(&str); diff --git a/qhimdtransfer/qhimdmainwindow.h b/qhimdtransfer/qhimdmainwindow.h index 85be8ae..bc97af6 100644 --- a/qhimdtransfer/qhimdmainwindow.h +++ b/qhimdtransfer/qhimdmainwindow.h @@ -53,6 +53,7 @@ private: bool autodetect_init(); void open_himd_at(const QString & path); void upload_to(const QString & path); + void setstamp(const QHiMDTrack & trk, QFile &f); private slots: void on_action_Connect_triggered(); -- 1.7.9.5 --------------060007080007060208020609--