Page 1 of 1

CMRG renamed files

Posted: 14 Jan 2019, 17:54
by pseibold
Registered/Licensed user.

There are a bunch (maybe 5%) of files (usually movies) that are renamed and "found" to be called CMRG.MP4 (Avi/etc) after they are renamed. Sometimes this is in the file name, sometimes its in the metadata. Doesn't seem to happen in TV shows, just movies.

Code: Select all

FileBot 4.8.2 (r5789)
JNAáNative: 5.2.2
MediaInfo: 18.05
7-Zip-JBinding: 9.20
Chromaprint: 1.4.2
ExtendedáAttributes: OK
UnicodeáFilesystem: OK
ScriptáBundle: 2018-11-29 (r539)
Groovy: 2.5.1
JRE: Java(TM) SE Runtime Environment 10.0.2
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 4 Core / 2 GB Max Memory / 63 MB Used Memory
OS: Windows 10 (amd64)
Package: MSI
License: FileBot License P4
I'm using the CLI

Code: Select all

filebot -script fn:amc --output "e:\fbtemp"  --action copy -get-subtitles --conflict skip -non-strict --log-file amc.log --def unsorted=y music=n  %ut_label% %ut_state% %ut_title% %ut_kind% %ut_file% %ut_dir%
or

Code: Select all

filebot -script fn:amc --output "p:\input"  --action copy --conflict skip -get-subtitles -non-strict --log-file amc.log --def unsorted=y music=n   %ut_title% %ut_kind% %ut_file% %ut_dir%
on the command line in a script.

Re: CMRG renamed files

Posted: 15 Jan 2019, 03:00
by rednoah
1.
Can you post the log of the amc script so we can see what's going on?

2.
I don't see a usage where FileBot would never rename a file to CMRG.MP4. Is this what the file is actually renamed to? Or is it just the name displayed in Plex or Kodi?

Re: CMRG renamed files

Posted: 15 Jan 2019, 03:24
by pseibold
I may have just solved (part) of the problem. There appears to be CMRG in the meta data of the file in the title field. In doing further research today, it would appear its another program (that does conversion after FileBot) to MP4/AAC (regardless of source) that is picking up the "Title" and for an unknown reason renaming the destination file after the title...

This isn't a file bot issue at all. My bad.

(Any chance filebot can strip titles out of a file? :)

Re: CMRG renamed files

Posted: 15 Jan 2019, 03:27
by rednoah
Yes, you can hook 3rd party tools into FileBot to do just that:
viewtopic.php?f=4&t=5047