onPlayBackStarted not working for all media

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
schumi2004 Offline
Posting Freak
Posts: 1,437
Joined: Aug 2011
Reputation: 14
Post: #1
I am a long time user of a script (created by someone else which i tweaked a bit) that stops all NZBget activity on certain actions, it always seems to work until recently.
I can't say when it started failing i just noticed it after checking logging.

This is the script: http://pastebin.com/bbRJYaBw

The idea is to stop NZBget when i watch live TV (pvr streams) or Youtube (http streams) and a folder of choice if wanted.

What happens is this.
When i install script for the first time and configure it to stop NZBget for LiveTV and HTTP streams it works but only for the very first time for LiveTV (pvr).
When i then put system in hibernate/sleepmode and wake it up again it always fails for LiveTV and LiveTV only, all the rest still seems to work (HTTP, Folder PATH)

I added a bunch of debug lines to find out why it doesn't work for LiveTV, without luck.
I start a LiveTV stream and i don't see it checking PATH content, i play a Youtube stream and then it does.

I was hoping someone with some more skills could find the issue here because i'm kinda lost in finding it myself.

Thanks in advance.
find quote
schumi2004 Offline
Posting Freak
Posts: 1,437
Joined: Aug 2011
Reputation: 14
Post: #2
I modified the script several times now and at initial installation the script functions as it should.
After a couple of system restarts it eventually fails to detect LiveTV playback and i can't seem to figure out why it does that.

https://www.dropbox.com/s/qeyl7vecs0ksr0...nzbget.rar

What did i do wrong here?
(This post was last modified: 2014-01-24 23:01 by schumi2004.)
find quote