Hi,
what I want is to Name my movie files like this e.g.: Lord of the Rings [720p]
(--> <Title> [<Quality>] (if this "Quality" tag would exist))
while the parent folder has the information I need in it, i want this "720p" to be in the filename too.
So i want to search the parent folders string for "720p" and then write it in the filename.
All I tried was something like this:
.\<Title> $if(<Path>= 720p, [720p],)
in words: if the parent folder string contains the string "720p", then write [720p] into the filename, else write nothing.
I also tried <Path>= *720p* or *"720p"* or *'720p'* . But it doesn't work, because i think, that "=" really only wants to have an exact match.
Is there an operator I can use for this problem?
Thanks in advance!
Tagging: $if a String contains another String
Moderator: Gurus
Re: Tagging: $if a String contains another String
You can't do contains.
Download MediaMonkey | License
Help: Knowledge Base | MediaMonkey for Windows 5 | MediaMonkey for Android
Lowlander (MediaMonkey user since 2003)
Help: Knowledge Base | MediaMonkey for Windows 5 | MediaMonkey for Android
Lowlander (MediaMonkey user since 2003)
-
- Posts: 23640
- Joined: Wed Aug 09, 2006 10:20 am
- Location: NJ, USA
- Contact:
Re: Tagging: $if a String contains another String
Only way to do something like this in MM is to use collections and auto-organize (options > Auto-organize). The collection identifies the files (you can use "Contains" in path or other fields)
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?
Please no PMs in reply to a post. Just reply in the thread.
Need help? Got a suggestion? Can't find something?
Please no PMs in reply to a post. Just reply in the thread.
Re: Tagging: $if a String contains another String
Thanks for the answers. Could you give me an example of the syntax I have to use?nohitter151 wrote:Only way to do something like this in MM is to use collections and auto-organize (options > Auto-organize). The collection identifies the files (you can use "Contains" in path or other fields)
Obviously it's not: .\$if(<Path> "Contains" "720p", [720],)
Edit: ah, ok, I see that this "Options->Auto-Organize" is only available for Gold Version. Damn
-
- Posts: 2283
- Joined: Tue Aug 29, 2006 1:09 pm
- Location: Kansas City, Missouri, United States
Re: Tagging: $if a String contains another String
The RegExp Find & Replace script may be able to accomplish this for you.
Re: Tagging: $if a String contains another String
Hi,
I am also searching for a solution for this or a similar problem. I want to fill tags if a string in the path/filename is found (e.g. string 720p exists in the filename then add 720p to the title tag). How can this be achieved with RegExp Find & Replace script ?
Or is this only possible with the auto organize scripts?
I am also searching for a solution for this or a similar problem. I want to fill tags if a string in the path/filename is found (e.g. string 720p exists in the filename then add 720p to the title tag). How can this be achieved with RegExp Find & Replace script ?
Or is this only possible with the auto organize scripts?
Re: Tagging: $if a String contains another String
Your best bet is to put that question in the Regedit find and repace thread.
Here .. http://www.mediamonkey.com/forum/viewto ... =2&t=28510
Here .. http://www.mediamonkey.com/forum/viewto ... =2&t=28510
Where's the db and ini stored
Reporting Bugs
Where tags are stored
Not affiliated with MediaMonkey ... just a RABID user/lover
DTSig
Reporting Bugs
Where tags are stored
Not affiliated with MediaMonkey ... just a RABID user/lover
DTSig