[xbox] use Memory unit (mem0://) within 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: [xbox] use Memory unit (mem0://) within python (/showthread.php?tid=42811) |
[xbox] use Memory unit (mem0://) within python - tinux - 2008-12-29 Hello, quick question: Did someone manage to use, for example os.path.isfile('mem0://file_on_usb_stick.txt') or xbmc.executescript('mem0://myscript.py') or even os.path.exists('mem0:\\') Because for me, it just wouldn't work. Is this a bug, or a feature? thanks in advance. P.S. the only thing I wanted to have is a kind of autorun when I boot my xbox with the stick inserted. Note that I already have an autorun on the fixed disk, I just want to make a poor-man's instant-webradio switch by (un)plugging the stick |