MinimServer Forum

Full Version: tag update with several tags
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello,

I'm trying to create the following rule in tagupdate file:
@RATING=5
&CUSTOM1=2017
+CUSTOM1=Best of the moment

CUSTOM1 is related to last added albums. Unfortunately, this rule doesn't work. Is this possible to create rules with several tags involved?
If not, it would be great to create "dynamic playlist".

One remak also. In the file, I have a rule like that:
@CUSTOM1=2017
+CUSTOM1=Recent
@CUSTOM1=2016
+CUSTOM1=Recent

It would be wonderful if a parameter could refer to the current year Angel
(11-03-2017 12:51)artwo Wrote: [ -> ]I'm trying to create the following rule in tagupdate file:
@RATING=5
&CUSTOM1=2017
+CUSTOM1=Best of the moment

You can only modify the tag named on @, not the tag named on &. The following should work:

@CUSTOM1=2017
&RATING=5
+CUSTOM1=Best of the moment

Quote:One remak also. In the file, I have a rule like that:
@CUSTOM1=2017
+CUSTOM1=Recent
@CUSTOM1=2016
+CUSTOM1=Recent

It would be wonderful if a parameter could refer to the current year Angel

This isn't possible. Al values need to be entered as literal strings.
I have the following rules but it doesn't work:

Quote:@CUSTOM1=2017
&RATING=5
+CUSTOM1=Best of the moment

@RATING=1
=RATING=≈
@RATING=2
=RATING=≈
@RATING=3
=RATING=♪
@RATING=4
=RATING=♫
@RATING=5
=RATING=♫♫♫

@CUSTOM1=2017
+CUSTOM1=Récent
@CUSTOM1=2016
+CUSTOM1=Récent
"Recent" rule and "Rating rule" do work. The first one doesn't.
What do you mean by "doesn't work"? Do you get an error message?

If there is no message, have you checked the output from writeTagChanges?
No error message, but "Best of the moment" value is not displayed in the Custom1 list. I have "Recent" well listed, 2017, 2016... But nothing about this value.
(13-03-2017 17:54)artwo Wrote: [ -> ]No error message, but "Best of the moment" value is not displayed in the Custom1 list. I have "Recent" well listed, 2017, 2016... But nothing about this value.

Are you certain that there are any files with both CUSTOM1=2017 and RATING=5 in your library?

If there are such files, please do the following:

1) Set the writeTagChanges property to any filename
2) Do a rescan
3) A list of tag changes will be written to the file that you specified in step 1
4) Zip this file and attach it as a file attachment to a post here. Please do not copy and paste the file contents.
Hello,
thanks for your help.
I added an extract in attachement. The full file was too large. You can see some RATING 5 plus CUSTOM1 =Recent change (Terrason is a 2017 added album for example).
Nothing appears in the full file about a rule with added CUSTOM1=Best of the moment (I made a formal search for that).
Please zip the entire file as I requested and attach the zipped file. The zipped file should not be too large. Please also identify one audio file that has the combination of CUSTOM1=2017 and RATING=5.

From looking at your extract, you are removing RATING=5 from some files and replacing it with RATING=♫♫♫. Perhaps this is why you are not getting a match on RATING=5.
oups, I missed that stepBlush
For the last one, I modified a little bit the TagUpdate file in case of...

Quote:@CUSTOM1=2017
&RATING=5
+CUSTOM1=Best of the moment
@CUSTOM1=2017
&RATING=♫♫♫
+CUSTOM1=Best of the moment
Pages: 1 2
Reference URL's