xboxscene.org forums

Author Topic: Python Looping. Prevent Termination  (Read 89 times)

Jaxter

  • Archived User
  • Newbie
  • *
  • Posts: 31
Python Looping. Prevent Termination
« on: April 13, 2006, 07:39:00 PM »

Hi.
Most scripts i make just require the script to do its job, then terminate themselves.
Im making a script to send the song info back to a server (Socket data) on song change, however once it has done it the script just stops. I cant quite get the hang of the loops (Im use to Do.........Loop from VB), so can anyone help. I'll post the script if you need it, but its quite a general thing.
Thanks alot.
Logged

nuka1195

  • Archived User
  • Sr. Member
  • *
  • Posts: 290
Python Looping. Prevent Termination
« Reply #1 on: April 14, 2006, 08:41:00 AM »

Do you need it to run in the background, so to speak.

I think this caller ID script does this. Though I haven't used it.

Try http://www.xbmcscripts.com/modules/mod_doc...erID-2005-12-04
Logged