TV show and Movie renaming

All about user-defined episode / movie / file name format expressions
Post Reply
spurstastic
Posts: 16
Joined: 16 Dec 2016, 20:26

TV show and Movie renaming

Post by spurstastic »

Apologies for the 'noob' question, so here goes...

Having got FileBot Node to successfully rename my TV Show and move them to another folder, I cannot do the same for Movies.

FileBot Node moves the Movies to another folder, but refuses to rename them?!

Has anyone else suffered the same problem, and if so, please could you recommend a way forward.

Thanks in advance :D
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: TV show and Movie renaming

Post by rednoah »

Thanks for the post! Before a real human comes by, please make sure your report has all the following points checked:
  • What are you trying to do achieve? What's not working? What have you tried so far?
  • Include screenshots, logs or filenames (i.e. demonstrate the issue)
  • Include basic information (i.e. sysinfo output)
:idea: Please read How to Request Help and Fix Problems, Report Bugs, Get Features
:idea: Please read the FAQ and How to Request Help.
spurstastic
Posts: 16
Joined: 16 Dec 2016, 20:26

Re: TV show and Movie renaming

Post by spurstastic »

Sysinfo as requested:

Code: Select all

FileBot 4.7.5 (r4600)
JNA Native: 4.0.1
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load arm (32-bit) native library libmediainfo.so: Unable to load library 'zen': Native library (linux-arm/libzen.so) not found in resource path ([file:/volume1/@appstore/filebot/FileBot.jar])
Apache Commons VFS: [zip, rar]
Chromaprint: java.io.IOException: Cannot run program "/usr/local/chromaprint/bin/fpcalc": error=2, No such file or directory
Extended Attributes: OK
Script Bundle: 2016-12-17 (r466)
Groovy: 2.4.7
JRE: Java(TM) SE Runtime Environment 1.8.0_101
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 1 Core / 336 MB Max Memory / 10 MB Used Memory
OS: Linux (arm)
Package: SPK
Data: /volume1/@appstore/filebot/data/admin
uname: Linux DiskStation 3.2.40 #8451 Fri Dec 9 10:48:48 CST 2016 armv7l GNU/Linux synology_armada370_213j
Done ヾ(@⌒ー⌒@)ノ
------------------------------------------

[Process completed]
Log as requested:

Code: Select all

filebot -script 'fn:amc' /volume1/torrents --output /volume1/media --action move -non-strict --conflict auto --lang en --def 'clean=y' 'skipExtract=y' 'movieFormat=Movies/{fn}' 'excludeList=.excludes' --log all --log-file '/volume1/@appstore/filebot-node/data/filebot.log'

------------------------------------------

Locking /volume1/@appstore/filebot-node/data/filebot.log
Run script [fn:amc] at [Thu Dec 22 17:15:12 GMT 2016]
Parameter: clean = y
Parameter: skipExtract = y
Parameter: movieFormat = Movies/{fn}
Parameter: excludeList = .excludes
Argument[0]: /volume1/torrents
Use excludes: /volume1/media/.excludes (68)
{duration} => Expression yields empty value: Binding "duration": Unable to load library 'zen': Native library (linux-arm/libzen.so) not found in resource path ([file:/volume1/@appstore/filebot/FileBot.jar])
Input: /volume1/torrents/The.Autopsy.of.Jane.Doe.2016.1080p.WEB-DL.DD5.1.H264-FGT[EtHD]/The.Autopsy.of.Jane.Doe.2016.1080p.WEB-DL.DD5.1.H264-FGT[EtHD].mkv
{media.AudioLanguageList} {media.TextCodecList} => Expression yields empty value: Binding "media": Could not initialize class net.filebot.mediainfo.MediaInfoLibrary
The.Autopsy.of.Jane.Doe.2016.1080p.WEB-DL.DD5.1.H264-FGT[EtHD].mkv [series: Autopsy, movie: The Autopsy of Jane Doe (2016)]
Exclude Series: Autopsy
Group: [tvs:null, mov:the autopsy of jane doe 2016] => [The.Autopsy.of.Jane.Doe.2016.1080p.WEB-DL.DD5.1.H264-FGT[EtHD].mkv]
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/volume1/torrents/The.Autopsy.of.Jane.Doe.2016.1080p.WEB-DL.DD5.1.H264-FGT[EtHD]/The.Autopsy.of.Jane.Doe.2016.1080p.WEB-DL.DD5.1.H264-FGT[EtHD].mkv]
[MOVE] Rename [/volume1/torrents/The.Autopsy.of.Jane.Doe.2016.1080p.WEB-DL.DD5.1.H264-FGT[EtHD]/The.Autopsy.of.Jane.Doe.2016.1080p.WEB-DL.DD5.1.H264-FGT[EtHD].mkv] to [/volume1/media/Movies/The.Autopsy.of.Jane.Doe.2016.1080p.WEB-DL.DD5.1.H264-FGT[EtHD].mkv]
Processed 1 files
Clean clutter files and empty folders
Delete /volume1/torrents/The.Autopsy.of.Jane.Doe.2016.1080p.WEB-DL.DD5.1.H264-FGT[EtHD]/Torrent-Downloaded-from-ExtraTorrent.cc.txt
Delete /volume1/torrents/The.Autopsy.of.Jane.Doe.2016.1080p.WEB-DL.DD5.1.H264-FGT[EtHD]
Done ヾ(@⌒ー⌒@)ノ
------------------------------------------

[Process completed]
So what happens is that all the 'TV Shows' get renamed and moved from a folder called 'Torrents' to another folder called 'Media/TV Shows'. As for all the 'Movies', they get moved BUT NOT renamed - please help!
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: TV show and Movie renaming

Post by rednoah »

Your movie format explicitly instructs to move folders to this path scheme:

Code: Select all

movieFormat = Movies/{fn}
Movies ... Movies folder
{fn} ... current filename (not the filename you want, if you want to rename files)

So it's working exactly as configured by you. If you tell FileBot to move files to a folder called Movies and keep the original filename, then FileBot will do exactly that.

Please leave options you don't understand empty. But if you want to experiment, experiment in such a way that you don't get confused by your own experiments. ;)

The default behaviour will work just fine. Please read the amc script manual.
:idea: Please read the FAQ and How to Request Help.
spurstastic
Posts: 16
Joined: 16 Dec 2016, 20:26

Re: TV show and Movie renaming

Post by spurstastic »

Many thanks for your swift response! I've since binned the {fn} switch.

All files have now been successfully processed - top program :)
bull822013
Posts: 1
Joined: 24 Jan 2017, 00:59

Re: TV show and Movie renaming

Post by bull822013 »

how do i get movie
Post Reply