Search found 30 matches

by znerken
29 Jun 2018, 20:03
Forum: Scripting and Automation
Topic: qBittorent, run as external program newest version
Replies: 3
Views: 2388

Re: qBittorent, run as external program newest version

What are the values of all the variables? What does the log say? :idea: Using pythonw means that you won't get console output, which means that you will never find out why it's not working. 1. Use python and not pythonw if you want to see the python output. 2. Use subprocess.run(command) instead of...
by znerken
29 Jun 2018, 19:18
Forum: Scripting and Automation
Topic: qBittorent, run as external program newest version
Replies: 3
Views: 2388

qBittorent, run as external program newest version

Have anyone gotten the python script to work with qBittorent 4.1.1?

I have this, and it does not work after the qBittorent update.

Code: Select all

"D:/utorrent-postprocess.pyw" "%L" "" "%N" "multi" "" "%F"
by znerken
22 Apr 2018, 17:26
Forum: Scripting and Automation
Topic: If not found on theTVDB try search again, but replace letters
Replies: 4
Views: 2386

Re: If not found on theTVDB try search again, but replace letters

I'm fairly sure that the example above would have been approved. You can suggest alias names in the forums. As a last resort, if TheTVDB admins choose not to add your alias name suggestion, then I can add it to a list that is specific to FileBot: https://github.com/filebot/data/blob/master/add-seri...
by znerken
22 Apr 2018, 17:23
Forum: Scripting and Automation
Topic: If not found on theTVDB try search again, but replace letters
Replies: 4
Views: 2386

Re: If not found on theTVDB try search again, but replace letters

The kind of logic you're asking for is not supported. However, the easy solution is to just add the appropriate alias name to TheTVDB. Let's say we have a show called "Æon" then one would expect one of the alias names to be "Aeon". You could also consider pre-processing files an...
by znerken
22 Apr 2018, 14:49
Forum: Scripting and Automation
Topic: If not found on theTVDB try search again, but replace letters
Replies: 4
Views: 2386

If not found on theTVDB try search again, but replace letters

So here in Norway we have the letters ÆØÅ, and on many files/torrents people replace for example Ø with OE. Is it possible to script the amc python script to do this: If (language = NO AND no match found at the TVDB) (name.replace('oe' with 'ø') searchTheTVDBAgain()) The language part we have alread...
by znerken
19 Apr 2018, 19:11
Forum: Help and Support
Topic: (AMC) If folder name contains "norwegian" search with norwegian as language
Replies: 8
Views: 3620

Re: (AMC) If folder name contains "norwegian" search with norwegian as language

rednoah wrote: 19 Apr 2018, 17:17 YES:

Code: Select all

--lang NO
NO:

Code: Select all

--def lang=NO
Log looks like you're doing the latter.

That worked! GREAT!
by znerken
19 Apr 2018, 13:06
Forum: Help and Support
Topic: (AMC) If folder name contains "norwegian" search with norwegian as language
Replies: 8
Views: 3620

Re: (AMC) If folder name contains "norwegian" search with norwegian as language

So I got it to work, but it doesn't look like it cares about the language? Parameter: unsorted = y Parameter: movieFormat = {plex.dir}/{fn} Parameter: seriesFormat = {plex.dir}/{fn} Parameter: animeFormat = {plex} Parameter: musicFormat = {plex} Parameter: ut_label = Parameter: ut_state = Parameter:...
by znerken
19 Apr 2018, 12:04
Forum: Help and Support
Topic: (AMC) If folder name contains "norwegian" search with norwegian as language
Replies: 8
Views: 3620

Re: (AMC) If folder name contains "norwegian" search with norwegian as language

Sorry, you might need to learn a bit of Python for that one. It shouldn't be more than a simple if-then-else though. Ah, so basically in pseudo: command{ 'filebot', '-script', 'fn:amc', '--output', output, '--action', 'copy', '--conflict', 'skip', '-non-strict', if(filename.contains("NORWEGIAN...
by znerken
19 Apr 2018, 11:54
Forum: Help and Support
Topic: (AMC) If folder name contains "norwegian" search with norwegian as language
Replies: 8
Views: 3620

