rename and combine video files from multiple folders

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
moltra
Posts: 4
Joined: 13 Jul 2014, 23:03

rename and combine video files from multiple folders

Post by moltra »

I am in process of converting my server to Ubuntu 12.04 from Windows 2008. I have two 1TB drives that I was using with windows. I had my video files on both of the drives. I now have the two drives setup as a LVM on linux. I all the videos now on the same drive, but I want to run filebot and rename the files, and sort into video folders with dates and then series folders.

Here is the script that I am trying to run.

Code: Select all

filebot -script fn:amc --output "/home/mark/media" --log-file amc.log --action test -non-strict "/home/mark/old_download" --def music=y subtitles=n artwork=n --def "movieFormat=/home/mark/media/Movies/{y}/{fn}" "musicFormat=/home/mark/media/audio/{n}/{fn}" --def excludeList=amc.txt
I am either getting all files excluded or no files selected for processing, when I try different settings in the above CLI.

Thanks in advance for any help you can give me.


Code: Select all

FileBot 4.2 (r2326)
JNA Native: 4.0.0
MediaInfo: MediaInfoLib - v0.7.69
7-Zip-JBinding: OK
chromaprint-tools: fpcalc version 1.1.0 (/usr/share/filebot/fpcalc)
Extended Attributes: OK
Groovy Engine: 2.3.4
JRE: OpenJDK Runtime Environment 1.7.0_65
JVM: 32-bit OpenJDK Server VM
CPU/MEM: 3 Core / 897 MB Max Memory / 30 MB Used Memory
OS: Linux (i386)
uname: Linux smserver 3.13.0-35-generic #62~precise1-Ubuntu SMP Mon Aug 18 14:53:38 UTC 2014 i686 athlon i386 GNU/Linux
Done ヾ(@⌒ー⌒@)ノ

Code: Select all

arameter: subtitles = n
Parameter: artwork = n
Parameter: movieFormat = /home/mark/media/Movies/{y}/{fn}
Parameter: musicFormat = /home/mark/media/audio/{n}/{fn}
Parameter: excludeList = amc.txt
Argument: /home/mark/oldhd
Read archive [Scholarship Announcement.zip] and extract to [/home/mark/oldhd/audio/Documents/Scholarship Announcement/Documents]
No files selected for processing
Failure (°_°)
User avatar
rednoah
The Source
Posts: 23946
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: rename and combine video files from multiple folders

Post by rednoah »

/home/mark/oldhd does not contain any video files
:idea: Please read the FAQ and How to Request Help.
moltra
Posts: 4
Joined: 13 Jul 2014, 23:03

Re: rename and combine video files from multiple folders

Post by moltra »

I have tried multiple folders and all of them is saying "no files selected"

Code: Select all

:~/oldhd/Movies$ filebot -script fn:amc --output "/home/mark/media" --log-file amc.log --action move -non-strict /home/mark/oldhd/Movies --def subtitles=n artwork=n --def "movieFormat=/home/mark/media/Movies/{y}/{fn}" "musicFormat=/home/mark/media/audio/{n}/{fn}" --def excludeList=amc.txt
Locking /home/mark/.filebot/logs/amc.log
Parameter: subtitles = n
Parameter: artwork = n
Parameter: movieFormat = /home/mark/media/Movies/{y}/{fn}
Parameter: musicFormat = /home/mark/media/audio/{n}/{fn}
Parameter: excludeList = amc.txt
Argument: /home/mark/oldhd/Movies
No files selected for processing
Failure (°_°)
mark@smserver:~/oldhd/Movies$ 

Code: Select all

:~/oldhd/Movies$ find /home/mark/oldhd/Movies -follow  -maxdepth 1 -type f -name "*.avi"| wc -l 
335
I tried it again on another folder and got the same response. as shown below this folder has 335 avi files.
moltra
Posts: 4
Joined: 13 Jul 2014, 23:03

Re: rename and combine video files from multiple folders

Post by moltra »

I think I figured it out. I am not sure what I was doing wrong but it is working fine now.
moltra
Posts: 4
Joined: 13 Jul 2014, 23:03

Re: rename and combine video files from multiple folders

Post by moltra »

I have all my video files in one folder now, but about half of them are in the root folder and the other half are in year folders. I started using filebot about a year ago. Is there a way to scan a certain folder and not subfolders and then rename and move files to correct year folders.
User avatar
rednoah
The Source
Posts: 23946
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: rename and combine video files from multiple folders

Post by rednoah »

Yes, that's default behavior. Just pass in the files / folders you want to rename, or just don't use -r.

Besides, if you're just renaming movies you can just do a simple filebot -rename.
:idea: Please read the FAQ and How to Request Help.
Post Reply