[REQUEST] YAC Caller-ID (Script) for XBMC? - YAC Caller ID Listener and Notifcations
#16
this sounds very interesting.

gonna give it a look over :p

gonna look for autorun.py but incase i dont find it can
anyone tell me where it is.
*edit*
nvm first thing i tryed worked.
created autoexec.py under scripts folder with the auto code in
*edit*
also instead of xbmcgui.dialog()
is there a xlinkkai dialog function ??
-xbox v1.4 with samsung dvd-drive
-40 gb
-xecuter 2.3 pro
-evox m8+ bios (customized)
-xbmc as dash
-src-3000 remote
Reply
#17
(breaker @ dec. 18 2004,18:40 Wrote:this sounds very interesting.

gonna give it a look over :p

gonna look for autorun.py but incase i dont find it can
anyone tell me where it is.
*edit*
nvm first thing i tryed worked.
created autoexec.py under scripts folder with the auto code in
*edit*
also instead of xbmcgui.dialog()
is there a xlinkkai dialog function ??
i don't know if there is an xlink kai dialog , are you going to try to work on it too breaker?-matt
Reply
#18
ive been working on it last night but as i dont use python Confused
some functions are taking longer to find.
also in order to put any output to xbmc there has
to be a function in "import xbmc, xbmcgui"

checking the forums a plan has been made to create an
"over movie dialog box"

a great site that documents the current functions in these librarys:
http://members.cox.net/alexpoet/downloads/
-xbox v1.4 with samsung dvd-drive
-40 gb
-xecuter 2.3 pro
-evox m8+ bios (customized)
-xbmc as dash
-src-3000 remote
Reply
#19
ive got a working prototype here:
http://codmodlink.co.uk/xbmc/yac.py

it shows the call alert above a movie.

at the moment it is run once only as the port freezes after
being run and doents reset after being run.

also the notice is full screen (any help on how to change to make little popup like messenger would be appricated)

and any button exit (only back on the controller at the mo)

-breaker
-xbox v1.4 with samsung dvd-drive
-40 gb
-xecuter 2.3 pro
-evox m8+ bios (customized)
-xbmc as dash
-src-3000 remote
Reply
#20
yea breaker, i don't know anything about python which is why i tried to get people interested in re-doing the script. post your questions in the python developers section of the forum, they'll be a lot more help than me....as luck would have it a storm fried my voice modem, so i couldn't use yac anymore. so, i got an older voice modem hanging around but it only works with with win98. so, i was happy, but then i realized yac server only runs w/ win2k and above!!!! my luck sucks, and i want to try your script...from your description it sounds like your making progress...i understand your trying to get the number to pop up in a little box much like xlink kai's voice message...check out the python's developers forum cuz your script sounds good so far


-matt
Reply
#21
well i got as far as it is stable and works over media.
but it displays a black screen with info.
waiting on some help to see if i can continue.

updated on website
http://www.codmodlink.co.uk/xbmc/yac.py

/fyi
there is a test funtion in yac.
go to choose listener screen and click on send test message

- breaker
-xbox v1.4 with samsung dvd-drive
-40 gb
-xecuter 2.3 pro
-evox m8+ bios (customized)
-xbmc as dash
-src-3000 remote
Reply
#22
(breaker @ dec. 19 2004,14:41 Wrote:well i got as far as it is stable and works over media.
but it displays a black screen with info.
waiting on some help to see if i can continue.

updated on website
http://www.codmodlink.co.uk/xbmc/yac.py

/fyi
there is a test funtion in yac.
go to choose listener screen and click on send test message

- breaker
ohhh i completely forgot about the test function....awesome, now i can try out your script....i'll do it once i get back to my xbox in a couple of days. i noticed you posted in the python dev's forum....i'm hoping someone will answer you cuz i wanna know if it's possible.....man this script is gonna be great, i know everyone who comes over to my house for christmas are gonna have a ton of questions of how i got a media center for only $100 let alone getting caller id on a tv....i wonder how my mykroft is coming along on his script, i hope he didn't drop it

-matt
Reply
#23
i did a search and couldnt find any related questions but im gonna try and find out other ways to do it.

hard i havent done any python before this the indentation is wierd
wish it was php can do almost anything on php :d


oh well back to searching :veryangry:
-xbox v1.4 with samsung dvd-drive
-40 gb
-xecuter 2.3 pro
-evox m8+ bios (customized)
-xbmc as dash
-src-3000 remote
Reply
#24
i can't believe no one has responded to your question in the python dev forum. maybe you should try posting again but with more description like "how to copy xlink kai dialog/notification popup box"

maybe that'll get more answers. at this point i know you're trying to create a popup box that doesn't take up the whole screen, but i was wondering what else you have in mind of adding?
Reply
#25
i´ve been looking at the code and made som changes so the number just shows for 4 seconds then disapears if you use a new compiled cvs then will the dialog box show even in videos.. (thanks to the great programmers of xbmc!Wink
/djpidde



##################################################################
# basic yac listener
# xbox code by [email="[email protected]"][email protected][/email]
# code change by djpidde
# version = 1.1
##################################################################

import socket
import xbmc, xbmcgui, time

host = '' # symbolic name meaning the local host
port = 10629 # arbitrary non-privileged port
s = socket.socket(socket.af_inet, socket.sock_stream)
s.bind((host, port))
while 1:
s.listen(1)
conn, addr = s.accept()
while 1:
data = conn.recv(1024)
lengthmsg = len(data)
if lengthmsg > 1:
print data
dialog = xbmcgui.dialogprogress()
dialog.create("message for you!", str(data) )
time.sleep(4)
dialog.close()
if not data: break
conn.close()
Reply
#26
nice dj, now i have two yac scripts to try out when i get home...the more people working on this the better


-matt
Reply
#27
thanks djpidde,

once i cleaned up the indenting, it worked like a charm. popped up a nice little window during movie playback and everything.

Quote:##################################################################
# basic yac listener
# xbox code by [email="[email protected]"][email protected][/email]
# code change by djpidde
# version = 1.1
##################################################################

import socket
import xbmc, xbmcgui, time

host = '' # symbolic name meaning the local host
port = 10629 # arbitrary non-privileged port
s = socket.socket(socket.af_inet, socket.sock_stream)
s.bind((host, port))
while 1:
s.listen(1)
conn, addr = s.accept()
while 1:
data = conn.recv(1024)
lengthmsg = len(data)
if lengthmsg > 1:
print data
dialog = xbmcgui.dialogprogress()
dialog.create("incoming message", str(data) )
time.sleep(4)
dialog.close()
if not data: break
conn.close()

i just switched over my home automation setup to use yac for messaging (callerid, weather warnings etc.). now they'll show up on the xbox as well as every other pc in the house. cool Cool
cheers,

crazyivan
Reply
#28
(matt11601 @ dec. 19 2004,23:47 Wrote:
(breaker @ dec. 19 2004,14:41 Wrote:well i got as far as it is stable and works over media.
but it displays a black screen with info.
waiting on some help to see if i can continue.

updated on website
http://www.codmodlink.co.uk/xbmc/yac.py

/fyi
there is a test funtion in yac.
go to choose listener screen and click on send test message

- breaker
ohhh i completely forgot about the test function....awesome, now i can try out your script....i'll do it once i get back to my xbox in a couple of days. i noticed you posted in the python dev's forum....i'm hoping someone will answer you cuz i wanna know if it's possible.....man this script is gonna be great, i know everyone who comes over to my house for christmas are gonna have a ton of questions of how i got a media center for only $100 let alone getting caller id on a tv....i wonder how my mykroft is coming along on his script, i hope he didn't drop it

-matt
i have not droped it - just been working 14+ hr days trying to get movie theater remodel finished for opening this wed. after that i will have alot more time to spend on it.

myk
Reply
#29
(matt11601 @ dec. 20 2004,20:47 Wrote:i can't believe no one has responded to your question in the python dev forum.  maybe you should try posting again but with more description like "how to copy xlink kai dialog/notification popup box"

maybe that'll get more answers.  at this point i know you're trying to create a popup box that doesn't take up the whole screen, but i was wondering what else you have in mind of adding?
how about something like this?

progdialog = xbmcgui.dialogprogress()
progdialog.create("caller id","text here")

##### processing in here #####

progdialog.close()

this creates a semi-transparent window in the middle of the screen.

i know there are more options you can pass to dialogprogress() but i dont have that in front of me at the moment.

# edit - didnt see the post with the dialog above - sorry

myk
Reply
#30
good to hear from you again mykroft, you guys should create a team or something and work on yac, a semi-transparent window sounds really nice


-matt
Reply

Logout Mark Read Team Forum Stats Members Help
[REQUEST] YAC Caller-ID (Script) for XBMC? - YAC Caller ID Listener and Notifcations0