mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-07-09 08:57:46 +02:00
Fixed regression with rdimport(1) that threw SQL errors when importing into an existing cart.
This commit is contained in:
parent
0cea67a579
commit
bc0ec04b8a
@ -18091,3 +18091,6 @@
|
||||
2018-11-30 Patrick Linstruth <patrick@deltecent.com>
|
||||
* Added text clarifying independent rdpanel(1) panels in Ops Guide
|
||||
and other minor corrections.
|
||||
2018-11-30 Patrick Linstruth <patrick@deltecent.com>
|
||||
* Fixed regression with rdimport(1) that threw SQL errors when
|
||||
importing into an existing cart.
|
||||
|
@ -1099,8 +1099,13 @@ MainObject::Result MainObject::ImportFile(const QString &filename,
|
||||
if(import_delete_cuts) {
|
||||
DeleteCuts(import_cart_number);
|
||||
}
|
||||
cart_created=
|
||||
RDCart::create(effective_group->name(),RDCart::Audio,&err_msg,*cartnum)!=0;
|
||||
if (RDCart::exists(*cartnum)) {
|
||||
cart_created=false;
|
||||
}
|
||||
else {
|
||||
cart_created=
|
||||
RDCart::create(effective_group->name(),RDCart::Audio,&err_msg,*cartnum)!=0;
|
||||
}
|
||||
RDCart *cart=new RDCart(*cartnum);
|
||||
int cutnum=
|
||||
cart->addCut(import_format,import_bitrate,import_channels);
|
||||
|
Loading…
x
Reference in New Issue
Block a user