Search found 1251 matches

by kim
17 Jun 2017, 17:30
Forum: Feature Requests and Bug Reports
Topic: amc/htpc downloading same info multiple times
Replies: 8
Views: 3828

Re: amc/htpc downloading same info multiple times

https://developers.themoviedb.org/3/getting-started/languages 1. themoviedb has NO other en-XX ONLY en-US, so best to use en-US for all English requests ( as default) 2. All other languages behave like this, so again better to use ONLY the full xx-XX for all to themoviedb calling only de is really ...
by kim
16 Jun 2017, 23:07
Forum: Episode / Movie Naming Scheme
Topic: Reuse def
Replies: 8
Views: 4696

Re: Reuse def

And def infoDK = net.filebot.WebServices.TheMovieDB.getMovieInfo(Movie, new Locale ('da', 'DK'), true); def infoUS = net.filebot.WebServices.TheMovieDB.getMovieInfo(Movie, new Locale ('en', 'US'), true); = LOG: Fetch resource: api.themoviedb.org/3/movie/ID? language=en-US Fetch resource: api.themovi...
by kim
16 Jun 2017, 23:01
Forum: Episode / Movie Naming Scheme
Topic: Reuse def
Replies: 8
Views: 4696

Re: Reuse def

well I tested it and: it looks like (format): def infoDK = localize.DANISH.info; def infoUS = localize.ENGLISH.info; = LOG: Fetch resource: api.themoviedb.org/3/movie/ID? language=en-US Fetch resource: api.themoviedb.org/3/movie/ID? language=da-DK Fetch resource: api.themoviedb.org/3/movie/ID?append...
by kim
16 Jun 2017, 18:22
Forum: Episode / Movie Naming Scheme
Topic: Reuse def
Replies: 8
Views: 4696

Re: Reuse def

I know, I just changed it because of this https://www.filebot.net/forums/viewtopic.php?f=6&t=5120 localize = TheMovieDB.getMovieInfo(movie, locale, FALSE ) ? I want TheMovieDB.getMovieInfo(movie, locale, TRUE ) to reduce api load from htpc def movieInfo = TheMovieDB.getMovieInfo(movie, locale, t...
by kim
16 Jun 2017, 18:01
Forum: Episode / Movie Naming Scheme
Topic: Reuse def
Replies: 8
Views: 4696

Reuse def

is there a way to reuse a pre def variable in another {} ?
e.g. like this

Code: Select all

{def infoDK = net.filebot.WebServices.TheMovieDB.getMovieInfo(Movie, new Locale ('da', 'DK'), true)} 
{infoDK.name}
if not, Feature Request ;)
by kim
16 Jun 2017, 16:51
Forum: Feature Requests and Bug Reports
Topic: Can't use upper() method on audio.language
Replies: 3
Views: 4320

Re: Can't use upper() method on audio.language

try {audio.language.join().upper()} or {audio.language.toString().upper()} or {audio.language[0].upper()}
by kim
16 Jun 2017, 00:44
Forum: Feature Requests and Bug Reports
Topic: amc/htpc downloading same info multiple times
Replies: 8
Views: 3828

amc/htpc downloading same info multiple times

from amc: this part: def dest = rename(file: files, format: movieFormat, db: 'TheMovieDB') makes this happen: Fetch resource: api.themoviedb.org/3/movie/ID? language=da-DK (*movieFormat, I guess) Fetch resource: api.themoviedb.org/3/movie/ID? language=en-US (*movieFormat, I guess) Fetch resource: ap...
by kim
09 Jun 2017, 23:04
Forum: Feature Requests and Bug Reports
Topic: Bug - Server returned HTTP response code: 400 for URL
Replies: 1
Views: 1722

Bug - Server returned HTTP response code: 400 for URL

