You dont have to use protocols at all. Just ask them to pass data in
to your QC Composition via known keys that you define. you can just
publish inputs for them, and have the strings be used in your comp
appropriately. Protocols are not required.. no need to over-complicate
this.
On Jul 11, 2009, at 6:39 PM, Daniel Eriksson wrote:
Thanks, I kinda understand.
Let me put it like this then. I am helping the Plex developers with
creating a visualizer. If a make a good one enough, they will use it
as their "Now Playing" screen in Plex (if you do not know what it
is, it's a mediacenter solution for the mac. http://www.plexapp.com).
I told the guys that it will not be possible to add info about the
next track, but they are open for ideas on how to solve things like
this. Is there something they can develop in Plex, so QC can get
that data? The "Now Playing" screen they are using has that info
today.
Plex is not a Cocoa-app though, it's a weird mix of different
libraries and frameworks.
Regards,
Daniel
On Jul 10, 2009, at 2:37 PM, Christopher Wright wrote:
1. Ok, that was what I was afraid of. But let me rephrase the
question then. Is there a list somewhere with which protocols are
in place today for iTunes? The Visualizer template, do that
contain all of them already?
A protocol is just a defined way to get data into and out of a
composition. All the protocols are listed in the Protocol
Conformance dialog (option-cmd-P):
<QCProtocols.png>
(The QuartzBuilder Application isn't there by default -- that's
from a kineme.net product)
iTunes only obeys the Music Visualizer protocol -- a composition
can obey more than 1 protocol, but an app will only ever make use
of the ones it was designed for.
When you add a protocol (through this dialog, or when creating a
new composition from a template), it'll add _all_ the required
inputs/outputs, and _all_ the optional inputs/outputs. So what you
see is what there is.
2. And for future reference, is there a list with other
applications protocols that Apple provides? Maybe I will hit the
same snag when doing something for iphoto, iMovie etc.
The list above is all of them. Applications will pick compositions
that support the protocols they require (iTunes selecting Music
Visualizers, for example), but I don't know if each app will let
you know what protocol it's looking for. (In many cases it's
implied, but sometimes it's not so clear)
--
[ christopher wright ]
[email protected]
http://kineme.net/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected]
)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/doktorp%40mac.com
This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to [email protected]