2014-09-14, 21:20
(2014-09-14, 16:17)Sleuteltje Wrote:(2014-09-14, 00:37)Basje Wrote: I use the '\a' for this. See http://en.wikipedia.org/wiki/Bell_character for more information. You can get it by using the command
where ^G is CTRL+SHIFT+G. It should save it into the bel.txt. If you open that file with notepad++ you will see that np++ will show [bel] as a char. Hope this helps.[/code]Code:echo ^G > bel.txt
Lol, the BEL character is from the good old fax telephone days so it seams. I've tried the steps you made and succesfully made a BEL character. Like you said, notepad++ shows BEL. I've copied the character in the plugin path, making the following plugin path:
"plugin://net.rieter.xot/Uitzendinggemist (NPO.nl)/.: Populair :./" (BEL character does not show here in the forum ofcourse)
Unfortunatly this still does not work. I think that while the BEL character is in the path, there is no way for me to match it.
Which line of code is responsible for putting the BEL character there? That way i can alter it myself to a space character, and manually update this addon from here on out. Cause it's really frustrating I can't do what i want to do just because of one stupid character .
Thank you for thinking along!
EDIT: Already found the code in chn_2010.py
Replaced the following lines:
Starting with Line 112 until line 147: (Replaced all /a with a space)
I must say i don't see any difference in the menu with a leading space or a BEL character. Maybe that's just me. But if there really isn't any difference, could you still possibly add this change?Code:search = mediaitem.MediaItem(" .: Zoeken :.", "searchSite")
And replaced line 168 with this:
This because i would also like to rip ".: Gisteren :." and when there is a date in the line the path changes every day ofcourse. So with just ".: Gisteren :." i can always go to ".: Gisteren :.".Code:title = ".: %s :." % (day)
I've tried to change that look only for "Vandaag", "Gisteren" and "Eergisteren", cause i didn't mind if there were still dates with the normal weekdays (maandag, dinsdag etc.), but when trying that, NPO wouldn't work anymore.
I can see why you would still want dates with Gisteren, Vandaag en Eergisteren. But if not, I would surely love a change for those labels ofcourse .
EDIT 2:
Just thought of another idea. If a leading space does look differently then BEL on other XBMC's than mine, can't the same result be achieved with using codes? This will give it a strange character in the beginning which will not display as [B], but will make the text bold. It will make an even greater difference from the shows then it is now. You could also use a [color] tag.
Idea 2: Maybe you have a reason for not doing so, but you could also put all the shows in a folder called "Alle Series" or something. And that way have a shorter cleaner menu when you first click open Uitzendinggemist. Maybe users will even prefer it that way. I will, cause it will provide a less cluttered menu. And it makes things easier for my not-so-computer-savy dad .
Let me just check this out a bit further. Could you create a change request on the XOT bitbucket issue list for me asking to perhaps change the BEL to something else?