FileBot 4.7 (r3935) firstAired bug

All your suggestions, requests and ideas for future development
Post Reply
kim
Power User
Posts: 1251
Joined: 15 May 2014, 16:17

FileBot 4.7 (r3935) firstAired bug

Post by kim »

No such property: firstAired for class: net.filebot.web.SeriesInfo
groovy.lang.MissingPropertyException: No such property: firstAired for class: net.filebot.web.SeriesInfo
I guess its because of this, but maybe a bad idea to put it to public use, if not ready ?
TheTVDB is currently being switched to a completely new API. The current 4.7 is the last version that'll use the current/old XML API.
User avatar
rednoah
The Source
Posts: 23932
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot 4.7 (r3935) firstAired bug

Post by rednoah »

As far as I remember, That SeriesInfo property has always been called startDate.

@see https://github.com/filebot/filebot/blob ... sInfo.java
:idea: Please read the FAQ and How to Request Help.
kim
Power User
Posts: 1251
Joined: 15 May 2014, 16:17

Re: FileBot 4.7 (r3935) firstAired bug

Post by kim »

what?
this is the problem...
htpc:

Code: Select all

def fetchSeriesArtworkAndNfo(seriesDir, seasonDir, series, season, override = false, locale = Locale.ENGLISH) {
	tryLogCatch {
		// fetch nfo
		def seriesInfo = TheTVDB.getSeriesInfo(series, locale)

Code: Select all

def fetchSeriesNfo(outputFile, seriesInfo, locale) {
	log.fine "Generate Series NFO: $seriesInfo.name [$seriesInfo.id]"
	def i = seriesInfo
	def xml = XML {
		tvshow {
			title(i.name)
			sorttitle([i.name, i.firstAired as String].findAll{ it?.length() > 0 }.findResults{ it.sortName('$2') }.join(' :: '))
			year(i.firstAired?.year)
https://github.com/filebot/scripts/blob ... tpc.groovy
User avatar
rednoah
The Source
Posts: 23932
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot 4.7 (r3935) firstAired bug

Post by rednoah »

oh... i guess there's still a few things missing from the new API implementation...

EDIT:

Updated scripts and jar.
:idea: Please read the FAQ and How to Request Help.
Post Reply