> I would like to build an automated process that grabs the latest
Caissabase files when they are released, turn them into PGN, and push the
updated games into my own personal database

Normally PGN is not the solution, but the problem.
In this example, you want a script for tcscid which

Open your_database
Open cassaibase
sc_search date LASTDATE
sc_filter copy cassaibase your_database

If you keep a copy of previous_cassabase around, you can also ascertain
LASTDATE

Have a look in the scripts folder for examples.,
And the tkscid programmers reference Web page
for  help.

S. A



On Saturday, January 28, 2023, Nathan Loding <nat...@loding.dev> wrote:

> I was wondering if there was a way to script the conversion of the
> si4/etc. database(s) to PGN format? There is the CLI tool to convert PGN to
> SCID automatically, but I am looking to go the other way around. I dug
> through the source code, but I am not a Tcl or C++ programmer, and the C++
> methods are very tightly coupled to the Tcl interpreter; I don't even know
> where to begin
>
> As an example for what I'd like to do: I would like to build an automated
> process that grabs the latest Caissabase files when they are released, turn
> them into PGN, and push the updated games into my own personal database. I
> have some other use cases, including a demo for my day job, but all require
> hands-off automated processing (even if that processing takes some time),
> and can't interact with a GUI.
>
> Any thoughts on whether this is currently achievable, or something that
> could be achieved in the future? Thanks!
>
> --nathan
>
_______________________________________________
Scidvspc-users mailing list
Scidvspc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scidvspc-users

Reply via email to