Support for XBMC2 plugin (formerly XBMCRepeat)
Re: XBMCRepeat XBMC plugin based on the official plugin
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
Glad you found it.Fiasco wrote:Is there a "shuffle" function in XBMCRepeat?
*edit* It's called random
Maybe I should add it as Shuffle too, as that is what is shown in XBMC.
Sure, XBMCRepeat\Actions\Uncategorized actions\AudioToggleDigitalW/ XBMC Repeat we can toggle between Digital and Analog audio.
Unfortunately I have not seen a command to do so.Would it be possible to add a function to select the speaker setup (2.0, 5.1, 7.1 ect)?
jonib
Re: XBMCRepeat XBMC plugin based on the official plugin
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.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
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)
-
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: XBMCRepeat XBMC plugin based on the official plugin
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
https://drive.google.com/drive/folders/ ... y01eVBKeHM
Re: XBMCRepeat XBMC plugin based on the official plugin
Hi Shodan (Hmm for some reason I'm feeling the urge to play System Shock 2), sorry for this very late replyShodan 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.


I'll see if I can do it this week.
I'll add them when I get something done.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
jonib
Re: XBMCRepeat XBMC plugin based on the official plugin
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
Re: XBMCRepeat XBMC plugin based on the official plugin
Only reference I found in the WIKI was "HTTP-API is depreciated - use the JSON-RPC interface"Livin wrote:I'd think this would be posted in the XBMC Wiki?

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.If not, post on the XBMC dev forum and I'm sure they'll get back to you quickly...
jonib
Re: XBMCRepeat XBMC plugin based on the official plugin
Re: XBMCRepeat XBMC plugin based on the official plugin
Cool, thanks.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.
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
if you need a tester let me know
Re: XBMCRepeat XBMC plugin based on the official plugin
Sure, test the attached.Livin wrote:if you need a tester let me know
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
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
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.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.
Re: XBMCRepeat XBMC plugin based on the official plugin
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.kricker wrote:Are not most of the default commands Event Client commands?
Interesting, I have never noticed this, what version(s) had this problem?Therefore XBMC will no longer idle out while you were navigating menus using Event Server commands.
jonib