autoplay udp stream - Printable Version +- Forum (http://forum.xbian.org) +-- Forum: Software (/forum-6.html) +--- Forum: Others (/forum-24.html) +--- Thread: autoplay udp stream (/thread-407.html) |
autoplay udp stream - sandoz - 5th Feb, 2013 06:04 PM i am looking for a solution to autoplay udp streams a raspberry pi receives: i have a udp stream created with a h264 dedicated internet streamer from various lovcations. It produces an udp stream. I want the rpi to listen on a certain port 24/7 for an incoming stream, and then start to play that stream when it receives something. Anyone got a clue how to make this work? RE: autoplay udp stream - belese - 5th Feb, 2013 09:30 PM Hi, You have to do a python service to achieve this. it will wait on the stream, when stream is available, start the stream with xbmc.Player().play(url) XBMC itself cannot do this. Belese RE: autoplay udp stream - sandoz - 6th Feb, 2013 01:57 AM hmm, i have 0 experience with python RE: autoplay udp stream - belese - 6th Feb, 2013 02:19 AM time to learn :-) Not really hard to do something like this. and python is quite easy. RE: autoplay udp stream - sandoz - 6th Feb, 2013 04:06 AM can you help me get started? RE: autoplay udp stream - belese - 6th Feb, 2013 04:36 AM never do a udp connection but on google : http://stackoverflow.com/questions/2663247/getting-a-udp-socket-program-in-python-to-accept-messages-from-a-syslog-client. and for xbmc service : http://wiki.xbmc.org/index.php?title=How-to:Automatically_start_addons_using_services But have lot of work now, so can't look deeper, but if you have specific question, i can try to answer. Re: autoplay udp stream - BartOtten - 6th Feb, 2013 04:50 AM This is a personal request and opinion: please do not disturb Belese too much as he is busy with a very important part of XBian Alpha 5. We can't release without it so every delay of his work hurts XBian. Alternatives: #python at freenode #xbmc-scripting at freenode RE: autoplay udp stream - belese - 6th Feb, 2013 05:14 AM thanks barttoten, but i'ts ok, i'm at work so can't develop the addon. But can't do all the job. RE: autoplay udp stream - sandoz - 6th Feb, 2013 07:29 PM ok, ill ask later again |