TVDB not returning last episode for One Piece

Any questions? Need some help?
Post Reply
spongebobxyz
Posts: 1
Joined: 20 Apr 2023, 10:47

TVDB not returning last episode for One Piece

Post by spongebobxyz »

Hi there,


I'm trying to rename the latest One Piece episode with TVDB. I can see it listed on the TVDB site for the show but I can't query it via filebot in the CLI.

CLI call:

Code: Select all

filebot -list --q 81797 --db "TheTVDB" -no-index --filter "age<21"
Console output:

Code: Select all

Bad system encoding: ANSI_X3.4-1968
* Please configure your locale with LANG=C.UTF-8 or LANG=en_US.UTF-8
Apply filter [age<21] on [1057] options
Include [One Piece - 1056 - Strike Back! Law and Kid's Counterattack Alliance]
Include [One Piece - 1057 - For Luffy - Sanji and Zoro's Oath]
[2] options remaining
One Piece - 1056 - Strike Back! Law and Kid's Counterattack Alliance
One Piece - 1057 - For Luffy - Sanji and Zoro's Oath
Sysinfo output:

Code: Select all

FileBot 5.0.2 (r9722)
JNA Native: 6.1.0
MediaInfo: 20.09
unrar: Archive not specified

Tools: fpcalc/1.5.0 7z/16.02 mkvpropedit/52.0.0
Extended Attributes: OK
Unicode Filesystem: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /home/pi/.filebot/tmp/龍飛鳳舞.txt
WARNING: sun.jnu.encoding = ANSI_X3.4-1968
Script Bundle: 2023-04-14 (r896)
Groovy: 4.0.11
JRE: OpenJDK Runtime Environment 11.0.18
JVM: 32-Bit OpenJDK Server VM
CPU/MEM: 4 Core / 235 MB Max Memory / 27 MB Used Memory
OS: Linux (arm)
HW: Linux raspberrypi 6.1.21-v7+ #1642 SMP Mon Apr  3 17:20:52 BST 2023 armv7l GNU/Linux
CPU/MEM: ARMv7 Processor rev 4 (v7l) | BCM2835 [MemTotal: 966 MB | MemFree: 234 MB | MemAvailable: 577 MB | SwapCached: 1.9 MB | SwapTotal: 104 MB | SwapFree: 1.1 MB]
STORAGE: ext4 [/] @ 50 GB | ext4 [/mnt/plexdrive] @ 263 GB
UID/GID: uid=1000(pi) gid=1000(pi) groups=1000(pi),4(adm),20(dialout),24(cdrom),27(sudo),29(audio),44(video),46(plugdev),60(games),100(users),104(input),106(render),108(netdev),997(gpio),998(i2c),999(spi)
DATA: /home/pi/.filebot
Package: DEB
License: FileBot License PX48774680 (Valid-Until: 2073-04-10)
I'm happy for any help!
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: TVDB not returning last episode for One Piece

Post by rednoah »

If you're processing the episode immediately on the release date / on the hour then there's a good chance the episode information had not yet been entered at the time, especially optional fields such as the airdate.


:arrow: You may fare better processing files at least 1-2 days after release.


:!: FileBot itself may also cache episode information for a few days. This is not an issue if you list episodes once a week since that guarantees the latest information available via the API, but could be an issue if you check a day before episode information is added, which then guarantees no new information for 2-3 days due to caching.
:idea: Please read the FAQ and How to Request Help.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: TVDB not returning last episode for One Piece

Post by rednoah »

Here's what I get nowadays:

Code: Select all

$ filebot -list --q 81797 --db TheTVDB --filter "age < 21" --format "{d} | {age}d ago | {episode}"
Apply filter [age < 21] on [1105] options
Include [One Piece - 21x166 - For Luffy - Sanji and Zoro's Oath]
Include [One Piece - 21x167 - The Onslaught of Kazenbo - Orochi's Evil Clutches Close In]
Include [One Piece - 21x168 - Zoro Faces Adversity - A Monster! King the Wildfire]
[3] options remaining
2023-04-09 | 18d ago | One Piece - 21x166 - For Luffy - Sanji and Zoro's Oath
2023-04-16 | 11d ago | One Piece - 21x167 - The Onslaught of Kazenbo - Orochi's Evil Clutches Close In
2023-04-23 | 4d ago | One Piece - 21x168 - Zoro Faces Adversity - A Monster! King the Wildfire
:idea: Please read the FAQ and How to Request Help.
Post Reply