Search found 112 matches

by saitoh183
16 Jan 2019, 20:37
Forum: Episode / Movie Naming Scheme
Topic: Replicating a folder structure and renaming file
Replies: 3
Views: 2519

Re: Replicating a folder structure and renaming file

What is wrong is the is the New Name. The path is the new File name i want the episode to be renamed to. what i did to reproduce that screenshot: - created a new Preset with the format {n}/{episode.special ? 'Specials' : 'Season '+s.pad(2)}/{n} - {s00e00} - {episodes*.absolute*.pad(3).join(' - ') } ...
by saitoh183
15 Jan 2019, 20:55
Forum: Episode / Movie Naming Scheme
Topic: Replicating a folder structure and renaming file
Replies: 3
Views: 2519

Replicating a folder structure and renaming file

Not long ago i decided to change the format of my entire anime. So I used FB and different presets to convert everything and it was long but i got it done. Now i have a backup of my Anime that is still in the old format and i want to change it to the new format but not have to use TVDB again. I noti...
by saitoh183
17 Jan 2018, 23:41
Forum: Scripting and Automation
Topic: store folder path from filebot
Replies: 2
Views: 2087

Re: store folder path from filebot

What i decided to do is open the logfile and extra the portion i need into a variable because i was unsure on how to parse the filebot output.
by saitoh183
17 Jan 2018, 07:11
Forum: Scripting and Automation
Topic: store folder path from filebot
Replies: 2
Views: 2087

store folder path from filebot

Hi, so i have a script that calls filebot against the a file path that is store in a python variable newpath = src_path.rsplit(".",1)[0] +".mp4" #The path that is its referring to /home28/saitoh183/Videos/French Movies/Icebreaker (2016)/The Icebreaker (2016) WEBDL-1080p.mp4 #####...
by saitoh183
19 Apr 2017, 15:55
Forum: Help and Support
Topic: Weird result using CLI
Replies: 13
Views: 6014

Re: Weird result using CLI

In fact, when using AniDB, "movie type" anime shouldn't be listed in the search results at all, but that data is incomplete so some movies might show up. This "movie" just happens to work because it's mapped to TheTVDB special episodes, so it doesn't get excluded like all the ot...
by saitoh183
19 Apr 2017, 13:33
Forum: Help and Support
Topic: Weird result using CLI
Replies: 13
Views: 6014

Re: Weird result using CLI

Is there a reason you dont allow --db to override amc db choice? Having that would fix this issue in this case, im guessing. I cant just use the -rename because then i would lose -exec of amc.
by saitoh183
19 Apr 2017, 12:45
Forum: Help and Support
Topic: Weird result using CLI
Replies: 13
Views: 6014

Re: Weird result using CLI

1. Looks like one of the "Force Movie" rules applies, which overrules any "Force Anime" rules. 2. Even if you manage to force AniDB, it probably won't work well because AniDB is only supported in Series / Episode mode. I see, so the only option is to use the GUI, because the GUI...
by saitoh183
19 Apr 2017, 12:05
Forum: Help and Support
Topic: Weird result using CLI
Replies: 13
Views: 6014

Re: Weird result using CLI

Yes, the match is correct if i wanted to use TheMovieDB, but i want it to use Anidb since it is anime and i set the ut_label to Anime and not Movie.
So the rename i want is

Code: Select all

Gekijouban Macross F: Itsuwari no Utahime - 1 - Complete Movie [Commie]
by saitoh183
18 Apr 2017, 21:19
Forum: Help and Support
Topic: Weird result using CLI
Replies: 13
Views: 6014

Re: Weird result using CLI

I tried with the latest HEAD release and i still get the problem the Macross file. I tried removing the words "the Movie" from the title but it still used TheMovieDB
by saitoh183
18 Apr 2017, 20:08
Forum: Help and Support
Topic: Weird result using CLI
Replies: 13
Views: 6014

Re: Weird result using CLI

I'll add an additional sanity check. Fixed with r4965 . Good stuff i will test it later tonight does that revision also apply for this: Run script [fn:amc] at [Tue Apr 18 13:40:07 EDT 2017] Parameter: clean = y Parameter: animeFormat = /mnt/sde1/Downloads/importing/Anime/{primaryTitle}/{primaryTitl...
by saitoh183
30 Mar 2017, 19:37
Forum: Help and Support
Topic: Weird result using CLI
Replies: 13
Views: 6014

Re: Weird result using CLI

rednoah wrote:I'll add an additional sanity check. Fixed with r4965.
Good stuff i will test it later tonight
by saitoh183
30 Mar 2017, 19:03
Forum: Help and Support
Topic: Weird result using CLI
Replies: 13
Views: 6014

Re: Weird result using CLI

rednoah wrote:Looks like EP 01-12 is interpreted as multi-episode pattern, kinda like S01E01-E12 would be, so FileBot will match each single file to all episodes, and the rest is just random.
Ok, good to know so i can watch out for next time.
by saitoh183
30 Mar 2017, 15:31
Forum: Help and Support
Topic: Weird result using CLI
Replies: 13
Views: 6014

Weird result using CLI

