series naming does not include year anymore

Any questions? Need some help?
Post Reply
mrksjs
Posts: 2
Joined: 20 Sep 2018, 12:29

series naming does not include year anymore

Post by mrksjs » 20 Sep 2018, 12:39

Hi
loving filebot node on my synology, it worked perfectly until i upgraded via synology package center a few days ago. it was installed via spk.

I bought and installed the license after the upgrade and movie moving/renaming seems to work fine, however with series I have a problem now:

result:

Code: Select all

filebot -script 'fn:amc' /volume1/_DL/_filebot_working_directory --output /volume1/ --action TEST -non-strict --order Airdate --conflict auto --lang en --def 'music=y' 'unsorted=y' 'artwork=y' 'subtitles=eng' 'clean=y' 'skipExtract=y' 'seriesFormat=_SERIEN/{n} {y}/{n.upperInitial().space('\''.'\'')}.{s00e00}.{t.upperInitial().space('\''_'\'')}.{vf}.{vc}.{ac}' 'animeFormat=_SERIEN/{ny}/{n.upperInitial().space('\''.'\'')}.{s00e00}.{t.upperInitial().space('\''_'\'')}.{vf}.{vc}.{ac}' 'movieFormat=_FILME/{ny}/{n.upperInitial().space('\''_'\'')}.{y}.{vf}.{vc}.{ac}' 'musicFormat=_DL/_Unsorted/_music/{fn}.{ext}' 'unsortedFormat=_DL/_Unsorted/{fn}.{ext}' 'excludeList=/volume1/_DL/_filebot_working_directory/.excluded/.excludes' --log all --log-file '/volume1/@appstore/filebot-node/data/filebot.log'

------------------------------------------

x86_64
Locking /volume1/@appstore/filebot-node/data/filebot.log
Run script [fn:amc] at [Thu Sep 20 14:23:20 CEST 2018]
Parameter: music = y
Parameter: unsorted = y
Parameter: artwork = y
Parameter: subtitles = eng
Parameter: clean = y
Parameter: skipExtract = y
Parameter: seriesFormat = _SERIEN/{n} {y}/{n.upperInitial().space('.')}.{s00e00}.{t.upperInitial().space('_')}.{vf}.{vc}.{ac}
Parameter: animeFormat = _SERIEN/{ny}/{n.upperInitial().space('.')}.{s00e00}.{t.upperInitial().space('_')}.{vf}.{vc}.{ac}
Parameter: movieFormat = _FILME/{ny}/{n.upperInitial().space('_')}.{y}.{vf}.{vc}.{ac}
Parameter: musicFormat = _DL/_Unsorted/_music/{fn}.{ext}
Parameter: unsortedFormat = _DL/_Unsorted/{fn}.{ext}
Parameter: excludeList = /volume1/_DL/_filebot_working_directory/.excluded/.excludes
Argument[0]: /volume1/_DL/_filebot_working_directory
Use excludes: /volume1/_DL/_filebot_working_directory/.excluded/.excludes (8)
Ignore hidden: /volume1/_DL/_filebot_working_directory/.excluded
Ignore system path: /volume1/_DL/_filebot_working_directory/@eaDir
Input: /volume1/_DL/_filebot_working_directory/Who.Is.America.S01E01.Episode_1.1080p.AVC.EAC3.eng.srt
Input: /volume1/_DL/_filebot_working_directory/Who.Is.America.S01E01.Episode_1.1080p.AVC.EAC3.mkv
xattr: [Who.Is.America.S01E01.Episode_1.1080p.AVC.EAC3.mkv] => [Who Is America? - 1x01 - Episode 1]
Group: [tvs:peng life] => [Who.Is.America.S01E01.Episode_1.1080p.AVC.EAC3.eng.srt]
Group: [tvs:who is america] => [Who.Is.America.S01E01.Episode_1.1080p.AVC.EAC3.mkv]
Rename episodes using [TheTVDB]
Auto-detected query: [Peng Life, Who Is America]
Fetching episode data for [Peng Life]
Fetching episode data for [Who Is America?]
Fetching episode data for [In America]
Stripping invalid characters from new path: _SERIEN/Who Is America?/Who.Is.America.S01E01.Episode_1.1080p.AVC.EAC3
[TEST] from [/volume1/_DL/_filebot_working_directory/Who.Is.America.S01E01.Episode_1.1080p.AVC.EAC3.eng.srt] to [/volume1/_SERIEN/Who Is America/Who.Is.America.S01E01.Episode_1.1080p.AVC.EAC3.srt]
Processed 1 files
No missing subtitles
Rename episodes using [TheTVDB]
Auto-detected query: [Who Is America?]
Fetching episode data for [Who Is America?]
Fetching episode data for [In America]
Stripping invalid characters from new path: _SERIEN/Who Is America?/Who.Is.America.S01E01.Episode_1.1080p.AVC.EAC3
[TEST] from [/volume1/_DL/_filebot_working_directory/Who.Is.America.S01E01.Episode_1.1080p.AVC.EAC3.mkv] to [/volume1/_SERIEN/Who Is America/Who.Is.America.S01E01.Episode_1.1080p.AVC.EAC3.mkv]
Processed 1 files
Done ヾ(@⌒ー⌒@)ノ
------------------------------------------

