Comments (14)
Weird!... without the quotes in some addons it works properly and in some it's not!
I've checked the skins in Krypton Kodi addon repo.
Aeon Nox it's not working and Mimic is working fine.
I think it depends on the size of text that is displayed so i guess this is a bug ?
from script.skin.helper.service.
It's a escaping issue of Kodi. Use this instead:
RunScript(script.skin.helper.service,action=textviewer,header='$ESCINFO[ListItem.Label]',message='$ESCINFO[ListItem.AddonNews]')
The '' and $ESCINFO/$ESCVAR are important.
from script.skin.helper.service.
Well, with the '' and $ESCINFO/$ESCVAR it works properly but still the quotes are showing in textviewer.
Is this how it suppose to work ?... because if it is, is very annoying! @marcelveldt ?
from script.skin.helper.service.
The problem does not exist if you use Phil's toolbox.
@marcelveldt
Maybe you should check his implementation
from script.skin.helper.service.
OK, will do. Sorry for the late reply. Hard for me to follow both the forums and github for issues
from script.skin.helper.service.
@marcelveldt
I've fix this by editing the code in main_module.py
It just needs to replace this code:
if bodytxt.startswith(" "):
bodytxt = bodytxt[1:]
if headertxt.startswith(" "):
... with this one:
if bodytxt.startswith("'"):
bodytxt = bodytxt[1:-1]
if bodytxt.startswith('"'):
bodytxt = bodytxt[1:-1]
if headertxt.startswith(" "):
I have no idea if this is the proper way to do it but it works fine. You know better.
Sorry but i am not so familiar with the pull requests stuff so to make one for this.
Cheers
Nessus
from script.skin.helper.service.
thanks for finding the solution. I will update the code with your proposed changes
from script.skin.helper.service.
@marcelveldt
You've added this for the YesNo & Ok dialogs.
It was needed for the Textviewer dialog (it's on the title of the issue).
PS. Dunno if its also needed for YesNo & Ok dialogs
from script.skin.helper.service.
@marcelveldt
Can i gently bump on this!
I am planning to submit my skin to official repo and wanted all to work properly.
Thanks
Nessus
from script.skin.helper.service.
Sorry for the late reponses... Been busy with family stuff lately and work.
I am catching up with some requests and bugfixes this week and after that I will submit an update to the repo.
from script.skin.helper.service.
@marcelveldt
bump?
I have commented this here... 7673e20#diff-6cd6906a88953a03489b1002f6ecb34dR617
from script.skin.helper.service.
Finally had the chance to fix this. I submitted the new code just now on Git. Can you test it with some scenarios please ?
from script.skin.helper.service.
Working fine now in all places.
Thanks
from script.skin.helper.service.
OK, great! Thanks for testing. I will submit updates to the Kodi repo at the end of this week.
from script.skin.helper.service.
Related Issues (20)
- Estuary - How i can add setting for "skinhelper.autoclosevideoosd" HOT 1
- Android - Skin Backup&Restore not Working
- This addon is causing 5 seconds delay for Kodi to quit
- Problems with http://localhost:52307/ calls (getpvrthumb and getartwork) on Kodi 18 HOT 1
- Skin Helper and Matrix and Dependencies HOT 1
- Addon not working; reports No module named bs4 HOT 1
- Addon not working; reports global name 'sys' is not defined HOT 1
- Error on boot of kodi on Raspberry pi2 and latest osmc...... HOT 3
- Install fails by missing outdated dep for script.module.beautifulsoup 3.0.8 HOT 1
- script.skin.helper.service only working for Kodi 19 / Python3? HOT 6
- Update for Kodi 19 HOT 4
- AttributeError: 'datetime.timedelta' object has no attribute 'timestamp' and ModuleNotFoundError: No module named 'PIL' HOT 2
- AttributeError: 'MainService' object has no attribute 'webservice' HOT 2
- crashing in Kodi 18.6 HOT 2
- [BUG] AutoCloseVideoOSD feature broken only on Android devices after updating from Kodi v19.1 to v19.2 HOT 3
- Multiprocessing and thus script.skin.helper.service broken on Google TV with Kodi 19.3: ImportError: This platform lacks a functioning sem_open implementation HOT 2
- Not for the faint hearted. HOT 2
- after enabling the adddon it opens 10 new kodi windows on macos HOT 1
- Updating Skin while in same skin HOT 2
- script.skin.helper.service not working as a dependency
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from script.skin.helper.service.