So i use Filebot in my script for anime and overall it works well. But today i had a weird issue and i dont know why it acted this way. i had a anime in /mnt/sde1/Downloads/Torrents/Anime/[AnimeRG] Berserk (2016) Complete Season 01 (EP 01-12) [1080p] [Multi-Sub] [Batch] [x265] [pseudo] inside is epi...
by saitoh183
15 Mar 2017, 17:04
Forum: Scripting and Automation
Topic: Filebot in python
Replies: 14
Views: 8845

Re: Filebot in python

Unpack_transfer is another script I called to move content that I Unrar. You can remove the line import unpack_tansfer
by saitoh183
22 Feb 2017, 22:32
Forum: Scripting and Automation
Topic: Original File and folder name
Replies: 5
Views: 3740

Re: Original File and folder name

rednoah wrote:Why wouldn't it? It's a shell script. :lol:
:lol: stupid question...
by saitoh183
22 Feb 2017, 21:35
Forum: Scripting and Automation
Topic: Original File and folder name
Replies: 5
Views: 3740

Re: Original File and folder name

You can have the original file name via the {original} binding, but not the original file path. If you want to do stuff with old/new path pairs, then you'll need to write shell script and check the history after the amc script is done: filebot -script fn:history e.g. filebot -script fn:history | wh...
by saitoh183
22 Feb 2017, 21:32
Forum: Scripting and Automation
Topic: Original File and folder name
Replies: 5
Views: 3740

Re: Original File and folder name

You can have the original file name via the {original} binding, but not the original file path. If you want to do stuff with old/new path pairs, then you'll need to write shell script and check the history after the amc script is done: filebot -script fn:history e.g. filebot -script fn:history | wh...
by saitoh183
22 Feb 2017, 20:45
Forum: Scripting and Automation
Topic: Original File and folder name
Replies: 5
Views: 3740

Original File and folder name

I have a question about the CLI variables So this is the output of a processed file: 2017-02-22 01:27:25,693 - Media_Processing - DEBUG - StandardE: Locking /media/sdu1/home/saitoh183/private/script/Filebot.log Run script [fn:amc] at [Wed Feb 22 01:03:11 GMT-05:00 2017] Parameter: clean = y Paramete...
by saitoh183
15 Feb 2017, 12:49
Forum: Scripting and Automation
Topic: Filebot in python
Replies: 14
Views: 8845

Re: Filebot in python

So everything is running fine. What's the problem? What is the expected behaviour? :!: The file ufc.208.ppv.720p.hdtv.x264-plutonium.mp4 just happens to not be working because it's a shitty file. I'm sure you have tested with more than 1 single shitty file before you conclude that "filebot is ...
by saitoh183
15 Feb 2017, 05:49
Forum: Scripting and Automation
Topic: Filebot in python
Replies: 14
Views: 8845

Re: Filebot in python

Follow this Guide: https://www.filebot.net/forums/viewtopic.php?f=4&t=3067 Happens in normal shell as well now sysinfo: FileBot 4.7.7 (r4678) JNA Native: java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/linux-x86-64/libjnidispatch.so) not found in resource path ([file:/media/sdu1/hom...
by saitoh183
14 Feb 2017, 01:04
Forum: Scripting and Automation
Topic: Filebot in python
Replies: 14
Views: 8845

Re: Filebot in python

Just check which java executable is called: ls -l `which java` Try this in both SSH and cron context so you can see the difference. It'll be using the first executable that appears in the PATH. I ended up fixing it by adding . $HOME/.profile, to my cronjob Thanks again for pointing me in the right ...
by saitoh183
27 Jan 2017, 14:00
Forum: Scripting and Automation
Topic: Filebot in python
Replies: 14
Views: 8845

Re: Filebot in python

I ended up fixing it by adding

Code: Select all

. $HOME/.profile,
to my cronjob

Thanks again for pointing me in the right direction
by saitoh183
27 Jan 2017, 06:52
Forum: Scripting and Automation
Topic: Filebot in python
Replies: 14
Views: 8845

Re: Filebot in python

alright, i will give this a go tomorrow and post back...

Thanks rednoah
by saitoh183
27 Jan 2017, 06:43
Forum: Scripting and Automation
Topic: Filebot in python
Replies: 14
Views: 8845

Re: Filebot in python

I thought it was something like that...i guess i need to add this to my path? XDG_SESSION_ID=122225 SHELL=/bin/bash TERM=xterm XDG_SESSION_COOKIE=704540afa834052f08385b0000000298-1485351571.834440-51447201 SSH_TTY=/dev/pts/92 LC_ALL=en_GB.UTF-8 LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;3...
by saitoh183
26 Jan 2017, 23:25
Forum: Scripting and Automation
Topic: Filebot in python
Replies: 14
Views: 8845

Re: Filebot in python

Here is what i was able to catch: Note that the script is running via cronjob 2017-01-26 16:27:15,831 - Media_Processing - DEBUG - StandardOut: Exception in thread "main" java.lang.UnsupportedClassVersionError: net/filebot/Main : Unsupported major.minor version 52.0 at java.lang.ClassLoade...