Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
prevent Double Space replacement in album titles
09-04-2024, 15:02 (This post was last modified: 09-04-2024 15:04 by twieatminim.)
Post: #1
prevent Double Space replacement in album titles
It isn't possible to search with a BubbleUPnP/BubbleDS control point app for albums including double spaces in album titles. Obviously my MinimServer configuration replaces double spaces in album titles with single space.

Could anybody give me a hint to avoid the automatically double space trim on album titles on my MinimServer setup?

__________________________
More details:
It fails if you hold in Bubble "Playlist" a song with such a named album title
and search by "Show album". If its album name includes double spaces it fails with "No search result".

I've contacted BubbleSoft including a test song and they were able to reproduce it and respond:
||
|| I can reproduce this issue with that file.
||
|| As you mentioned, the file has album title tag with a double space between 2 and (2011):
||
|| "Blue Coast Collection 2 (2011)"
||
|| But MinimServer removes that double space in the album title it sends to BubbleDS for that track:
||
|| "Blue Coast Collection 2 (2011)"
||
|| Then, when you do "Show album" on that track in BubbleDS, it sends to MinimServer an UPnP Search request
|| with the title with a single space and MinimServer does not find it.
||
|| It is probable that MinimServer is sending to BubbleDS a "normalized" album title without the space.
Find all posts by this user
Quote this message in a reply
09-04-2024, 17:37
Post: #2
RE: prevent Double Space replacement in album titles
Your post does not contain a double space. I think the forum has removed this.

MinimServer does not remove double spaces from album titles or from any other tag values. All tag values are used exactly as they appear in the audio file. To confirm this, I have created a test file containing an album name tag with a double space and checked that the XML data that MinimServer sends to the control point also contains a double space.
Find all posts by this user
Quote this message in a reply
09-04-2024, 17:38
Post: #3
RE: prevent Double Space replacement in album titles
(09-04-2024 15:02)twieatminim Wrote:  It isn't possible to search with a BubbleUPnP/BubbleDS control point app for albums including double spaces in album titles. Obviously my MinimServer configuration replaces double spaces in album titles with single space.
It looks to me to be a BubbleUPnP problem.

I added a double space to the album 'The Clash', and in the BubbleUPnP logging I see:

Code:
<DIDL-Lite
    <item id="0$=AlbumArtistSort$490$albums$*a25$*i339" parentID="0$=AlbumArtistSort$490$albums$*a25" restricted="1">
        <upnp:class>object.item.audioItem.musicTrack</upnp:class>
        <dc:title>Janie Jones</dc:title>
        <dc:creator>The Clash</dc:creator>
        <upnp:artist>The Clash</upnp:artist>
        <upnp:artist role="AlbumArtist">The Clash</upnp:artist>
        <upnp:albumArtURI>http://*.*.*.*:9790/minimserver/*/FLACTesting/Clash,*20The/2013*20-*20Sound*20System/CD01/folder.jpg</upnp:albumArtURI>
        <upnp:genre>Alternative</upnp:genre>
        <dc:date>2013-01-01</dc:date>
        <upnp:album>1977 - The  Clash (from the boxset 'Sound System') [2013 Remaster]</upnp:album>
        <upnp:originalTrackNumber>1</upnp:originalTrackNumber>
    </item>
</DIDL-Lite>

This is the xml that BubbleUPnP receives from MinimServer. Note the double space between 'The' and 'Clash' in the <upnp:album> tag.

When I click 'Show Album' BubbleUPnP performs the search:
Code:
searching all albums with title: 1977 - The Clash (from the boxset 'Sound System') [2013 Remaster]

The double space has disappeared.
Find all posts by this user
Quote this message in a reply
09-04-2024, 18:19 (This post was last modified: 09-04-2024 18:29 by bubbleguuum.)
Post: #4
RE: prevent Double Space replacement in album titles
Urgh! My mistake. BubbleUPnP/BubbleDS is indeed replacing all consecutive spaces by a single one in the search query string. Totally forgot about that and why I did it ages ago but will fix in next app update. Sorry for the false alarm.
EDIT: I think the purpose for this multiple space replacement by a single space purpose is for user initiated searches where a user type any string and a multiple spaces is 99% likely a typing mistake. This should obviously not apply to non-user search queries such as the 'Show album' one.
Find all posts by this user
Quote this message in a reply
09-04-2024, 19:58
Post: #5
RE: prevent Double Space replacement in album titles
To cater for the unusual case of user-typed queries containing double spaces, perhaps a query string enclosed in quotes could be used exactly as typed and other query strings could have multiple spaces combined automatically.
Find all posts by this user
Quote this message in a reply
10-04-2024, 08:49
Post: #6
RE: prevent Double Space replacement in album titles
(09-04-2024 18:19)bubbleguuum Wrote:  ... This should obviously not apply to non-user search queries such as the 'Show album' one.
My problem occurs when I use the BubbleUPnP/BubbleDS internal song option “Show Album”. I have no chance of manipulating the search term with this.
Thank you anyway for any other hints.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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