Localize Bug on themoviedb (TV)
Posted: 30 Sep 2017, 02:28
This does not work proper on themoviedb (TV), but works ok on thetvdb
testfile = Cheers.S04E10.DK.The.Bar.Stoolie
also, there is something wrong with this in the GUI
should this not give the Danish title (genres is in Danish, so it is getting the info) ?
Code: Select all
{def infoDK = Localize.Danish; infoDK.n}/{
def infoDK = Localize.Danish; infoDK.n}{
'.'+s00e00}{
def infoDK = Localize.Danish; '.'+infoDK.t.space('.')}
also, there is something wrong with this in the GUI
Code: Select all
def infoDK = net.filebot.WebServices.TheMovieDB_TV.getSeriesInfo(info.id, new Locale ('da', 'DK'));
infoDK.name
I'm using this in my custom script (htpc.groovy) to get the TV info from themoviedb, is works for the default (English), but is this the correct way ?<net.filebot.web.SeriesInfo@8d database=TheMovieDB::TV order=Airdate language=en id=141 name=Cheers aliasNames=[] certification=null startDate=1982-09-30 genres=[Komedie] network=NBC rating=7.5 ratingCount=140 runtime=24 status=Ended>
Code: Select all
seriesInfo = TheMovieDB_TV.getSeriesInfo(seriesId, locale)