OPDS Search shows no query

I am working on a lightweight OPDS server, as komga/kavita is too much for my needs.

I have implemented OPDS v1.2 with OPDS PSE 1.1 and both download and streaming is working great.

My only issue is search. When i search in Panels only /opds/v1.2/search.xml is hit and no query is attached.

Originally i used http://HOST:8382/ as OPDS url, then /opds then /opds/v1.2/catalog but no matter what, search wont return anything. Other apps will hit /opds/v1.2/search?searchTerm= but Panels just hits /opds/v1.2/search.xml and then nothing.

Is search only supported using Komga? If i setup Komga it works without issues.

Search should work with any OPDS server implementing OpenSearch.

First, Panels looks for the link with rel="search" and type="application/opensearchdescription+xml", and follows the link to get the search descriptor. Then parses de search descriptor and looks for the tag OpenSearchDescription containing a url with template. It replaces the key {searchTerms} with the user query, and follows the resulting URL.

Is your search.xml correctly formed?

Can you share it?

Thank you for the reply. I looked at my search again and reimplemented the OpenSearch.

Both search, download and streaming is now working for me.
If you are interested, my repo is at ComicOPDS

1 Like

Awesome! Do you have an icon for your server? I’m happy to add it to the known servers on Panels, so when users connect to it, your icon shows up instead of the generic OPDS icon.
Also, just so you know, we have a #developers channel in our Discord Server. Feel free to swing by.