Post Reply 
Issue with search on a subtitle container
18-08-2024, 18:02 (This post was last modified: 18-08-2024 18:04 by medoc92.)
Post: #1
Issue with search on a subtitle container
Hi,

I have an album with 3 discs CD01, CD02, CD03, which are merged but contains tracks with different subtitles so that viewing the album container looks something like this:

[Image: album-with-subtitles.png]

The control point (upplay) uses a search operation to perform a recursive add (as per a discussion we had a very long time ago). It appears that a search of the subtitle container and one of the album both return the same result, which is the full album contents. The two searches:

Quote:objid [0$=Artist$26$*a2] search [upnp:class = "object.item.audioItem.musicTrack"]

objid [0$=Artist$26$*a2$s93.0] search [upnp:class = "object.item.audioItem.musicTrack"]

Both appear to return the 15 album tracks.

I'm not sure if I'm maybe doing something wrong, or if there is an issue there.

This was submitted by a user who was kind enough to set up a small tree (with short silent tracks) for testing, I can ask if I can forward it if this might be useful.

This is on: MinimServer 2.2 update 253, Copyright © 2012-2024 Simon Nash. All rights reserved.
Find all posts by this user
Quote this message in a reply
18-08-2024, 21:00 (This post was last modified: 18-08-2024 21:18 by simoncn.)
Post: #2
RE: Issue with search on a subtitle container
Thanks for letting me know about this. There is a bug here but the fix is not what you are expecting.

Browsing the ">> 1954-1957" container (as many control points would do to perform a recursive add) returns no results. This is because ">> 1954-1957" contains ">> Hide Contents" as the first subcontainer, which causes the following "album disc" subcontainer to be ignored. The solution is for the user to open the ">> 1954-1957" container and select the "album disc" subcontainer for playing. This is awkward and counterintuitive but is required to make recursive browsing of the top-level album container work correctly.

For consistency, searching ">> 1954-1957" should work the same way as browsing ">> 1954-1957", just like it does for other containers. This means a search of the ">> 1954-1957" container should return no results (not the full album) and a search of the "album disc" subcontainer should return the tracks for that disc only (as it is doing currently).
Find all posts by this user
Quote this message in a reply
19-08-2024, 08:42
Post: #3
RE: Issue with search on a subtitle container
Thanks for the explanation !
Find all posts by this user
Quote this message in a reply
19-08-2024, 10:09
Post: #4
RE: Issue with search on a subtitle container
I am thinking about whether it would be possible / reasonable for MinimServer to support this for Search without supporting it for Browse. I will look at what this would involve and I will post back here with an update.
Find all posts by this user
Quote this message in a reply
23-10-2024, 21:01
Post: #5
RE: Issue with search on a subtitle container
After looking at this and other similar cases, my conclusion is that this should work in the way that you were expecting. This change is now available in MinimServer update 254.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)