XBMC Community Forum  

Go Back   XBMC Community Forum > Development > Plugin/Script (Python) Development

Plugin/Script (Python) Development Developers forum for XBMC Python Plugins/Scripts. Scripters/coders only!
Not for posting feature requests, bugs, or end-user support requests!

Reply
 
Thread Tools Search this Thread Display Modes
Old 2003-10-07, 20:17   #1
Blackbelt
Junior Member
 
Join Date: Oct 2003
Location: North Carolina
Posts: 4
Blackbelt is on a distinguished road
Default

i noticed that a ported version of python is included in the xbmc source. this is great as python is a simple and powerful object oriented scripting language. so how is python used by xbmc? are scripts used as a part of the application or is the intent only to execute external utility scripts?

the ability to tweak scripts and see the results without recompiling and downloading to the xbox would sure be nice...
Blackbelt is offline   Reply With Quote
Old 2003-10-08, 01:51   #2
Hullebulle
Fan
 
Join Date: Sep 2003
Posts: 1,972
Hullebulle is on a distinguished road
Default

you can select the scripts like a program or movie and start it.

too bad that i have no idea of python.
__________________
read the xbmc online-manual, faq and search the forums before posting! do not e-mail the xbmc-team asking for support!
read/follow the forum rules! note! team-xbmc never have and never will host or distribute ms-xdk binaries/executables!
Hullebulle is offline   Reply With Quote
Old 2003-10-08, 19:51   #3
Zealot
Junior Member
 
Join Date: Oct 2003
Location: Ottawa, Ontario
Posts: 7
Zealot is on a distinguished road
Send a message via ICQ to Zealot Send a message via AIM to Zealot Send a message via MSN to Zealot Send a message via Yahoo to Zealot
Default

i'm really wondering the same thing. i've looked through the forums and docs on the xbmp site, and i couldn't find a definite answer.

does xbmc have a full embedded python interpreter, or is it a limited set of functionality? is there socket support? like, would i be able to build a web service / client in python?
Zealot is offline   Reply With Quote
Old 2003-10-08, 21:36   #4
Hullebulle
Fan
 
Join Date: Sep 2003
Posts: 1,972
Hullebulle is on a distinguished road
Default

Quote:
does xbmc have a full embedded python interpreter, or is it a limited set of functionality?
full

Quote:
is there socket support?
yes

Quote:
like, would i be able to build a web service / client in python?
yes



__________________
read the xbmc online-manual, faq and search the forums before posting! do not e-mail the xbmc-team asking for support!
read/follow the forum rules! note! team-xbmc never have and never will host or distribute ms-xdk binaries/executables!
Hullebulle is offline   Reply With Quote
Old 2003-10-09, 13:33   #5
burriko
Senior Member
 
Join Date: Oct 2003
Posts: 199
burriko is on a distinguished road
Default

can any of the devs give a bit more info on this? as it sounds very interesting.
how do the scripts interact with xbmc? how exactly do you execute scripts? i tried selecting a small test script in xbmc, but it didn't seem to have any effect.
burriko is offline   Reply With Quote
Old 2003-10-10, 22:14   #6
windragz
Junior Member
 
Join Date: Oct 2003
Location: Australia
Posts: 17
windragz is on a distinguished road
Send a message via MSN to windragz
Default

a dream becomes to be a reality!!
yes, yes. i want develop some webservice, so dear python dev implementator tell us anything is possibile about this wonderful part

it's clear that i'm excited? :d
__________________
windragz
it difficult to break 2048 bit as try to find a sock at morning, it's just matter of time.
windragz is offline   Reply With Quote
Old 2003-10-15, 01:01   #7
burriko
Senior Member
 
Join Date: Oct 2003
Posts: 199
burriko is on a distinguished road
Default

Quote:
Originally Posted by (darkie @ oct. 13 2003,15:43)
currently i am buzy to integrate some xbmc stuff into xbmc, like a yes / no dialog and the progress dialog. for example, you could use the progress dialog when downloading a file from ftp so an user could see how long it takes before it would finish.
sounds good.
i was thinking about writing some python scripts to control a tivo over the network. just simple tasks such as deleting shows, etc. to complement duo's work on streaming video from tivo. i don't think it should be too difficult.
i would need python to be able to display a list of objects (in the same format as it displays a list of videos or mp3s would be great) in xbmc and then wait for the user to select one and pass the selected option on to the script. is that functionality likely to be available to python?
burriko is offline   Reply With Quote
Old 2003-10-15, 14:50   #8
Gamester17
Team-XBMC Project Manager
 
Gamester17's Avatar
 
Join Date: Sep 2003
Location: Sweden
Posts: 10,582
Gamester17 will become famous soon enough
Exclamation

Quote:
Originally Posted by (frodo @ oct. 15 2003,07:20)
things i would like 2 see for python:

1. bind a button control to a script. so pressing a button will run a script
a nice place for one of those buttons would be under the future tv-guide, user could link it to a grab tv listings script
__________________
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.
Gamester17 is offline   Reply With Quote
Old 2003-10-16, 20:47   #9
windragz
Junior Member
 
Join Date: Oct 2003
Location: Australia
Posts: 17
windragz is on a distinguished road
Send a message via MSN to windragz
Default

frodo, we are on the same page!!
__________________
windragz
it difficult to break 2048 bit as try to find a sock at morning, it's just matter of time.
windragz is offline   Reply With Quote
Old 2003-10-18, 21:10   #10
burriko
Senior Member
 
Join Date: Oct 2003
Posts: 199
burriko is on a distinguished road
Default

i just tested out a python script in xbmc that i wrote to delete a show from a networked tivo, and it worked great. it should be quite easy to add a lot of extra functionality to xbmc using python.
darkie, how exactly do you use the 4 dialogs that you've added so far? i can't find any example scripts or documentation.

thanks,
burriko.
burriko is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Python Development Tools and modules/libraries for XBMC Scripters (outdated) Alexpoet Plugin/Script (Python) Development 10 2006-10-03 15:05
Python Development Documentations (outdated) alx5962 Plugin/Script (Python) Development 18 2006-06-19 21:53
Python Interpreter Development "Python Inside" darkie Plugin/Script (Python) Development 42 2005-09-19 09:07
Dashboard development for .com or possible python CaVleX Plugin/Script (Python) Help and Support 0 2005-05-06 18:27
Python TV-Guide development? nlemoz Plugin/Script (Python) Development 13 2004-04-08 10:15


All times are GMT +2. The time now is 21:20.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project