Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Great. I don't know how the XBMC Event Server works, but I guess it will just broadcast simple play, stop etc and then the XBMC Event Receiver plugin will use the HTTP API to get what's playing.
Must be the decoding on that read that's not done properly as getcurrentlyplaying will show the same none decoded ascii
rickardk wrote:Great. I don't know how the XBMC Event Server works, but I guess it will just broadcast simple play, stop etc and then the XBMC Event Receiver plugin will use the HTTP API to get what's playing.
It just listens for events on a specific network port and displays what it gets.
Must be the decoding on that read that's not done properly as getcurrentlyplaying will show the same none decoded ascii
By default Python just understands simple US-ASCII, so the code needs to use Unicode to handle other encoding's.
jonib
XBMC2 plugin to control XBMC. If you want to flatter me
I want to change the volume when I play music (75%) or video (100%). (All my music play louder than my videos and don't want to adjust volume each time).
I need events that trigger when when I play music, or video (from file, movie or TVshows)
When I launch a media I get two events:
<b>Onplaybackstarted;1<b> --> for every media
<b>mediachanged:<li>movietitle:xxxxxxx<b> --> only for tv show or movies not for video file There is no second event for video file
<b>mediachanged:<li>audiotitle:xxxxxxx<b> -->for music.
How can I create two events that trigger when I play music or video. I need to remove the title to always have the same event.
I will xbmc2 wit the api setvolume command to change the volume (works fine).
Hi. I've got the plugin to work correctly and I'm quite pleased with it. I do have a few requests though. The first one is that whenever I play a movie/tv-series I've set the lights to go off and resume if I pause or stop and it does that correctly. My issue is whenever I want to play some music from the library (or use the Spotify plugin, Spoti MC), it still sends the same event:
And the lights go off. But I wish whenever I played music media, there wouldn't be any changes to the lights. But for that to happen, the XBMC Event must send something else than OnPlayBackStarted maybe OnMusicPlayBackStarted or something.
Hi. I've got the plugin to work correctly and I'm quite pleased with it. I do have a few requests though. The first one is that whenever I play a movie/tv-series I've set the lights to go off and resume if I pause or stop and it does that correctly. My issue is whenever I want to play some music from the library (or use the Spotify plugin, Spoti MC), it still sends the same event:
And the lights go off. But I wish whenever I played music media, there wouldn't be any changes to the lights. But for that to happen, the XBMC Event must send something else than OnPlayBackStarted maybe OnMusicPlayBackStarted or something.
satheesh.net wrote:Hi. I've got the plugin to work correctly and I'm quite pleased with it. I do have a few requests though. The first one is that whenever I play a movie/tv-series I've set the lights to go off and resume if I pause or stop and it does that correctly. My issue is whenever I want to play some music from the library (or use the Spotify plugin, Spoti MC), it still sends the same event:
And the lights go off. But I wish whenever I played music media, there wouldn't be any changes to the lights. But for that to happen, the XBMC Event must send something else than OnPlayBackStarted maybe OnMusicPlayBackStarted or something.
This plugin is depreciated... meaning, it uses information from XBMC that is no longer being developed or supported. It might be disabled in the next XBMC release. XBMC has moved to JSON API... take a look at the XBMC2 plugin, it support JSON.
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system