v19 Thumbs for episodes not loaded down when source location is accessed via http(s)
#1
I'm facing the following issue:

My Media Library is on a Linux server locally (in my apartment) I access it via smb from Kodi (LibreELEC) running on an Raspberry PI 4
My girl friend access it from her apartment (same HW and SW) via https (Apache running on the Linux server).
All information is locally stored on the linux server (NFO, artwork (posters, thumbs, ...), media files).

Everything works well except that in Kodi there are not episode thumbs on here Kodi accessing the sources via https where on my Kodi accessing the identical sources via smb just works fine.
I already checked if I can download the episode thumb with curl from here Kodi, which works without any issues.

Running 'texturecache.py qa tvshows "Raumschiff Enterprise"'
reports:
...
Episode  [Raumschiff Enterprise, Season 2 Episode 2x25      ]: FAIL (missing thumb, local not found)
Episode  [Raumschiff Enterprise, Season 2 Episode 2x26      ]: FAIL (missing thumb, local not found)
Episode  [Raumschiff Enterprise, Season 3 Episode 3x01      ]: FAIL (missing thumb, local not found)
Episode  [Raumschiff Enterprise, Season 3 Episode 3x02      ]: FAIL (missing thumb, local not found)
Episode  [Raumschiff Enterprise, Season 3 Episode 3x03      ]: FAIL (missing thumb, local not found)
Episode  [Raumschiff Enterprise, Season 3 Episode 3x04      ]: FAIL (missing thumb, local not found)
--
That applies to all other TV Shows as well!

Also comparing the output of 'texturecache.py j tvshows "Raumschiff Enterprise"' looks similar.
In my output it's source location is prefixed with smb: and uses the smb-path and has an entry 'thumb'
...
"season.banner": "image://smb%3a%2f%2f<...>%2fSerien%2fStar%20Trek%20-%20Raumschiff%20Enterprise%2fseason03-banner.jpg/",
"season.fanart": "image://smb%3a%2f%2f<...>%2fSerien%2fStar%20Trek%20-%20Raumschiff%20Enterprise%2fseason03-fanart.jpg/",
"season.landscape": "image://smb%3a%2f%2f<...>%2fSerien%2fStar%20Trek%20-%20Raumschiff%20Enterprise%2fseason03-landscape.jpg/",
"season.poster": "image://smb%3a%2f%2f<...>%2fSerien%2fStar%20Trek%20-%20Raumschiff%20Enterprise%2fseason03-poster.jpg/",
"thumb": "image://smb%3a%2f%2f<...>%2fSerien%2fStar%20Trek%20-%20Raumschiff%20Enterprise%2fStaffel%2003%2fStar%20Trek%20-%20Raumschiff%20Enterprise%20-%20S03E22%20-%20Seit%20es%20Menschen%20gibt-thumb.jpg/",
"tvshow.banner": "image://smb%3a%2f%2f<...>%2fSerien%2fStar%20Trek%20-%20Raumschiff%20Enterprise%2fbanner.jpg/",
...

where on here Kodi source location is prefixed with https: and uses the http-path and has NO entry 'thumb'.

...
"season.banner": "image://https%3a%2f%2f<...>%2fSerien%2fStar%2520Trek%2520-%2520Raumschiff%2520Enterprise%2fseason03-banner.jpg/",
"season.fanart": "image://https%3a%2f%2f<...>%2fSerien%2fStar%2520Trek%2520-%2520Raumschiff%2520Enterprise%2fseason03-fanart.jpg/",
"season.landscape": "image://https%3a%2f%2f<...>%2fSerien%2fStar%2520Trek%2520-%2520Raumschiff%2520Enterprise%2fseason03-landscape.jpg/",
"season.poster": "image://https%3a%2f%2f<...>%2fSerien%2fStar%2520Trek%2520-%2520Raumschiff%2520Enterprise%2fseason03-poster.jpg/",
"tvshow.banner": "image://https%3a%2f%2f<...>%2fSerien%2fStar%2520Trek%2520-%2520Raumschiff%2520Enterprise%2fbanner.jpg/",
...

Before you ask me... It's a new Kodi 19 Matrix installation nothing migrated from Kodi 18 or older!
I wiped the 'Textures13.db' serveral times!

Just to make it clear. I want to use all information and artwork from my server. Nothing should be from any source like TVDB,... 
What did I wrong? Any ideas?

I even tried adding '<setting id="videolibrary.episodeartwhitelist">fanart, thumb</setting>' to guisettings.xml
and
'
        <ftp>
                <remotethumbs>true</remotethumbs> <!-- enable extraction of flag and thumb for ftp -->
        </ftp>
'
to advancedsettings.xml
Guess - no effect - which actually did not surprise me.

Cheers
Roland
Reply
#2
Ah, yes, by the way; because it was moved to the Linux section!
Same behavior shows a Kodi installation on the Windows 10 on a friend of mine.

Everything gets cached except episode thumbs. 
I just mention this so nobody thinks it could be a Linux issue.

I'm very sure it's a Kodi, being more precise, an scraper issue!
Reply
#3
As I've not got any response so far, I' started checking the code on github. Doing that I found a very strange part of code:

CStdString CFileItem::GetUserVideoThumb() const
{
  if (IsTuxBox())
  {
    if (!m_bIsFolder)
      return g_tuxbox.GetPicon(GetLabel());
    else return "";
  }


  if (m_strPath.IsEmpty()
   || m_bIsShareOrDrive
   || IsInternetStream()
   || URIUtils::IsUPnP(m_strPath)
   || (URIUtils::IsFTP(m_strPath) && !g_advancedSettings.m_bFTPThumbs)
   || IsPlugin()
   || IsAddonsPath()
   || IsParentFolder()
   || IsLiveTV()
   || IsDVD())
    return "";


at https://github.com/xbmc/xbmc-rbp/blob/ef...2469-L2489

Could it be that on purpose, thumbs don't get loaded if they are accessed via http?
In case yes: Why is that the case and why can't it be overwritten, like for ftp, with an advanced setting:

        <ftp>
                <remotethumbs>true</remotethumbs> <!-- enable extraction of flag and thumb for ftp -->
        </ftp>
Reply
#4
@enen92 Were you looking at this issue a little while ago?
I have a vague memory that you, or possibly someone else mentioned this issue.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#5
This post was my first post regarding this issue.
I looked around in this forum and asked google but beside of the mentioned FTP exception/setting I've not found anything.

In the meantime I've opened a bug (Thumbs for episodes not loaded if source is accessed via http(s)) regarding this issue.
Reply
#6
It was @black_eagle that did some work in music... https://github.com/xbmc/xbmc/pull/18254
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply

Logout Mark Read Team Forum Stats Members Help
Thumbs for episodes not loaded down when source location is accessed via http(s)0