Re: (AMC) If folder name contains "norwegian" search with norwegian as language

rednoah wrote: 19 Apr 2018, 11:52 I'd modify the python script to check the input folder name, and then either pass --lang English or --lang Norwegian to FileBot depending on the situation. By default, it'll always use English.

That sounds like a good solution. Care to help me along the road?
by znerken
19 Apr 2018, 10:59
Forum: Help and Support
Topic: (AMC) If folder name contains "norwegian" search with norwegian as language
Replies: 8
Views: 3620

(AMC) If folder name contains "norwegian" search with norwegian as language

Is it possible to achieve this? If Norwegian is in folder name(or file name, just what's easiest), search the tvDB with Norwegian as language?


Most important, does Filebot ever search TheTVDB with Norwegian language, if it's not specified? For example when using the Python AMC script.




Thanks!
by znerken
10 Apr 2018, 17:39
Forum: Feature Requests and Bug Reports
Topic: Issues with rare TV shows
Replies: 15
Views: 6414

Re: Issues with rare TV shows

rednoah wrote: 10 Apr 2018, 17:38 Preferably both. English tends to be the default. Not that updates in TheTVDB will not be reflected in the API / FileBot immediately. You might have to wait a few days.
is episode and season data needed for it to work?
by znerken
10 Apr 2018, 17:37
Forum: Feature Requests and Bug Reports
Topic: Issues with rare TV shows
Replies: 15
Views: 6414

Re: Issues with rare TV shows

rednoah wrote: 10 Apr 2018, 17:36 That may be. But not a single person has bothered to update TheTVDB so far. This is your job now. ;)

:arrow: FileBot will work once TheTVDB is up to date with the latest information.
Nice. With english or norwegian as language?

Also, is episode and season data needed for it to work?
by znerken
10 Apr 2018, 17:33
Forum: Feature Requests and Bug Reports
Topic: Issues with rare TV shows
Replies: 15
Views: 6414

Re: Files with . as space

The log says that series lookup fails, but even if that worked, you'd still end up with no match because there is no episode data at all for this show: https://www.thetvdb.com/?tab=seasonall&id=345859&lid=9 If you process esoteric TV shows that almost nobody else watches, then there's a goo...
by znerken
10 Apr 2018, 17:30
Forum: Feature Requests and Bug Reports
Topic: Issues with rare TV shows
Replies: 15
Views: 6414

Re: Files with . as space

Log says that it just didn't find a match on TheTVDB. Can you provide a TheTVDB link for that TV series? (. or space will not make a difference here) Using --lang NOR might make a difference though, for NOR shows that don't have official English titles and thus don't yield results for English langu...
by znerken
10 Apr 2018, 17:28
Forum: Feature Requests and Bug Reports
Topic: Issues with rare TV shows
Replies: 15
Views: 6414

Re: Files with . as space

rednoah wrote: 10 Apr 2018, 17:27 Log says that it just didn't find a match on TheTVDB. Can you provide a TheTVDB link for that TV series?
https://www.thetvdb.com/?tab=series&id=345859&lid=9

By the way, Plex finds them all, so perhaps we could add more providers/api's?
by znerken
10 Apr 2018, 17:24
Forum: Feature Requests and Bug Reports
Topic: Issues with rare TV shows
Replies: 15
Views: 6414

Re: Files with . as space

Can you provide filenames or screenshots or logs? Sorry. Filename example: Ja.Vi.Elsker.Camping.S02E02 Input: D:\UNSORTED\Ja.Vi.Elsker.Camping.S03E05.NORWEGiAN.720p.WEB-DL.h264-PirateTV.mkv Group: [tvs:ja vi elsker camping] => [Ja.Vi.Elsker.Camping.S03E05.NORWEGiAN.720p.WEB-DL.h264-PirateTV.mkv] Re...
by znerken
10 Apr 2018, 16:50
Forum: Feature Requests and Bug Reports
Topic: Issues with rare TV shows
Replies: 15
Views: 6414