Log: saveAs - Fetching [The Big Bang Theory\landscape.jpg] => [tvthumb, en, 6.0, http://assets.fanart.tv/fanart/tv/80379/tvthumb/T_80379 (0).jpg] IOException: Server returned HTTP response code: 400 for URL: http://assets.fanart.tv/fanart/tv/80379/tvthumb/T_80379 (0).jpg Maybe because of this ?: Now...
by kim
09 Jun 2017, 16:24
Forum: Scripting and Automation
Topic: fn:artwork.tvdb stopped working
Replies: 28
Views: 11912

Re: fn:artwork.tvdb stopped working

probably not the best way to do it, but it works, finally :) I spend hours on this if (fs[0].metadata instanceof MultiEpisode){ log.fine "fs[0].metadata: ${fs[0].metadata}" log.fine "fs[0].metadata: ${fs[0].metadata.episodes.id}" } I just don't get why when it worked in GUI + Gro...
by kim
09 Jun 2017, 16:12
Forum: Scripting and Automation
Topic: fn:artwork.tvdb stopped working
Replies: 28
Views: 11912

Re: fn:artwork.tvdb stopped working

fs = [filepath+ filename]
fs.getClass() = class java.util.ArrayList
by kim
09 Jun 2017, 16:01
Forum: Scripting and Automation
Topic: fn:artwork.tvdb stopped working
Replies: 28
Views: 11912

Re: fn:artwork.tvdb stopped working

AMC.groovy = your code, you know this better then I do under: // EPISODE MODE https://github.com/filebot/scripts/blob/master/amc.groovy#L432 after this part I have put "if (fs.metadata instanceof net.filebot.web.MultiEpisode)" What is the value of fs? = [filepath+ filename] What is the val...
by kim
09 Jun 2017, 15:51
Forum: Scripting and Automation
Topic: fn:artwork.tvdb stopped working
Replies: 28
Views: 11912

Re: fn:artwork.tvdb stopped working

in the AMC

if (fs.metadata instanceof net.filebot.web.Episode)
and
if (fs.metadata instanceof net.filebot.web.MultiEpisode)
is ALLWAYS failing
by kim
09 Jun 2017, 15:49
Forum: Scripting and Automation
Topic: fn:artwork.tvdb stopped working
Replies: 28
Views: 11912

Re: fn:artwork.tvdb stopped working

the * is where I put the filename ONLY to test in the GUI / Groovy Pad
by kim
09 Jun 2017, 15:42
Forum: Scripting and Automation
Topic: fn:artwork.tvdb stopped working
Replies: 28
Views: 11912

Re: fn:artwork.tvdb stopped working

need help...
I have tried a lot, but no luck... I have no idea how to get it working or even why it don't work in amc ?
by kim
08 Jun 2017, 22:33
Forum: Ubuntu & Desktop Linux
Topic: Subtitles end up in a different folder when using amc
Replies: 38
Views: 19001

Re: Subtitles end up in a different folder when using amc

