• 1
  • 11
  • 12
  • 13(current)
  • 14
  • 15
  • 22
Release KodiDevKit: SublimeText3 plugin to support kodi skinning / scripting
I've gone through it manually now anyway but thanks for cutting down the time to do this. Big Grin
Reply
(2015-05-24, 18:20)Hitcher Wrote: One thing that would be useful when checking labels would be that the label gets selected when you press enter.

Added.
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
Awesome, thanks.
Reply
Hi Phil, some labels are missed in the localisation function.

eg

Code:
<label>[COLOR 00ffffff][B]Formed:-[/B][/COLOR]$INFO[Container(100).ListItem.Property(Artist_Formed)]</label>
<label>$INFO[ListItem.Duration,, minutes]</label>
<label>3D Options</label>

Thanks.
Reply
(2015-05-26, 11:54)Hitcher Wrote: Hi Phil, some labels are missed in the localisation function.

eg

Code:
<label>[COLOR 00ffffff][B]Formed:-[/B][/COLOR]$INFO[Container(100).ListItem.Property(Artist_Formed)]</label>
<label>$INFO[ListItem.Duration,, minutes]</label>
<label>3D Options</label>

Thanks.

not sure if I will be able to catch all of them. Not as easy to do as it probably seems to be.
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
Thought as much but thought I'd point them out anyway. Wink
Reply
I have used sublime in the past but not this plugin, and I am struggling to get everything working.
I mainly bought Sublime because it is a great tool to debug logs and such for work so I am aware with the search / replace / multifile / xml rewrite / xslt usage of the program, but not so much with the key combinations required when using it to program.

Especially the autocompletes i see in some of the screenshots probably require a shortcut key i can't seem to find. (Eg when typing labels you can search for strings?)
I also can't have <multiimage> expand to a list of tags - it did this once but i think i lost part of my config or something after a crash i had.

I am thinking of doing a wiki page on the installation as well as usage of SublimeKodi once i figure everything out.
Could you give me some more detailed pointers ?
Reply
(2015-05-26, 15:02)Kib Wrote: I have used sublime in the past but not this plugin, and I am struggling to get everything working.
I mainly bought Sublime because it is a great tool to debug logs and such for work so I am aware with the search / replace / multifile / xml rewrite / xslt usage of the program, but not so much with the key combinations required when using it to program.

Especially the autocompletes i see in some of the screenshots probably require a shortcut key i can't seem to find. (Eg when typing labels you can search for strings?)
I also can't have <multiimage> expand to a list of tags - it did this once but i think i lost part of my config or something after a crash i had.

I am thinking of doing a wiki page on the installation as well as usage of SublimeKodi once i figure everything out.
Could you give me some more detailed pointers ?

You're perhaps confusing auto-complete with fuzzy searches in that command palette panel. I only added auto-complete stuff perhaps 2 days ago and didnt post any screenshot of it.
For command palette actions, press ctrl+shift+p, then type SublimeKodi, that should show you the available actions.

To get auto-complete workin in a correct way you should set up some user settings. The ones which are relevant for auto-completion are:
"auto_complete"
"auto_complete_commit_on_tab"
"auto_complete_cycle"
"auto_complete_delay"
"auto_complete_selector"
"auto_complete_size_limit"
"auto_complete_triggers"

Concering multiimage: if that refers to the snippet i added then you now have to type cmultiimage + <tab>. I added a "c" prefix to all control snippets (only "image", "multiimage", and "label" available atm) https://github.com/phil65/SublimeKodi/co...d392e10373

I could do a small workshop on next DevCon if interest is there because it is really quite a lot to cover.
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
Thanks for that info - I now understand why i saw that imge autocompletion before but lost it now Smile

I think I can find my way around and maybe start making more noob friendly documentation for the different features.
I think the wiki is a perfect place for it.

I would love to see a feature where when starting a new label and starting to write for instance "Mus" a window would pop up with all strings from strings.xml that start like that - see the one you used on another window previously and inject it with $Localize[#number]. I understand that is not possible right now ?

I must have misinterpreted this picture:
Image
Reply
(2015-05-26, 15:29)Kib Wrote: I would love to see a feature where when starting a new label and starting to write for instance "Mus" a window would pop up with all strings from strings.xml that start like that - see the one you used on another window previously and inject it with $Localize[#number]. I understand that is not possible right now ?

no already possible. "SublimeKodi: Search for label" from command palette. That's not what you call "auto-completion" in SublimeText though. Autocompletion is a list which appears at cursor position, like this: Image
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
Would stuff like this be useful?
Image
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
Extremely! Big Grin
Reply
Yep. This can be useful for static contents or fake list container.
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
ctrl+shift+r
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
(2015-05-22, 17:42)mikebzh44 Wrote: Maybe that _imagimg.pyd and other .pyd files are not compiled on the fly because all the files in PIL folder are from 02APR2015 12:23

I have downloaded PILLOW 2.8.1 source, install setuptools on Python 3.3 but when I try to compile pillow, I need Visual C++ :

Code:
copying PIL\_util.py -> build\lib.win32-3.3\PIL
copying PIL\__init__.py -> build\lib.win32-3.3\PIL
copying PIL\OleFileIO-README.md -> build\lib.win32-3.3\PIL
running build_ext
building 'PIL._imaging' extension
error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat).

As I use my professionnal laptop to do this, I don't want to install too much stuff on it.

Don't know if I will be able to go further on this issue. Will hav a look on tuesday morning Wink

Visual C++ Studio 2010 installed on my professionnal laptop.
Pillow 2.8.1 build :

Image

pyd files copied in C:\Users\<user>\AppData\Roaming\Sublime Text 3\Packages\SublimeKodi\libs\PIL_32

But always the same error in console :

Code:
File "C:\Users\MIbertho\AppData\Roaming\Sublime Text 3\Packages\SublimeKodi\sublimekodi.py", line 19, in <module>
    from PIL_32 import Image
  File "C:\Users\MIbertho\AppData\Roaming\Sublime Text 3\Packages\SublimeKodi\libs\PIL_32\Image.py", line 63, in <module>
    from PIL import _imaging as core
ImportError: DLL load failed: %1 n’est pas une application Win32 valide.
plugins loaded

Is it normal that _imaging is imported from PIL and not from PIL32 ?

Because I have remove files from lxml and PIL folders, copy files from lxml_32 in lxml and PIL_32 in PIL then modifie sublimkodi.py and Utils.py and now all works fine Wink

EDIT : No need to download, install, compile Python33 or VC++2010.

I just download SublimKodi arch branch, remove lxml and PIL folders, rename lxml_32 and PIL32 folders, edit .py files and everything is OK

I hope you will find a way to merge arch branch with main one Wink

Thanks.
Sorry for my english, but, you know, I'm French so ...

Main HTPC : Odroid-C2 running CoreELEC with Titan Bingie
Secondary HTPC : Freebox Mini 4K running Android TV with Titan Bingie
Reply
  • 1
  • 11
  • 12
  • 13(current)
  • 14
  • 15
  • 22

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