Issues with rare TV shows

I can't seem to get Filebot AMC script to organize files with . as space in filename. TV.Show.Named.Something will not get sorted. I even added the TV show to thetvdb to make sure that wasn't the reason(https://www.thetvdb.com/?tab=series&id=345859&lid=9) Can we add this as a feature? One of...
by znerken
27 Mar 2018, 19:03
Forum: Feature Requests and Bug Reports
Topic: If TV show not found, BUT there exist a folder, use that folder
Replies: 16
Views: 5966

Re: If TV show not found, BUT there exist a folder, use that folder

I am sorry if I am slow now, how would I add the functionality of putting it in the existing folder? Also, I don't quite understand why I can't use {S00}. The file I tested that on, was a file that Filebot was not able to identify. It is a file from the "unsorted" folder. Season and episod...
by znerken
27 Mar 2018, 08:57
Forum: Feature Requests and Bug Reports
Topic: If TV show not found, BUT there exist a folder, use that folder
Replies: 16
Views: 5966

Re: If TV show not found, BUT there exist a folder, use that folder

My bad! Will do. Still, it stands unclear how one would add it to the python script.
by znerken
25 Mar 2018, 18:52
Forum: Feature Requests and Bug Reports
Topic: If TV show not found, BUT there exist a folder, use that folder
Replies: 16
Views: 5966

Re: If TV show not found, BUT there exist a folder, use that folder

Image

I tried something easy like this. My problem is as I said how I take my format expression and add all of this to the utorrent python script.
by znerken
21 Mar 2018, 11:56
Forum: Feature Requests and Bug Reports
Topic: If TV show not found, BUT there exist a folder, use that folder
Replies: 16
Views: 5966

Re: If TV show not found, BUT there exist a folder, use that folder

Okay, so I am at the last step now. Could you provide an example for the amc python script WITH unsorted format? Or link to where I can read how to add it.

Something like this?

Code: Select all

unsortedFormat = '''{plex.dir}toFile().listFiles().find{ fn =~ it.name }/fn.match(/S\d{2}/)/{n} - {s00e00}'''
by znerken
21 Mar 2018, 08:37
Forum: Feature Requests and Bug Reports
Topic: If TV show not found, BUT there exist a folder, use that folder
Replies: 16
Views: 5966

Re: If TV show not found, BUT there exist a folder, use that folder

You can express that logic in your custom format expression. 1. Find folder where the file you're processing contains the name of that folder: '/path/to/TV Shows'.toFile().listFiles().find{ fn =~ it.name } 2. Match the S01 part from the filename: fn.match(/S\d{2}/) You can use these to generate the...
by znerken
19 Mar 2018, 12:53
Forum: Feature Requests and Bug Reports
Topic: If TV show not found, BUT there exist a folder, use that folder
Replies: 16
Views: 5966

Re: If TV show not found, BUT there exist a folder, use that folder

You're asking FileBot to process files without any movie/episode information. That means that the only information that is available for processing files and putting them into the desired folder is the filename itself. This means that what you're asking for is effectively the same as Plain File Mod...
by znerken
19 Mar 2018, 12:33
Forum: Feature Requests and Bug Reports
Topic: If TV show not found, BUT there exist a folder, use that folder
Replies: 16
Views: 5966

Re: If TV show not found, BUT there exist a folder, use that folder

If you sort files based on filename alone

I am sorry , but I didn't fully understand that. I use the AMC python script called utorrent-postprocess.pyw, downloaded from this forum.
by znerken
19 Mar 2018, 09:30
Forum: Feature Requests and Bug Reports
Topic: If TV show not found, BUT there exist a folder, use that folder
Replies: 16
Views: 5966

If TV show not found, BUT there exist a folder, use that folder

If the Filebot AMC script doesn't find a TV show, it puts it in "unsorted". Each time that one particular TV SHOW X is ran through the AMC script, I have to move /Unsorted/TV SHOW X sxxexx to /Sorted/TV SHOW X/. I suggest a feature that does the following: AMC scan started Show not found C...