Kodi Community Forum
[Bug] webserver needs case-sensitive channellogos - 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: [Bug] webserver needs case-sensitive channellogos (/showthread.php?tid=154206)



[Bug] webserver needs case-sensitive channellogos - GodzillaXP - 2013-01-31

I think I found a bug in the Web-Interface/API.

I'm using XBMC with PVR (pre-Frodo and now Frodo) on Ubuntu.
As remote control I use Yatse for Android.

Problem: Many channel logos don't work in the remote-app but are fine in the XBMC-OSD.

Cause: Some channel names use upper case characters. Like "Das Erste HD"

For example the logo is called "das erste hd.png"
XBMC is intelligent and gets the correct file.
see:
Code:
21:41:56 T:140024709703552 WARNING: CreateFile, successfuly opened </var/lib/vdr/channellogos/das erste hd.png> instead of </var/lib/vdr/channellogos/Das Erste HD.png>

But the webserver cannot fullfill the request, because the request seems to be case-sensitive.
You can see multiple request within one second.
Code:
22:06:00 T:140024068626176   DEBUG: webserver: request received for /jsonrpc
22:06:00 T:140024077018880   DEBUG: webserver: request received for /jsonrpc
22:06:00 T:140024077018880   DEBUG: webserver: request received for /image/image%3A%2F%2F%252fvar%252flib%252fvdr%252fchannellogos%252fDas%2520Erste%2520HD.png%2F
22:06:00 T:140024077018880   DEBUG: webserver: request received for /image/image%3A%2F%2F%252fvar%252flib%252fvdr%252fchannellogos%252fDas%2520Erste%2520HD.png%2F
22:06:00 T:140024077018880   DEBUG: webserver: request received for /image/image%3A%2F%2F%252fvar%252flib%252fvdr%252fchannellogos%252fDas%2520Erste%2520HD.png%2F
22:06:00 T:140024068626176   DEBUG: webserver: request received for /jsonrpc?Playlist.GetItems
22:06:00 T:140024077018880   DEBUG: webserver: request received for /image/image%3A%2F%2F%252fvar%252flib%252fvdr%252fchannellogos%252fDas%2520Erste%2520HD.png%2F
22:06:00 T:140024068626176   DEBUG: webserver: request received for /jsonrpc?Player.GetItem
22:06:00 T:140024077018880   DEBUG: webserver: request received for /image/image%3A%2F%2F%252fvar%252flib%252fvdr%252fchannellogos%252fDas%2520Erste%2520HD.png%2F
22:06:00 T:140024068626176   DEBUG: webserver: request received for /jsonrpc?Player.GetActivePlayers
22:06:01 T:140024068626176   DEBUG: webserver: request received for /jsonrpc?Playlist.GetItems
22:06:01 T:140024068626176   DEBUG: webserver: request received for /jsonrpc?Player.GetItem
22:06:01 T:140024085411584   DEBUG: webserver: request received for /jsonrpc
22:06:01 T:140024085411584   DEBUG: webserver: request received for /jsonrpc
22:06:01 T:140024093804288   DEBUG: webserver: request received for /image/image%3A%2F%2F%252fvar%252flib%252fvdr%252fchannellogos%252fDas%2520Erste%2520HD.png%2F
22:06:01 T:140024068626176   DEBUG: webserver: request received for /jsonrpc?Player.GetActivePlayers
22:06:02 T:140024068626176   DEBUG: webserver: request received for /image/image%3A%2F%2F%252fvar%252flib%252fvdr%252fchannellogos%252fDas%2520Erste%2520HD.png%2F
22:06:02 T:140024093804288   DEBUG: webserver: request received for /image/image%3A%2F%2F%252fvar%252flib%252fvdr%252fchannellogos%252fDas%2520Erste%2520HD.png%2F
22:06:02 T:140024068626176   DEBUG: webserver: request received for /image/image%3A%2F%2F%252fvar%252flib%252fvdr%252fchannellogos%252fDas%2520Erste%2520HD.png%2F
22:06:02 T:140024068626176   DEBUG: webserver: request received for /image/image%3A%2F%2F%252fvar%252flib%252fvdr%252fchannellogos%252fDas%2520Erste%2520HD.png%2F
22:06:02 T:140024068626176   DEBUG: webserver: request received for /jsonrpc?Playlist.GetItems
22:06:02 T:140024068626176   DEBUG: webserver: request received for /jsonrpc?Player.GetItem
22:06:02 T:140024068626176   DEBUG: webserver: request received for /jsonrpc?Player.GetActivePlayers
22:06:03 T:140024093804288   DEBUG: webserver: request received for /jsonrpc

Of cause, the perfect way would be to rename my channel logos.
But I think this is a bug and not a missing feature, because someone already decided to support case-insensitive logos in XBMC. Smile

Sould I report this bug in Trac?