Kodi Community Forum
need help getting starting and running python - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: need help getting starting and running python (/showthread.php?tid=140315)



need help getting starting and running python - bobbintb - 2012-09-11

so im having an issue deciding on how i want to start my project since i dont know enough about how xbmc works. i have a bunch of tv show isos. i like to keep them in iso but at times would rather just watch individual episodes and not hassle with menus. at the same time, i dont want to rip them and have dupes. my solution is to have a small file that just points to which file to play on the iso. it would be great if i can just write a one-line python script that tells xbmc to play a certain file on an iso but i dont think that will work unless xbmc will let me run a script just by browsing my library and selecting it that way. is there a way to just browse the library for a python script and run it that way? if not, how can i access the builtin python interpreter? telnet? ssh?


RE: need help getting starting and running python - Bstrdsmkr - 2012-09-12

Create a .strm file that contains a plugin:// url. That will launch the desired plugin and you can pass the script whatever parameters you want
Also, going to buy you a box of punctuation =D