Skip to content
Snippets Groups Projects
Commit 741f1f90 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

upnp: fix browsing of certain servers

This is a partial revert of 785c6dfe. Some servers (notably PLEX, UMS,
and some TV sets) amend the exposed media type with additional subtypes
for further differentiation not relevant to VLC, so it is actually
correct to compare the beginning of the string only.

For instance "object.container" can turn into
"object.container.storageFolder" or "object.container.person.musicArtist"
so the plain strcmp will fail to recognize the container nature.

Fixes vlc-ios#1239
parent d70b37f3
No related branches found
No related tags found
Loading
Pipeline #179441 passed with stages
in 21 minutes and 41 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment