Autoexec.py - Help Please :D
#1
I know that in MS-Windows (all versions) you can put an autoexec.py script in your user data folder that would get executed upon startup. However, the only thing that I am having slight problem with is how to point to a file in Linux. I know there is probably some easy way of doing it. So if anybody can help me I will be very appreciative. Big Grin The following is the code that I want to use in my distro:

Windows Version:

Code:
import xbmc

player = xbmc.Player()
player.play("D:\\XBMC\\Video\\MiscFilms\\intro.mp4")

I need to figure out how to change the player.play to point to a Linux file (instead of a windows file.) Here is the location of the file on the Linux system:

Code:
/home/home/Documents/intro.wmv

I have tried a hundred ways to format the file name but it still won't launch in Linux. Thank you in advanced.
I was nerdy, when nerdy wasn't cool! :p

Image
Reply
#2
If you turn on debug logging then play the file manually, what path does xbmc.log report for the file?

JR
Reply

Logout Mark Read Team Forum Stats Members Help
Autoexec.py - Help Please :D0