jellyfin / jellyfin-web

Web Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
2.35k stars 1.26k forks source link

Search doesn't return content that is actually available #6170

Open pixel24 opened 2 weeks ago

pixel24 commented 2 weeks ago

Describe The Bug For example, when I search for "R.E.M." (I have several albums by them, and that's how it appears in the metadata), no artist is displayed in the results (see picture 1).

However, when I click on the "R.E.M." link under one of the albums, I am taken to the artist's page (see picture 2). In Finamp, the same search returns the correct result (see picture 3).

A media scan, whether "scan for changes" or "replace all," doesn't fix the issue either.

Steps To Reproduce

  1. Open Webclient or stock-app
  2. search
  3. searchstring="R.E.M."

Screenshots picture1 picture2 picture3

System (please complete the following information):

See: https://forum.jellyfin.org/t-search-issues-again

viown commented 1 week ago

I tried creating an artist with the exact same name as yours but it shows up as expected when searching. Does this happen with all artists with dots in their name?

pixel24 commented 1 week ago

I tested it with "B.B. King." He was found.

pixel24 commented 1 week ago

Jellyfin Generally Has Issues with Special Characters in Search Queries

When I search for "Destiny’s Child," no artist is displayed. However, if I search for "Child," I can find Destiny’s Child. To test this, I then open the artist and copy the string "Destiny’s Child" that the Jellyfin Web UI displays into the search field -> No results.

I can only find anything with an apostrophe (') through workarounds. I've gotten used to it, but it's frustrating. :-(

viown commented 1 week ago

Jellyfin Generally Has Issues with Special Characters in Search Queries

When I search for "Destiny’s Child," no artist is displayed. However, if I search for "Child," I can find Destiny’s Child. To test this, I then open the artist and copy the string "Destiny’s Child" that the Jellyfin Web UI displays into the search field -> No results.

I can only find anything with an apostrophe (') through workarounds. I've gotten used to it, but it's frustrating. :-(

This is definitely odd and I can confirm it's not usually the case. If you can investigate this issue and figure out what the difference is between "B.B. King." and "R.E.M." that makes "R.E.M." not show up I might be able to reproduce it. This could be metadata/folder-naming related.

pixel24 commented 1 week ago

Maybe it’s also related to the UTF-8 encoding of my ID3 tags. Is there any way I can send you two OGG files in case that helps?