XBMC Community Forum
Python MSN messenger - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Python Add-on Development (/forumdisplay.php?fid=26)
+--- Thread: Python MSN messenger (/showthread.php?tid=2826)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17


- TheChad - 2006-01-09 12:32

why not only refresh the list if something has changed that way it wll only boot back to the top if something actually happens.


- diagdave@msn.com - 2006-01-09 13:13

it works alot like emessenger in that u can only view one conv at a time, n u switch via the user the user list, and so the list needs to update to let u know u have new messages etc i was gona have it so that if u have the user list selected n ur 'scolling' through it won't update. but might confuse people n wonder y its not updating.


- C-Quel - 2006-01-09 15:24

it's on the move again Smile

i'd be more than happy to help with gui dave...

pm me and ill get on with it asap.


- diagdave@msn.com - 2006-01-09 15:38

ive kinda promised my gf she can do it but im working on making it skinable so after i have you can all make you own skins :lol:


- C-Quel - 2006-01-09 15:41

thats fine... well however i can help i will do... i have some python knowledge so i might even be able to help there im here if you need me dave Smile all the best!


- diagdave@msn.com - 2006-01-10 20:11

has anyone actualy ever made a skin script/module for xbmc. ive made one that reads a xml file in the format below:

Quote:<?xml version="1.0" ?>
<skin id="msn">
      <item name="background" type="controlimage" location="[0,0,w,h]" path="noon_sky.bmp"></item>
      <item name="login" type="controlbutton" location="[6,5,140,30]" label="login"></item>
      <item name="send" type="controlbutton"  location="[146,5,140,40]" label="send message"></item>
      <item name="mystate" type="controllabel"  location="[246,105,140,40]" label="online?"></item>
      <item name="contactname" type="controllabel" location="[246,105,140,40]" label="current con"></item>
      <item name="contacttyping" type="controllabel"  location="[246,105,140,40]" label="current typing"></item>
      <item name="thred" type="controlbutton" location="[146,5,140,30]" label="start threads"></item>
      <item name="msgbox1" type="controltextbox" location="[410,150,300,300]" font="font13" textcolor="0xffff3300"></item>
      <item name="userlist1" type="controllist" location="[50,50,200,400]"></item>
      <move name="login" onup="" ondown="" onleft="" orright=""></move>
      <focus name="login"></focus>

      <group  id="test" item="thred"></group>
      <group id="test" item="login"></group>


</skin>
you can call it in your window with skin.skin(self, "pathofscript", "skinname.xml")

or you can hide groups using skin.hidegroup(self, "groupname")
or make them visable with skin.viewgroup(self, "groupname")
is this something you think people would want?


- C-Quel - 2006-01-10 20:13

nice idea... noticed it relates to your msnscript Smile looking forward to seeing that...


- diagdave@msn.com - 2006-01-10 20:16

well its all working at the mo with the skin file just made alot of changed i actualy need to test on the box, im at work at the mo. but it means you can add as many pics/labels you want to the skin and have the ones set for the program in too and it will add it too the screen. the groups are for menus like state menus/files menus where you might want frame/pictures to show wen you go into the menu


- C-Quel - 2006-01-10 20:21

well i think its a simple yet extremely good idea and makes modification or even skinning from scratch a skin much easier.

p.s.

would like to see a working version of msnscript if you have one avail to beta would save me a lot of hassle waiting to speak to contacts and constantly running up and downstairs to see if they are online. if so pm me @ 'deanrparry@ntlworld.com'


- diagdave@msn.com - 2006-01-10 20:35

still in alpha stage, depending on how tests go tonight with the changes ive made it might b ready for thursday i think. i wana add alot of things i had on my buggy version. like nick name auto change to "nickname -- current media name" or i had "nickname -- time logged in" and time last online.