EXEC_TAG_FILE wish

You are missing a feature or need an enhancement? Post your suggestion here!
Post Reply
Thijmen
Posts: 119
Joined: 16 Jul 2019 20:19
EXEC_TAG_FILE wish

Post by Thijmen »

Hi Bernd,

Would it be possible to add "mood" property to EXEC_TAG_FILE? I assume it could be separated by `;`?
Thijmen
Posts: 119
Joined: 16 Jul 2019 20:19
Re: EXEC_TAG_FILE wish

Post by Thijmen »

In addition: there is a slight visual bug in the tag editor in PF, when there are multiple moods. You cannot see them, where with multiple genres - you can see those.
User avatar
radio42
Site Admin
Posts: 9010
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: EXEC_TAG_FILE wish

Post by radio42 »

The mood can already be saved using the EXEC_TAG_FILE command!
The format is: EXEC_TAG_FILE <filename>|<tag>=<value>[|<tag>=<value>]

Like with all multi-value fields (like e.g. Artist, AlbumArtist, Genre, Grouping, Genre, Mood, Style, Gender, Energy, Country), multiple values are then separated by semicolon (;).

The TAG editor can also edit multiple values correctly. The issue is, when long values are used and multiple values doesn't directly fit into the text box, that values are wrapped into multiple lines, which can not be displayed propperly into one line of course. I am not sure, if this can be optimized somehow. I'll take a look, of scroll-button can be displayed somehow...
Thijmen
Posts: 119
Joined: 16 Jul 2019 20:19
Re: EXEC_TAG_FILE wish

Post by Thijmen »

Hmm, according to the manual https://www.radio42.com/proppfrexx/down ... 20v4.0.pdf it is not in the list of accepted tags.

Is the documentation incorrect? I must admit: I have not tried it yet (or my code has failed on me).
User avatar
radio42
Site Admin
Posts: 9010
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: EXEC_TAG_FILE wish

Post by radio42 »

You better try it, I'll update the documentation for you...
Thijmen
Posts: 119
Joined: 16 Jul 2019 20:19
Re: EXEC_TAG_FILE wish

Post by Thijmen »

Ahh yeah, my bad - I used `moods`, but `mood` does work!
User avatar
radio42
Site Admin
Posts: 9010
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: EXEC_TAG_FILE wish

Post by radio42 »

In v4.5.2.7 the documentation is updated:

EXEC_TAG_FILE
Updates one or more TAGs of a file.
Parameter: filename|tag=value[|tag=value]
Reply: OK|ERROR
filename: the fully qualified path to the audio file to update; tag: one of the following 'title', 'artist', 'album', 'albumartist', 'genre', 'comment', 'composer', 'year', 'copyright', 'publisher', 'encodedby', 'conductor', 'grouping', 'isrc', 'lyricist', 'mood', 'producer', 'remixer', 'style', 'rating', 'tracknr', 'discnr', 'pfrestrictions', 'user:…'.
Multi-value field values are semicolon separated, tracknr or discnr are in n/m format, rating is numeric (0=unrated, 1=poor to 100=excellent), year is YYYY-MM-DD or YYYY-MM or YYYY.
Thijmen
Posts: 119
Joined: 16 Jul 2019 20:19
Re: EXEC_TAG_FILE wish

Post by Thijmen »

Thank you for your efforts Bernd, appreciated!

Post Reply