Help with XBMC integration

Posted on
Sun Feb 28, 2016 3:33 pm
Korey offline
User avatar
Posts: 686
Joined: Jun 04, 2008
Location: Henderson, NV

Re: Help with XBMC integration

tenallero wrote:
HI,

Just published a new release for XBMC plugin.
Just fixing some bugs for the Kodi Add-on.

Remember that for this plugin .. don´t forget to install the Kodi add-on


Hi Ramon,

Getting this error now with V0.0.15

Code: Select all
Started plugin "XBMC 0.0.15"
  XBMC                            "Kodi - Theatre"  is on
  XBMC Error                      Kodi - Theatre: RPC API Error: {"error":{"code":-32601,"message":"Method not found."},"id":1,"jsonrpc":"2.0"}
  XBMC Error                      Error: global name 'indigoDevice' is not defined
  XBMC Error                      plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Started plugin "XBMC 0.0.15"

--
Korey

Posted on
Sun Feb 28, 2016 4:40 pm
tenallero offline
Posts: 94
Joined: Oct 31, 2011
Location: Barcelona

Re: Help with XBMC integration

Korey wrote:
tenallero wrote:
HI,

Just published a new release for XBMC plugin.
Just fixing some bugs for the Kodi Add-on.

Remember that for this plugin .. don´t forget to install the Kodi add-on


Hi Ramon,

Getting this error now with V0.0.15

Code: Select all
Started plugin "XBMC 0.0.15"
  XBMC                            "Kodi - Theatre"  is on
  XBMC Error                      Kodi - Theatre: RPC API Error: {"error":{"code":-32601,"message":"Method not found."},"id":1,"jsonrpc":"2.0"}
  XBMC Error                      Error: global name 'indigoDevice' is not defined
  XBMC Error                      plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Started plugin "XBMC 0.0.15"


Thanks Korey,

Can you put the plugin in debug mode? (plugin configuration. Debug = on)
And post the new log?

Posted on
Sun Feb 28, 2016 4:51 pm
Korey offline
User avatar
Posts: 686
Joined: Jun 04, 2008
Location: Henderson, NV

Re: Help with XBMC integration

tenallero wrote:

Thanks Korey,

Can you put the plugin in debug mode? (plugin configuration. Debug = on)
And post the new log?

Code: Select all
Started plugin "XBMC 0.0.15"
  XBMC Debug                      startup called
  XBMC Debug                      Local IP address: 192.168.0.4
  XBMC Debug                      Kodi - Korey MBP : Starting device
  XBMC Debug                      Kodi - Theatre: Starting device
  XBMC Debug                      XBMC - Bedroom CBUNTU: Starting device
  XBMC Debug                      XBMC - Theatre CBUNTU: Starting device
  XBMC Debug                      Starting listening socket on port 8189
  XBMC Debug                      Socket is open
  XBMC Debug                      Socket. received: <type>app</type><event>start</event> from: 192.168.0.4
  XBMC Debug                      Socket. Found XBMC device "Kodi - Theatre" for address 192.168.0.4
  XBMC                            "Kodi - Theatre"  is on
  XBMC Debug                      query  "Kodi - Theatre" version
  XBMC Debug                      Kodi - Theatre: sendRpcRequest
  XBMC Debug                      Kodi - Theatre: Request content: {"params": {"properties": ["version"]}, "jsonrpc": "2.0", "method": "Application.GetProperties", "id": 1}
  XBMC Error                      Kodi - Theatre: RPC API Error: {"error":{"code":-32601,"message":"Method not found."},"id":1,"jsonrpc":"2.0"}
  XBMC Error                      Error: global name 'indigoDevice' is not defined
  XBMC Error                      plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
  XBMC Debug                      Starting listening socket on port 8189
  XBMC Debug                      Socket is open
  XBMC Debug                      Socket. received: <type>menu</type><menu>video</menu> from: 192.168.0.4
  XBMC Debug                      Socket. Found XBMC device "Kodi - Theatre" for address 192.168.0.4
  XBMC Debug                      Socket. received: <type>player</type><event>onplaybackstarted</event><media>video</media><title>8 Mile</title> from: 192.168.0.4
  XBMC Debug                      Socket. Found XBMC device "Kodi - Theatre" for address 192.168.0.4
 

Feb 28, 2016, 2:46:06 PM
  XBMC Debug                      Socket. received: <type>player</type><event>onplaybackstopped</event><media>video</media><title>8 Mile</title> from: 192.168.0.4
  XBMC Debug                      Socket. Found XBMC device "Kodi - Theatre" for address 192.168.0.4
  XBMC Debug                      Socket. received: <type>menu</type><menu>home</menu> from: 192.168.0.4
  XBMC Debug                      Socket. Found XBMC device "Kodi - Theatre" for address 192.168.0.4
  XBMC Debug                      Socket. received: <type>app</type><event>quit</event> from: 192.168.0.4
  XBMC Debug                      Socket. Found XBMC device "Kodi - Theatre" for address 192.168.0.4
  XBMC Debug                      Received going to quit from "Kodi - Theatre
  XBMC                            "Kodi - Theatre"  is off

--
Korey

Posted on
Sun Feb 28, 2016 5:03 pm
tenallero offline
Posts: 94
Joined: Oct 31, 2011
Location: Barcelona

Re: Help with XBMC integration

Korey,

A new plugin relase on github.
No changes for the kodi-addon from v.0.0.15
Only for the Indigo plugin.

Put in debug mode and post the log.

Thanks in advance

Posted on
Sun Feb 28, 2016 5:17 pm
Korey offline
User avatar
Posts: 686
Joined: Jun 04, 2008
Location: Henderson, NV

Re: Help with XBMC integration

tenallero wrote:
Korey,

A new plugin relase on github.
No changes for the kodi-addon from v.0.0.15
Only for the Indigo plugin.

Put in debug mode and post the log.

Thanks in advance


Still seeing : XBMC Error Kodi - Theatre: RPC API Error: {"error":{"code":-32601,"message":"Method not found."},"id":1,"jsonrpc":"2.0"}

Code: Select all
 Upgrading plugin "XBMC" to newer version 0.0.16 (previous version moved to trash)
  Loading plugin "XBMC 0.0.16"
  Starting plugin "XBMC 0.0.16" (pid 428)
  Started plugin "XBMC 0.0.16"
  XBMC Debug                      startup called
  XBMC Debug                      Local IP address: 192.168.0.4
  XBMC Debug                      Kodi - Korey MBP : Starting device
  XBMC Debug                      Kodi - Theatre: Starting device
  XBMC Debug                      Starting listening socket on port 8189
  XBMC Debug                      Socket is open
  XBMC Debug                      Socket. received: <type>app</type><event>start</event> from: 192.168.0.4
  XBMC Debug                      Socket. Found XBMC device "Kodi - Theatre" for address 192.168.0.4
  XBMC                            "Kodi - Theatre"  is on
  XBMC Debug                      query  "Kodi - Theatre" version
  XBMC Debug                      Kodi - Theatre: sendRpcRequest
  XBMC Debug                      Kodi - Theatre: Request content: {"params": {"properties": ["version"]}, "jsonrpc": "2.0", "method": "Application.GetProperties", "id": 1}
  XBMC Error                      Kodi - Theatre: RPC API Error: {"error":{"code":-32601,"message":"Method not found."},"id":1,"jsonrpc":"2.0"}
  XBMC Debug                      Switch off  "Kodi - Theatre" returned invalid reponse to request
  XBMC Debug                      Socket. received: <type>volume</type><volume>0</volume><muted>false</muted> from: 192.168.0.4
  XBMC Debug                      Socket. Found XBMC device "Kodi - Theatre" for address 192.168.0.4
  XBMC                            "Kodi - Theatre"  is on
  XBMC Debug                      query  "Kodi - Theatre" version
  XBMC Debug                      Kodi - Theatre: sendRpcRequest
  XBMC Debug                      Kodi - Theatre: Request content: {"params": {"properties": ["version"]}, "jsonrpc": "2.0", "method": "Application.GetProperties", "id": 2}
  XBMC Error                      Kodi - Theatre: RPC API Error: {"error":{"code":-32601,"message":"Method not found."},"id":2,"jsonrpc":"2.0"}
  XBMC Debug                      Switch off  "Kodi - Theatre" returned invalid reponse to request
  XBMC Debug                      Socket. received: <type>volume</type><volume>97</volume><muted>false</muted> from: 192.168.0.4
  XBMC Debug                      Socket. Found XBMC device "Kodi - Theatre" for address 192.168.0.4
  XBMC                            "Kodi - Theatre"  is on
  XBMC Debug                      query  "Kodi - Theatre" version
  XBMC Debug                      Kodi - Theatre: sendRpcRequest
  XBMC Debug                      Kodi - Theatre: Request content: {"params": {"properties": ["version"]}, "jsonrpc": "2.0", "method": "Application.GetProperties", "id": 3}
  XBMC Debug                      Kodi - Theatre: Response content: {"id":3,"jsonrpc":"2.0","result":{"version":{"major":16,"minor":0,"revision":"2016-02-20-a5f3a99","tag":"stable"}}}
  XBMC Debug                      "Kodi - Theatre" version is 16.0
  XBMC Debug                      Socket. received: <type>menu</type><menu>home</menu> from: 192.168.0.4
  XBMC Debug                      Socket. Found XBMC device "Kodi - Theatre" for address 192.168.0.4

