Search found 8 matches

by boukmandutty
19 Sep 2023, 21:51
Forum: Episode / Movie Naming Scheme
Topic: How do I remove numbers at the end of the file name? e.g. "To Catch a Smuggler: Madrid - S01E04 - Cocaine CEO - 32808360-0"
Replies: 14
Views: 880

Re: How do I remove numbers at the end of the file name? e.g. "To Catch a Smuggler: Madrid - S01E04 - Cocaine CEO - 3280

A related followup as I attempt to refine things: How do I combine these two things? Is it possible at all: First: { fn.removeAll(/\s-\s\d+-\d+$/)} To remove the trailing numbers in the original file name. And Second: { '.' + fn.match(/-([a-z]+)$/) } To carry over renamed companion files. I am tryin...
by boukmandutty
18 Sep 2023, 04:10
Forum: Episode / Movie Naming Scheme
Topic: How do I remove numbers at the end of the file name? e.g. "To Catch a Smuggler: Madrid - S01E04 - Cocaine CEO - 32808360-0"
Replies: 14
Views: 880

Re: How do I remove numbers at the end of the file name? e.g. "To Catch a Smuggler: Madrid - S01E04 - Cocaine CEO - 3280

Note that you have switched from Plain File Mode to watcher script / amc script / Episode Mode so this is a completely new topic. I know. I am experimenting to find the most reliable method and learning at the same time. For now my Plain File Mode script needs a bit more work to get to the point wh...
by boukmandutty
18 Sep 2023, 03:09
Forum: Episode / Movie Naming Scheme
Topic: How do I remove numbers at the end of the file name? e.g. "To Catch a Smuggler: Madrid - S01E04 - Cocaine CEO - 32808360-0"
Replies: 14
Views: 880

Re: How do I remove numbers at the end of the file name? e.g. "To Catch a Smuggler: Madrid - S01E04 - Cocaine CEO - 3280

I have a question. Is it normal for the fn:watcher to wait until all recordings are done and rename them all in one go as a batch vs doing them each at a time after they are written? I execute the following to watch for recordings to my sagetv folder. filebot -script fn:watcher "/mnt/Sagetv_Nas...
by boukmandutty
10 Sep 2023, 02:22
Forum: Episode / Movie Naming Scheme
Topic: How do I remove numbers at the end of the file name? e.g. "To Catch a Smuggler: Madrid - S01E04 - Cocaine CEO - 32808360-0"
Replies: 14
Views: 880

Re: How do I remove numbers at the end of the file name? e.g. "To Catch a Smuggler: Madrid - S01E04 - Cocaine CEO - 3280

Thanks for the help. At the moment I have managed to get here: jeanot@jeanot-ubuntu:~$ filebot -rename -r /mnt/Sagetv_NasRecordings/Major\ Crimes\ -\ S02E16\ -\ Risk\ Assessment\ -\ 34839286-0.ts --db file --action copy --output Plex --format '{ def n = fn.before(/[-]/) def s = fn.after(/[-]/).after...
by boukmandutty
09 Sep 2023, 20:22
Forum: Episode / Movie Naming Scheme
Topic: How do I remove numbers at the end of the file name? e.g. "To Catch a Smuggler: Madrid - S01E04 - Cocaine CEO - 32808360-0"
Replies: 14
Views: 880

Re: How do I remove numbers at the end of the file name? e.g. "To Catch a Smuggler: Madrid - S01E04 - Cocaine CEO - 3280

Just getting a chance to return to this project. Using your direction I was able to come up with this: filebot -script fn:watcher "/home/jeanot/Processing" --output "/home/jeanot/Processing" --action move -non-strict --log-file amc.log --def movieFormat="/home/jeanot/Process...
by boukmandutty
03 Sep 2023, 23:49
Forum: Episode / Movie Naming Scheme
Topic: How do I remove numbers at the end of the file name? e.g. "To Catch a Smuggler: Madrid - S01E04 - Cocaine CEO - 32808360-0"
Replies: 14
Views: 880

Re: How do I remove numbers at the end of the file name? e.g. "To Catch a Smuggler: Madrid - S01E04 - Cocaine CEO - 3280

So a typical recording produced would look like this: TheOffice-S06E17-TheDelivery-35400686-0.ts The properties file produced for it would contain the following: #Generator: CMT Metadata, written on Sunday, September 3, 2023 6:30 PM SeasonNumber=6 Live=false Subtitled=false Director= EpisodeCount=0 ...
by boukmandutty
03 Sep 2023, 17:02
Forum: Episode / Movie Naming Scheme
Topic: How do I remove numbers at the end of the file name? e.g. "To Catch a Smuggler: Madrid - S01E04 - Cocaine CEO - 32808360-0"
Replies: 14
Views: 880

Re: How do I remove numbers at the end of the file name? e.g. "To Catch a Smuggler: Madrid - S01E04 - Cocaine CEO - 3280

Thanks for the help. Sorry if I wasn't as clear as I needed to be. I was trying and experimenting with quite a number of options trying to figure out what exactly to do with the recordings. I still record stuff with SageTV and I am actually working out the best way to monitor the folder you see in t...
by boukmandutty
03 Sep 2023, 04:00
Forum: Episode / Movie Naming Scheme
Topic: How do I remove numbers at the end of the file name? e.g. "To Catch a Smuggler: Madrid - S01E04 - Cocaine CEO - 32808360-0"
Replies: 14
Views: 880

How do I remove numbers at the end of the file name? e.g. "To Catch a Smuggler: Madrid - S01E04 - Cocaine CEO - 32808360-0"

I have some old sagetv recordings that are named like so: To Catch a Smuggler: Madrid - S01E04 - Cocaine CEO - 32808360-0.mkv I can get the right match only using the gui for filebot. Command line attempts match it to the wrong version of the show. Since the format is ok except for the end I was won...