PDA

View Full Version : Autorun script broken in XBMC 1.1.0?


phobo
2004-10-23, 20:51
autostart script with autoexec.py istn workinh in xbmc 1.1.
gui_msg_playback_started send to file start is added, think thats to problem... the scripts are starting when starting a file manually or changing volume.

any ideas to solve the problem ?

:nuts:

phobo
2004-10-30, 10:23
still no idea how to fix it ??

darkie
2004-10-30, 18:24
i use it all the time and it is still working (autoexec.py)
if you startup xbmc without playing a movie or music file, can you see some python specific stuff in the xbmc log file then?

and btw, what are you trying to autostart, which script / scripts?

NEI
2004-10-31, 15:03
i just installed 1.1. made a clean install with removing of udata, tdata stuff. as soon as i select a movie or a mp3, xbmc crashes! :no:
here's the log:
31-10-2004 13:53:26 debug freeing fs segment @ 0xa1b260
31-10-2004 13:53:26 info mplayer play:f:\music\recordings\secret agent\1 - luminous - libertine.mp3 cachesize:256
31-10-2004 13:53:26 debug initializing fs_seg..
31-10-2004 13:53:26 debug fs segment @ 0xa1b260
31-10-2004 13:53:26 info flipping bi-directional subtitles disabled
31-10-2004 13:53:26 info stating file f:\music\recordings\secret agent\1 - luminous - libertine.mp3.conf
31-10-2004 13:53:26 info stating file q:\mplayer\f:\music\recordings\secret agent\1 - luminous - libertine.mp3.conf

NEI
2004-10-31, 22:30
ok, as nobody answered, i reinstalled 1.1 again and it works!?! i have no idea, what i did or didn't do this time... sorry.

oh and btw, 1.1 f***ing rulez! :)

NEI
2004-10-31, 22:54
now i have it. i have this autoexec.py script, which when executed, makes xbmc useless. maybe this is a known bug. i have no idea, can live with it...
the stream itself can be started without any problems afterward...

autoexec.py:

import xbmc

xbmc.executescript('q:\\scripts\\mp3.py')

mp3.py:
import xbmc

# by josselin from startupsound by alx5962

file = 'q:\\scripts\\fm4.strm'
pls = xbmc.playlist(0)
pls.load(file)
player = xbmc.player()
player.play(pls)

solexalex
2004-11-02, 00:37
check your internet settings...

NEI
2004-11-03, 17:21
why? it works! but after i stop the stream, i cannot start another mp3/video/stream/pic, whatever...

solexalex
2004-11-03, 19:36
so if the autoexec.py works.... what is your question then ??...