Posts: 38
Joined: Oct 2008
Reputation:
0
It would be fine if xbmc pvr, concerning the channel logo filenames, would substitue special chars like a "/" in channel names with something like a "default" char, for example "_" to be able to fine a valid logo file.
I germany we have more then one channel with a name containing a "/", like :
NICK/COMEDY
The channel logo filename which xbmc will search for based on my example would be:
[path-to-logos]/NICK/COMEDY.png
-> i think everyone understands that "/" is not an allowed char for filenames...
With my proposal xbmc would look for:
[path-to-logos]/NICK_COMEDY.png
What do you think about this?
Posts: 306
Joined: Jul 2012
Reputation:
3
2012-12-05, 13:08
(This post was last modified: 2012-12-05, 13:13 by Leatherface.)
If channel name is Viasat Nature/Crime for example then make a dir called "Viasat Nature" and then place the logo named Crime.png there and it should work.
That's because Viasat Nature before / will be threated as a path and Crime.png after that is what it will look for.
Intel Core i5 2320 8GB 500GB HDD - Tvheadend + Kodi, Raspberry Pi 3 - LibreELEC, HDHomeRun HDHR3-4DC, Epson TW3200, Pioneer VSX-1123
Posts: 177
Joined: Sep 2012
Reputation:
3
It is also possible to set the channel logo's via the backend. I use TVheadend and I can set a URL to any logo via the web interface, works like a charm.
Posts: 306
Joined: Jul 2012
Reputation:
3
2012-12-05, 15:35
(This post was last modified: 2012-12-05, 15:36 by Leatherface.)
#include "utils/Util.h" in PVRChannelGroup.cpp should be
#include "Util.h"
Intel Core i5 2320 8GB 500GB HDD - Tvheadend + Kodi, Raspberry Pi 3 - LibreELEC, HDHomeRun HDHR3-4DC, Epson TW3200, Pioneer VSX-1123
Posts: 664
Joined: Nov 2008
Reputation:
5
Thanks for the fix da-anda - I can't test straight away, since I'll have to get my main PC back up and running so I can compile.
Does the fix just remove illegal characters or does it replace with a 'safe' character? - I only ask because my example of '5*' there is also a channel called '5' so it could cause confusion if it just strips the illegal chars.
Posts: 6,252
Joined: Jun 2009
Reputation:
115
da-anda
Team-Kodi Member
Posts: 6,252
yes, they are replaced by an underscore. I just filed a pull request PR1891
Posts: 2,274
Joined: Feb 2009
Reputation:
30
opdenkamp
Retired Team-Kodi Member
Posts: 2,274
fix has been merged in and will be in beta3
opdenkamp / dushmaniac
xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]
Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.
If you like my work, please consider donating to me and/or Team XBMC.