tv_projectsaveaudiodependencies and tv_projectsavevideodependencies

A forum dedicated to George scripting questions
Post Reply
ademir.p
Posts: 10
Joined: 24 May 2022, 14:59

tv_projectsaveaudiodependencies and tv_projectsavevideodependencies

Post by ademir.p »

Does this command work?

Code: Select all

tv_projectsaveaudiodependencies
Here is the link address to the documentation:
https://doc-tvp11.tvpaint.com/index.php ... pendencies

I was thinking that it would do the equivalent to Project -> Dependencies -> Embed audio dependencies, now

Any ideas?
Last edited by ademir.p on 01 Oct 2024, 09:35, edited 1 time in total.
Windows 11 Pro, 64-bit, 11th Gen Intel(R) Core(TM) i7-11370H @ 3.30GHz, 16 GB RAM
TVPaint Animation 11 Pro WIBU (11.5.3-64 bits)
User avatar
Thierry
Site Admin
Posts: 2780
Joined: 07 Jan 2013, 08:28

Re: tv_projectsaveaudiodependencies

Post by Thierry »

Hello,

There's something missing in the documentation for this one, you need to get the project's ID first, and set it as parameter to the command.
Here's how you should use it:

Code: Select all

tv_ProjectCurrentID
projectID = result
tv_ProjectSaveAudioDependencies projectID true
We'll update the documentation this week.
ademir.p
Posts: 10
Joined: 24 May 2022, 14:59

Re: tv_projectsaveaudiodependencies

Post by ademir.p »

Hi Thierry,

Thanks for the quick response.

I confirmed this with brunchstudio on the git repo pytvpaint. You can find the full conversation on the github issue here.

Here are the most important details from the github issue:
The audio dependencies are not saved even when calling

Code: Select all

tv_ProjectSaveAudioDependencies
directly in george from tvpaint,

Code: Select all

tv_ProjectSaveVideoDependencies
doesn't seem to work either. They both return a

Code: Select all

-1
code which in TVPaint usually means an error occured. There is no documentation for any of the above george commands or their return codes. This is all that is provided:

Code: Select all

tv_projectsaveaudiodependencies

[DESCRIPTION]

------------------------------------------------------------------------------------------------------

tv_projectsavevideodependencies

[DESCRIPTION]

------------------------------------------------------------------------------------------------------
Thanks for updating the documentation on

Code: Select all

tv_ProjectSaveAudioDependencies
While you update the documentation would it be possible to update

Code: Select all

tv_ProjectSaveVideoDependencies
as well?
I'm assuming it would be the same fix.
Windows 11 Pro, 64-bit, 11th Gen Intel(R) Core(TM) i7-11370H @ 3.30GHz, 16 GB RAM
TVPaint Animation 11 Pro WIBU (11.5.3-64 bits)
ademir.p
Posts: 10
Joined: 24 May 2022, 14:59

Re: tv_projectsaveaudiodependencies

Post by ademir.p »

Hi Thierry,

Hope you are well. Just pinging this. 8)
Thierry wrote: 23 Sep 2024, 11:47 We'll update the documentation this week.
Windows 11 Pro, 64-bit, 11th Gen Intel(R) Core(TM) i7-11370H @ 3.30GHz, 16 GB RAM
TVPaint Animation 11 Pro WIBU (11.5.3-64 bits)
Post Reply