mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-13 08:05:55 +01:00
2020-09-21 Fred Gleason <fredg@paravelsystems.com>
* Added a 'PODCASTS.SHA1_HASH' field to the database. * Incremented the database version to 335. * Added 'RDPodcast::sha1Hash()' and 'RDPodcast::setSha1Hash()' methods. * Implemented audio relinking for podcast media files. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -68,6 +68,8 @@ class RDPodcast
|
||||
void setAudioLength(int len) const;
|
||||
int audioTime() const;
|
||||
void setAudioTime(int msecs) const;
|
||||
QString sha1Hash() const;
|
||||
void setSha1Hash(const QString &str=QString()) const;
|
||||
QDateTime expirationDateTime() const;
|
||||
void setExpirationDateTime(const QDateTime &dt) const;
|
||||
RDPodcast::Status status() const;
|
||||
@@ -79,6 +81,7 @@ class RDPodcast
|
||||
unsigned feed_id,unsigned cast_id);
|
||||
|
||||
private:
|
||||
bool DeletePodcast(unsigned cast_id) const;
|
||||
void SetRow(const QString ¶m,int value) const;
|
||||
void SetRow(const QString ¶m,const QString &value) const;
|
||||
void SetRow(const QString ¶m,const QDateTime &datetime,const QString &value) const;
|
||||
|
||||
Reference in New Issue
Block a user