|
Kinsky PDA + Popcorn hour A100
|
|
2009-06-26, 10:18
Post: #1
|
|||
|
|||
|
Kinsky PDA + Popcorn hour A100
Hi,
I am trying to control Popcorn with Kinsky PDA (for listening music when TV is switched off). Unfortunately all the compiled builds do not work for me(*). I’m C++ developer so I hope I will be able to manage C# and to make some fixes as well …… I’ve tried RudeoControl, an unsuitable PDA application, which works with Popcorn. So I have the evidence Popcorn is uPnP capable at least. For now I’m able to build Kinsky PDA from svn. Could you please advise me which part/family of the application I should investigate first? For now I have very weak orientation in the source. Thank you in advance, Serge (*) Cara (KinskyPDA 3.1) can not find the device Bute (KinskyPDA 2.1) finds the device but can not show playlist. |
|||
|
2009-07-02, 15:28
Post: #2
|
|||
|
|||
RE: Kinsky PDA + Popcorn hour A100
Serge Wrote:Hi, Hi Serge, KinskyPda 2.1.1 should work with all Upnp/AV media renderers. KinskyPda will not be able to show a media renderer's playlist, unless it was build using KinskyPda, however it should display the current track on the Now Playing screen... Can you give me some more details about how KinskyPda 2.1.1 is interacting with your Popcorn hour? If you are interested in helping out with testing and developing KinskyPda's Upnp/AV media renderer capabilities I would suggest that you do this with our mainline code, i.e. http://oss.linn.co.uk/repos/Main Can you provide me with some further information about what is happening using KinskyPda 3.1.4? Have a look in the debug console (context menu->Debug) and see there are any relevant messages about your Popocorn hour. David |
|||
|
2009-07-07, 09:27
Post: #3
|
|||
|
|||
|
RE: Kinsky PDA + Popcorn hour A100
David,
Thank you for the reply. >KinskyPda 2.1.1 should work. But it did not. I’ve made a patch and now it does. I just had to patch all the places where “DIDL-Lite” response is parsed. Something like the below (adding the slash at the end) if (result.Contains("xmlns=\"urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/") == false) { result = result.Replace("xmlns=\"urn:schemas-upnp-org:metadata-1-0/DIDL-Lite", "xmlns=\"urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"); }; After that it started working. The current play time is not correct seems, however I did not test in full (only launched on the device emulator once or twice). Regarding 3.1 3.1.4 crashes System.Net.ProtocolViolationException was unhandled Message="This operation cannot be performed after the request has been submitted." StackTrace: at System.Net.HttpWebRequest.startGetResponse() at System.Net.HttpWebRequest.GetResponse() at Linn.ControlPoint.Upnp.DeviceUpnp.OpenResponse(IAsyncResult aResult) at System.Net.LazyAsyncResult.InvokeCallback(Boolean asyncCompletion, Object result) at System.Net.HttpWebRequest.asyncGetResponse(Object asyncResult) at System.Threading.ThreadPool.WorkItem.doWork(Object o) at System.Threading.Timer.ring() The first crash was timeout related, I tried to increase kDeviceXmlTimeout, anyway it crashes 3.1.2 behavior is a bit different. It does not see the devices (I tried XBMC 9 and Popcorn) The debug pane shows “device.udn{….“ but nothing more, anyway the app does not show the “found” devices anywhere I will try further. But your suggestions will be definitely helpful, as I have a very limited impression regarding uPnP architecture and can not still perceive the entire product class structure. Moreover it’s the first serious C# program I have ever tried to “dig”. Yours, Serge |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)
Search
Member List
Calendar
Help


