Page 6 of 94
Re: XBMCRepeat XBMC plugin based on the official plugin
Posted: Tue Jun 22, 2010 3:33 am
by Fiasco
W/ XBMC Repeat we can toggle between Digital and Analog audio.
Would it be possible to add a function to select the speaker setup (2.0, 5.1, 7.1 ect)?
Re: XBMCRepeat XBMC plugin based on the official plugin
Posted: Tue Jun 22, 2010 3:57 am
by jonib
Fiasco wrote:Is there a "shuffle" function in XBMCRepeat?
*edit* It's called random

Glad you found it.
Maybe I should add it as
Shuffle too, as that is what is shown in XBMC.
W/ XBMC Repeat we can toggle between Digital and Analog audio.
Sure,
XBMCRepeat\Actions\Uncategorized actions\AudioToggleDigital
Would it be possible to add a function to select the speaker setup (2.0, 5.1, 7.1 ect)?
Unfortunately I have not seen a command to do so.
jonib
Re: XBMCRepeat XBMC plugin based on the official plugin
Posted: Thu Aug 19, 2010 10:49 pm
by Shodan
jonib wrote:So I'm finally doing some work on this plugin specifically adding some
XBMC HTTP API commands, right now I'm working on
GetCurrentlyPlaying() and
FileDelete() as those ware some of the commands I need.
So if you use my XBMCRepeat plugin and need any commands supported by the
XBMC HTTP API, reply here and I'll see if I can add it (No guarantees).
jonib
Hi, I am very new to eventghost but I have tried out a few HTTP API commands within voxcommando, but as yet it does not have the ability to act on the information received back from xbmc.
Here are a few I have used which would be useful:
GetMusicLabel() --> this can be used to display any information about the song currently playing, I use it to get the name of song and artist name then TTS says it.
GetPercentage
GetPlaylistContents([playlist])
GetVolume
QueryMusicDatabase
QueryVideoDatabase
Anyway they are the ones that I find helpful
Regards
Shodan
Oh I just thought I should add that I use voxcommando for voice control of eventghost to control xbmc over the network. Hopefully I will someday be able to add control of Z-wave devices for home automation but I don't think that eventghost has this plugin yet (correct me if I am wrong)
Re: XBMCRepeat XBMC plugin based on the official plugin
Posted: Fri Aug 20, 2010 5:39 am
by krambriw
z-wave is amongst others supported via xPL
http://www.xplmonkey.com/zwave.html
xPL is supported in EG via a xPL plugin. From there on have your z-wave in EG
xPL works so fine, I have used it for my solutions for about one and a half year now without problems
BR Walter
Re: XBMCRepeat XBMC plugin based on the official plugin
Posted: Tue Aug 31, 2010 2:54 pm
by jonib
Shodan wrote:Hi, I am very new to eventghost but I have tried out a few HTTP API commands within voxcommando, but as yet it does not have the ability to act on the information received back from xbmc.
Hi Shodan (Hmm for some reason I'm feeling the urge to play System Shock 2), sorry for this very late reply

, I haven't done anything with this plugin for a while but was going to look into it again but that didn't happen.

I'll see if I can do it this week.
Here are a few I have used which would be useful:
GetMusicLabel() --> this can be used to display any information about the song currently playing, I use it to get the name of song and artist name then TTS says it.
GetPercentage
GetPlaylistContents([playlist])
GetVolume
QueryMusicDatabase
QueryVideoDatabase
I'll add them when I get something done.
jonib
Re: XBMCRepeat XBMC plugin based on the official plugin
Posted: Tue Aug 31, 2010 9:29 pm
by jonib
So I installed the new XBMC Dharma Beta1, and the
HTTP API has been deprecated. Instead they have
JSON-RPC.
Unfortunately I know very little about JSON-RPC, anybody have any information how I could use it in EventGhost/Python?
I was about to add some
HTTP API actions to the plugin, but now I'm not sure.
I'm trying to understand how to use JSON-RPC in XBMC, so this will take much longer.
Edit: Hmm, HTTP API seems to still work with XBMC Dharma Beta1, it seemed to not work when I first installed it, must have been user/coder error
jonib
Re: XBMCRepeat XBMC plugin based on the official plugin
Posted: Tue Aug 31, 2010 9:36 pm
by Livin
I'd think this would be posted in the XBMC Wiki? If not, post on the XBMC dev forum and I'm sure they'll get back to you quickly...
Re: XBMCRepeat XBMC plugin based on the official plugin
Posted: Tue Aug 31, 2010 10:00 pm
by jonib
Livin wrote:I'd think this would be posted in the XBMC Wiki?
Only reference I found in the WIKI was "HTTP-API is depreciated - use the JSON-RPC interface"
If not, post on the XBMC dev forum and I'm sure they'll get back to you quickly...
I'm reading this
JSON-RPC thread on the XBMC forum, I'll ask for help there at some point if I can't figure it out myself.
jonib
Re: XBMCRepeat XBMC plugin based on the official plugin
Posted: Tue Aug 31, 2010 10:05 pm
by kricker
I am an XBMC team member. I will see if I can find you the relevant info or get you connected to the proper contact to help you with it.
Re: XBMCRepeat XBMC plugin based on the official plugin
Posted: Tue Aug 31, 2010 10:16 pm
by jonib
kricker wrote:I am an XBMC team member. I will see if I can find you the relevant info or get you connected to the proper contact to help you with it.
Cool, thanks.
Edit: In the
JSON-RPC thread I found a Python code
example, and I got one command working. This
code seems to list all the commands, now I just need to find information of the parameters and I might get something working. But there seems to be a lot of functionality missing compared to the HTTP API, like to delete files something I kinda need.
jonib
Re: XBMCRepeat XBMC plugin based on the official plugin
Posted: Wed Sep 01, 2010 2:55 am
by Livin
joni,
if you need a tester let me know
Re: XBMCRepeat XBMC plugin based on the official plugin
Posted: Thu Sep 02, 2010 9:43 pm
by jonib
Livin wrote:if you need a tester let me know
Sure, test the attached.
I have attached a test version of the XBMCRepeat plugin, it has only one new (hopefully working) command
GetCurrentlyPlayingFilename, It's supposed to return the file path to any file that's playing in XBMC.
It supports
JSON-RPC in newer XBMC Dharma builds, and
HTTP API on older builds that don't support JSON-RPC.
If using XBMC Dharma Beta1 it won't work for pictures, as I did not find a command to return that.
edit: HTTP API is still working in beta1, and the command GetCurrentlyPlayingFilename uses HTTP API to show the picture path even in beta1,
Provided this works I'll add other commands, it has very limited error checking so expect it to crash.
jonib
Re: XBMCRepeat XBMC plugin based on the official plugin
Posted: Fri Sep 03, 2010 12:03 am
by Livin
I only use EG for remote functions, so I never pull data/info back from XBMC.
Also, the original version never stopped working for me, even with Beta1.
I'll test this weekend.
Re: XBMCRepeat XBMC plugin based on the official plugin
Posted: Fri Sep 03, 2010 12:35 am
by kricker
Livin wrote:I only use EG for remote functions, so I never pull data/info back from XBMC.
Also, the original version never stopped working for me, even with Beta1.
I'll test this weekend.
Are you using the plugin's HTTP commands or the Event Server commands? Are not most of the default commands Event Client commands? Event Server commands have not changed. XBMC did receive a fix so commands coming from Event Server would reset the idle timer. Therefore XBMC will no longer idle out while you were navigating menus using Event Server commands.
Re: XBMCRepeat XBMC plugin based on the official plugin
Posted: Fri Sep 03, 2010 1:00 am
by jonib
kricker wrote:Are not most of the default commands Event Client commands?
Yes XBMCRepeat 0.5 only uses Event Client commands. only the test version has a HTTP API/JSON-RPC command, if there are no problems I'll add more.
Therefore XBMC will no longer idle out while you were navigating menus using Event Server commands.
Interesting, I have never noticed this, what version(s) had this problem?
jonib