Xojo Conferences
XDCMay2019MiamiUSA

[MBS] Opening QuickTime files where references are missing (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] [ANN] 14.2pr4
Next thread: [MBS] Loading DLL


Re: [MBS] AuthorizationMBS   -   Garth Hjelte
  [MBS] Opening QuickTime files where references are missing   -   Marnaud
   Re: [MBS] Opening QuickTime files where references are missing   -   Christian Schmitz
   Re: [MBS] Opening QuickTime files where references are missing   -   Marnaud
   Re: [MBS] Opening QuickTime files where references are missing   -   Christian Schmitz

[MBS] Opening QuickTime files where references are missing
Date: 21.04.14 12:35 (Mon, 21 Apr 2014 13:35:47 +0200)
From: Marnaud
Hello!

When one QuickTime file (.mov) misses one reference (e.g. the file was saved as a reference movie and one of the original files was deleted), QuickTime shows a dialog that tells it looks for one file, even in our applications. Is it possible to bypass that dialog (e.g. opening the file anyway) and, then, knowing that some references could not be found?
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] Opening QuickTime files where references are missing
Date: 21.04.14 16:52 (Mon, 21 Apr 2014 17:52:09 +0200)
From: Christian Schmitz

Am 21.04.2014 um 16:27 schrieb Marnaud <<email address removed>>:

> Le 21 avr. 2014 à 14:10, Christian Schmitz a écrit:
>
>> Well, QTTrackMBS class has File() function to get the files referenced.
>
> My bad… it's the main function of my app (to show references); I expected that function to fail (ignore nil files) when a reference is not found… wrong guess.

It should.
I'll email you a sample and a new plugin to try it.

Sincerely
Christian

--

Re: [MBS] Opening QuickTime files where references are missing
Date: 21.04.14 15:27 (Mon, 21 Apr 2014 16:27:17 +0200)
From: Marnaud
Le 21 avr. 2014 à 14:10, Christian Schmitz a écrit:

> Well, QTTrackMBS class has File() function to get the files referenced.

My bad… it's the main function of my app (to show references); I expected that function to fail (ignore nil files) when a reference is not found… wrong guess.

> I see I could return you the alias in a new function, so you can query alias information with the AliasInfoMBS class.

Those references would be "alis" resources? I couldn't find such using my resources editor.

> To open you can use OpenAsMovieWithFlagsMBS and use flag newMovieDontAskUnresolvedDataRefs.

Thank you very much!
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] Opening QuickTime files where references are missing
Date: 21.04.14 13:10 (Mon, 21 Apr 2014 14:10:14 +0200)
From: Christian Schmitz

Am 21.04.2014 um 13:35 schrieb Marnaud <<email address removed>>:

> Hello!
>
> When one QuickTime file (.mov) misses one reference (e.g. the file was saved as a reference movie and one of the original files was deleted), QuickTime shows a dialog that tells it looks for one file, even in our applications. Is it possible to bypass that dialog (e.g. opening the file anyway) and, then, knowing that some references could not be found?

Well, QTTrackMBS class has File() function to get the files referenced.
I see I could return you the alias in a new function, so you can query alias information with the AliasInfoMBS class.

To open you can use OpenAsMovieWithFlagsMBS and use flag newMovieDontAskUnresolvedDataRefs.

Sincerely
Christian