Search found 7 matches

by Retrorat1
07 Jan 2023, 11:57
Forum: Scripting and Automation
Topic: How do I use Plain File Mode on the command-line and pass a complex custom format?
Replies: 5
Views: 3367

Re: How do I use Plain File Mode on the command-line and pass a complex custom format?

@rednoah Wow yes that made it work. Thanks again for this going to try it on my formula 1 collection now lol. Its understanding what needs to be picked up and what to be left out is where I don't understand at all, as some of it being left out is still in my eyes alpha or numerical characters. openi...
by Retrorat1
07 Jan 2023, 09:23
Forum: Scripting and Automation
Topic: How do I use Plain File Mode on the command-line and pass a complex custom format?
Replies: 5
Views: 3367

Re: How do I use Plain File Mode on the command-line and pass a complex custom format?

@rednoah Thank you so much for bearing with me and putting this up , sorry for the delay in responding but I was trying to get it working correctly for me before I come back on here and ppl go "He's Back" LoL. This works like its meant to be but I had to figure out few things as the naming...
by Retrorat1
02 Jan 2023, 16:35
Forum: Scripting and Automation
Topic: How do I use Plain File Mode on the command-line and pass a complex custom format?
Replies: 5
Views: 3367

How do I use Plain File Mode on the command-line and pass a complex custom format?

Hi For the past 6 months have been using this code {fn.replaceAll(/(\w+).((?:19|20)\d{2}).(.+.vs.\w+).(\d{2}).(\d{2}).(\d{3}p)(.+)/, '$1 $2-$4-$5 $3').replace('EPL','English Premier League').space('.')} given to me from here https://www.filebot.net/forums/viewtopic.php?f=8&t=13173&p=57529&am...
by Retrorat1
30 Apr 2022, 23:21
Forum: Help and Support
Topic: New to any type of coding
Replies: 2
Views: 1375

New to any type of coding

Hi, Sorry if this has been asked anywhere else but I have been searching and couldnt find an answer. I have been looking at ways to take parts of the file name and make a new one that will work with The Sports DB this is one example EPL 2009 Aston Villa vs Wigan 08 14 720pEN60fps WhAma.mp4 this is t...
by Retrorat1
20 Aug 2021, 10:37
Forum: Ubuntu & Desktop Linux
Topic: [CLI] Plain File Mode naming based on nearby NFO files
Replies: 5
Views: 12046

Re: [CLI] Plain File Mode naming based on nearby NFO files

Thank you for your help, but unfortunately my programming skills are practically non existent .
Ill just have to download it here first then upload it to my sever.
Once again thanks for the help.
by Retrorat1
20 Aug 2021, 08:32
Forum: Ubuntu & Desktop Linux
Topic: [CLI] Plain File Mode naming based on nearby NFO files
Replies: 5
Views: 12046

Re: [CLI] Plain File Mode naming based on nearby NFO files

Hi Thanks But when ever I try and call the command I get this def i = xml(folder / fn + '.xml') -bash: syntax error near unexpected token `(' & [i.showtitle, i.aired, i.title].join(' - ') -bash: syntax error near unexpected token `(' I use filebot { def i = xml(folder / fn + '.xml') [i.showtitle...
by Retrorat1
17 Aug 2021, 08:39
Forum: Ubuntu & Desktop Linux
Topic: [CLI] Plain File Mode naming based on nearby NFO files
Replies: 5
Views: 12046

[CLI] Plain File Mode naming based on nearby NFO files

Hi, Been searching for a while now and cant figure out how to get this done. Running a Linux headless system and want to be able to rename sports media. example Rename- EPL 2019 TeamA vs TeamB 15 02 720pEN60fps Prov.mkv to English Premier League 15-02-2019 TeamA vs TeamB 720pEN60fps Prov.mkv Have fo...