PreferredQuality prior to extractUrl
7 posts
• Page 1 of 1
I am building a new web resource plugin. Unfortunately the item list is dependant on the quality. Is it possible to get PreferredQuality via function / method call while in extractItems? or is the REST service the only way to accomplish this?
Re: PreferredQuality prior to extractUrl
I believe the correct way is to build the resource with the links for all 3 qualities, then when the use selects one to play the contentUrl that matches that users preference is returned.
Re: PreferredQuality prior to extractUrl
Not positive, but there isn't a property for quality on an item in the return from extractItems.
Re: PreferredQuality prior to extractUrl
you can build a map of items based on a quality in the extractItems method and then pass it down to exctractURL() as one of the parameters. There you'll be able to pick which url to use.
Or do you mean that some items will not even be available for certain qualities?
Or do you mean that some items will not even be available for certain qualities?
Petr
Serviio developer / site admin
Do not send me PM for support as the solution can't be shared with others.
Follow Serviio on Facebook | Follow Serviio on Twitter
Help translate Serviio
Intel UPnP tools | HOWTO: Turn on detailed logging | HOWTO: Provide supported formats of a device | HOWTO: Provide details of a video file that doesn't play
Serviio developer / site admin
Do not send me PM for support as the solution can't be shared with others.
Follow Serviio on Facebook | Follow Serviio on Twitter
Help translate Serviio
Intel UPnP tools | HOWTO: Turn on detailed logging | HOWTO: Provide supported formats of a device | HOWTO: Provide details of a video file that doesn't play
Re: PreferredQuality prior to extractUrl
Correct. I believe that some items may not be available at all based on their quaility. Easy if only non-HD content is available, other way around I would want to filter out the HD only for non HIGH quality.
Re: PreferredQuality prior to extractUrl
I'd say go the easy way... support all items and where they have more quality options decide based on the flag. Otherwise default to the only choice available.
Petr
Serviio developer / site admin
Do not send me PM for support as the solution can't be shared with others.
Follow Serviio on Facebook | Follow Serviio on Twitter
Help translate Serviio
Intel UPnP tools | HOWTO: Turn on detailed logging | HOWTO: Provide supported formats of a device | HOWTO: Provide details of a video file that doesn't play
Serviio developer / site admin
Do not send me PM for support as the solution can't be shared with others.
Follow Serviio on Facebook | Follow Serviio on Twitter
Help translate Serviio
Intel UPnP tools | HOWTO: Turn on detailed logging | HOWTO: Provide supported formats of a device | HOWTO: Provide details of a video file that doesn't play
Re: PreferredQuality prior to extractUrl
zip wrote:I'd say go the easy way... support all items and where they have more quality options decide based on the flag. Otherwise default to the only choice available.
Makes sense. Since it's a preferrence vs a filter. Thanks.
7 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 33 guests