No movie/tv images show in (any) web interface - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Web Interfaces (https://forum.kodi.tv/forumdisplay.php?fid=156) +---- Thread: No movie/tv images show in (any) web interface (/showthread.php?tid=194632) Pages:
1
2
|
No movie/tv images show in (any) web interface - atmominds - 2014-05-09 OS: Linux XBMC Gotham 13.0 Not sure when this started, but as the post title says, no images - aside from UI images such as Code: http://192.168.99.11:8080/images/ajax-loader.gif Code: http://192.168.99.11:8080/images/remote.jpg I'm using the Universal Movie Scraper for movies and TVDB for TV, and all images/posters/fanart show just fine in XBMC itself. After enabling debugging, I restarted XBMC and did a refresh on the web page. The debug log can be found here: http://xbmclogs.com/show.php?id=197079 Using the network inspector in Firefox, I can see that it tries to load Code: http://192.168.99.11:8080/image/image://http%253a%252f%252fd3gtl9l2a4fn1j.cloudfront.net%252ft%252fp%252foriginal%252ffHBz5EnvLWkW2blBlWpk9M4fGVC.jpg/ Opening that URL in the browser gives "File not found". Using the texturecache.py utility, this is what I find: Code: ~ $ ./texturecache.py s fHBz5EnvLWkW2blBlWpk9M4fGVC.jpg Looking at the HTML for a movie, it shows: Code: <div class="inner"><img alt="(500) Days of Summer" src="image/image://http%253a%252f%252fd3gtl9l2a4fn1j.cloudfront.net%252ft%252fp%252foriginal%252f5SjtNPD1bb182vzQccvEUpXHFjN.jpg/"></div> and texturecache.py: Code: ~ $ ./texturecache.py j movies "500" Does anyone have any ideas? Because I can't think of anything else to try. Any and all input welcome. Thanks in advance. RE: No movie/tv images show in (any) web interface - st33lb0ne - 2014-05-13 I second this,, same problem. - Upgraded Frodo to Gothem (full wipe of userfolder) - After install and config no remote art/textures - Local art and textures work fine Arch Linux + Gothem RE: No movie/tv images show in (any) web interface - Mizaki - 2014-05-13 Which web interfaces have you tried? RE: No movie/tv images show in (any) web interface - st33lb0ne - 2014-05-13 Wow thats fast at this hour Default Chorus Visual X XWMM And my usual remotes.. Like i said. Locally in XBMC everything works amazing like always... But webinterfaces and remotes get everything but textures RE: No movie/tv images show in (any) web interface - atmominds - 2014-05-13 Hmm, I'm also running Arch. Are you running it with xinit as user xbmc or in a "real" X user session? I tried reverting back to some old Gotham beta versions (and wiped userdata) but still no go. Also restored a backup of my frodo data and installed Frodo, but even there, where it used to work, do I get "File not found" on all movie/tv textures. The only way I've managed to get a poster to show at all is to take the link to the poster, for example: Code: image/image://%252fmedia%252fMovies%252fUnknown.Identity%252fposter.jpg/ Code: image/media/Movies/Unknown.Identity/poster.jpg RE: No movie/tv images show in (any) web interface - Puyb - 2014-05-13 Hi, I have exactly the same problem since my upgrade to gotham. The image url seems to be double encoded. If you decode the url just once, it work. ie: If you transform http://plonk:8080/image/image%3A%2F%2Fhttp%253a%252f%252fcf2.imgobject.com%252ft%252fp%252foriginal%252ftOxDM9o4pSlonBubi4WDfQWwqxe.jpg%2F (found in the default web interface) into : http://plonk:8080/image/image://http%3a%2f%2fcf2.imgobject.com%2ft%2fp%2foriginal%2ftOxDM9o4pSlonBubi4WDfQWwqxe.jpg/ It work. It tried the default web interface and chorus. I'm running XBMC 13 on Arch linux, in standalone (no window manager) Did you manage to solve this problem ? RE: No movie/tv images show in (any) web interface - atmominds - 2014-05-14 Yeah, the double encoding seems to be the problem. I tried changing default, Chorus and AWXi as follows, which made all of them display the images: default in /usr/share/xbmc/addons/webinterface.default/js/MediaLibrary.js line 301: from: Code: return thumbnail ? ('image/' + encodeURI(thumbnail)) : xbmc.core.DEFAULT_ALBUM_COVER; Code: return thumbnail ? ('image/' + thumbnail) : xbmc.core.DEFAULT_ALBUM_COVER; AWXi in addons/webinterface.awxi/js/lib.xbmc.js line 254: from Code: return '/image/' + encodeURI(url); Code: return '/image/' + url; Chorus in addons/webinterface.chorus/chorus.js line 17052: Code: return app.settings.get('basePath', '/') + 'image/' + encodeURIComponent(rawPath); Code: return app.settings.get('basePath', '/') + 'image/' + rawPath; That doesn't fix other apps of course, so for instance Maraschino won't display posters. What's odd is that seem to be happening for a select few users only, and all running Arch. I messed around a bit with the source and managed to get it working in all apps/interfaces without modifications, but that meant changing the JSON-RPC interface. Any devs or anyone else have any ideas? RE: No movie/tv images show in (any) web interface - Mizaki - 2014-05-14 You are supposed to URI encode them. So you need to encode URLs that are already encoded. Is this a package from Arch linux? RE: No movie/tv images show in (any) web interface - atmominds - 2014-05-15 Yeah, this is a package from Arch Linux. Compilation options here: https://projects.archlinux.org/svntogit/community.git/plain/trunk/PKGBUILD?h=packages/xbmc&id=44abd67ab7bbc116e1b36a963969e5abd29a3694 I use the internal ffmpeg though. After enabling webserver debug, this is what the log shows: Code: DEBUG: webserver: request received for /image/image://smb%253a%252f%252fETTAN%252fmedia%252fMOViES%252f2001.A.Space.Odyssey.1968%252fposter.jpg/ And adding some web console output to the web interface I get this: input to getThumbUrl(url): Code: image://smb%3a%2f%2fETTAN%2fmedia%2fMOViES%2f2001.A.Space.Odyssey.1968%2fposter.jpg/" lib.xbmc.js:254 and the function returns: Code: "/image/image://smb%253a%252f%252fETTAN%252fmedia%252fMOViES%252f2001.A.Space.Odyssey.1968%252fposter.jpg/" lib.xbmc.js:255 RE: No movie/tv images show in (any) web interface - setti - 2014-05-15 Same Problem here (ArchlinuxARM), but jsonrpc also gives a 404 for some methods. See http://forum.xbmc.org/showthread.php?tid=195166 RE: No movie/tv images show in (any) web interface - atmominds - 2014-05-15 Okay, so I'm pretty sure I've found the cause of the issue. If I downgrade the latest (in Arch at least) libmicrohttpd version 0.9.35-1 to the earlier 0.9.34-1, everything works as it should again, at least in default webinterface, Chorus, AWXi and Maraschino. I'm too tired to look what changed between 0.9.34 and 0.9.35 but something obviously did. Try downgrading and report back (you most likely an older version cached in /var/cache/pacman/pkg/). RE: No movie/tv images show in (any) web interface - setti - 2014-05-15 I can confirm, that this helped to get the images back on chorus on archlinux Arm. the jsonrpc problem still persists for me on default webinterface.... RE: No movie/tv images show in (any) web interface - Mizaki - 2014-05-16 Report it to the package maintainer and see what they say. Certainly seems weird to me. RE: No movie/tv images show in (any) web interface - atmominds - 2014-05-18 Could this change in libmicrohttpd have something to do with it? From the 0.9.35 changelog: Quote:Thu Apr 10 09:39:38 CEST 2014 The reason for so few users having the problem would be that;
RE: No movie/tv images show in (any) web interface - bigdaddywheat - 2014-05-18 Hi All, Can someone help me with downgrading process. (libmicrohttpd version 0.9.35-1 to the earlier 0.9.34-1). I have tried several web interfaces in Frodo 12.3 and Gotham 13.0 and none would show contents, thumbnails etc. I would greatly appreciate your help. Current: ATV2 - Gotham 13.0 |