2010-07-06, 16:27
You may need to go into Settings -> Network and tell it to allow remote apps/machines to control XBMC
ClayM Wrote:You may need to go into Settings -> Network and tell it to allow remote apps/machines to control XBMC
Kabooga Wrote:Make sure the port is included in the ip address.
ex: 192.168.1.122:80
Bram77,
I'm thinking of adding the JSON RPC API support (as it is so far) to XBMControl. Do you have any thoughts or reservations about this?
Cheers,
Kabooga
clutch Wrote:hi there.
I run this program on Windows 7 /32bit
The program always works fine the first time executing it, but the second time it executes it always crashes. It then always crashes. However if I copy the .exe to a new location/dir it works again once. It pops up with configuration alternatives and when configured, it works.
what can be the cause of this strange behaviour? where is the config stored?
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentOutOfRangeException: Value of '-2147483648' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.
Parameter name: Value
at System.Windows.Forms.TrackBar.set_Value(Int32 value)
at XBMControl.MainForm.UpdateData()
at XBMControl.ConfigurationF1.ConfigurationF1_FormClosed(Object sender, FormClosedEventArgs e)
at System.Windows.Forms.Form.WmClose(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4952 (win7RTMGDR.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
XBMControl
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/XBMControl3/XBMControl.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
languageFile
{Document}
base {System.Xml.XmlNode}: {Document}
BaseURI: ""
DocumentElement: {Element, Name="language"}
DocumentType: null
Implementation: {System.Xml.XmlImplementation}
InnerXml: "<language><mainform><connection><none>Can't connect with XBMC</none></connection><label><artist>artist</artist><title>title</title><album>album</album></label><playing><nothing>No media playing</nothing><now>Now playing </now><paused>Playback paused</paused></playing><dialog><lastfmLoveTitle>Last.FM Love track</lastfmLoveTitle><lastfmLove>This will add the currently playing track to your personal 'Loved tracks' on Last.FM.\\n\\nAre you sure you want to do this?</lastfmLove><lastfmHateTitle>Last.FM Hate track</lastfmHateTitle><lastfmHate>This will add the currently playing song to your 'Banned tracks' list.\\nThe song will never be played again when listening to Last.FM streamed radio.\\n\\nAre you sure you want to do this?</lastfmHate><ipNotConfiguredTitle>No ip address configured</ipNotConfiguredTitle><ipNotConfigured>The configuration form will allow you to configure XBMControl.</ipNotConfigured><unableToConnectTitle>Can't connect with XBMC</unableToConnectTitle><unableToConnect>Please make su
re XBMC is running and the ip address is correct.</unableToConnect><proceedMessage>Are you sure you want to proceed?</proceedMessage></dialog></mainform><configuration><title>Configuration</title><label><language>language</language><ip>ip address</ip><username>username</username><password>password</password><showInTray>Show in systemtray</showInTray><showInTaskbar>Show in taskbar</showInTaskbar><showNowPlayingBalloonTip>Show 'Now playing' balloon tips</showNowPlayingBalloonTip><showPlayStatusBalloonTip>Show play staus balloon tips</showPlayStatusBalloonTip><showPlayStatusWindow>Show play status window</showPlayStatusWindow><showConnectionStatusBalloonTip>Show connection status balloon tips</showConnectionStatusBalloonTip><runAtStartup>Run at windows startup</runAtStartup><startMinimized>Start application minimized</startMinimized><connectionTimeout>Connetion timeout</connectionTimeout><showConfigurationAtStart>Show this screen at startup</showConfigurationAtStart></label><language><noLanguages>No language file
s found</noLanguages></language><ipAddress><required>Entering a valid ip address is mendatory</required><invalid>Can't connect with the current ip address</invalid><proceedMessage>Are you sure you want to proceed?</proceedMessage></ipAddress></configuration><contextMenu><controls><title>Controls</title><previous>Previous</previous><play>Play</play><pause>Pause</pause><stop>Stop</stop><next>Next</next><mute>Mute</mute></controls><xbmc><title>XBMC</title><sendMediaUrl>Send media url</sendMediaUrl><showScreenshot>Show screenshot</showScreenshot><reboot>Reboot Computer</reboot><restart>Restart XBMC</restart><shutdown>Shutdown</shutdown></xbmc><saveMedia>Save media</saveMedia><show>Show</show><hide>Hide</hide><configure>Configure</configure><exit>Exit</exit></contextMenu><global><appName>XBMControl</appName><button><confirm>OK</confirm><cancel>Cancel</cancel></button></global></language>"
IsReadOnly: false
LocalName: "#document"
Name: "#document"
NameTable: {System.Xml.NameTable}
NodeType: Document
OwnerDocument: null
ParentNode: null
PreserveWhitespace: false
SchemaInfo: {System.Xml.Schema.XmlSchemaInfo}
Schemas: {System.Xml.Schema.XmlSchemaSet}
clutch Wrote:hi there.
I run this program on Windows 7 /32bit
The program always works fine the first time executing it, but the second time it executes it always crashes. It then always crashes. However if I copy the .exe to a new location/dir it works again once. It pops up with configuration alternatives and when configured, it works.
what can be the cause of this strange behaviour? where is the config stored?