Filebot not finding BDMV

Support for Windows users
Post Reply
Hakuren
Posts: 2
Joined: 26 Nov 2015, 00:38

Filebot not finding BDMV

Post by Hakuren »

When I try to rename a BluRay disk movie with FileBot it seems to ignore the BDMV folder.

This is the command that I run:

Code: Select all

filebot --action copy --conflict override -rename -non-strict (PATH) --db themoviedb --format "Y:/Movies/{movie}"
Where PATH is:

Code: Select all

C:\Unsorted\Movies\Hesher.2010.1080p.BR.FRA.AVC.DTS-HD.MA-WiHD
Error:

Code: Select all

filebot --action test -non-strict -rename C:\Unsorted\Movies\Hesher.2010.1080p.BR.FRA.AVC.DTS-HD.MA-WiHD --format "./{movie}"
Filename pattern: [NaN] SxE, [NaN] CWS
Rename movies using [TheMovieDB]
Looking up movie by query [Hesher 2010]
filebot : No media files: []
At line:1 char:1
+ filebot --action test -non-strict -rename C:/Unsorted/Movies/Hesher.2010.1080p.B ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (No media files: []:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 
Failure (°_°)
If I include the '-r' flag, filebot grabs all of the stream files (.m2ts) and tries to copy them. I run the CLI with version 4.6.1. This is done on a Windows Server 2012 machine. If I use the GUI then FileBot recognizes the bluray file-structure and treats it accordingly, renaming the highest folder to "Hesher (2010)". This, however, is not a good option for me as I want to be able to automate it.

This is the output of the sysinfo script:

Code: Select all

FileBot 4.6.1 (r3315)
JNA Native: 4.0.1
MediaInfo: MediaInfoLib - v0.7.78
7-Zip-JBinding: 9.20
Chromaprint: fpcalc version 1.1.0 (C:\Program Files\FileBot\fpcalc.exe)
Extended Attributes: OK
Groovy Engine: 2.4.5
JRE: Java(TM) SE Runtime Environment 1.8.0_65
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 8 Core / 1 GB Max Memory / 22 MB Used Memory
OS: Windows Server 2012 R2 (amd64)
Package: MSI
Data: C:\Users\Administrator\AppData\Roaming\FileBot
User avatar
rednoah
The Source
Posts: 23926
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot not finding BDMV

Post by rednoah »

Have you tried this?

Code: Select all

filebot -script fn:renall --db TheMovieDB --output "Y:/Movies" --action copy -non-strict /path/to/input
@see viewtopic.php?t=5#p2211
:idea: Please read the FAQ and How to Request Help.
Hakuren
Posts: 2
Joined: 26 Nov 2015, 00:38

Re: Filebot not finding BDMV

Post by Hakuren »

Nice! This works.

Is it because BDMV recognition is not implemented in the core program and the filebot GUI takes advantage of the scripts?
User avatar
rednoah
The Source
Posts: 23926
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot not finding BDMV

Post by rednoah »

GUI and CLI are two implementations. The scripts directly access CLI functions directly, and can call the rename function on folder as if that folder was a file. But doesn't work in the CLI itself because of how CLI arguments are interpreted before any specific rename/subtitles/check code is executed.

@see https://github.com/filebot/scripts/blob ... groovy#L12
:idea: Please read the FAQ and How to Request Help.
Post Reply