Feb 28, 2016, 3:13:01 PM
  XBMC Debug                      Socket. received: <type>player</type><event>onplaybackstarted</event><media>video</media><title>Brooklyn</title> from: 192.168.0.4
  XBMC Debug                      Socket. Found XBMC device "Kodi - Theatre" for address 192.168.0.4

Feb 28, 2016, 3:13:17 PM
  XBMC Debug                      Socket. received: <type>player</type><event>onplaybackstopped</event><media>video</media><title>Brooklyn</title> from: 192.168.0.4
  XBMC Debug                      Socket. Found XBMC device "Kodi - Theatre" for address 192.168.0.4

Feb 28, 2016, 3:13:50 PM
  XBMC Debug                      Socket. received: <type>app</type><event>quit</event> from: 192.168.0.4
  XBMC Debug                      Socket. Found XBMC device "Kodi - Theatre" for address 192.168.0.4
  XBMC Debug                      Received going to quit from "Kodi - Theatre
  XBMC                            "Kodi - Theatre"  is off

Feb 28, 2016, 3:14:13 PM
  XBMC Debug                      Socket. received: <type>app</type><event>start</event> from: 192.168.0.4
  XBMC Debug                      Socket. Found XBMC device "Kodi - Theatre" for address 192.168.0.4
  XBMC                            "Kodi - Theatre"  is on
  XBMC Debug                      query  "Kodi - Theatre" version
  XBMC Debug                      Kodi - Theatre: sendRpcRequest
  XBMC Debug                      Kodi - Theatre: Request content: {"params": {"properties": ["version"]}, "jsonrpc": "2.0", "method": "Application.GetProperties", "id": 4}
  XBMC Error                      Kodi - Theatre: RPC API Error: {"error":{"code":-32601,"message":"Method not found."},"id":4,"jsonrpc":"2.0"}
  XBMC Debug                      Switch off  "Kodi - Theatre" returned invalid reponse to request
  XBMC Debug                      Socket. received: <type>volume</type><volume>0</volume><muted>false</muted> from: 192.168.0.4
  XBMC Debug                      Socket. Found XBMC device "Kodi - Theatre" for address 192.168.0.4
  XBMC                            "Kodi - Theatre"  is on
  XBMC Debug                      query  "Kodi - Theatre" version
  XBMC Debug                      Kodi - Theatre: sendRpcRequest
  XBMC Debug                      Kodi - Theatre: Request content: {"params": {"properties": ["version"]}, "jsonrpc": "2.0", "method": "Application.GetProperties", "id": 5}
  XBMC Error                      Kodi - Theatre: RPC API Error: {"error":{"code":-32601,"message":"Method not found."},"id":5,"jsonrpc":"2.0"}
  XBMC Debug                      Switch off  "Kodi - Theatre" returned invalid reponse to request
  XBMC Debug                      Socket. received: <type>volume</type><volume>97</volume><muted>false</muted> from: 192.168.0.4
  XBMC Debug                      Socket. Found XBMC device "Kodi - Theatre" for address 192.168.0.4
  XBMC                            "Kodi - Theatre"  is on
  XBMC Debug                      query  "Kodi - Theatre" version
  XBMC Debug                      Kodi - Theatre: sendRpcRequest
  XBMC Debug                      Kodi - Theatre: Request content: {"params": {"properties": ["version"]}, "jsonrpc": "2.0", "method": "Application.GetProperties", "id": 6}
  XBMC Debug                      Kodi - Theatre: Response content: {"id":6,"jsonrpc":"2.0","result":{"version":{"major":16,"minor":0,"revision":"2016-02-20-a5f3a99","tag":"stable"}}}
  XBMC Debug                      "Kodi - Theatre" version is 16.0
  XBMC Debug                      Socket. received: <type>menu</type><menu>home</menu> from: 192.168.0.4
  XBMC Debug                      Socket. Found XBMC device "Kodi - Theatre" for address 192.168.0.4
  XBMC Debug                      Socket. received: <type>menu</type><menu>video</menu> from: 192.168.0.4
  XBMC Debug                      Socket. Found XBMC device "Kodi - Theatre" for address 192.168.0.4
  XBMC Debug                      Socket. received: <type>menu</type><menu>home</menu> from: 192.168.0.4
  XBMC Debug                      Socket. Found XBMC device "Kodi - Theatre" for address 192.168.0.4
  XBMC Debug                      Socket. received: <type>menu</type><menu>settings</menu> from: 192.168.0.4
  XBMC Debug                      Socket. Found XBMC device "Kodi - Theatre" for address 192.168.0.4

