Skip to content

Library search broken #1297

Open
Open
@maniac103

Description

@maniac103

Since 9.0 (I recently upgraded from 8.5) library search is returning flat out wrong data. One example (debug log from an app I wrote doing search requests via cometd):

01-15 10:10:01.850  7572  7614 D CometdClient: --> POST http://192.168.100.10:9000/cometd
01-15 10:10:01.850  7572  7614 D CometdClient: Content-Type: application/json; charset=utf-8
01-15 10:10:01.850  7572  7614 D CometdClient: Content-Length: 243
01-15 10:10:01.850  7572  7614 D CometdClient: User-Agent: Squeezer-squeezer/1.0
01-15 10:10:01.850  7572  7614 D CometdClient: 
01-15 10:10:01.850  7572  7614 D CometdClient: [{"channel":"/slim/request","clientId":"0303b530","data":{"request":["b8:ae:ed:7c:ce:d4",["browselibrary","items","0","300","mode:albums","search:a-ha","menu:browselibrary","useContextMenu:1"]],"response":"/0303b530/slim/request/52"},"id":96}]
01-15 10:10:01.850  7572  7614 D CometdClient: --> END POST (243-byte body)
01-15 10:10:02.036  7572  7614 D CometdClient: <-- 200 OK http://192.168.100.10:9000/cometd (185ms)
01-15 10:10:02.036  7572  7614 D CometdClient: Server: Lyrion Music Server (9.0.1 - 1736238071)
01-15 10:10:02.036  7572  7614 D CometdClient: Cache-Control: no-cache
01-15 10:10:02.036  7572  7614 D CometdClient: Connection: Keep-Alive
01-15 10:10:02.036  7572  7614 D CometdClient: Pragma: no-cache
01-15 10:10:02.036  7572  7614 D CometdClient: Content-Length: 77
01-15 10:10:02.036  7572  7614 D CometdClient: Content-Type: application/json
01-15 10:10:02.036  7572  7614 D CometdClient: Expires: -1
01-15 10:10:02.036  7572  7614 D CometdClient: X-Time-To-Serve: 0.123763084411621
01-15 10:10:02.036  7572  7614 D CometdClient: 
01-15 10:10:02.036  7572  7614 D CometdClient: [{"id":96,"clientId":"0303b530","successful":true,"channel":"/slim/request"}]
01-15 10:10:02.036  7572  7614 D CometdClient: <-- END HTTP (77-byte body)
01-15 10:10:02.472  7572  7621 D CometdClient: Received event message (111450 bytes): Message(channelId=ChannelId(channel=/0303b530/slim/request/52), clientId=null, id=96, successful=true, data={"offset":0,"base":{"actions":{"set-preset-2":{"player":0,"itemsParams":"presetParams","cmd":["jivefavorites","set_preset","key:2"]},"add-hold":{"params":{"menu":1,"cmd":"insert"},"cmd":["playlistcontrol"],"itemsParams":"commonParams","player":0},"set-preset-1":{"player":0,"cmd":["jivefavorites","set_preset","key:1"],"itemsParams":"presetParams"},"playControl":{"window":{"isContextMenu":1},"player":0,"params":{"_index":"0","_quantity":"300","mode":"albums","search":"a-ha","menu":"browselibrary","useContextMenu":"1"},"cmd":["browselibrary","items"],"itemsParams":"playControlParams"},"set-preset-3":{"itemsParams":"presetParams","cmd":["jivefavorites","set_preset","key:3"],"player":0},"set-preset-0":{"itemsParams":"presetParams","cmd":["jivefavorites","set_preset","key:0"],"player":0},"set-preset-4":{"player":0,"itemsParams":"presetParams","cmd":["jivefavorites","set_preset","key:4"]},"set-preset-6":{"player":0,"itemsParams":"presetParams","cmd":["jivefavorites","set_preset","key:6"]},"set-preset-9":{"player":0,"cmd":["jivefavorites","set_preset","key:9"],"itemsParams":"presetParams"},"go":{"player":0,"cmd":["browselibrary","items"],"params":{"menu":1,"mode":"tracks"},"itemsParams":"commonParams"},"set-preset-7":{"player":0,"cmd":["jivefavorites","set_preset","key:7"],"itemsParams":"presetParams"},"play":{"itemsParams":"commonParams","params":{"menu":1,"cmd":"load"},"cmd":["playlistcontrol"],"nextWindow":"nowPlaying","player":0},"set-preset-5":{"cmd":["jivefavorites","set_preset","key:5"],"itemsParams":"presetParams","player":0},"set-preset-8":{"itemsParams":"presetParams","cmd":["jivefavorites","set_preset","key:8"],"player":0},"add":{"player":0,"cmd":["playlistcontrol"],"params":{"menu":1,"cmd":"add"},"itemsParams":"commonParams"},"more":{"params":{"menu":1},"cmd":["albuminfo","items"],"itemsParams":"commonParams","window":{"isContextMenu":1},"player":0}}},"item_loop":[{"commonParams":{"album_id":7629,"performance":""},"type":"playlist","text":"Das Phantom der Oper: Die Höhepunkte der Hamburger Aufführung\nAndrew Lloyd Webber","presetParams":{"favorites_type":"playlist","icon":"music/f8f8a285/cover","favorites_title":"Das Phantom der Oper: Die Höhepunkte der Hamburger Aufführung","favorites_url":"db:album.title=Das%20Phantom%20der%20Oper%3A%20Die%20H%C3%B6hepunkte%20der%20Hamburger%20Auff%C3%BChrung&contributor.name=Andrew%20Lloyd%20Webber"},"icon-id":"f8f8a285","icon":"music/f8f8a285/cover"},{"commonParams":{"album_id":7645,"performance":""},"type":"playlist","presetParams":{"favorites_title":"Sister Act 2: Back in the Habit","favorites_url":"db:album.title=Sister%20Act%202%3A%20Back%20in%20the%20Habit&contributor.name=Diverse%20Interpreten","favorites_type":"playlist","icon":"music/5921d1cc/cover"},"text":"Sister Act 2: Back in the Habit\nDiverse Interpreten","icon":"music/5921d1cc/cover","icon-id":"5921d1cc"},{"commonParams":{"performance":"","album_id":7423},"type":"playlist","text":"Café del Mar: 25th Anniversary 1980-2005 (Disk 1 von 3)\nDiverse Interpreten","presetParams":{"icon":"music/94445eb1/cover","favorites_type":"playlist","favorites_url":"db:album.title=Caf%C3%A9%20del%20Mar%3A%2025th%20Anniversary%201980-2005&contributor.name=Diverse%20Interpreten","favorites_title":"Café del Mar: 25th Anniversary 1980-2005"},"icon-id":"94445eb1","icon":"music/94445eb1/cover"},{"type":"playlist","commonParams":{"performance":"","album_id":7469},"icon":"music/22fe2afb/cover","icon-id":"22fe2afb","text":"Best of Chill-Out: Listen and Relax (Disk 2 von 3)\nDiverse Interpreten","presetParams":{"favorites_url":"db:album.title=Best%20of%20Chill-Out%3A%20Listen%20and%20Relax&contributor.name=Diverse%20Interpreten","favorites_title":"Best of Chill-Out: Listen and Relax","icon":"music/22fe2afb/cover","favorites_type":"playlist"}},{"commonParams":{"album_id":7407,"performance":""},"type":"playlist","text":"Der Hauptgewinner\nRüdiger Hoffma

You see I searched for albums matching 'a-ha' and got random results, including Phantom of the Opera or Sister Act 2 OST, which are totally unrelated to a-ha, and aren't tagged as such. With such a search, I'd expect a text search for 'a-ha' in artist or album artist tags, but neither of those albums (obviously) is tagged as such.

Am I missing something here? I can't try at the moment, but am pretty sure 8.5 returned more meaningful search results for such queries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions