Looking for a little help please

Discussion in 'MediaPortal 1 Plugins' started by DJBlu, November 22, 2007.

  1. DJBlu

    DJBlu Portal Pro

    Joined:
    August 14, 2007
    Messages:
    1,670
    Likes Received:
    789
    Location:
    Llanelli
    Ratings:
    +894 / 1
    Home Country:
    United Kingdom United Kingdom
    I am currently developing another plugin,

    I have run into a brick wall and was wondering if when a movie/tv is playing is it possible to program a label to overlay the screen?

    I am a vb.net programmer but am able to convert c# code so if anybody has any samples or help then I would be very grateful.

    Thanks in advance.



    DJBlu
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Inker
    • Premium Supporter

    Inker Retired Team Member

    Joined:
    December 6, 2004
    Messages:
    2,055
    Likes Received:
    319
    Ratings:
    +319 / 0
    It should work, you'll have to modify the relevant skin xml (I believe its VideoFullscreen.xml) and include your visual elements and make sure they're set to invisible. Then, when its time to display it, your plugin will have to check if video/TV is playing, gui the guiwindow from the windows manager, get the control you added in the xmls from that and set its property to visible. Also you can either set the label directly in program, or use a tag (#myPlugin.whatever) in the skin, and then only set this tag (guiproperty) from your code.

    At least in theory this should work. BTW, what you trying to do?
     
  4. DJBlu

    DJBlu Portal Pro

    Joined:
    August 14, 2007
    Messages:
    1,670
    Likes Received:
    789
    Location:
    Llanelli
    Ratings:
    +894 / 1
    Home Country:
    United Kingdom United Kingdom
    I want to put a sports scores ticker(so when a team scores it pops up) at the bottom of the screen so I don't have to keep flicking back and forth.

    Many thanks for that m8.

    :D
     
  5. THDBASED

    THDBASED Portal Pro

    Joined:
    January 30, 2006
    Messages:
    469
    Likes Received:
    2
    Occupation:
    Student
    Ratings:
    +2 / 0
    Home Country:
    Belgium Belgium
    Excellent idea!! I like it could you make it international? :)
     
  6. DJBlu

    DJBlu Portal Pro

    Joined:
    August 14, 2007
    Messages:
    1,670
    Likes Received:
    789
    Location:
    Llanelli
    Ratings:
    +894 / 1
    Home Country:
    United Kingdom United Kingdom
    I am going to get it to work with the bbc website at the moment. However if you know of sites that have rss/xml sources or websites that can be ripped then let me know.
     
  7. THDBASED

    THDBASED Portal Pro

    Joined:
    January 30, 2006
    Messages:
    469
    Likes Received:
    2
    Occupation:
    Student
    Ratings:
    +2 / 0
    Home Country:
    Belgium Belgium
    I would but finding rss feads with the scores (real-time??) are hard to find...Could you point me to the BBC rss you found? Thx..
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!