View Single Post
Old 2008-04-06, 15:02   #5 (permalink)
hbe02
Portal Member
 
Join Date: Apr 2008
Posts: 26
Thanks: 2
Thanked 1 Time in 1 Post

Country:


Default

Thank guys!!! it worked!!
solis66, thanks for the feedback, i think making my program run as a process plugin sounds like a great idea. and would keep everything standardised in MP.
since i still didnt get into creating process plugins. i tried setting the thread as a background with:
thread.IsBackground = true;
worked perfectly fine, and i wish i would have known this property of threads like a year ago because ive had so much trouble terminating threads b4. thanks and-81
btw, let me explain what im doing. my plugin basically opens a TCP sockets and listens to it in the background waiting for a file path like C:\asong.mp3 .. and then plays it on MP player. well, so far this is what im trying to accomplish but i have a somehow bigger vision for it like networking or voice activation where i could use different languages to interact with that TCP socket, even from a webserver!
im still having trouble playing the music, but im putting that on a differnt thread :-)
hbe02 is offline   Reply With Quote