Question about Add-on script

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
unos2607 Offline
Junior Member
Posts: 18
Joined: Feb 2011
Reputation: 0
Question  Question about Add-on script Post: #1
Hey guys,

I want to make an add-on for XBMC by Python script. I have read the tutorial on the wiki. I'd like to ask if it is possible that I can make a GUI window in XBMC which 25% of this GUI screen will have the video screen - I mean 25% of the GUI will playing the video and the rest of the GUI window is to do other things (like a function button or something).
Is it possible to do it with python script add-on? Or do I have to do it through a patch?

Many thanks in advanced.
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,233
Joined: Nov 2003
Reputation: 82
Post: #2
yes, it's totally possible. just add a videocontrol control to your addon's skin and off you go.

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.
find quote
unos2607 Offline
Junior Member
Posts: 18
Joined: Feb 2011
Reputation: 0
Post: #3
Thanks for the fast reply Smile
I just found some example add-on to practice.
I'd like to consult you guys if I have further question. Thanks.
find quote
unos2607 Offline
Junior Member
Posts: 18
Joined: Feb 2011
Reputation: 0
Post: #4
Hi,

Can you show me in which way I can get the local videos playlist in XBMC?
I mean if I have some videos file in the video source, I want to get this list so I can play it in my add-on.

Thanks.
find quote
unos2607 Offline
Junior Member
Posts: 18
Joined: Feb 2011
Reputation: 0
Post: #5
Hi,

I have already succeeded with the window screen playback.
I used this in my xml skin

Code:
<control type="videowindow" id="2">
      <description>My first video control</description>
      <posx>80</posx>
      <posy>60</posy>
      <width>250</width>
      <height>200</height>
      <visible>true</visible>
</control>

What next I want to do is that I want to click on the window and switch it to full screen, the normal playback, can you show me how I can do that?

Thank you
find quote
unos2607 Offline
Junior Member
Posts: 18
Joined: Feb 2011
Reputation: 0
Post: #6
Nevermind, I solved it
find quote