Feb 28, 2016, 3:14:58 PM
  XBMC Debug                      Socket. Switch off  "Kodi - Theatre" by inactivity

--
Korey

Posted on
Sun Feb 28, 2016 5:32 pm
tenallero offline
Posts: 94
Joined: Oct 31, 2011
Location: Barcelona

Re: Help with XBMC integration

Korey,

Reading the log, I can see the error is raised when the plugin ask the release to Kodi.
I have commented this query.
A new release (0.0.17) is ready to download for the Plugin.
https://github.com/tenallero/Indigo-XBMC/releases/tag/v0.0.17

But it is strange, because I use Kodi 15.0 (Isengard) and 16.0 (Jarvis) as you ... and I don´t get this error.
I can see you have two Kodi devices.
The errors come from "Kodi - Theatre" in the same ip address than Indigo. Is this "Kodi - Theatre" on release 16.0?

Posted on
Sun Feb 28, 2016 5:51 pm
tenallero offline
Posts: 94
Joined: Oct 31, 2011
Location: Barcelona

Re: Help with XBMC integration

Korey,

Now I can see your "Kodi - Theater" is on release 16.0 (Jarvis)

Strange behaviour.
After the first and second request, Kodi answers that it does not understand the request.
{"error":{"code":-32601,"message":"Method not found."}

But, at the third time, Kodi understand the request and answer correctly
{"version":{"major":16,"minor":0,"revision":"2016-02-20-a5f3a99","tag":"stable"}}

Posted on
Sun Feb 28, 2016 6:17 pm
Korey offline
User avatar
Posts: 686
Joined: Jun 04, 2008
Location: Henderson, NV

Re: Help with XBMC integration

tenallero wrote:
Korey,

Reading the log, I can see the error is raised when the plugin ask the release to Kodi.
I have commented this query.
A new release (0.0.17) is ready to download for the Plugin.
https://github.com/tenallero/Indigo-XBMC/releases/tag/v0.0.17

But it is strange, because I use Kodi 15.0 (Isengard) and 16.0 (Jarvis) as you ... and I don´t get this error.
I can see you have two Kodi devices.
The errors come from "Kodi - Theatre" in the same ip address than Indigo. Is this "Kodi - Theatre" on release 16.0?



Looks like you fixed it!

Yes, Kodi - Theatre release V16

Thanks for all your work!





Code: Select all
Upgrading plugin "XBMC" to newer version 0.0.17 (previous version moved to trash)
  Loading plugin "XBMC 0.0.17"
  Starting plugin "XBMC 0.0.17" (pid 615)
  Started plugin "XBMC 0.0.17"
  XBMC Debug                      startup called
  XBMC Debug                      Local IP address: 192.168.0.4
  XBMC Debug                      Kodi - Korey MBP : Starting device
  XBMC Debug                      Kodi - Theatre: Starting device
  XBMC Debug                      Starting listening socket on port 8189
  XBMC Debug                      Socket is open
  XBMC Debug                      Socket. received: <type>app</type><event>start</event> from: 192.168.0.4
  XBMC Debug                      Socket. Found XBMC device "Kodi - Theatre" for address 192.168.0.4
  XBMC                            "Kodi - Theatre"  is on
  XBMC Debug                      Socket. received: <type>volume</type><volume>0</volume><muted>false</muted> from: 192.168.0.4
  XBMC Debug                      Socket. Found XBMC device "Kodi - Theatre" for address 192.168.0.4
  XBMC Debug                      Socket. received: <type>volume</type><volume>97</volume><muted>false</muted> from: 192.168.0.4
  XBMC Debug                      Socket. Found XBMC device "Kodi - Theatre" for address 192.168.0.4
  XBMC Debug                      Socket. received: <type>menu</type><menu>home</menu> from: 192.168.0.4
  XBMC Debug                      Socket. Found XBMC device "Kodi - Theatre" for address 192.168.0.4

Feb 28, 2016, 3:37:26 PM
  XBMC Debug                      Socket. received: <type>player</type><event>onplaybackstarted</event><media>video</media><title>Steve Jobs</title> from: 192.168.0.4
  XBMC Debug                      Socket. Found XBMC device "Kodi - Theatre" for address 192.168.0.4

Feb 28, 2016, 3:37:59 PM
  XBMC Debug                      Socket. Switch off  "Kodi - Theatre" by inactivity
  XBMC Debug                      Socket. received: <type>player</type><event>onplaybackstopped</event><media>video</media><title>Steve Jobs</title> from: 192.168.0.4
  XBMC Debug                      Socket. Found XBMC device "Kodi - Theatre" for address 192.168.0.4
  XBMC                            "Kodi - Theatre"  is on
  XBMC Debug                      Socket. received: <type>app</type><event>quit</event> from: 192.168.0.4
  XBMC Debug                      Socket. Found XBMC device "Kodi - Theatre" for address 192.168.0.4
  XBMC Debug                      Received going to quit from "Kodi - Theatre
  XBMC                            "Kodi - Theatre"  is off
Attachments
Screen Shot 2016-02-28 at 3.40.22 PM.PNG
Screen Shot 2016-02-28 at 3.40.22 PM.PNG (470.75 KiB) Viewed 3593 times

--
Korey

Posted on
Sun Feb 28, 2016 6:23 pm
tenallero offline
Posts: 94
Joined: Oct 31, 2011
Location: Barcelona

Re: Help with XBMC integration

Korey,

Thanks to you
Good night

Posted on
Mon Feb 29, 2016 2:47 am
jens offline
Posts: 265
Joined: May 03, 2015
Location: Sweden

Re: Help with XBMC integration

Someone with Kodi integration to work with Rpi ??

//Jens

Posted on
Mon Feb 29, 2016 2:50 am
tenallero offline
Posts: 94
Joined: Oct 31, 2011
Location: Barcelona

Re: Help with XBMC integration

jens wrote:
Someone with Kodi integration to work with Rpi ??

//Jens


Hi,

I am running OpenElec 6.0 on a RaspberryPi 2
Works ok with the Indigo Plugin.

Posted on
Mon Feb 29, 2016 3:07 am
jens offline
Posts: 265
Joined: May 03, 2015
Location: Sweden

Re: Help with XBMC integration

tenallero wrote:
jens wrote:
Someone with Kodi integration to work with Rpi ??

//Jens


Hi,

I am running OpenElec 6.0 on a RaspberryPi 2
Works ok with the Indigo Plugin.


Tanks for answer will try today :D

//Jens

Posted on
Mon Feb 29, 2016 12:04 pm
jens offline
Posts: 265
Joined: May 03, 2015
Location: Sweden

Re: Help with XBMC integration

tenallero wrote:
jens wrote:
Someone with Kodi integration to work with Rpi ??

//Jens


Hi,

I am running OpenElec 6.0 on a RaspberryPi 2
Works ok with the Indigo Plugin.


Do you have some install help to Pi 2 ?? :)

