Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Merging tags to the command tag
07-11-2019, 17:17 (This post was last modified: 07-11-2019 17:18 by fm-maniac.)
Post: #1
Merging tags to the command tag
I'm using the Dynamic Range plugin for foobar2000 to create a tag "<DYNAMIC RANGE>" and store the DR value.

   

How can I configure minimserver to merge the <DYNAMIC RANGE>.tag into the the comment.tag so that it is shown by the control point (Bubble UPNP).

I already managed to merge a hyperlink to a booklet into the comment.tag. IT would like to keep it an additionally have the DR value shown.

Final format shoul be booklet / comment / DR value.

   

Regards,

Michael
Find all posts by this user
Quote this message in a reply
07-11-2019, 18:24 (This post was last modified: 07-11-2019 18:50 by simoncn.)
Post: #2
RE: Merging tags to the command tag
You should be able to do this by adding <DYNAMIC RANGE> to itemTags and changing your tagFormat setting to

Comment.displayFormat={$*infoFileURI^<a href="^">Digital booklet</a>$comment^ / $<DYNAMIC RANGE>^ / }
Find all posts by this user
Quote this message in a reply
07-11-2019, 19:07
Post: #3
RE: Merging tags to the command tag
Simon,

I changed the entry via minimwatch accordingly:

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

After starting a rescan, I get an error message:

   

Regards,

Michael
Find all posts by this user
Quote this message in a reply
07-11-2019, 20:42
Post: #4
RE: Merging tags to the command tag
This means you did not add <DYNAMIC RANGE> to itemTags.
Find all posts by this user
Quote this message in a reply
08-11-2019, 14:46
Post: #5
RE: Merging tags to the command tag
Reading AND understanding helps sometimes...

Adding the tag name to the itemTags property solves the issue.

For the ones using foobar2000: Leave out the brackets! The tag name is just "DYNAMIC RANGE" and not "<DYNAMIC RANGE>". foobar puts it in brackets in the files property dialog to indicate that it is a user defined tag!

One final question please:

No I get following comment tag sent to the renderer e.g.: Digtal booklet / comment / 11

Is it possible to include a fixed string to get: Digtal booklet / comment / DR11
Find all posts by this user
Quote this message in a reply
08-11-2019, 15:26
Post: #6
RE: Merging tags to the command tag
I solved it by adding DR as a prefix:

Comment.displayFormat={$*infoFileURI^<a href="^">Digital booklet</a>$comment^ / $DYNAMIC RANGE^ / DR}
Find all posts by this user
Quote this message in a reply
08-11-2019, 17:46
Post: #7
RE: Merging tags to the command tag
This is the correct solution. Smile
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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