plexWatch - Windows Branch

I’ll spin up my windows virt and see if I can replicate and fix this week.

I’m also having empty emails for new movies/tv shows. recently watched works fine
all notifications on prowl work, however

Thanks! I've found this app just incredible - integration with prowl and email and knowing who watches what and when and new episodes that have dropped -- kudos! greatly appreciated

Evening folks!

TL;DR - Pushover and GNTP work before and after upgrading to 0.2.0.0, Twitter never has. Tried again, no go. Searched this thread for answers, I'm doing everything right (or so I hope)! I'm good at following instructions, help!  :blink: 

For the rest that don't mind reading  :D

I've run into a roadblock with Twitter notifications. Allow me to describe the situation.

I upgraded from a previous version of plexWatch to the current 0.2.0.0 that I grabbed from GitHub. While comparing my old config.pl with the new one on GitHub, I decided to import my settings and just plugged them in where appropriate. Everything was working as intended. Still receiving my Pushover messages on my phone and Growl for Windows is working correctly with Task Scheduler / VBS combo every minute.

Regrading twitter, everything is configured right according to the instructions I read on GitHub, this forum, the linux variant forum and the help guides on dev twitter. I'm stumped. I signed in at dev.twitter.com and created an app as instructed. I ensured that when the app was created that the permissions were indeed set to Read/Write and I created my token. Plugged the necessary info into my config.pl and no tweets. Pushover and GNTP work just fine, where are my tweeets? I confirmed this did not work on a new twitter account (created solely for plexWatch) nor did it on one of my personal accounts. I suspected that "Protected Tweets" would harm this config but I disabled/enabled it multiple times and still get the same undesirable results  :( 

Any help would be greatly appreciated!

Here's a link to my config.pl http://pastebin.com/BJsBr0AJ 

 

I should have mentioned it here, but twitter change their API, well they now require https. This hasn’t been fixed in the windows branch yet. I will hopefully get a new version pushed soon.


Evening folks!
 
TL;DR - Pushover and GNTP work before and after upgrading to 0.2.0.0, Twitter never has. Tried again, no go. Searched this thread for answers, I’m doing everything right (or so I hope)! I’m good at following instructions, help!  :blink: 

For the rest that don’t mind reading  :smiley:
 
I’ve run into a roadblock with Twitter notifications. Allow me to describe the situation.

I upgraded from a previous version of plexWatch to the current 0.2.0.0 that I grabbed from GitHub. While comparing my old config.pl with the new one on GitHub, I decided to import my settings and just plugged them in where appropriate. Everything was working as intended. Still receiving my Pushover messages on my phone and Growl for Windows is working correctly with Task Scheduler / VBS combo every minute.

Regrading twitter, everything is configured right according to the instructions I read on GitHub, this forum, the linux variant forum and the help guides on dev twitter. I’m stumped. I signed in at dev.twitter.com and created an app as instructed. I ensured that when the app was created that the permissions were indeed set to Read/Write and I created my token. Plugged the necessary info into my config.pl and no tweets. Pushover and GNTP work just fine, where are my tweeets? I confirmed this did not work on a new twitter account (created solely for plexWatch) nor did it on one of my personal accounts. I suspected that “Protected Tweets” would harm this config but I disabled/enabled it multiple times and still get the same undesirable results  :( 

Any help would be greatly appreciated!

Here’s a link to my config.pl http://pastebin.com/BJsBr0AJ

Thanks for the prompt reply ljunkie! I appreciate your efforts and look forward to the new release  B)

No worries, I apologize for having you dig into something I already knew was broke. I also forgot to mention, the twitter API change happened around Jan 14th, so it should have worked up until then.
 

Thanks for the prompt reply ljunkie! I appreciate your efforts and look forward to the new release  B)

So I have an interesting issue. When I run the scheduled task it doesn't run the plexwatch.exe. It will start a "Microsoft Windows Based Script Host". It creates a new instance of this every time I try to run the vbs from the scheduled tasks. Ive made sure that I started the VBS in c:\plexWatch. I'm not sure what the issue is. If I run the plexWatch.exe manually from cmd It will run fine. But not when I schedule the task. It has worked before this seems to be a new issue that has arisen

 



So I have an interesting issue. When I run the scheduled task it doesn't run the plexwatch.exe. It will start a "Microsoft Windows Based Script Host". It creates a new instance of this every time I try to run the vbs from the scheduled tasks. Ive made sure that I started the VBS in c:\plexWatch. I'm not sure what the issue is. If I run the plexWatch.exe manually from cmd It will run fine. But not when I schedule the task. It has worked before this seems to be a new issue that has arisen

 

Does running it manually by typing plexWatchNotify.vbs from a command prompt in c:\plexWatch result in the same thing?

