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:
@@ -125,7 +125,7 @@ void Xport::Export()
|
||||
RDCart *cart=new RDCart(cartnum);
|
||||
RDCut *cut=new RDCut(cartnum,cutnum);
|
||||
cart->getMetadata(wavedata);
|
||||
cut->getMetadata(wavedata);
|
||||
cut->getMetadata(wavedata,true);
|
||||
if(cart->enforceLength()) {
|
||||
speed_ratio=(float)cut->length()/(float)cart->forcedLength();
|
||||
}
|
||||
|
||||
@@ -229,8 +229,8 @@ void Xport::Import()
|
||||
remote_host,settings,msecs);
|
||||
if(use_metadata>0) {
|
||||
cart->setMetadata(conv->sourceWaveData());
|
||||
cut->setMetadata(conv->sourceWaveData());
|
||||
}
|
||||
cut->setMetadata(conv->sourceWaveData(),use_metadata);
|
||||
if(autotrim_level!=0) {
|
||||
cut->autoTrim(RDCut::AudioBoth,100*autotrim_level);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user