[Process completed]

expected result:
{ny} or {n} {y} includes the name + startdate.year of the tv show

Code: Select all

[TEST] from [/volume1/_DL/_filebot_working_directory/Who.Is.America.S01E01.Episode_1.1080p.AVC.EAC3.mkv] to [/volume1/_SERIEN/Who Is America (2018)/Who.Is.America.S01E01.Episode_1.1080p.AVC.EAC3.mkv]

and i really wonder why the script is extracting / getting "Group: [tvs:peng life]" this info every time! I can't see if that tv show is written in the xattr anywhere.


sysinfo:

Code: Select all

filebot -script 'fn:sysinfo'

------------------------------------------

x86_64
FileBot 4.8.2 (r5789)
JNA Native: 5.2.2
MediaInfo: 17.12
7-Zip-JBinding: 9.20
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2018-08-14 (r534)
Groovy: 2.5.1
JRE: Java(TM) SE Runtime Environment 1.8.0_131
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 4 Core / 2 GB Max Memory / 17 MB Used Memory
OS: Linux (amd64)
HW: Linux xxx 3.10.105 #23739 SMP Wed Jun 20 22:40:01 CST 2018 x86_64 GNU/Linux synology_cedarview_1513+
DATA: /volume1/@appstore/filebot/data/admin
Package: SPK
License: FileBot License xxxxxxxxx
Done ヾ(@⌒ー⌒@)ノ
------------------------------------------

[Process completed]

User avatar
rednoah
The Source
Posts: 14942
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: series naming does not include year anymore

Post by rednoah » 20 Sep 2018, 13:03

1.
It seems that the First Aired field has not be filled out yet by the community, and thus {startdate} and {y} don't work:
https://www.thetvdb.com/series/who-is-america

:idea: You can add the missing information by signing up to TheTVDB and editing the series record.


2.
peng life is caused by something else. Maybe the directory structure somehow. Maybe a nfo file somewhere. Can't say for sure. You could run a few tests, in different folders, e.g. rename "_filebot_working_directory" to just "_tmp".
:idea: Please read the FAQ and How to Request Help.

mrksjs
Posts: 2
Joined: 20 Sep 2018, 12:29

Re: series naming does not include year anymore

Post by mrksjs » 20 Sep 2018, 13:05

now it makes total sense!

thank you for getting back to me so quickly. love your work!

konglong
Posts: 2
Joined: 02 Sep 2017, 22:52

Re: series naming does not include year anymore

Post by konglong » 31 Dec 2018, 22:46

The missing start date is a known bug for all new series on TVDB since the launch of V2. There is still no fix.

User avatar
rednoah
The Source
Posts: 14942
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: series naming does not include year anymore

Post by rednoah » 01 Jan 2019, 06:09

It works for most of the shows I can think of. I guess there's maybe an issue with the field not being filled with newer entries.

As a possible workaround you can use right now, just access the full episode list and then find the minimum airdate year like so:

Code: Select all

{episodelist.airdate.year.min()}

EDIT:

Future revision will use this workaround implicitly when using bindings such as {y} or {startdate}.
:idea: Please read the FAQ and How to Request Help.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests