使用 Ubuntu 20.04 LTS,在最新软件更新后,我无法从 Kodi 库中抓取电影。这是 Ubuntu 的问题吗?

使用 Ubuntu 20.04 LTS,在最新软件更新后,我无法从 Kodi 库中抓取电影。这是 Ubuntu 的问题吗?

以下是 kodi.log 中显示正在发生的情况的具体部分:

2023-07-05 21:23:00.818 T:139783248335744  NOTICE: Starting Kodi from Debian (18.6 Debian package version: 2:18.6+dfsg1-2ubuntu1). Platform: Linux x86 64-bit
2023-07-05 21:23:00.818 T:139783248335744  NOTICE: Using Release Kodi from Debian x64 build 
2023-07-05 21:23:00.818 T:139783248335744  NOTICE: Kodi from Debian compiled 2020-04-03 by GCC 9.3.0 for Linux x86 64-bit version 5.4.27 (328731)
2023-07-05 21:23:00.818 T:139783248335744  NOTICE: Running on Ubuntu 20.04.6 LTS, kernel: Linux x86 64-bit version 5.4.0-153-generic
... snip ...
2023-07-05 21:26:34.030 T:139925619861248  NOTICE: VideoInfoScanner: Starting scan ..
2023-07-05 21:26:34.031 T:139925619861248   DEBUG: CAddonSettings[metadata.themoviedb.org]: loading setting definitions
2023-07-05 21:26:34.031 T:139925619861248   DEBUG: CAddonSettings[metadata.themoviedb.org]: trying to load setting definitions from old format...
2023-07-05 21:26:34.031 T:139925619861248   DEBUG: CAddonSettings[metadata.themoviedb.org]: loading setting values
2023-07-05 21:26:34.032 T:139925619861248   DEBUG: VideoInfoScanner: Scanning dir '/home/nnn/Videos/Film/Monkeybone (2001)/' as not in the database
2023-07-05 21:26:34.032 T:139925619861248   DEBUG: CAddonSettings[metadata.themoviedb.org]: loading setting definitions
2023-07-05 21:26:34.032 T:139925619861248   DEBUG: CAddonSettings[metadata.themoviedb.org]: trying to load setting definitions from old format...
2023-07-05 21:26:34.032 T:139925619861248   DEBUG: CAddonSettings[metadata.themoviedb.org]: loading setting values
2023-07-05 21:26:34.033 T:139925619861248   DEBUG: FindMovie: Searching for 'Monkeybone' using The Movie Database scraper (path: '/usr/share/kodi/addons/metadata.themoviedb.org', content: 'movies', version: '5.1.7')
2023-07-05 21:26:34.037 T:139925619861248   DEBUG: scraper: CreateSearchUrl returned <url>https://api.tmdb.org/3/search/movie?api_key=f090bb54758cabf231fb605d3e3e0468&amp;query=Monkeybone&amp;year=2001&amp;language=en</url>
2023-07-05 21:26:34.037 T:139925619861248   DEBUG: CurlFile::Open(0x7f42e82b3170) https://api.tmdb.org/3/search/movie?api_key=f090bb54758cabf231fb605d3e3e0468&query=Monkeybone&year=2001&language=en
2023-07-05 21:26:34.037 T:139925619861248    INFO: easy_acquire - Created session to https://api.tmdb.org
2023-07-05 21:26:34.174 T:139925619861248   DEBUG: Get: Using "UTF-8" charset for "https://api.tmdb.org/3/search/movie?api_key=f090bb54758cabf231fb605d3e3e0468&query=Monkeybone&year=2001&language=en"
2023-07-05 21:26:34.175 T:139925619861248   DEBUG: scraper: GetSearchResults returned <results></results>
2023-07-05 21:26:34.175 T:139925619861248   DEBUG: FindMovie: Searching for 'Monkeybone' using The Movie Database scraper (path: '/usr/share/kodi/addons/metadata.themoviedb.org', content: 'movies', version: '5.1.7')
2023-07-05 21:26:34.175 T:139925619861248   DEBUG: scraper: CreateSearchUrl returned <url>https://api.tmdb.org/3/search/movie?api_key=f090bb54758cabf231fb605d3e3e0468&amp;query=Monkeybone&amp;year=&amp;language=en</url>
2023-07-05 21:26:34.175 T:139925619861248   DEBUG: CurlFile::Open(0x7f42e82b3170) https://api.tmdb.org/3/search/movie?api_key=f090bb54758cabf231fb605d3e3e0468&query=Monkeybone&year=&language=en
2023-07-05 21:26:34.192 T:139925619861248   DEBUG: Get: Using "UTF-8" charset for "https://api.tmdb.org/3/search/movie?api_key=f090bb54758cabf231fb605d3e3e0468&query=Monkeybone&year=&language=en"
2023-07-05 21:26:34.193 T:139925619861248   DEBUG: scraper: GetSearchResults returned <results></results>
2023-07-05 21:26:34.193 T:139925619861248 WARNING: No information found for item '/home/nnn/Videos/Film/Monkeybone (2001)/Monkeybone.2001.1080p.BluRay.x264.DD5.1-FGT.mkv', it won't be added to the library.
2023-07-05 21:26:34.194 T:139925619861248   DEBUG: VideoInfoScanner: No (new) information was found in dir /home/nnn/Videos/Film/Monkeybone (2001)/
2023-07-05 21:26:34.262 T:139925619861248  NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:00

如果我直接访问该 URL (https://api.tmdb.org/3/search/movie...),我实际上会得到一个有效的结果。但是如果我转到 XML 包装的 URL,则从此行开始:

2023-07-05 21:26:34.037 T:139925619861248   DEBUG: scraper: CreateSearchUrl returned <url>https://api.tmdb.org/3/search/movie?api_key=f090bb54758cabf231fb605d3e3e0468&amp;query=Monkeybone&amp;year=2001&amp;language=en</url>

我得到一个空的结果集。这是有道理的,因为 & -> & 编码破坏了查询。

上周没有发生这种情况。我周末进行了 Ubuntu 系统更新,但这样会破坏这样的系统,这太疯狂了。可能是 theMovieDB 发生了一些变化,编码损坏的 URL 以前可以正常工作,但这个问题被“修复”了,现在却不行了?

相关内容