xboxscene.org forums

Pages: 1 ... 9 10 [11] 12

Author Topic: Python Scripts  (Read 551 times)

triggernum5

  • Archived User
  • Hero Member
  • *
  • Posts: 896
Python Scripts
« Reply #150 on: April 12, 2004, 05:32:00 PM »

Do you have XDK?
Logged

alx5962

  • Archived User
  • Full Member
  • *
  • Posts: 108
Python Scripts
« Reply #151 on: April 13, 2004, 03:01:00 AM »

user posted image

New functions  biggrin.gif
Logged

alx5962

  • Archived User
  • Full Member
  • *
  • Posts: 108
Python Scripts
« Reply #152 on: April 13, 2004, 01:08:00 PM »

My code is in the CVS now  biggrin.gif

I also added the ability to erase the debug python screen by pressing the white button but it's not added yet in the CVS
Logged

Amything

  • Archived User
  • Full Member
  • *
  • Posts: 149
Python Scripts
« Reply #153 on: April 13, 2004, 01:19:00 PM »

Good job.

Can you add a funtion to check if there is any media playing, or XBMC has been idle?
Logged

triggernum5

  • Archived User
  • Hero Member
  • *
  • Posts: 896
Python Scripts
« Reply #154 on: April 13, 2004, 06:54:00 PM »

QUOTE
Can you add a funtion to check if there is any media playing, or XBMC has been idle?
I'm sure you can write a script to do that with existing modules.
Logged

LaundroMat

  • Archived User
  • Newbie
  • *
  • Posts: 3
Python Scripts
« Reply #155 on: April 14, 2004, 01:54:00 AM »

Thanks to alex for the excellent tutorial, but I was wondering whether there are any docs on the inner workings of the XMBC python modules?
Logged

alx5962

  • Archived User
  • Full Member
  • *
  • Posts: 108
Python Scripts
« Reply #156 on: April 14, 2004, 02:03:00 AM »

QUOTE (LaundroMat @ Apr 14 2004, 10:54 AM)
Thanks to alex for the excellent tutorial, but I was wondering whether there are any docs on the inner workings of the XMBC python modules?

Darkie just added one so wait for the next binaries release of XBMC.
Logged

alx5962

  • Archived User
  • Full Member
  • *
  • Posts: 108
Python Scripts
« Reply #157 on: April 16, 2004, 04:17:00 AM »

Just added a multiple torrent downloader script on my page.
It's an early beta so it's very buggy for now.
Don't bug me about updates, just feel lucky to have this beta script  biggrin.gif

Just edit the script and edit the directory with your torrents files, then download will be placed there.
More torrents files = more memory so XBMC may crashes!
Anyway, this scirpt was just a proof of concept and I may never update it again.
Logged

georgc

  • Archived User
  • Full Member
  • *
  • Posts: 134
Python Scripts
« Reply #158 on: April 16, 2004, 07:09:00 AM »

ALX i started using you BT client for XBMP and it works wonderfully. I thank you for your time you spent on pythin script. Besides your page are there anyother scripts out there?
Logged

alx5962

  • Archived User
  • Full Member
  • *
  • Posts: 108
Python Scripts
« Reply #159 on: April 16, 2004, 08:01:00 AM »

thank you
all my released scripts are on the website in my signature.
Logged

alx5962

  • Archived User
  • Full Member
  • *
  • Posts: 108
Python Scripts
« Reply #160 on: April 18, 2004, 11:36:00 AM »

do you have the latest version of my xbox port?
When you say crash, you mean xbmc crashes and you have to reset the xbox?
Logged

triggernum5

  • Archived User
  • Hero Member
  • *
  • Posts: 896
Python Scripts
« Reply #161 on: April 18, 2004, 01:11:00 PM »

QUOTE
seem to have a problem in the original BT client. It will freeze after some time. I am downloading a file that is 625 mb it got to 575 but it crashes everytime it scans the file before download. Is there any way to prevent the thing from crashing/
Yea, I found that bug.  It happens if you try to view the script output while it is still checking the existing file.  625 MB can take a really long time.  Don't check the status until you see the network light going.  It takes me about 5 min to recheck 350MB be patient.
Logged

triggernum5

  • Archived User
  • Hero Member
  • *
  • Posts: 896
Python Scripts
« Reply #162 on: April 18, 2004, 06:59:00 PM »

Well you could calculate it by checking the percentage intervals between updates once the checking is done.  I believe the default time between updates to the output is 60 seconds.
Logged

triggernum5

  • Archived User
  • Hero Member
  • *
  • Posts: 896
Python Scripts
« Reply #163 on: April 19, 2004, 09:49:00 AM »

I don't think this thread should be pinned, but Alx's tuts/examples should be...
Logged

triggernum5

  • Archived User
  • Hero Member
  • *
  • Posts: 896
Python Scripts
« Reply #164 on: April 19, 2004, 04:28:00 PM »

QUOTE
triggernum5 - have you figured out the new ** DO NOT ATTEMPT TO POST LINK TO THAT WAREZ TORRENT SITE ** directory structure yet?
Well, about a week ago they changed the string that denotes the start of a new item to the script..
Change:
line#85 tntnum = string.count(tntstring, 'at(')
to         tntnum = string.count(tntstring, 'at2(')
line#93 fieldstart = string.find(tntstring, 'at(', fieldstart)
to         fieldstart = string.find(tntstring, 'at2(', fieldstart)
I've found the site to be unresponsive alot lately.  Its been up since about 2:00pm GMT-5h today.  Sorry if I didn't post this already, I thought I had.  BTW.  I'm guessing these changes will be common.  If you look in the torrentlist.htm file downloaded you can figure out any minor changes easily enough.
Logged
Pages: 1 ... 9 10 [11] 12