Mixing TV Shows and Movies
Posted: 16 Aug 2015, 10:55
Hi all,
First of all, good job for this tool! I'm using it for months now and I'm quite satisfied meanwhile I'm still busy to finalise my systems correctly
My ultimate goal is to have everything automated (not yet there).
- TV shows automatic acquisition (NAS Synology with DownloadStation and RSS feed)
- Once downloaded => filebot is called and it renames/moves the files at the right place
- Then Plex server scans for the new files, download subtitles if needed
- When back from work, everything is ready to be watched
Without Filebot, I could never do such things!
Once I get everything stabilized, I'll donate for sure.
So What's my problem here?
Each time a download is completed, I'm running the following commands:
1. I'm cleaning first because I dont' want filebot to copy nfo files.
2. Trying to run this command only for TV Shows. I tried by listing only the <2G files but obviously it don't work as I gave the repository to filebot later "-renall /volume1/Downloads"
3. Same for movies only.
4. Cleaning again, for the repositories left.
I have an example which is not working correctly :
So I would like to take into consideration the file size for each commands. Any idea how I can do that? It's more or less working correctly here, I don't want to destabilize what is working
(I would say 80% fine).
Once the size is taken into consideration : I'm planning to add another command with -non-strict.
Thanks!
First of all, good job for this tool! I'm using it for months now and I'm quite satisfied meanwhile I'm still busy to finalise my systems correctly

My ultimate goal is to have everything automated (not yet there).
- TV shows automatic acquisition (NAS Synology with DownloadStation and RSS feed)
- Once downloaded => filebot is called and it renames/moves the files at the right place
- Then Plex server scans for the new files, download subtitles if needed
- When back from work, everything is ready to be watched

Without Filebot, I could never do such things!
Once I get everything stabilized, I'll donate for sure.
So What's my problem here?
Each time a download is completed, I'm running the following commands:
Code: Select all
/volume1/@appstore/filebot/filebot.sh -script /volume1/homes/admin/scripts/Cleaner.groovy /volume1/Downloads/
find /volume1/Downloads/ -type f -size -2000000k | xargs /volume1/@appstore/filebot/filebot.sh -script fn:renall /volume1/Downloads/ --db thetvdb --format '/volume1/Séries\ TV/{n}/Saison {s.pad(02)}/{n} - {s00e00} - {t}' >> logs.txt
find /volume1/Downloads/ -type f -size +2000000k | xargs /volume1/@appstore/filebot/filebot.sh --def ut_label=movie -script fn:renall /volume1/Downloads/ --db themoviedb --format '/volume1/Films/{collection.replaceAll("Collection","")+" - "}{n} ({y}) [{rating}]' >> logs.txt
/volume1/@appstore/filebot/filebot.sh -script /volume1/homes/admin/scripts/Cleaner.groovy /volume1/Downloads/
2. Trying to run this command only for TV Shows. I tried by listing only the <2G files but obviously it don't work as I gave the repository to filebot later "-renall /volume1/Downloads"
3. Same for movies only.
4. Cleaning again, for the repositories left.
I have an example which is not working correctly :
Code: Select all
Done ヾ(@⌒ー⌒@)ノ
Rename episodes using [TheTVDB]
Auto-detected query: [Castle]
Done ヾ(@⌒ー⌒@)ノ
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/volume1/Downloads/Castle.S05E20.FRENCH.LD.DVDRip.XviD-MiND/Castle.S05E20.FRENCH.LD.DVDRip.XviD-MiND.avi]
[MOVE] Rename [/volume1/Downloads/Castle.S05E20.FRENCH.LD.DVDRip.XviD-MiND/Castle.S05E20.FRENCH.LD.DVDRip.XviD-MiND.avi] to [/volume1/Films/The Castle (1997) [3.8].avi]
Processed 1 files
Done ヾ(@⌒ー⌒@)ノ

Once the size is taken into consideration : I'm planning to add another command with -non-strict.
Thanks!