Search found 32 matches
- 16 Nov 2020, 10:57
- Forum: Episode / Movie Naming Scheme
- Topic: Localized name from TheTVDB based on audio language?
- Replies: 22
- Views: 14770
Re: Localized name from TheTVDB based on audio language?
@rednoah Found this earlier: https://app.swaggerhub.com/apis-docs/th ... _v_4/4.0.0
- 12 Nov 2020, 19:20
- Forum: Episode / Movie Naming Scheme
- Topic: Localized name from TheTVDB based on audio language?
- Replies: 22
- Views: 14770
Re: Localized name from TheTVDB based on audio language?
Just heard back from thetvdb, and they have their new API v4 and wont't prioritize v3 issues.
@rednoah any plans to implement the v4 API?
@rednoah any plans to implement the v4 API?
- 13 Oct 2020, 12:52
- Forum: Episode / Movie Naming Scheme
- Topic: Localized name from TheTVDB based on audio language?
- Replies: 22
- Views: 14770
Re: Localized name from TheTVDB based on audio language?
So where do I add the custom dirs (i.e Series Name/Season XX/) and then change "1x01" to "s00e00" inside of my custom format. Basicly get it to mimic the "plex" output. (a =~ /nb|da|sv/ ? n e t.filebot.WebServices.TheTVDB.getEpisodeList(id, null, new Locale (a)).find{ i...
- 12 Oct 2020, 18:47
- Forum: Episode / Movie Naming Scheme
- Topic: Localized name from TheTVDB based on audio language?
- Replies: 22
- Views: 14770
Re: Localized name from TheTVDB based on audio language?
Thanks for the explanation.
*sigh*. I wish thetvdb would just fix the bug.
*sigh*. I wish thetvdb would just fix the bug.
- 12 Oct 2020, 17:02
- Forum: Episode / Movie Naming Scheme
- Topic: Localized name from TheTVDB based on audio language?
- Replies: 22
- Views: 14770
Re: Localized name from TheTVDB based on audio language?
Thanks, got it. It's starting to become a bit complex for my understanding, but I'm trying. Appreciate all the help! :) I still have two more issues with my script: 1. The episode listing is 1x01 ( sxe ) instead of the plex way of S01E01. I tried changing the "sxe" to "s00e00", b...
- 11 Oct 2020, 12:49
- Forum: Episode / Movie Naming Scheme
- Topic: Localized name from TheTVDB based on audio language?
- Replies: 22
- Views: 14770
Re: Localized name from TheTVDB based on audio language?
Thanks, but isn't that what I've done in the code above? Except I get the error?
- 11 Oct 2020, 09:33
- Forum: Episode / Movie Naming Scheme
- Topic: Localized name from TheTVDB based on audio language?
- Replies: 22
- Views: 14770
Re: Localized name from TheTVDB based on audio language?
Thanks for fixing the "special" part, but I'm having a hard time incorporating it in my script. I tried to remove the derive part, but get Suppressed: No signature of method: net.filebot.web.Episode.call() is applicable for argument types: (Script95$_run_closure2, Script95$_run_closure3, S...
- 10 Oct 2020, 14:50
- Forum: Episode / Movie Naming Scheme
- Topic: Localized name from TheTVDB based on audio language?
- Replies: 22
- Views: 14770
Re: Localized name from TheTVDB based on audio language?
Ok, that explains that issue. Do you have any advice on how to solve the issue using a plex object (ie. "localize[a].plex")? Trying to use "nb" on "localize[a].plex" gives "Binding "nb": undefined" We could make any Norwegian lookup use language code...
- 10 Oct 2020, 12:13
- Forum: Episode / Movie Naming Scheme
- Topic: Localized name from TheTVDB based on audio language?
- Replies: 22
- Views: 14770
Re: Localized name from TheTVDB based on audio language?
Thanks for your help! I sort get it to work if I copy your code alone, but it no longer catches "Specials" (ie. "Peppa.Pig.S00E01.special.1080p.Web.x265.10bit.mkv"), and trying to incorporate it in my exisiting setup also breaks it. And I can't seem to figure out why. This is my ...
- 08 Oct 2020, 18:32
- Forum: Episode / Movie Naming Scheme
- Topic: Localized name from TheTVDB based on audio language?
- Replies: 22
- Views: 14770
Re: Localized name from TheTVDB based on audio language?
Thanks @kim! I prefer to use thetvdb since it seems to have the most correct date. Your first example works fine when testing, but I'm having a hard time incorporating it into my script. def a = audio[0].language (a = a.replace('nn':'no', 'nb':'no')) (a =~ (/no|da|sv/) ? localize[a].plex : plex) I c...
- 07 Oct 2020, 07:05
- Forum: Episode / Movie Naming Scheme
- Topic: Localized name from TheTVDB based on audio language?
- Replies: 22
- Views: 14770
Re: Localized name from TheTVDB based on audio language?
Appreciate the research! So it's a bug raised in april, and still not fixed. Is there any way to tell filebot to first check "no", and if no hit, then check "nb"? This is my current audio/language code where I took into account that the audio actually could be tagged with "n...
- 06 Oct 2020, 18:10
- Forum: Episode / Movie Naming Scheme
- Topic: Localized name from TheTVDB based on audio language?
- Replies: 22
- Views: 14770
Localized name from TheTVDB based on audio language?
Hi, I can't for the life of me get this to work. I have a much more complex naming scheme, but let's focus just on the name for now. I'm currently just testing in the GUI version. Filebot is set to default to English. i.e running this code: {audio.language =~ /no/ ? localize.no.n : n} on this file: ...
- 07 Aug 2020, 18:30
- Forum: Ubuntu & Desktop Linux
- Topic: Title based on language either in metadata or in dir/filename?
- Replies: 18
- Views: 11258
Re: Title based on language either in metadata or in dir/filename?
Thanks for the info.
@kim – have your shared your setup? Would be interesting to see if what you use?
@kim – have your shared your setup? Would be interesting to see if what you use?
- 06 Aug 2020, 14:11
- Forum: Ubuntu & Desktop Linux
- Topic: Title based on language either in metadata or in dir/filename?
- Replies: 18
- Views: 11258
Re: Title based on language either in metadata or in dir/filename?
But why does it not fail on Movies too, since that also has nn?
And nn should be a language code: https://www.wikiwand.com/en/List_of_ISO_639-1_codes (norwegian nynorsk)
And nn should be a language code: https://www.wikiwand.com/en/List_of_ISO_639-1_codes (norwegian nynorsk)
- 06 Aug 2020, 13:35
- Forum: Ubuntu & Desktop Linux
- Topic: Title based on language either in metadata or in dir/filename?
- Replies: 18
- Views: 11258
Re: Title based on language either in metadata or in dir/filename?
Will do that. The strange thing is that it's the exact same as the movies – so it should work afaik.
Can I use multiline input in the format editor?
Can I use multiline input in the format editor?
- 06 Aug 2020, 12:19
- Forum: Ubuntu & Desktop Linux
- Topic: Title based on language either in metadata or in dir/filename?
- Replies: 18
- Views: 11258
Re: Title based on language either in metadata or in dir/filename?
Thanks, works on movies, but not on series – it still gives me noname files on the non-english ones: Logfile: Run script [fn:amc] at [Thu Aug 06 14:09:16 CEST 2020] Parameter: minLengthMS = 1 Parameter: minFileSize = 1 Parameter: seriesFormat = series/{ def a = audio[0].language (a =~ (/no|nn|nb|da|...
- 06 Aug 2020, 11:16
- Forum: Ubuntu & Desktop Linux
- Topic: Title based on language either in metadata or in dir/filename?
- Replies: 18
- Views: 11258
Re: Title based on language either in metadata or in dir/filename?
Thanks! I sort of got it to work on movies, but I had to repeat the naming scheme. How would you go about to avoid repeating all the naming schemes for a cleaner file (and only needing to edit one place)? movies/{ def a = audio[0].language if (a =~ /no|nn|nb|da|sv/) localize[a].plex.derive {" &...
- 06 Aug 2020, 09:53
- Forum: Ubuntu & Desktop Linux
- Topic: Title based on language either in metadata or in dir/filename?
- Replies: 18
- Views: 11258
Re: Title based on language either in metadata or in dir/filename?
Any way to use plex.derive instead of n?
- 06 Aug 2020, 09:07
- Forum: Ubuntu & Desktop Linux
- Topic: Title based on language either in metadata or in dir/filename?
- Replies: 18
- Views: 11258
Re: Title based on language either in metadata or in dir/filename?
Thank you for the explanation! I think I get it now. I'll test it out.
- 05 Aug 2020, 22:48
- Forum: Ubuntu & Desktop Linux
- Topic: Title based on language either in metadata or in dir/filename?
- Replies: 18
- Views: 11258
Re: Title based on language either in metadata or in dir/filename?
Thank you, appreciate your pointers!
Could you please explain how you select which language(s) to use on the first example in the link? I can't see any references to any language.
Could you please explain how you select which language(s) to use on the first example in the link? I can't see any references to any language.
- 05 Aug 2020, 13:13
- Forum: Ubuntu & Desktop Linux
- Topic: Title based on language either in metadata or in dir/filename?
- Replies: 18
- Views: 11258
Title based on language either in metadata or in dir/filename?
Bad title, but not sure how to word it. I have a few languages I can read/write, and if a media language in one of those languages, I would prefer use the original title in the name (the rest would be in english). What is the best practice to do this? Should you look for language in the meta data, a...
- 30 Jul 2020, 10:19
- Forum: Feature Requests and Bug Reports
- Topic: Different naming results on Linux vs. macOS
- Replies: 11
- Views: 4491
Re: Different naming results on Linux vs. macOS
Famous last words I guess I was pretty sure it would throw an error or fail.
I'll try to see if I can figure it out. I will report back.
The @file syntax thing looks nice as well.
Thanks!
I'll try to see if I can figure it out. I will report back.
The @file syntax thing looks nice as well.
Thanks!
- 30 Jul 2020, 08:29
- Forum: Feature Requests and Bug Reports
- Topic: Different naming results on Linux vs. macOS
- Replies: 11
- Views: 4491
Re: Different naming results on Linux vs. macOS
Yes, sorry, I have a bit more that I didn't think relevant (path info, etc.) earlier in the command – so it starts with ' :) I'm confident it's not commandline argument, but because then everything should fail afaik. Now it just ignores the 10 bit part – as it should if it don't see it. The issue is...
- 29 Jul 2020, 21:28
- Forum: Feature Requests and Bug Reports
- Topic: Different naming results on Linux vs. macOS
- Replies: 11
- Views: 4491
Re: Different naming results on Linux vs. macOS
I'm bumping this topic again. I want to tag files with 10 bit, with [10 bit]. It works on Filebot on macOS, but not on Linux. Current code that works on macOS, but not on Linux: {plex.derive{" " + tags}{" " + [fn.match(/(?i)nordic|norwegian|danish|swedish/).upper()]}{" "...
- 28 Jul 2020, 09:51
- Forum: Help and Support
- Topic: Rename with exisiting info regardless if there is a "tag" missing
- Replies: 3
- Views: 1982