Search found 5 matches
- 11 Dec 2020, 05:26
- Forum: Episode / Movie Naming Scheme
- Topic: Requires Multiple Patterns to Match
- Replies: 7
- Views: 7982
Re: Requires Multiple Patterns to Match
Thanks for the info. I am working on my arguments doc now. Will have to look into the variables after I figure these other things out. So much to learn and understand. Can you/someone tell me if it is possible to have a if/then statement to rename files? If so, can you guide me on how to fix my code ...
- 11 Dec 2020, 00:06
- Forum: Episode / Movie Naming Scheme
- Topic: Requires Multiple Patterns to Match
- Replies: 7
- Views: 7982
Re: Requires Multiple Patterns to Match
I am still working on and needing some help with the previous question but I ran into an issue that was causing me a lot of troubles when trying to run my bash script from the terminal. When trying to rename files using this expression (which works great in the gui) {n.replaceAll ...
- 10 Dec 2020, 21:36
- Forum: Episode / Movie Naming Scheme
- Topic: Requires Multiple Patterns to Match
- Replies: 7
- Views: 7982
Re: Requires Multiple Patterns to Match
Real quick, if I wanted to write an if/then statement to rename would it be something like this? --def "seriesFormat={fn =~ /HEVC|x265/ && fn =~ /1080P/ ? '{n.replaceAll(/[:|]/, " - ")} {s00e00} - {t.replaceAll(/[:|]/, " - ")} (HEVC 1080P)' : '{n.replaceAll(/[:|]/, " - ")} {s00e00} - {t.replaceAll ...
- 10 Dec 2020, 21:02
- Forum: Episode / Movie Naming Scheme
- Topic: Requires Multiple Patterns to Match
- Replies: 7
- Views: 7982
Re: Requires Multiple Patterns to Match
I just found some other expressions in some posts that used the &&. I was in the middle of putting something together. I will continue to work with it and see what I can get that part to work. I will research and see how to implement the {vc} and {vf} bindings into my code correctly. Thanks rednoah!
- 10 Dec 2020, 20:00
- Forum: Episode / Movie Naming Scheme
- Topic: Requires Multiple Patterns to Match
- Replies: 7
- Views: 7982
Requires Multiple Patterns to Match
Hello, I have been searching for examples for my specific use-case but have not found the answers yet. I want to rename and move files that have either HEVC OR x265, AND 1080P in the file name (or better yet Mediainfo bindings because many times the filename has both HEVC and x265, but other times ...