Also, double check via notepad that plexWatchNotify.vbs consists of just the following and nothing else (I had an issue where my browser downloaded the .vbs file and added a bunch of garbage:

Set WshShell = CreateObject("WScript.Shell")
WshShell.Run "C:\plexWatch\plexWatch.exe --notify", 0, True

Set WshShell = Nothing

I fixed it. I had to add my username to the permissions with fullcontrol on the VBS

Hi i am using plexwatch and plexwatch/web.

In plexwatch/web when looking inside a user (/user.php?user=) It has problem displaying the titles that are not in English language (my case Greek language). Check the pictures below.

But in the Home page it displays fine the titles.

So i checked the logs of plexwatch and i saw that sometimes it gets the title correct and other times not:

Thu Jan 30 22:09:47 2014: * Total Paused duration: 21 minutes [1258 seconds]
Thu Jan 30 22:10:46 2014: * Video State: stopped [prev: paused]
Thu Jan 30 22:10:46 2014: * removing Paused state and setting paused counter to 180 seconds [this duration 180 sec]
Thu Jan 30 22:10:46 2014: * Total Paused duration: 3 minutes [180 seconds]
Thu Jan 30 22:10:48 2014: Kostas Filos Giorgou:Î ÎκδίκηÏη ÏÎ¿Ï Ender: push_type:push_watched
Thu Jan 30 22:10:48 2014: Kostas Filos Giorgou:Î ÎκδίκηÏη ÏÎ¿Ï Ender: file push_watched enabled -> sending notify

Thu Jan 30 22:10:48 2014: Locating IP for 31555:b06057f8-44b0-481c-99de-42a5eff63528 [Kostas Filos Giorgou:Η Εκδίκηση του Ender] from C:\Users\Administrator\AppData\Local\Plex Media Server\Logs\Plex Media Server.log... 2.86.60.236
Thu Jan 30 22:10:48 2014: 2.86.60.236 log match (line 449): Jan 30, 2014 22:10:40:551 [5832] DEBUG - Request: HEAD /video/:/transcode/universal/start.m3u8?directPlay=0&directStream=1&fastSeek=1&maxVideoBitrate=8000&path=%2flibrary%2fmetadata%2f31555&protocol=hls&session=b06057f8-44b0-481c-99de-42a5eff63528&skipSubtitles=1&videoQuality=60&videoResolution=1920x1080&X-Plex-Client-Capabilities=protocols%3dshoutcast%2chttp-video%3bvideoDecoders%3dh264%7bprofile%3ahigh%26resolution%3a1080%26level%3a51%7d%3baudioDecoders%3dmp3%2caac%2cac3%7bbitrate%3a800000%26channels%3a8%7d&X-Plex-Client-Identifier=b06057f8-44b0-481c-99de-42a5eff63528&X-Plex-Device=PC&X-Plex-Device-Name=kaper13-PC&X-Plex-Model=Windows&X-Plex-Platform=Plex%20Home%20Theater&X-Plex-Product=Plex%20Home%20Theater&X-Plex-Provides=player&X-Plex-Token=xkcohiMbpwoVm1BtAXu9&X-Plex-Username=serveruser7&X-Plex-Version=1.0.7.169-303ab8cc [2.86.60.236:53226] (8 live), [ by X-Plex-Client-Identifier:b06057f8-44b0-481c-99de-42a5eff63528 only]
Thu Jan 30 22:10:48 2014: Kostas Filos Giorgou:Η Εκδίκηση του Ender: push_type:push_watching
Thu Jan 30 22:10:48 2014: Kostas Filos Giorgou:Η Εκδίκηση του Ender: file push_watching enabled -> sending notify

Thu Jan 30 22:10:49 2014: * Already marked as Paused on Thu Jan 30 21:48:49 2014 [1391111329]
Thu Jan 30 22:10:49 2014: * Total Paused duration: 22 minutes [1320 seconds]
Thu Jan 30 22:11:47 2014: * Already marked as Paused on Thu Jan 30 21:48:49 2014 [1391111329]

Home_Display_Fine_the_Titles.png

User_Page_Not_display_correct_the_titles

Is there a noobs guide to setting up plex watch/web on Windows?

I too have this exact same issue: Prowl notifications work perfectly. Email notifications for start/stop/pause/resume also work perfectly but Recently Added yields an email with "New Episode" as the subject line and nothing in the body of the message. 

try these links for plexWatch/Web

Is there a noobs guide to setting up plex watch/web on Windows?

I haven't had much time to track this down -- I threw in some logic so it wouldn't email if the body is empty, but it doesn't seem that logic fixed it. It does seem to be random as not every email is empty. It's still on the list to fix. 

I too have this exact same issue: Prowl notifications work perfectly. Email notifications for start/stop/pause/resume also work perfectly but Recently Added yields an email with "New Episode" as the subject line and nothing in the body of the message. 

Here is why might help me debug/fix this. Please start the video below that plexWatch has the encoding issue with. Once started, go to http://127.0.0.1:32400/status/sessions and send me a PM with the results. This way I can work with the XML result set that has the issue. 

Hi i am using plexwatch and plexwatch/web.

In plexwatch/web when looking inside a user (/user.php?user=) It has problem displaying the titles that are not in English language (my case Greek language). Check the pictures below.

But in the Home page it displays fine the titles.

So i checked the logs of plexwatch and i saw that sometimes it gets the title correct and other times not:

Thu Jan 30 22:09:47 2014: * Total Paused duration: 21 minutes [1258 seconds]
Thu Jan 30 22:10:46 2014: * Video State: stopped [prev: paused]
Thu Jan 30 22:10:46 2014: * removing Paused state and setting paused counter to 180 seconds [this duration 180 sec]
Thu Jan 30 22:10:46 2014: * Total Paused duration: 3 minutes [180 seconds]
Thu Jan 30 22:10:48 2014: Kostas Filos Giorgou:Î ÎκδίκηÏη ÏÎ¿Ï Ender: push_type:push_watched
Thu Jan 30 22:10:48 2014: Kostas Filos Giorgou:Î ÎκδίκηÏη ÏÎ¿Ï Ender: file push_watched enabled -> sending notify

Thu Jan 30 22:10:48 2014: Locating IP for 31555:b06057f8-44b0-481c-99de-42a5eff63528 [Kostas Filos Giorgou:Η Εκδίκηση του Ender] from C:\Users\Administrator\AppData\Local\Plex Media Server\Logs\Plex Media Server.log... 2.86.60.236
Thu Jan 30 22:10:48 2014: 2.86.60.236 log match (line 449): Jan 30, 2014 22:10:40:551 [5832] DEBUG - Request: HEAD /video/:/transcode/universal/start.m3u8?directPlay=0&directStream=1&fastSeek=1&maxVideoBitrate=8000&path=%2flibrary%2fmetadata%2f31555&protocol=hls&session=b06057f8-44b0-481c-99de-42a5eff63528&skipSubtitles=1&videoQuality=60&videoResolution=1920x1080&X-Plex-Client-Capabilities=protocols%3dshoutcast%2chttp-video%3bvideoDecoders%3dh264%7bprofile%3ahigh%26resolution%3a1080%26level%3a51%7d%3baudioDecoders%3dmp3%2caac%2cac3%7bbitrate%3a800000%26channels%3a8%7d&X-Plex-Client-Identifier=b06057f8-44b0-481c-99de-42a5eff63528&X-Plex-Device=PC&X-Plex-Device-Name=kaper13-PC&X-Plex-Model=Windows&X-Plex-Platform=Plex%20Home%20Theater&X-Plex-Product=Plex%20Home%20Theater&X-Plex-Provides=player&X-Plex-Token=xkcohiMbpwoVm1BtAXu9&X-Plex-Username=serveruser7&X-Plex-Version=1.0.7.169-303ab8cc [2.86.60.236:53226] (8 live), [ by X-Plex-Client-Identifier:b06057f8-44b0-481c-99de-42a5eff63528 only]
Thu Jan 30 22:10:48 2014: Kostas Filos Giorgou:Η Εκδίκηση του Ender: push_type:push_watching
Thu Jan 30 22:10:48 2014: Kostas Filos Giorgou:Η Εκδίκηση του Ender: file push_watching enabled -> sending notify

Thu Jan 30 22:10:49 2014: * Already marked as Paused on Thu Jan 30 21:48:49 2014 [1391111329]
Thu Jan 30 22:10:49 2014: * Total Paused duration: 22 minutes [1320 seconds]
Thu Jan 30 22:11:47 2014: * Already marked as Paused on Thu Jan 30 21:48:49 2014 [1391111329]

ljunkie @ send it thanks

Can anyone tell me how to run the plexWatchNotify.vbs automatic? I added the task to start every minute (Windows 7) but i did nothing. I can click the script manualy and get the mail. But i can not get it automatic to run.

ok fixed by myself the start in Parameter was wrong

Is anyone running plexwatch as a service in a windows server environment?  I would like to, so I'm curious if anyone else is doing it already or if there is some obvious reason it can/can't be done.

It's not a continually running program, so it's meant to run as a scheduled job.

Is anyone running plexwatch as a service in a windows server environment?  I would like to, so I'm curious if anyone else is doing it already or if there is some obvious reason it can/can't be done.