Am 2013-03-19 09:37, schrieb Matthew Paul Thomas:
> Sebastian, sorry, I don't understand the question. Are you saying the
> API lets you search for an application that can open multiple Mime
> types? E.g. "Find an application that handles both audio/mpeg3 and
> application/ogg"? If so, what is the use case for that? Thanks.
Indeed. You can request a handler or several handlers for multiple mime
types at once. I also cannot imagine a good use case for requesting
several mime type handlers at the same time. But that is the given
design of the PackageKit API that we need to implement here.
The same is true for multimedia codecs - and more obvious: You e.g.
need a handler for the audio stream, the video stream and the container
format. In a cornor case all three handlers are located in separate
packages. There is a small logic in session-installer that pre-selects
the package or the best packages that provide all handlers by default.
Am 2013-03-19 09:37, schrieb Matthew Paul Thomas:
> Sebastian, sorry, I don't understand the question. Are you saying the
> API lets you search for an application that can open multiple Mime
> types? E.g. "Find an application that handles both audio/mpeg3 and
> application/ogg"? If so, what is the use case for that? Thanks.
Indeed. You can request a handler or several handlers for multiple mime
types at once. I also cannot imagine a good use case for requesting
several mime type handlers at the same time. But that is the given
design of the PackageKit API that we need to implement here.
The same is true for multimedia codecs - and more obvious: You e.g.
need a handler for the audio stream, the video stream and the container
format. In a cornor case all three handlers are located in separate
packages. There is a small logic in session-installer that pre-selects
the package or the best packages that provide all handlers by default.