Post Reply 
tag update with several tags
11-03-2017, 12:51
Post: #1
tag update with several tags
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
Find all posts by this user
Quote this message in a reply
12-03-2017, 16:47
Post: #2
RE: tag update with several tags
(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.
Find all posts by this user
Quote this message in a reply
13-03-2017, 07:32
Post: #3
RE: tag update with several tags
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.
Find all posts by this user
Quote this message in a reply
13-03-2017, 09:19
Post: #4
RE: tag update with several tags
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?
Find all posts by this user
Quote this message in a reply
13-03-2017, 17:54
Post: #5
RE: tag update with several tags
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.
Find all posts by this user
Quote this message in a reply
14-03-2017, 08:41
Post: #6
RE: tag update with several tags
(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.
Find all posts by this user
Quote this message in a reply
14-03-2017, 18:13
Post: #7
RE: tag update with several tags
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).


Attached File(s)
.txt  TagChange.txt (Size: 57.79 KB / Downloads: 3)
Find all posts by this user
Quote this message in a reply
14-03-2017, 18:28
Post: #8
RE: tag update with several tags
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.
Find all posts by this user
Quote this message in a reply
14-03-2017, 18:34
Post: #9
RE: tag update with several tags
oups, I missed that stepBlush


Attached File(s)
.zip  TagChange.zip (Size: 144.78 KB / Downloads: 1)
Find all posts by this user
Quote this message in a reply
14-03-2017, 18:36
Post: #10
RE: tag update with several tags
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
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: