mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-12-01 14:20:11 +01:00
2025-07-01 Fred Gleason <fredg@paravelsystems.com>
* Added a 'bool incl_str_fields' parameter to the 'RDCut::setMetadata()' and 'RDCut::getMetadata()' methods. * Fixed a bug in rdcatchd(8) that caused embedded source start and end datetime metadata to fail to be applied in download events when the 'Update Library Metadata' attribute was not selected. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -392,7 +392,7 @@ bool MainObject::Export(CatchEvent *evt,QString *err_msg)
|
||||
if(evt->enableMetadata()) {
|
||||
wavedata=new RDWaveData();
|
||||
cart->getMetadata(wavedata);
|
||||
cut->getMetadata(wavedata);
|
||||
cut->getMetadata(wavedata,true);
|
||||
conv->setDestinationWaveData(wavedata);
|
||||
}
|
||||
switch((conv_err=conv->convert())) {
|
||||
@@ -481,9 +481,11 @@ bool MainObject::Import(CatchEvent *evt,QString *err_msg)
|
||||
ret=false;
|
||||
break;
|
||||
}
|
||||
if((conv->sourceWaveData()!=NULL)&&(evt->enableMetadata())) {
|
||||
cart->setMetadata(conv->sourceWaveData());
|
||||
cut->setMetadata(conv->sourceWaveData());
|
||||
if(conv->sourceWaveData()!=NULL) {
|
||||
cut->setMetadata(conv->sourceWaveData(),evt->enableMetadata());
|
||||
if(evt->enableMetadata()) {
|
||||
cart->setMetadata(conv->sourceWaveData());
|
||||
}
|
||||
}
|
||||
rda->syslog(LOG_INFO,"completed import of %s to cut %s, id=%d",
|
||||
(const char *)evt->tempName().toUtf8(),
|
||||
|
||||
Reference in New Issue
Block a user