Cron XBMC - Help Wanted

  Thread Rating:
  • 1 Votes - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
el_Paraguayo Online
Donor
Posts: 761
Joined: Feb 2011
Reputation: 16
Location: London, UK
Post: #61
(2015-01-21 05:37)ykhehra1 Wrote:  For example a script which shows notification text box, but instead of timer showing it while video is on, I want it to wait till video ends.
If you're just talking about notifications from your script, I imagine that's fairly easy to do.

I've written a bit of code to handle an issue with multiple notifications (the display time isn't honoured). This works by passing the notification requests to a separate thread and sleeping for the right amount of time before displaying the next notification. It would be a very minor change to check that there were no active players (e.g. music or video) before displaying a notification.

However, the above idea has nothing to do with cron so best not discussed in this thread. If the above idea is of interest, start a new thread and I'll share some code.

MythSuspendAlarm: Suspend and wake for next MythTV recording.
BBC Live Football Scores: Football scores notifications.
Random Movie Script: Play random movies from library.
find quote
Post Reply