• 1
  • 15
  • 16
  • 17(current)
  • 18
  • 19
  • 22
Release KodiDevKit: SublimeText3 plugin to support kodi skinning / scripting
(2016-04-13, 12:54)phil65 Wrote:
(2016-04-13, 01:29)Jeroen Wrote: So I've been using this for a while now, mainly the highlighting and auto closing an such. Just looking into the sanity check features but I can't get it to work. When i use the command palette nothing shows up when i type sublimekodi. Anyone got tips for me?

- Plugin is installed correctly? (on windows: C:\Users\yourname\AppData\Roaming\Sublime Text 3\Packages\SublimeKodi)
- skins organized as projects?

SublimeText log output could also give some hints.
When switching projects, you should get something like:

SublimeKodi: project change detected: C:\Kodi\portable_data\addons\skin.estuary
SublimeKodi: Parsing po file C:\Kodi\portable_data\addons\skin.estuary\language\resource.language.en_gb\strings.po
SublimeKodi: Parsing po file C:\Kodi\portable_data\addons\skin.estuary\language\resource.language.de_de\strings.po
SublimeKodi: Kodi project detected: C:\Kodi\portable_data\addons\skin.estuary
SublimeKodi: found include file: C:\Kodi\portable_data\addons\skin.estuary\1080i\Includes.xml
SublimeKodi: found include file: C:\Kodi\portable_data\addons\skin.estuary\1080i\Defaults.xml
SublimeKodi: found include file: C:\Kodi\portable_data\addons\skin.estuary\1080i\Includes_Home.xml
SublimeKodi: found include file: C:\Kodi\portable_data\addons\skin.estuary\1080i\Includes_Animations.xml
SublimeKodi: found include file: C:\Kodi\portable_data\addons\skin.estuary\1080i\Includes_MediaMenu.xml
SublimeKodi: found include file: C:\Kodi\portable_data\addons\skin.estuary\1080i\Includes_Buttons.xml
SublimeKodi: found include file: C:\Kodi\portable_data\addons\skin.estuary\1080i\Includes_PVR.xml
....
SublimeKodi: found include file: C:\Kodi\portable_data\addons\skin.estuary\1080i\Variables.xml
SublimeKodi: Include List: 177 nodes found in '1080i' folder.
SublimeKodi: found 92 XMLs in C:\Kodi\portable_data\addons\skin.estuary\1080i
SublimeKodi: found color file: charcoal.xml
SublimeKodi: color list: 12 colors found
SublimeKodi: found color file: chartreuse.xml
SublimeKodi: color list: 24 colors found
SublimeKodi: found color file: defaults.xml
SublimeKodi: color list: 36 colors found
SublimeKodi: found color file: gold.xml
SublimeKodi: color list: 48 colors found
...

Yeah, it's installed in the packages directory. I have made a project including the entire skin's folder and saved the project file in it's root. Does it matter where the sublime-project file is saved?

I came across this in the log:

Quote:indexing: crawler exited while processing /Users/Jeroen/Library/Application Support/Kodi/addons/skin.refocus.dev/Build.command, no symbols recorded
indexing: crawler exited while processing /Users/Jeroen/Library/Application Support/Kodi/addons/skin.refocus.dev/Build.sh, no symbols recorded

Could that be an issue?

full log: http://pastebin.com/sRe4MQmt
Reply
The issue is this here:

File "/Users/Jeroen/Library/Application Support/Sublime Text 3/Packages/SublimeKodi/sublimekodi.py", line 29, in <module>
from lxml import etree as ET
ImportError: No module named 'lxml'

Probably a platform-related issue (I dont have access to an OSX machine), so not sure if I will be able to fix it.
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
(2016-04-13, 19:58)phil65 Wrote: The issue is this here:

File "/Users/Jeroen/Library/Application Support/Sublime Text 3/Packages/SublimeKodi/sublimekodi.py", line 29, in <module>
from lxml import etree as ET
ImportError: No module named 'lxml'

Probably a platform-related issue (I dont have access to an OSX machine), so not sure if I will be able to fix it.

Cheers, I installed lxml on my machine, that doesn't seem to make a difference though

latest log: http://pastebin.com/6ranyt0H

