mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-31 08:02:43 +02:00
2020-09-21 Fred Gleason <fredg@paravelsystems.com>
* Added a 'SHA1' column to the 'Podcast Item List' dialog in rdcastmanager(1). Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
6d3a60d174
commit
5349a8e853
@ -20291,3 +20291,6 @@
|
||||
* Added 'RDPodcast::sha1Hash()' and 'RDPodcast::setSha1Hash()'
|
||||
methods.
|
||||
* Implemented audio relinking for podcast media files.
|
||||
2020-09-21 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Added a 'SHA1' column to the 'Podcast Item List' dialog in
|
||||
rdcastmanager(1).
|
||||
|
@ -137,6 +137,8 @@ ListCasts::ListCasts(unsigned feed_id,bool is_super,QWidget *parent)
|
||||
list_casts_view->setColumnAlignment(6,Qt::AlignCenter);
|
||||
list_casts_view->addColumn(tr("Posted By"));
|
||||
list_casts_view->setColumnAlignment(7,Qt::AlignLeft);
|
||||
list_casts_view->addColumn(tr("SHA1"));
|
||||
list_casts_view->setColumnAlignment(8,Qt::AlignLeft);
|
||||
connect(list_casts_view,
|
||||
SIGNAL(doubleClicked(Q3ListViewItem *,const QPoint &,int)),
|
||||
this,
|
||||
@ -588,7 +590,8 @@ void ListCasts::RefreshItem(RDListViewItem *item)
|
||||
"PODCASTS.ITEM_CATEGORY,"+ // 07
|
||||
"PODCASTS.ORIGIN_LOGIN_NAME,"+ // 08
|
||||
"PODCASTS.ORIGIN_STATION,"+ // 09
|
||||
"PODCASTS.ORIGIN_DATETIME "+ // 10
|
||||
"PODCASTS.ORIGIN_DATETIME,"+ // 10
|
||||
"PODCASTS.SHA1_HASH "+ // 11
|
||||
"from PODCASTS left join FEEDS "+
|
||||
"on PODCASTS.FEED_ID=FEEDS.ID where "+
|
||||
QString().sprintf("PODCASTS.ID=%d",item->id());
|
||||
@ -633,6 +636,12 @@ void ListCasts::RefreshItem(RDListViewItem *item)
|
||||
q->value(9).toString()+" "+tr("at")+" "+
|
||||
q->value(10).toDateTime().toString("MM/dd/yyyy hh:mm:ss"));
|
||||
}
|
||||
if(q->value(11).toString().isEmpty()) {
|
||||
item->setText(8,tr("[none]"));
|
||||
}
|
||||
else {
|
||||
item->setText(8,q->value(11).toString());
|
||||
}
|
||||
}
|
||||
delete q;
|
||||
}
|
||||
|
@ -406,6 +406,14 @@ Log</source>
|
||||
<source>Select Audio File</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>SHA1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>[none]</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LogDialog</name>
|
||||
|
@ -391,6 +391,14 @@ Log</source>
|
||||
<source>Select Audio File</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>SHA1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>[none]</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LogDialog</name>
|
||||
|
@ -346,6 +346,14 @@ Log</source>
|
||||
<source>Select Audio File</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>SHA1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>[none]</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LogDialog</name>
|
||||
|
@ -247,6 +247,14 @@ Log</source>
|
||||
<source>Select Audio File</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>SHA1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>[none]</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LogDialog</name>
|
||||
|
@ -378,6 +378,14 @@ Log</source>
|
||||
<source>Select Audio File</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>SHA1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>[none]</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LogDialog</name>
|
||||
|
@ -378,6 +378,14 @@ Log</source>
|
||||
<source>Select Audio File</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>SHA1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>[none]</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LogDialog</name>
|
||||
|
@ -356,6 +356,14 @@ Log</source>
|
||||
<source>Select Audio File</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>SHA1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>[none]</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LogDialog</name>
|
||||
|
Loading…
x
Reference in New Issue
Block a user