View Single Post
Old 08-26-2018, 08:30 PM   #35
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
CLI Option to Specify Library in Command File

Added: the syntax available in Version 1.0.3 will be exactly:
calibre-debug -r "CalibreSpy" -- --"S:\Calibre\CalibreJobSpyTest2"


The first -- is stripped away by calibre-debug, and then it passes the ' --"S:\Calibre\CalibreJobSpyTest2" ' on to CalibreSpy. It then strips the leading "--", leaving the path.


What is shown above will work every time if the path is valid. If not, the popup combobox will not be bypassed, and CalibreSpy will behave as if the Library had not been supplied.

calibre-debug does not support any " --with-library...." syntax, so that is not an option (forgive the pun).

Version 1.0.3 has the ability to re-order the 11 columns by specific library. It will be uploaded later this week.


DaltonSt

Last edited by DaltonST; 08-26-2018 at 11:43 PM. Reason: calibre-debug -r "CalibreSpy" -- --"S:\Calibre\CalibreJobSpyTest2"
DaltonST is offline   Reply With Quote