XBMC-JSON an open source .NET XBMC JSON-RPC Library

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Tinototem Offline
Junior Member
Posts: 5
Joined: Jan 2011
Reputation: 0
Post: #21
Hello

Am i blind or stupid or maybe both? but i just cant manage to find a download link for the whole solution. I am not really in the mood to download each separate file and then create a own solution.

I got a question regarding the ASYNC project, is it possible to make the XDataReceived generic?

So we don't need to cast our data.
find quote
dstruktiv Offline
Member
Posts: 66
Joined: Jul 2010
Reputation: 0
Location: New Zealand
Post: #22
Tinototem Wrote:Hello

Am i blind or stupid or maybe both? but i just cant manage to find a download link for the whole solution. I am not really in the mood to download each separate file and then create a own solution.

I got a question regarding the ASYNC project, is it possible to make the XDataReceived generic?

So we don't need to cast our data.

There is no solution file for the sync and async projects combined - They're two completely independent projects with different code bases.

There is however a solution file for the async project and the sync project individually under their respective directories so I'm not sure what you mean about downloading individual files and creating a solution?

I've actually struggled to wrap my head around how best to handle the usercallbacks to they don't have to cast the response object, add me on Google talk (tyler@digitalreality.co.nz) so we can talk about it Smile

XBMC Remote7 an XBMC library browser/remote for Windows Phone 7.
Xbmc-Json a .NET XBMC JSON API Library.
Xbmc-Remote-Control a .NET based XBMC library browser and remote for Windows, Linux and OS X.
find quote
grimstoner Offline
Junior Member
Posts: 9
Joined: Dec 2010
Reputation: 0
Post: #23
I can't seem to get the async fx to connect to my XBMC instance...

When using the sample application, the EventListener connects fine, I get event notifications and everything. But the json requests all fail, throwing System.Net.WebExceptions ((404) Not found).

I've turned on all the settings in XBMC (allow control of xbmc via upnp etc.), and I'm sure the username/password combo is correct. Turned off Windows Firewall as well. Anything else I can check?

Which brings me to a suggestion... Is there a way to determine whether the XConnection is connected? Maybe a ping/pong message as soon as you connect?
find quote
grimstoner Offline
Junior Member
Posts: 9
Joined: Dec 2010
Reputation: 0
Post: #24
eh... port 8080 was in use by summing else...
find quote
dstruktiv Offline
Member
Posts: 66
Joined: Jul 2010
Reputation: 0
Location: New Zealand
Post: #25
grimstoner Wrote:Which brings me to a suggestion... Is there a way to determine whether the XConnection is connected? Maybe a ping/pong message as soon as you connect?

Glad you got it sorted, I think I'll add an event to XConnection so you can monitor the connection status Smile

XBMC Remote7 an XBMC library browser/remote for Windows Phone 7.
Xbmc-Json a .NET XBMC JSON API Library.
Xbmc-Remote-Control a .NET based XBMC library browser and remote for Windows, Linux and OS X.
find quote
Tinototem Offline
Junior Member
Posts: 5
Joined: Jan 2011
Reputation: 0
Post: #26
dstruktiv Wrote:There is no solution file for the sync and async projects combined - They're two completely independent projects with different code bases.

There is however a solution file for the async project and the sync project individually under their respective directories so I'm not sure what you mean about downloading individual files and creating a solution?

I've actually struggled to wrap my head around how best to handle the usercallbacks to they don't have to cast the response object, add me on Google talk (tyler@digitalreality.co.nz) so we can talk about it Smile
I am not talking about a solution for async and sync project together, i am trying to download the async project but i only manage to find a download link for each individual file.

Do i need some kind of third part program to link with google code?

Edit: Got it working now.
(This post was last modified: 2011-01-08 20:23 by Tinototem.)
find quote
dstruktiv Offline
Member
Posts: 66
Joined: Jul 2010
Reputation: 0
Location: New Zealand
Post: #27
Tinototem Wrote:I am not talking about a solution for async and sync project together, i am trying to download the async project but i only manage to find a download link for each individual file.

Do i need some kind of third part program to link with google code?

Edit: Got it working now.

It's an SVN repository, I suggest using Tortoise SVN if you're on Windows Smile

XBMC Remote7 an XBMC library browser/remote for Windows Phone 7.
Xbmc-Json a .NET XBMC JSON API Library.
Xbmc-Remote-Control a .NET based XBMC library browser and remote for Windows, Linux and OS X.
(This post was last modified: 2011-01-09 00:43 by dstruktiv.)
find quote
grimstoner Offline
Junior Member
Posts: 9
Joined: Dec 2010
Reputation: 0
Post: #28
Did a bit of work... have a look, lemme know.
find quote
dstruktiv Offline
Member
Posts: 66
Joined: Jul 2010
Reputation: 0
Location: New Zealand
Post: #29
grimstoner Wrote:Did a bit of work... have a look, lemme know.

Looks awesome good stuff Smile

I'm not positive but it looks like you may have missed a few files on your last commit - XSystem, XVideoPlayer etc.

XBMC Remote7 an XBMC library browser/remote for Windows Phone 7.
Xbmc-Json a .NET XBMC JSON API Library.
Xbmc-Remote-Control a .NET based XBMC library browser and remote for Windows, Linux and OS X.
find quote
grimstoner Offline
Junior Member
Posts: 9
Joined: Dec 2010
Reputation: 0
Post: #30
Added them now. Used to TFS, not Subversion...
find quote
Post Reply