You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kodi 20 Nexus not displaying some movie posters of locally stored nfo information
Describe the bug
After scraping all movies in my library using TinyMediaManager 4.3.8.1 to create the .nfo and save the movie poster, fanart and clearlogo in each movie's directory, I then proceeded to download a custom movie poster for some of titles since I didn't like any of the options available in TMM. Once completed, I had multiple Kodi devices scrape all movies using Local information only.
Expected Behavior
All devices should use local .nfo information and display posters, fanart and clearlogo.
Actual Behavior
I used three Kodi devices. For two devices, most titles displayed the posters, fanart and clearlogo correctly, however Kodi did not display some of the custom movie posters that I downloaded and told TMM to use. The filenames for the posters are correct in the movie folder's directly (movie_name-poster.jpg) and I can manually select and use the custom poster after browsing to the Item Folder. For the third device, however, everything displayed correctly as expected, including all custom movie posters. There were no issues.
After some investigation, it was discovered that scanning Local information only via FTP is the culprit. The two devices that were having the issue (Firestick 4K, Windows 11 HTPC) were scanning my media via an FTP server (which I decided to use at some point for maximum speed since these two are connected via WiFi) whereas the third device (nVidia Shield Pro) that displayed all custom movie posters correctly as expected had scanned all local media via a SMB server. When I tested the WIFI Firestick 4K and the Windows 10 HTPC using SMB as the source, it also displayed all movie posters correctly as expected (tried both the official Kodi 20 release as well as the 21 Alpha1 and both had the same results).
Possible Fix
Determine why scanning via FTP results in some custom movie posters failing to be displayed in Kodi.
Bug report
Kodi 20 Nexus not displaying some movie posters of locally stored nfo information
Describe the bug
After scraping all movies in my library using TinyMediaManager 4.3.8.1 to create the .nfo and save the movie poster, fanart and clearlogo in each movie's directory, I then proceeded to download a custom movie poster for some of titles since I didn't like any of the options available in TMM. Once completed, I had multiple Kodi devices scrape all movies using Local information only.
Expected Behavior
All devices should use local .nfo information and display posters, fanart and clearlogo.
Actual Behavior
I used three Kodi devices. For two devices, most titles displayed the posters, fanart and clearlogo correctly, however Kodi did not display some of the custom movie posters that I downloaded and told TMM to use. The filenames for the posters are correct in the movie folder's directly (movie_name-poster.jpg) and I can manually select and use the custom poster after browsing to the Item Folder. For the third device, however, everything displayed correctly as expected, including all custom movie posters. There were no issues.
After some investigation, it was discovered that scanning Local information only via FTP is the culprit. The two devices that were having the issue (Firestick 4K, Windows 11 HTPC) were scanning my media via an FTP server (which I decided to use at some point for maximum speed since these two are connected via WiFi) whereas the third device (nVidia Shield Pro) that displayed all custom movie posters correctly as expected had scanned all local media via a SMB server. When I tested the WIFI Firestick 4K and the Windows 10 HTPC using SMB as the source, it also displayed all movie posters correctly as expected (tried both the official Kodi 20 release as well as the 21 Alpha1 and both had the same results).
Possible Fix
Determine why scanning via FTP results in some custom movie posters failing to be displayed in Kodi.
To Reproduce
To reproduce this bug:
Debuglog
Here is one such title "9 (2009)" that is not showing movie poster, but a screenshot instead (log excerpt is from the Windows 11 HTPC):
2023-03-06 15:47:10.875 T:16112 info : CCurlFile::XFILE::CCurlFile::Stat - <ftp://USERNAME:PASSWORD@192.168.1.13:21/HD Movies/9 (2009)/> Content length failed: No error(0)
2023-03-06 15:47:10.875 T:16112 debug : CurlFile::XFILE::CCurlFile::Open - ftp://USERNAME:PASSWORD@192.168.1.13:21/HD%20Movies/9%20(2009)/
2023-03-06 15:47:10.896 T:16112 debug : VideoInfoScanner: Scanning dir 'ftp://192.168.1.13:21/HD Movies/9 (2009)/' as not in the database
2023-03-06 15:47:10.897 T:16112 debug : CurlFile::XFILE::CCurlFile::Open - ftp://USERNAME:PASSWORD@192.168.1.13:21/HD%20Movies/9%20(2009)/9.bluray.nfo
2023-03-06 15:47:10.950 T:16112 debug : VideoInfoScanner: Found matching full NFO file: ftp://192.168.1.13:21/HD Movies/9 (2009)/9.bluray.nfo
2023-03-06 15:47:10.951 T:16112 debug : CFileCache::XFILE::CFileCache::Open - <ftp://192.168.1.13:21/HD Movies/9 (2009)/9.bluray.mkv> opening
2023-03-06 15:47:10.951 T:16112 debug : CurlFile::XFILE::CCurlFile::Open - ftp://USERNAME:PASSWORD@192.168.1.13:21/HD%20Movies/9%20(2009)/9.bluray.mkv
2023-03-06 15:47:11.066 T:16112 debug : CFileCache::XFILE::CFileCache::Open - <ftp://192.168.1.13:21/HD Movies/9 (2009)/9.bluray.mkv> source chunk size is 0, setting cache chunk size to 131072
2023-03-06 15:47:11.066 T:16112 debug : CFileCache::XFILE::CFileCache::Open - <ftp://192.168.1.13:21/HD Movies/9 (2009)/9.bluray.mkv> using double memory cache each sized 52428800 bytes
2023-03-06 15:47:11.066 T:15440 debug : Thread FileCache start, auto delete: false
2023-03-06 15:47:11.067 T:16112 debug : CDVDDemuxFFmpeg::Open - probing detected format [matroska,webm]
2023-03-06 15:47:11.067 T:15440 debug : CurlFile::CReadState::XFILE::CCurlFile::CReadState::Connect - (0x29b4491ee60) Resume from position 2615295126
2023-03-06 15:47:11.156 T:15440 debug : CDoubleCache::XFILE::CDoubleCache::Reset - (0x29b4491f5e0) Cache miss for 2615295126 with new=0-0 and old=0-14600
2023-03-06 15:47:11.156 T:15440 debug : CFileCache::XFILE::CFileCache::Process - <ftp://192.168.1.13:21/HD Movies/9 (2009)/9.bluray.mkv> cache completely reset for seek to position 2615295126
2023-03-06 15:47:11.156 T:16112 debug : CFileCache::XFILE::CFileCache::Seek - <ftp://192.168.1.13:21/HD Movies/9 (2009)/9.bluray.mkv> waiting for position 2615394569
2023-03-06 15:47:11.162 T:15440 debug : CurlFile::CReadState::XFILE::CCurlFile::CReadState::Connect - (0x29b4491ee60) Resume from position 14600
2023-03-06 15:47:11.241 T:16112 debug : CDVDDemuxFFmpeg::Open - avformat_find_stream_info starting
2023-03-06 15:47:11.243 T:16112 debug : CDVDDemuxFFmpeg::Open - av_find_stream_info finished
2023-03-06 15:47:11.243 T:16112 debug : CDVDDemuxFFmpeg::AddStream ID: 0
2023-03-06 15:47:11.243 T:16112 debug : CDVDDemuxFFmpeg::AddStream ID: 1
2023-03-06 15:47:11.245 T:15440 debug : Thread FileCache 15440 terminating
2023-03-06 15:47:11.246 T:16112 debug : VideoInfoScanner: Extracted filestream details from video file ftp://192.168.1.13:21/HD Movies/9 (2009)/9.bluray.mkv
2023-03-06 15:47:11.246 T:16112 debug : VideoInfoScanner: Adding new item to movies:ftp://192.168.1.13:21/HD Movies/9 (2009)/9.bluray.mkv
2023-03-06 15:47:11.341 T:16112 debug : VideoInfoScanner: Finished adding information from dir ftp://192.168.1.13:21/HD Movies/9 (2009)/
Your Environment
The text was updated successfully, but these errors were encountered: