Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

SetProtocolInfo: return in priority the non transcoded URL AND same mime type base #107

Description

@lferrandis

When searching a matching resource url, we should not return the first that match the supported format, but we should return in priority the non transcoded URL, then any matching url.

We should also ensure to return in priority the same base mime type.
An object could have 2 audio URLs and 2 image URLs (cover). If we don't support the audio, we should not return the cover instead.

Activity

  1. jku commented on Jul 17, 2013

    @jku
    Contributor

    We might actually want to use the GUPnP-AV API that already does some of this :)

    https://developer.gnome.org/gupnp-av/unstable/GUPnPDIDLLiteObject.html#gupnp-didl-lite-object-get-compat-resource

    It seems to handle prioritizing non-transcoded resources. It doesn't handle the mimetype/upnp_class comparison but I think we should add the new functionality in gupnp-av and not in dleyna and then modify dleyna to use this function -- unless of course there was some good reason to do it inside dleyna.

  2. ghost assigned on Sep 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions