mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-07-09 17:07:44 +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>
|
2018-11-30 Patrick Linstruth <patrick@deltecent.com>
|
||||||
* Added text clarifying independent rdpanel(1) panels in Ops Guide
|
* Added text clarifying independent rdpanel(1) panels in Ops Guide
|
||||||
and other minor corrections.
|
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) {
|
if(import_delete_cuts) {
|
||||||
DeleteCuts(import_cart_number);
|
DeleteCuts(import_cart_number);
|
||||||
}
|
}
|
||||||
cart_created=
|
if (RDCart::exists(*cartnum)) {
|
||||||
RDCart::create(effective_group->name(),RDCart::Audio,&err_msg,*cartnum)!=0;
|
cart_created=false;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
cart_created=
|
||||||
|
RDCart::create(effective_group->name(),RDCart::Audio,&err_msg,*cartnum)!=0;
|
||||||
|
}
|
||||||
RDCart *cart=new RDCart(*cartnum);
|
RDCart *cart=new RDCart(*cartnum);
|
||||||
int cutnum=
|
int cutnum=
|
||||||
cart->addCut(import_format,import_bitrate,import_channels);
|
cart->addCut(import_format,import_bitrate,import_channels);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user