2013-03-13, 16:34
My XBMC setup is in my basement. I often find when watching a movie or listening to music that I cannot hear the doorbell. So, I set out to fix this issue. I have built a doorbell from a RasPi which works perfectly and can send a signal to my XBMC machine (running on ubuntu 12.10). I want XBMC to
I have written a fairly messy workaround which
This is hardly ideal though. The screen jumps back to the menu after playback is stopped and then when it reopens it is at a black screen because it hasn't yet played a frame. I would much prefer a way to play a sound effect once playback has been paused. Maybe the same way the menu clicks work?
If anyone has any ideas I would appreciate it.
- Pause what is playing
- Display a notification
- Play a doorbell sound
I have written a fairly messy workaround which
- Grabs the current position of what is playing
- Stops playback
- Plays the doorbell sound effect
- Reopens the previous item
- Sets the position to where it was before
- And pauses it so I can go to the door
This is hardly ideal though. The screen jumps back to the menu after playback is stopped and then when it reopens it is at a black screen because it hasn't yet played a frame. I would much prefer a way to play a sound effect once playback has been paused. Maybe the same way the menu clicks work?
If anyone has any ideas I would appreciate it.