[README] TheTVDB v3 (everything is temporarily broken)
[README] TheTVDB v3 (everything is temporarily broken)
TheTVDB has released and gone live with a new API implementation, which currently has a few backwards-compatibility issues that affect existing software:
➔ Known Issues Log & Status
Temporary Workaround: Use TheMovieDB::TV for the time being.
Due to caching, server-side API issues may not be immediately obvious since FileBot may be working with cached data. Similarly, if FileBot has cached bad data, server-side fixes may not immediately apply to data already cached. You may clear the cache to force FileBot to fetch the latest data.
Known Issues:
TheTVDB API v2 may return 404 Not Found for all episode list requests, so sometimes nothing works.
TheTVDB API v2 language preferences don't work. The episode titles are always in English, and never in German. Das ist nicht gut.
TheTVDB API v2 (JSON REST API) lists only 100 episodes per page, which has been working fine till now. But the new implementation incorrectly lists total number of pages as 1 for all shows, so FileBot will only ever get the first 100 episodes. This is particularly problematic for FileBot, because in -non-strict mode, it'll match the "best available episode option" which is going to be completely wrong if we don't have all the episode options to begin with.
TheTVDB API v1 (XML API) responds with 301 Moved Permanently instead of just returning the XML data. Previous releases may or may not automatically follow redirects depending on FileBot version, Java version and Java System Properties. (NOTE: if you are using a recent release of FileBot, then this issue is probably not relevant to you)
EDIT: The default JRE (by design) does not follow http ➔ https protocol-changing redirects, so TheTVDB is effectively broken for older versions of FileBot.
➔ Known Issues Log & Status
Temporary Workaround: Use TheMovieDB::TV for the time being.
Due to caching, server-side API issues may not be immediately obvious since FileBot may be working with cached data. Similarly, if FileBot has cached bad data, server-side fixes may not immediately apply to data already cached. You may clear the cache to force FileBot to fetch the latest data.
Known Issues:
TheTVDB API v2 may return 404 Not Found for all episode list requests, so sometimes nothing works.
TheTVDB API v2 language preferences don't work. The episode titles are always in English, and never in German. Das ist nicht gut.
TheTVDB API v2 (JSON REST API) lists only 100 episodes per page, which has been working fine till now. But the new implementation incorrectly lists total number of pages as 1 for all shows, so FileBot will only ever get the first 100 episodes. This is particularly problematic for FileBot, because in -non-strict mode, it'll match the "best available episode option" which is going to be completely wrong if we don't have all the episode options to begin with.
TheTVDB API v1 (XML API) responds with 301 Moved Permanently instead of just returning the XML data. Previous releases may or may not automatically follow redirects depending on FileBot version, Java version and Java System Properties. (NOTE: if you are using a recent release of FileBot, then this issue is probably not relevant to you)
EDIT: The default JRE (by design) does not follow http ➔ https protocol-changing redirects, so TheTVDB is effectively broken for older versions of FileBot.
Please read the FAQ and How to Request Help.
Re: [README] TheTVDB v3 (everything is temporarily broken)
Hi, any release for correction?
Got those kind of errors:
➜ ~ filebot -script fn:sysinfo
FileBot 4.8.5 (r6224)
Got those kind of errors:
Code: Select all
Rename episodes using [TheTVDB]
Auto-detected query: [the witcher]
Fetch failed: http://thetvdb.com/api/GetSeries.php?seriesname=the+witcher&language=fr
net.filebot.InvalidResponseException: Invalid XML: SAXParseException: The element type "hr" must be terminated by the matching end-tag "</hr>".
<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>CloudFront</center>
</body>
</html>
FileBot 4.8.5 (r6224)
Re: [README] TheTVDB v3 (everything is temporarily broken)
FileBot 4.8.5 should work just fine.
If you continue to have issues, try the latest beta though:
viewtopic.php?t=1609
EDIT:
You have accidentally installed multiple versions of FileBot. Based on your logs, you have installed both FileBot 4.7.9 and FileBot 4.8.5 which can be confusing. I recommend uninstalling all versions of FileBot, and then only installing the latest release, as to avoid confusion.
If you continue to have issues, try the latest beta though:
viewtopic.php?t=1609
EDIT:
You have accidentally installed multiple versions of FileBot. Based on your logs, you have installed both FileBot 4.7.9 and FileBot 4.8.5 which can be confusing. I recommend uninstalling all versions of FileBot, and then only installing the latest release, as to avoid confusion.
Please read the FAQ and How to Request Help.
Re: [README] TheTVDB v3 (everything is temporarily broken)
I
Then
Still the same
Code: Select all
sudo apt-get remove filebot
Code: Select all
sudo apt-get install filebot
Code: Select all
FileBot 4.8.5 (r6224)
JNA Native: 4.0.1
MediaInfo: 0.7.82
p7zip: p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,4 CPUs)
unrar: UNRAR 5.50 freeware
Chromaprint: fpcalc version 1.2.0
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2019-05-15 (r565)
Groovy: 2.5.6
JRE: OpenJDK Runtime Environment 1.8.0_191
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 4 Core / 439 MB Max Memory / 20 MB Used Memory
OS: Linux (amd64)
HW: Linux ns3029182 4.9.168-xxxx-std-ipv6-64 #665790 SMP Mon Apr 8 08:31:26 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Package: DEB
License: (Valid-Until: 2020-12-31)
Done ヾ(@⌒ー⌒@)ノ
Re: [README] TheTVDB v3 (everything is temporarily broken)
1.
What does this command say?
2.
You're using the amc script. What does it say if you call the sysinfo script instead? (not you on the command-line, but in the automated setup that is calling the amc script somewhere somehow in the background, you'll want to check sysinfo in that exact context)
What does this command say?
Code: Select all
find / -iname '*filebot*'
2.
You're using the amc script. What does it say if you call the sysinfo script instead? (not you on the command-line, but in the automated setup that is calling the amc script somewhere somehow in the background, you'll want to check sysinfo in that exact context)
Please read the FAQ and How to Request Help.
Re: [README] TheTVDB v3 (everything is temporarily broken)
rednoah wrote: ↑24 Dec 2019, 12:46 1.
What does this command say?Code: Select all
find / -iname '*filebot*'
Code: Select all
find / -iname '*filebot*'
/usr/share/filebot
/usr/share/filebot/jar/filebot-resources.jar
/usr/share/filebot/jar/filebot.jar
/usr/share/filebot/bin/filebot.sh
/usr/share/applications/filebot.desktop
/usr/share/applications/filebot-license.desktop
/usr/share/file-manager/actions/filebot-rename.desktop
/usr/share/file-manager/actions/menu-filebot.desktop
/usr/share/file-manager/actions/filebot-license.desktop
/usr/share/file-manager/actions/filebot-checksum.desktop
/usr/share/file-manager/actions/filebot-import.desktop
/usr/share/file-manager/actions/filebot-subtitles.desktop
/usr/share/mime/packages/filebot.xml
/usr/share/mime/application/x-filebot-license.xml
/usr/share/kservices5/ServiceMenus/filebot.desktop
/usr/share/icons/hicolor/scalable/apps/filebot.svg
/usr/bin/filebot
/var/lib/dpkg/info/filebot.prerm
/var/lib/dpkg/info/filebot.list
/var/lib/dpkg/info/filebot.md5sums
/var/lib/dpkg/info/filebot.postinst
/var/lib/apt/lists/get.filebot.net_deb_dists_universal-jdk8_Release
/var/lib/apt/lists/get.filebot.net_deb_dists_universal-jdk8_main_binary-all_Packages
/var/lib/apt/lists/get.filebot.net_deb_dists_universal-jdk8_Release.gpg
/var/cache/apt/archives/filebot_4.8.5_all.deb
/etc/apt/sources.list.d/filebot.list
/home/XXXXX/FileBot_License_XXXXXXXXXX.psm
/home/XXXXX/.filebot
/home/XXXXX/.filebot/update-filebot.sh
/home/XXXXX/.filebot/filebot.sh
/home/XXXXX/.filebot/cache/0/filebot_1.data
/home/XXXXX/.filebot/cache/0/filebot_1.index
/home/XXXXX/.filebot/FileBot.jar
/home/XXXXX/.filebot/filebot.portable.launcher.exe
/home/XXXXX/.filebot/filebot.cmd
/home/XXXXX/.filebot/filebot.portable.launcher.l4j.ini
/home/XXXXX/FileBot_4.7.9-portable.tar.xz
/home/XXXXX/.java/.userPrefs/net/filebot
Here is my amc scriptrednoah wrote: ↑24 Dec 2019, 12:46 2.
You're using the amc script. What does it say if you call the sysinfo script instead? (not you on the command-line, but in the automated setup that is calling the amc script somewhere somehow in the background, you'll want to check sysinfo in that exact context)
Code: Select all
#!/bin/bash
TORRENT_PATH=$1
TORRENT_NAME=$2
TORRENT_LABEL=$3
filebot -script 'fn:sysinfo'
--lang fr -script fn:amc --output "/home/XXXXXX/torrents/rtorrent" --def movieFormat="/home/XXXXXX/torrents/rtorrent/film/{n} [{y}]/{n} [{y}]" --def seriesFormat="/home/XXXXXX/torrents/rtorrent/serie/{n}/{'Season '+s.pad(2)}/{n} - {s00e00} - {t}" --log-file "/home/jonathan/.session/amc.log" --action hardlink --conflict override -non-strict --def music=y artwork=y "ut_dir=$TORRENT_PATH" "ut_kind=multi" "ut_title=$TORRENT_NAME" "ut_label=$TORRENT_LABEL" &
Re: [README] TheTVDB v3 (everything is temporarily broken)
This is only the case for 1 serie :s Other are fine
Re: [README] TheTVDB v3 (everything is temporarily broken)
1.
find unambiguously confirms that FileBot 4.7.9 is available on your system, so it stands to reason that you're accidentally running this installation of FileBot, and not the latest installation of FileBot, in certain contexts:
Uninstall all versions of FileBot until find cannot find any more FileBot related files. Then only install the latest and greatest FileBot via apt.
2.
The command is nice, but for the purpose of understanding what's going in, it's of little use without the console output / logging that is produced when running the given command. Please read How to Request Help for details.
find unambiguously confirms that FileBot 4.7.9 is available on your system, so it stands to reason that you're accidentally running this installation of FileBot, and not the latest installation of FileBot, in certain contexts:
Code: Select all
/home/XXXXX/.filebot
/home/XXXXX/.filebot/update-filebot.sh
/home/XXXXX/.filebot/filebot.sh
/home/XXXXX/.filebot/cache/0/filebot_1.data
/home/XXXXX/.filebot/cache/0/filebot_1.index
/home/XXXXX/.filebot/FileBot.jar
/home/XXXXX/.filebot/filebot.portable.launcher.exe
/home/XXXXX/.filebot/filebot.cmd
/home/XXXXX/.filebot/filebot.portable.launcher.l4j.ini
/home/XXXXX/FileBot_4.7.9-portable.tar.xz
2.
The command is nice, but for the purpose of understanding what's going in, it's of little use without the console output / logging that is produced when running the given command. Please read How to Request Help for details.
Please read the FAQ and How to Request Help.
Re: [README] TheTVDB v3 (everything is temporarily broken)
Hi! Seems working now but witcher is only fetching 2002 serie :p
Thanks for your help !
Thanks for your help !
Re: [README] TheTVDB v3 (everything is temporarily broken)
Hello!
I have version 4.9 installed (Ubuntu server) and this is what i got exactly now (03.10 CET)
I have version 4.9 installed (Ubuntu server) and this is what i got exactly now (03.10 CET)
Code: Select all
Vir.Das-For.India.2020.NORDIC.1080p.NF.WEBRIP.DD.5.1.h264-FULLTUMMY/Vir.Das-For.India.2020.NORDIC.1080p.NF.WEBRIP.DD.5.1.h264-FULLTUMMY.sv.srt
Resource not found: https://api.thetvdb.com/search/series?imdbId=tt5617916 [404 Not Found]
Resource not found: https://api.thetvdb.com/search/series?imdbId=tt10199586 [404 Not Found]
Resource not found: https://api.thetvdb.com/search/series?imdbId=tt11518196 [404 Not Found]
Resource not found: https://api.thetvdb.com/search/series?imdbId=tt6224502 [404 Not Found]
Resource not found: https://api.thetvdb.com/search/series?imdbId=tt6527586 [404 Not Found]
Resource not found: https://api.thetvdb.com/search/series?imdbId=tt10380066 [404 Not Found]
Resource not found: https://api.thetvdb.com/search/series?imdbId=tt0441881 [404 Not Found]
Resource not found: https://api.thetvdb.com/search/series?imdbId=tt11156614 [404 Not Found]
Resource not found: https://api.thetvdb.com/search/series?imdbId=tt5779540 [404 Not Found]
Resource not found: https://api.thetvdb.com/search/series?imdbId=tt11023922 [404 Not Found]
Resource not found: https://api.thetvdb.com/search/series?imdbId=tt5037840 [404 Not Found]
Resource not found: https://api.thetvdb.com/search/series?imdbId=tt8019694 [404 Not Found]
Resource not found: https://api.thetvdb.com/search/series?imdbId=tt5284414 [404 Not Found]
Resource not found: https://api.thetvdb.com/search/series?imdbId=tt8022904 [404 Not Found]
Resource not found: https://api.thetvdb.com/search/series?imdbId=tt7715070 [404 Not Found]
Resource not found: https://api.thetvdb.com/search/series?imdbId=tt3859310 [404 Not Found]
Resource not found: https://api.thetvdb.com/search/series?imdbId=tt9806192 [404 Not Found]
Re: [README] TheTVDB v3 (everything is temporarily broken)
Seems like just a few warnings that IMDb lookup doesn't work for these IDs.
Does it generally not work? What does the log say before and after?
EDIT:
Assuming these are valid IMDB IDs for valid TV Shows on TheTVDB, then these warnings go away once somebody enters the messing IMDB ID to each TheTVDB record.
Does it generally not work? What does the log say before and after?
EDIT:
Assuming these are valid IMDB IDs for valid TV Shows on TheTVDB, then these warnings go away once somebody enters the messing IMDB ID to each TheTVDB record.
Please read the FAQ and How to Request Help.