Post Reply 
Showing a pdf in an album directory
10-03-2026, 20:45
Post: #1
Showing a pdf in an album directory
Hi all,

I have found the methodology to show a pdf named "booklet.pdf" in JPlay by setting the value of tagFormat to:

Comment.displayFormat={$*infoFileURI^<a href="^">booklet</a>$comment}

However, I have very many of such pdfs named with the album title, so changing all of these to "booklet.pdf" is painful.

Is there a way to have minimserver parse the contents of the directory and assign the href to the pdf in question so that it shows in JPlay?

Thx!
Find all posts by this user
Quote this message in a reply
10-03-2026, 21:48
Post: #2
RE: Showing a pdf in an album directory
You can use an album name for the booklet file name. For details, see the last part of this section.
Find all posts by this user
Quote this message in a reply
12-03-2026, 20:54
Post: #3
RE: Showing a pdf in an album directory
(10-03-2026 21:48)simoncn Wrote:  You can use an album name for the booklet file name. For details, see the last part of this section.

I asked Claude to write a shell script to rename pdfs with the following conditions:
If there's only one pdf in the directory and it is not named booklet.pdf then rename to booklet.pdf.
If there's more than one pdf, just list the directory so I can do this manually (only 50 instances of this).

DONE!
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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