FAQ  •  Register  •  Login

Is the UPNP Search function properly implemented?

<<

dcorsus

Serviio newbie

Posts: 1

Joined: Thu Jan 19, 2012 4:05 am

Post Sun Sep 22, 2013 9:11 pm

Is the UPNP Search function properly implemented?

It appears that the UPNP urn:upnp-org:serviceId:ContentDirectory:Search works the same like the Browse function. The Search function is supposed to traverse the ContentDirectory structure, including ALL child nodes.

When I do a Search with parameters:
ContainerID=0
SearchCriteria=(upnp:class = "object.container.person.musicArtist") and (@refID exists false)
Filter=*
What is returned is not a list of ALL the Artists, it returns the top level (DirectChildren only) of ContainerID=0 ie.

<?xml version="1.0" encoding="UTF-8" standalone="no"?><DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/"><container childCount="15" id="A" parentID="0" restricted="1" searchable="0"><dc:title>Audio</dc:title><upnp:class>object.container</upnp:class></container><container childCount="7" id="I" parentID="0" restricted="1" searchable="0"><dc:title>Image</dc:title><upnp:class>object.container</upnp:class></container><container childCount="13" id="V" parentID="0" restricted="1" searchable="0"><dc:title>Video</dc:title><upnp:class>object.container</upnp:class></container></DIDL-Lite>

This is what Browse would do with BrowseFlag=BrowseDirectChildren and wrong for the Search function.

Where do I log a bug report?

Dirk
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Sep 23, 2013 8:27 pm

Re: Is the UPNP Search function properly implemented?

No, search is not implemented.
<<

curtmcgirt

Serviio newbie

Posts: 2

Joined: Tue Mar 04, 2014 11:23 pm

Post Mon Mar 10, 2014 11:17 pm

Re: Is the UPNP Search function properly implemented?

any plans to implement it?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Mar 11, 2014 6:11 pm

Re: Is the UPNP Search function properly implemented?

Not currently
<<

nosek.tomas

User avatar

Serviio newbie

Posts: 1

Joined: Wed Dec 30, 2020 10:15 am

Post Wed Dec 30, 2020 10:26 am

Re: Is the UPNP Search function properly implemented?

zip wrote:Not currently


Hello
I have been using Serviio for about 1 year and I am very satisfied. I think it's one of the best media servers. But one single (for me quite important) function is missing here - UPnP search :cry: .

Is there any possibility that UPnP serach would be implemented? Then I would be happy to buy the PRO version :) .

Unfortunately, this is one of the things I look for in "competing" media servers, but none is as good as Serviio....

Thank you

Tomáš Nosek
Czech Republic
<<

matlue

Serviio newbie

Posts: 1

Joined: Sat Jan 10, 2026 3:21 pm

Post Sat Jan 10, 2026 5:23 pm

Re: Is the UPNP Search function properly implemented?

It would be great if UPNP search could be implemented.
When using applications like HEOS, Serviio is otherwise quite unsuitable because you often search for titles or artists.
The search works well in the MediaBrowser, but it seems to be implemented differently.
<<

rendyorton

Serviio newbie

Posts: 4

Joined: Sat Apr 09, 2022 6:07 am

Post Sun Feb 22, 2026 5:52 am

Re: Is the UPNP Search function properly implemented?

Hello, based on your description, the Search action does not seem to follow the UPnP specification correctly. In UPnP AV, the ContentDirectory search request is expected to evaluate the SearchCriteria across the entire subtree of the given ContainerID, not just return its direct children. What you’re seeing matches the behavior of Browse with BrowseDirectChildren, which suggests the Search implementation is falling back to a simplified or incorrect handler.

Before reporting it, double check that the container youa are querying is marked as searchable & that the server actually supports recursive search on ContainerID=0. Some implementations restrict global searches for performance reasons.

And if this is Serviio-related, you can submit a bug report here or issue tracker via the project’s website. Provide your exact request parameters, returned XML, and version details to help reproduce the issue. Hope, by following this way you can get final solution.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 41 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.