|
|
|
09-25-2017, 06:35 AM
|
#1
|
Human being with feelings
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 11,254
|
No Master Track GUID
Anyone know why this is ?
It sure would come in handy for remote mixing to have a per project Master Track GUID.
__________________
To install you need the CSI Software and Support Files
For installation instructions and documentation see the Wiki
Donate -- via PayPal to waddingtongeoff@gmail.com
|
|
|
09-25-2017, 09:25 AM
|
#2
|
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,110
|
Maybe I'm misunderstanding (or do something wrong) but this seems to work here for getting Master Track GUID (as string here for test):
|
|
|
09-25-2017, 01:28 PM
|
#3
|
Human being with feelings
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 11,254
|
So I thought, call it three different times and you will get three different answers.
To be fair, there are comments sprinkled throughout the SDK (reaper_plugin_functions.h)
about not using the master Track GUID.
Be nice to have one though.
__________________
To install you need the CSI Software and Support Files
For installation instructions and documentation see the Wiki
Donate -- via PayPal to waddingtongeoff@gmail.com
|
|
|
09-25-2017, 02:02 PM
|
#4
|
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,110
|
Ah you mean the fact that it's not constant during session.
Didn't quite get that sorry, but seems so indeed.
https://forum.cockos.com/showthread.php?t=176622
Last edited by nofish; 09-25-2017 at 02:23 PM.
|
|
|
09-25-2017, 05:38 PM
|
#5
|
Human being with feelings
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 8,062
|
Quote:
Originally Posted by Geoff Waddington
So I thought, call it three different times and you will get three different answers.
To be fair, there are comments sprinkled throughout the SDK (reaper_plugin_functions.h)
about not using the master Track GUID.
Be nice to have one though.
|
Couldn't you generate your own GUID per project that would represent the master track? (Extension plugins can store custom data into the .rpp, so once the GUID has been generated, it can persist.)
__________________
I am no longer part of the REAPER community. Please don't contact me with any REAPER-related issues.
|
|
|
09-25-2017, 07:27 PM
|
#6
|
Human being with feelings
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 11,254
|
Quote:
Originally Posted by Xenakios
Couldn't you generate your own GUID per project that would represent the master track? (Extension plugins can store custom data into the .rpp, so once the GUID has been generated, it can persist.)
|
Not according to reaper_plugin_functions.h.
Excerpt:
// GUID : GUID * : 16-byte GUID, can query or update (do not use on master though).
void* (*GetSetMediaTrackInfo)(MediaTrack* tr, const char* parmname, void* setNewVanue);
__________________
To install you need the CSI Software and Support Files
For installation instructions and documentation see the Wiki
Donate -- via PayPal to waddingtongeoff@gmail.com
|
|
|
09-26-2017, 07:17 AM
|
#7
|
Human being with feelings
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 8,062
|
Quote:
Originally Posted by Geoff Waddington
Not according to reaper_plugin_functions.h.
Excerpt:
// GUID : GUID * : 16-byte GUID, can query or update (do not use on master though).
void* (*GetSetMediaTrackInfo)(MediaTrack* tr, const char* parmname, void* setNewVanue);
|
No, I mean bypassing the Reaper internal GUID system for the master track. Reaper has a function to generate a GUID, but you would manage that yourself in some suitable way. Custom script/extension data can be stored and loaded from the project file with SetProjExtState and GetProjExtState etc...
__________________
I am no longer part of the REAPER community. Please don't contact me with any REAPER-related issues.
|
|
|
09-26-2017, 08:00 AM
|
#8
|
Human being with feelings
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 11,254
|
Quote:
Originally Posted by Xenakios
No, I mean bypassing the Reaper internal GUID system for the master track. Reaper has a function to generate a GUID, but you would manage that yourself in some suitable way. Custom script/extension data can be stored and loaded from the project file with SetProjExtState and GetProjExtState etc...
|
Ah, gotcha', good idea, thanks.
__________________
To install you need the CSI Software and Support Files
For installation instructions and documentation see the Wiki
Donate -- via PayPal to waddingtongeoff@gmail.com
|
|
|
10-08-2017, 07:32 AM
|
#9
|
Human being with feelings
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 11,254
|
Quote:
Originally Posted by Xenakios
No, I mean bypassing the Reaper internal GUID system for the master track. Reaper has a function to generate a GUID, but you would manage that yourself in some suitable way. Custom script/extension data can be stored and loaded from the project file with SetProjExtState and GetProjExtState etc...
|
Been thinking about this, I don't see how you overcome the following problem:
We assign GUID to Master Track.
We save this info in our config file, pseudo script = Master Track lock "$GUID3s-eRte- whatever a gUID looks like"
We also update ProjExt.
Users goes to quit Reaper, Reaper notices dirty flag due to ProjExt, ask if User wants to save, user declines because they didn't think they changed anything.
Houston, we have a problem.
We now have a GUID in our config file that points nowhere.
Have I missed something obvious ?
__________________
To install you need the CSI Software and Support Files
For installation instructions and documentation see the Wiki
Donate -- via PayPal to waddingtongeoff@gmail.com
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 04:13 AM.
|