Autorun script broken in XBMC 1.1.0?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
phobo Offline
Junior Member
Posts: 7
Joined: May 2004
Reputation: 0
Post: #1
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:
find quote
phobo Offline
Junior Member
Posts: 7
Joined: May 2004
Reputation: 0
Post: #2
still no idea how to fix it ??
find quote
darkie Offline
Team-XBMC Developer
Posts: 529
Joined: Sep 2003
Reputation: 0
Post: #3
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?

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
NEI Offline
Member+
Posts: 113
Joined: Nov 2003
Reputation: 0
Post: #4
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:
Quote: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
find quote
NEI Offline
Member+
Posts: 113
Joined: Nov 2003
Reputation: 0
Post: #5
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! Smile
find quote
NEI Offline
Member+
Posts: 113
Joined: Nov 2003
Reputation: 0
Post: #6
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:
Quote:import xbmc

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

mp3.py:
Quote: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)
find quote
solexalex Offline
Skilled Python Coder
Posts: 706
Joined: Jul 2004
Reputation: 6
Post: #7
check your internet settings...
find quote
NEI Offline
Member+
Posts: 113
Joined: Nov 2003
Reputation: 0
Post: #8
why? it works! but after i stop the stream, i cannot start another mp3/video/stream/pic, whatever...
find quote
solexalex Offline
Skilled Python Coder
Posts: 706
Joined: Jul 2004
Reputation: 6
Post: #9
so if the autoexec.py works.... what is your question then ??...
find quote