View Single Post
Old 06-11-2010, 02:42 AM   #6
Mekk
Member
Mekk is on a distinguished road
 
Mekk's Avatar
 
Posts: 21
Karma: 50
Join Date: Jun 2010
Location: Poland
Device: Sony PRS-600
One small problem: in case catalog is given search params which no book satisfy, it fails (returns error exit code, prints error message). It makes scripting around this command somewhat troublesome (either I must ignore all calibredb errors, or fail in correct situations when simply nothing is found, or capture standard error and regexp it to detect this very case).

Is it a deliberate decision? What would be wrong in creating empty catalog?
Mekk is offline   Reply With Quote