//Jens

Posted on
Mon Feb 29, 2016 1:07 pm
tenallero offline
Posts: 94
Joined: Oct 31, 2011
Location: Barcelona

Re: Help with XBMC integration

jens wrote:
tenallero wrote:
jens wrote:
Someone with Kodi integration to work with Rpi ??

//Jens


Hi,

I am running OpenElec 6.0 on a RaspberryPi 2
Works ok with the Indigo Plugin.


Do you have some install help to Pi 2 ?? :)

//Jens


Jens,

It is your first time with Raspberry Pi?
Do you have a minimum Linux shell knowledge?

First of all, you need to download to download an OpenElec image for raspberry Pi 2 (Must be for your PI2, not older Pi´s)
http://openelec.tv/get-openelec

Some wiki here:
http://wiki.openelec.tv/index.php/HOW-TO:Installing_OpenELEC/Creating_The_Install_Key#tab=DiskImage

You will need a tool to write the downloaded image to the SD Card
With a Mac, I use ApplePi-Baker (http://www.tweaking4all.com/hardware/ra ... -pi-baker/)
If you work with Windows .... Win32DiskImager (https://sourceforge.net/projects/win32diskimager/)


Plug your HDMI TV set to the raspberry
Plug an usb keyboard and mouse
Plug an ethernet wire
Insert the SDCard into the raspberry
Plug a "reliable" 5VDC 2Amper power adapter to your pi. Power stability is very important. Apple iPad power adapter is very good
Power on
And .... Kodi/Openelec will appear in your monitor.
Lets go to settings and configure it as you need.
Kodi (inside Openlec) has special settings to manage some "Linux" features, like open ssh server, samba server, etc ...
You will need to open ssh server in order to remote login to the linux internal shell
Mac has a ssh client, so you must open mac´s terminal and ssh login inside your openelec

You can transfer de Kodi Indigo zip file to openelec in many ways, via SMB, using wget, etc ....

Depending on the codec of your videos or livetv, you may purchase a mpeg-2 licences
http://www.raspberrypi.com/mpeg-2-license-key/

And, as an extra point, if you want to convert your openelec into a 2000 USD HIFI system, you can purchase some DAC or DAC+Amplifier board to plug into your raspberry.
Openelec variant exist with driver for these boards

https://www.hifiberry.com/
http://www.iqaudio.co.uk/

For remote control exist miriads of possibilities.
I use this combination:
Flirc usb dongle (https://flirc.tv/more/flirc-usb)
Microsoft Xbox One remote (http://www.xbox.com/es-ES/xbox-one/acce ... s_tNnR7uC6)

I hope this help you

Posted on
Tue Mar 01, 2016 12:07 pm
jens offline
Posts: 265
Joined: May 03, 2015
Location: Sweden

Re: Help with XBMC integration

Thanks for the perfect declarations Tenallero,
:D
Now the next question,
Where in the code I put "service.indigo" mapen ?? and how can I find what I'm going to set in Kodi ?,
Kodi is running and I have connected it to my server, can now watch movies, etc.

//Jens

Who is online

Users browsing this forum: No registered users and 5 guests