Your problem is this part: [{vc}, {vf}, {ac}, {source}{file =~/(?i)HSBS|H-SBS/ ? ', 3D-HSBS' : ''}{file =~/(?i)HOU|H-OU/ ? ', 3D-HOU' : ''}] [Doctor Strange - [2016] - [, , , ]/Doctor Strange - 2016.coincidence-drstrange-1080p-eng.sub] [Doctor Strange - [2016] - [x264, 1080p, DTS, BluRay] /Doctor St...
by kim
08 Jun 2017, 18:59
Forum: Scripting and Automation
Topic: fn:artwork.tvdb stopped working
Replies: 28
Views: 11912

Re: fn:artwork.tvdb stopped working

I can get this to work in the GUI / Groovy Pad

Code: Select all

def fs = new File (" * ")
if (fs.metadata instanceof net.filebot.web.MultiEpisode) {'MultiEpisode'} 
else {'episode'}
but can't get it working in the amc script
by kim
07 Jun 2017, 16:42
Forum: Scripting and Automation
Topic: fn:artwork.tvdb stopped working
Replies: 28
Views: 11912

Re: fn:artwork.tvdb stopped working

if I use {episodes.id} in the GUI, I get no fail

this is what I need, but how to do it in the amc script ?

EDIT:
Or maybe how do I get {episodes.id} directly in the htpc script ?
by kim
07 Jun 2017, 16:25
Forum: Scripting and Automation
Topic: fn:artwork.tvdb stopped working
Replies: 28
Views: 11912

Re: fn:artwork.tvdb stopped working

the problem is as you say "The MultiEpisode type has a episodes property and the Episode type. You can easily tell them apart based on that." "episodes" property is only present if "@type":"MultiEpisode" using (episodesId: it.metadata.episodes ? it.metadata.ep...
by kim
07 Jun 2017, 14:42
Forum: Scripting and Automation
Topic: fn:artwork.tvdb stopped working
Replies: 28
Views: 11912

Re: fn:artwork.tvdb stopped working

from amc: Why does this work: fs.findResults{ it.metadata }.findAll{ it.seriesInfo.database == 'TheTVDB' }.collect{ [season: it.special ? 0 : it.season, id: it.seriesInfo.id] } and this work sxe: it.metadata.special ? 0 + 'x' + it.metadata.special.pad(2) : it.metadata.season + 'x' + it.metadata.epis...
by kim
06 Jun 2017, 21:36
Forum: Feature Requests and Bug Reports
Topic: Double-Episode Support
Replies: 23
Views: 26803

Re: Double-Episode Support

cant get season span multi episode to work e.g. (no support ?) Star.Trek.The.Next.Generation.S03E26-S04E01.The.Best.of.Both.Worlds.(Part.1.and.2) Star.Trek.The.Next.Generation.3x26-4x01 = Star.Trek.The.Next.Generation.3x26 http://www.thetvdb.com/?tab=episode&seriesid=71470&seasonid=2300&...
by kim
01 Jun 2017, 17:02
Forum: Feature Requests and Bug Reports
Topic: Log file - xattr
Replies: 3
Views: 2537

Re: Log file - xattr

thx, that fixed the xattr log output but there is a problem more (for me at least): You wrote this: "In the portable distribution, FileBot.exe is the GUI application, and filebot.cmd is the console application. You'll need to make sure that you use the console application, if you want to see co...
by kim
30 May 2017, 18:48
Forum: Feature Requests and Bug Reports
Topic: Log file - xattr
Replies: 3
Views: 2537

Log file - xattr

why does this not work anymore using 4.7.10 portable ? filebot.cmd -script fn:xattr "path" --log-file "path\context.log" OR filebot.cmd -script fn:xattr --action clear "path" --log-file "path\context.log" info on screen is ok, but only "Done ヾ(@⌒ー⌒@)ノ&quo...
by kim
23 May 2017, 17:59
Forum: Feature Requests and Bug Reports
Topic: XML error on Doctor Who (2005) Match on TheTVDB
Replies: 9
Views: 5165

Re: XML error on Doctor Who (2005) Match on TheTVDB

Is there a way I can force filebot to use TheTVDB v2 ? also if filebot use the zip file, unpack it then use that *.xml... then this problem will go away btw: " APIv2 A new version of the API has been written which uses JSON instead of XML files. Documentation for this version can be found at ht...
by kim
25 Sep 2016, 14:23
Forum: Episode / Movie Naming Scheme
Topic: Help Cleaning Up Scheme
Replies: 3
Views: 2797

Re: Help Cleaning Up Scheme

start by asking yourself or telling people, how do I want the result to look like...

then you can build a better script
by kim
22 Sep 2016, 17:46
Forum: Scripting and Automation
Topic: fn:artwork.tvdb stopped working
Replies: 28
Views: 11912

Re: fn:artwork.tvdb stopped working

thx, looks like its working ok. On 1st look, I can only see 1 problem: airsTime test in GUI: {def seriesInfo = net.filebot.WebServices.TheTVDB.getSeriesInfo(series.id, Locale.ENGLISH).airsDayOfWeek} = OK {def seriesInfo = net.filebot.WebServices.TheTVDB.getSeriesInfo(series.id, Locale.ENGLISH).airsT...