If there's anything I can do to help or test let me know
Reply
(2016-04-13, 21:39)Jeroen Wrote:
(2016-04-13, 19:58)phil65 Wrote: The issue is this here:

File "/Users/Jeroen/Library/Application Support/Sublime Text 3/Packages/SublimeKodi/sublimekodi.py", line 29, in <module>
from lxml import etree as ET
ImportError: No module named 'lxml'

Probably a platform-related issue (I dont have access to an OSX machine), so not sure if I will be able to fix it.

Cheers, I installed lxml on my machine, that doesn't seem to make a difference though

latest log: http://pastebin.com/6ranyt0H

If there's anything I can do to help or test let me know

BigNoid uses OSX and he doesnt seem to have any issues, I asked him today. BobCratchett had it workin too on OSX if i remember correctly.
Cannot really help as I dont know too much about OSX, sorry.
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
(2016-04-13, 23:48)phil65 Wrote: BigNoid uses OSX and he doesnt seem to have any issues, I asked him today. BobCratchett had it workin too on OSX if i remember correctly.
Cannot really help as I dont know too much about OSX, sorry.

Apparently it makes a lot of difference on OSX for some reason if one installs the plugin manually or not. I installed through ST's package manager, and all is working Smile
With thanks to BobCratchett Smile
Reply
Some news:
This plugin should soon be available via PackageControl (https://packagecontrol.io/), the PR is up.
In order to get this done I had to rename the script to KodiDevKit and, as a positive effect, was able to use newly added lxml as an external dependency which makes things much easier to deal with and avoids platform-specific issues. When it becomes available you should remove the SublimeKodi folder completely from your addons folder and just rename your custom settings file in User/ subfolder to kodidevtoolkit.sublime-settings.
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
Hey Phil,

I've manually updated from GitHub (it's not on packagecontrol yet) and I noticed that the menu bar entries still link to the setting files with "sublimekodi" as tag.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
(2016-04-29, 08:26)sualfred Wrote: Hey Phil,

I've manually updated from GitHub (it's not on packagecontrol yet) and I noticed that the menu bar entries still link to the setting files with "sublimekodi" as tag.

That´s because the script has a new repo.

https://github.com/phil65/KodiDevKit
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
(2016-04-29, 17:42)phil65 Wrote: That´s because the script has a new repo.

https://github.com/phil65/KodiDevKit

I know. I've installed that package, that's why I'm reporting this issue Wink

Edit:
Nevermind, issue is gone. Removed and readded all repo links and it's fixed. Dunno what was causing it.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
(2016-04-29, 00:41)phil65 Wrote: When it becomes available you should remove the SublimeKodi folder completely from your addons folder and just rename your custom settings file in User/ subfolder to kodidevtoolkit.sublime-settings.
Not sure if its because I installed manually, but I had to remove the kodidevtoolkit.sublime-settings (after I renamed it from sublimekodi.sublime-settings) and recreate it through the package settings for getting the settings to stick.
Reply
you're sure that you used a version containing this commit? https://github.com/phil65/KodiDevKit/com...026520ff14

EDIT: because of 2nd rename, name has to be kodidevkit.sublime-settings, not kodidevtoolkit.
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
Ah right. That explains it.
Reply
Wow, can't believe how many invalid attributes I found with the new version, great work Phil!
Reply
Came to try out the Package Control version of the Kodi Dev Kit, but unfortunately it's not running with an error shown in Sublime Text's console. Let me know if there's any more info I can provide (or, more likely, if I've simply made an embuggerance of installing it...)
Reply
(2016-05-05, 16:57)BobCratchett Wrote: Came to try out the Package Control version of the Kodi Dev Kit, but unfortunately it's not running with an error shown in Sublime Text's console. Let me know if there's any more info I can provide (or, more likely, if I've simply made an embuggerance of installing it...)

yup thx, that still needs adapting. Will fix and use that as an excuse to try out the PackageControl update mechanism. Wink
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
  • 1
  • 15
  • 16
  • 17(current)
  • 18
  • 19
  • 22

Logout Mark Read Team Forum Stats Members Help
KodiDevKit: SublimeText3 plugin to support kodi skinning / scripting1