Post Reply 
The control app thread
20-09-2025, 12:01
Post: #251
RE: The control app thread
MinimServer checks for an exact case match frst (booklet.pdf), then looks for a case-insensitive match (Booklet.pdf) if there isn't an exact case match.
Find all posts by this user
Quote this message in a reply
20-09-2025, 14:06
Post: #252
RE: The control app thread
(20-09-2025 12:01)simoncn Wrote:  MinimServer checks for an exact case match frst (booklet.pdf), then looks for a case-insensitive match (Booklet.pdf) if there isn't an exact case match.

Why in 2 steps ? Why not check directly on toLowerCase(file_name) ?
Find all posts by this user
Quote this message in a reply
20-09-2025, 15:31
Post: #253
RE: The control app thread
This is to ensure a predictable search order if both booklet.pdf and Booklet.pdf (or booklet.PDF, etc.) are present in the folder. This also applies to artwork files such as folder.jpg and cover.jpg. The rules are fully described in the User guide.
Find all posts by this user
Quote this message in a reply
21-09-2025, 04:24
Post: #254
RE: The control app thread
Right, though it concerns only Linux
Find all posts by this user
Quote this message in a reply
21-09-2025, 09:48
Post: #255
RE: The control app thread
I wonder if I might continue the discussion about the implementation of this latest Lumin/Minim feature here, briefly, rather than start a new thread?
From information supplied to us by Stefano (good man), it seems that to implement this imaginative feature, one has to.…
Place this in Advanced/tagformat Comment.displayFormat={$*infoFileURI^<a href="^">Digital booklet</a>$comment}

And place Comment in itemTags

And place a pdf in the same directory as the tracks of the CD called booklet.pdf

Now, let’s assume one’s collection of CDs is stored the way most people do it, that is, have a directory called Beatles, with subdirectories called e.g. A Hard Day’s Night, Revolver and Rubber Soul for the respective CDs.

This means that one can put a different booklet in each of these subdirectories with information about each album. A wonderful resource. And access each booklet when the album is playing

But how about if one wants to place an informative booklet.pdf in one’s collection about every group. And not about each album.
And put in the pdf something about the Beatles with a link in the document to Wiki.
One would want to place that in the Beatles folder, not in the subdirectories for each album. It would be a far easier task populating one’s collection by just having information about each group (or artist), e.g., The Searchers, The Hollies, Manfred Mann &c.
So looking at the above coding could this be achieved by instead of having

<a href=”^”> one had <a href=”../^”>

Would this work? Any other way to achieve what I want?

Happy sunny Sunday morning from York

Donuk
Find all posts by this user
Quote this message in a reply
21-09-2025, 15:03
Post: #256
RE: The control app thread
(21-09-2025 09:48)Donuk Wrote:  So looking at the above coding could this be achieved by instead of having

<a href=”^”> one had <a href=”../^”>

Would this work? Any other way to achieve what I want?
Whilst it is possible to link to files outside the current directory (though booklet.pdf MUST exist alongside your tracks otherwise $*infoFileURI fails to resolve), Lumin only presents the first item from the Comment tag, so it's not possible to have both album and artist.

Single links work:
Code:
Comment.displayFormat={$*infoFileURI^<a href="^">Digital booklet</a>$comment}
Comment.displayFormat={$albumartist^<a href="https://www.allmusic.com/search/artists/^">Digital booklet</a>$comment}

When presented with multiple only the first is presented:
Code:
Comment.displayFormat={$*infoFileURI^<a href="^">Digital booklet</a><br>$albumartist^<a href="https://www.allmusic.com/search/artists/^">Digital booklet</a>$comment}

This differs to BubbleUPnP where it'll render the entire HTML:
   

NOTE: Lumin requires the link name to be exactly 'Digital booklet'.
Find all posts by this user
Quote this message in a reply
22-10-2025, 10:14
Post: #257
RE: The control app thread
Lumin have just published the latest version - 12.1.2
The main joy for us is the fact that they have corrected their coding to make the booklet.pdf feature work properly.

Hitherto, when accessing "booklet.pdf" from the metadata listing in Lumin, it has taken two clicks to access any feature in the booklet that calls for the web.

Now it appears to work fine. I stress the problem seemed to occur only in Mac OSs.

Having incorporated this booklet.pdf feature into my own library, it certainly makes a listening session fun and educative.

My booklet.pdf's generally contain a link to the artist's Wiki page and also to their Discogs page.
I generate this using LibreOffice (free) or Word will do. I have created a couple of macros within this software that speeds the process enormously,
Try it - it is fun and addictive. You will need the full version of Minim though. (And why not?)

Donuk, sunny downtown York
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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