# plexWatch - Windows Branch

**URL:** <https://forums.plex.tv/t/plexwatch-windows-branch/41818>\
**Category:** Dev/API Corner\
**Tags:** other-dev\
**Created:** [September 1, 2013, 10:52pm UTC](https://forums.plex.tv/t/plexwatch-windows-branch/41818 "2013-09-01T22:52:58Z")\
**Posts on this page:** 20\
**Page:** 6

<div class="post-metadata">

**Author:** ![ljunkie](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ljunkie/32/6512_2.png) [@ljunkie](https://forums.plex.tv/u/ljunkie)\
**Post date:** [October 25, 2013, 4:22am UTC](https://forums.plex.tv/t/plexwatch-windows-branch/41818/101 "2013-10-25T04:22:24Z")

</div>

> I should be up for a while, I can test the update once you get it rebuilt. Just let me know. Feel free to shoot me an email directly: nick [dot] heidke [at] gmail [dot] com

pushed an update through.. next post will have details

---

<div class="post-metadata">

**Author:** ![ljunkie](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ljunkie/32/6512_2.png) [@ljunkie](https://forums.plex.tv/u/ljunkie)\
**Post date:** [October 25, 2013, 4:24am UTC](https://forums.plex.tv/t/plexwatch-windows-branch/41818/102 "2013-10-25T04:24:20Z")

</div>

**PlexWatch v0.1.6 Released&nbsp;**

&nbsp;  
Downloads:&nbsp;[plexWatch.exe](https://github.com/ljunkie/plexWatch/raw/v0.1.6/plexWatch.exe "External link")&nbsp;and&nbsp;[config.pl-dist](https://raw.github.com/ljunkie/plexWatch/v0.1.6/config.pl-dist-win32 "External link")  
GitHub:&nbsp;[https://github.com/l...tch/tree/v0.1.6](https://github.com/ljunkie/plexWatch/tree/v0.1.6 "External link")

&nbsp;

\*&nbsp;&nbsp;JSON fixup for windows

---

<div class="post-metadata">

**Author:** ![Technically](https://avatars.discourse-cdn.com/v4/letter/t/f4b2a3/32.png) [@Technically](https://forums.plex.tv/u/Technically)\
**Post date:** [October 25, 2013, 4:56am UTC](https://forums.plex.tv/t/plexwatch-windows-branch/41818/103 "2013-10-25T04:56:46Z")

</div>

> **PlexWatch v0.1.6 Released&nbsp;**
> 
> &nbsp;  
> Downloads:&nbsp;[plexWatch.exe](https://github.com/ljunkie/plexWatch/raw/v0.1.6/plexWatch.exe "External link")&nbsp;and&nbsp;[config.pl-dist](https://raw.github.com/ljunkie/plexWatch/v0.1.6/config.pl-dist-win32 "External link")  
> GitHub:&nbsp;[https://github.com/l...tch/tree/v0.1.6](https://github.com/ljunkie/plexWatch/tree/v0.1.6 "External link")
> 
> &nbsp;
> 
> \*&nbsp;&nbsp;JSON fixup for windows

Thanks for the update! i updated this and plexwatchweb and i get errors.

on home screen

**Warning** : fsockopen() expects parameter 2 to be long, string given in&nbsp; **C:\xampp\htdocs\plexWatchWeb\index.php** &nbsp;on line&nbsp; **99**

**amd the other tabs say**

**Fatal error** : Call to undefined function dbconnect() in&nbsp; **C:\xampp\htdocs\plexWatchWeb\history.php** &nbsp;on line&nbsp; **95**

---

<div class="post-metadata">

**Author:** ![Technically](https://avatars.discourse-cdn.com/v4/letter/t/f4b2a3/32.png) [@Technically](https://forums.plex.tv/u/Technically)\
**Post date:** [October 25, 2013, 5:02am UTC](https://forums.plex.tv/t/plexwatch-windows-branch/41818/104 "2013-10-25T05:02:24Z")

</div>

Or i get this if i turn off grouping......i unchecked and rechecked grouping. now it just says no results on anything. when its unchecked it says

**Notice** : Trying to get property of non-object in&nbsp; **C:\xampp\htdocs\plexWatchWeb\includes\functions.php** &nbsp;on line&nbsp; **28**  
  
**Notice** : Trying to get property of non-object in&nbsp; **C:\xampp\htdocs\plexWatchWeb\includes\functions.php** &nbsp;on line&nbsp; **29**  
  
**Notice** : Trying to get property of non-object in&nbsp; **C:\xampp\htdocs\plexWatchWeb\includes\functions.php** &nbsp;on line&nbsp; **32**  
  
**Notice** : A session had already been started - ignoring session\_start() in&nbsp; **C:\xampp\htdocs\plexWatchWeb\includes\functions.php** &nbsp;on line&nbsp; **11**

---

<div class="post-metadata">

**Author:** ![ljunkie](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ljunkie/32/6512_2.png) [@ljunkie](https://forums.plex.tv/u/ljunkie)\
**Post date:** [October 25, 2013, 5:03am UTC](https://forums.plex.tv/t/plexwatch-windows-branch/41818/105 "2013-10-25T05:03:21Z")

</div>

> [@](#):
>
> Thanks for the update! i updated this and plexwatchweb and i get errors.  
> on home screen  
> **Warning** : fsockopen() expects parameter 2 to be long, string given in **C:\xampp\htdocs\plexWatchWeb\index.php** on line **99**
> 
> **amd the other tabs say**
> 
> **Fatal error** : Call to undefined function dbconnect() in **C:\xampp\htdocs\plexWatchWeb\history.php** on line **95**

Doubt plexWatchWeb dev is ready. But try going to the settings page and re-saving. That might fix this missing function.

Edit: If you were using the dev version, you should try and revert to the previous copy. The new web dev is not ready.

---

<div class="post-metadata">

**Author:** ![ljunkie](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ljunkie/32/6512_2.png) [@ljunkie](https://forums.plex.tv/u/ljunkie)\
**Post date:** [October 25, 2013, 5:35am UTC](https://forums.plex.tv/t/plexwatch-windows-branch/41818/106 "2013-10-25T05:35:07Z")

</div>

Previous comment is still correct as the DEV channel is being worked on, however I made some more commits tonight. This might fix some of your errors. Remember though, this is a dev version or plexWatch/Web

You can try my branch until this gets merged into the main repo: [https://github.com/ljunkie/plexWatchweb/tree/ljunkie-friendly-names](https://github.com/ljunkie/plexWatchweb/tree/ljunkie-friendly-names)

> Or i get this if i turn off grouping......i unchecked and rechecked grouping. now it just says no results on anything. when its unchecked it says
> 
> **Notice** : Trying to get property of non-object in&nbsp; **C:\xampp\htdocs\plexWatchWeb\includes\functions.php** &nbsp;on line&nbsp; **28**  
>   
> **Notice** : Trying to get property of non-object in&nbsp; **C:\xampp\htdocs\plexWatchWeb\includes\functions.php** &nbsp;on line&nbsp; **29**  
>   
> **Notice** : Trying to get property of non-object in&nbsp; **C:\xampp\htdocs\plexWatchWeb\includes\functions.php** &nbsp;on line&nbsp; **32**  
>   
> **Notice** : A session had already been started - ignoring session\_start() in&nbsp; **C:\xampp\htdocs\plexWatchWeb\includes\functions.php** &nbsp;on line&nbsp; **11**

---

<div class="post-metadata">

**Author:** ![Technically](https://avatars.discourse-cdn.com/v4/letter/t/f4b2a3/32.png) [@Technically](https://forums.plex.tv/u/Technically)\
**Post date:** [October 25, 2013, 8:12am UTC](https://forums.plex.tv/t/plexwatch-windows-branch/41818/107 "2013-10-25T08:12:22Z")

</div>

of course. i just wanted to help out any way i can. friendly names are coming up now. there is a new error under the now playing picture. which displays the now playing info.

**Notice** : Trying to get property of non-object in **C:\xampp\htdocs\plexWatchWeb\includes\functions.php** on line&nbsp; **28**

**and with grouping checked i get a message that says no results. with unchecked i now just get this a few hundered times under history. and under users. charts work fine. Thanks for all your hard work. will be donating soon for everything you have done.**

**Notice** : Trying to get property of non-object in&nbsp; **C:\xampp\htdocs\plexWatchWeb\includes\functions.php** &nbsp;on line&nbsp; **28**

**Notice** : Trying to get property of non-object in&nbsp; **C:\xampp\htdocs\plexWatchWeb\includes\functions.php** &nbsp;on line&nbsp; **28**  
  
**Notice** : Trying to get property of non-object in&nbsp; **C:\xampp\htdocs\plexWatchWeb\includes\functions.php** &nbsp;on line&nbsp; **28**  
  
**Notice** : Trying to get property of non-object in&nbsp; **C:\xampp\htdocs\plexWatchWeb\includes\functions.php** &nbsp;on line&nbsp; **28**

---

<div class="post-metadata">

**Author:** ![ljunkie](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ljunkie/32/6512_2.png) [@ljunkie](https://forums.plex.tv/u/ljunkie)\
**Post date:** [October 25, 2013, 2:44pm UTC](https://forums.plex.tv/t/plexwatch-windows-branch/41818/108 "2013-10-25T14:44:48Z")

</div>

Good deal. I’ll check into this today. Should be two “easy” fixes. Thanks for the appreciation!

> of course. i just wanted to help out any way i can. friendly names are coming up now. there is a new error under the now playing picture. which displays the now playing info.  
>   
> **Notice** : Trying to get property of non-object in **C:\xampp\htdocs\plexWatchWeb\includes\functions.php** on line **28**  
>   
> **and with grouping checked i get a message that says no results. with unchecked i now just get this a few hundered times under history. and under users. charts work fine. Thanks for all your hard work. will be donating soon for everything you have done.**  
>   
> **Notice** : Trying to get property of non-object in **C:\xampp\htdocs\plexWatchWeb\includes\functions.php** on line **28**  
> **Notice** : Trying to get property of non-object in **C:\xampp\htdocs\plexWatchWeb\includes\functions.php** on line **28**  
>   
> **Notice** : Trying to get property of non-object in **C:\xampp\htdocs\plexWatchWeb\includes\functions.php** on line **28**  
>   
> **Notice** : Trying to get property of non-object in **C:\xampp\htdocs\plexWatchWeb\includes\functions.php** on line **28**

---

<div class="post-metadata">

**Author:** ![ljunkie](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ljunkie/32/6512_2.png) [@ljunkie](https://forums.plex.tv/u/ljunkie)\
**Post date:** [October 25, 2013, 5:35pm UTC](https://forums.plex.tv/t/plexwatch-windows-branch/41818/109 "2013-10-25T17:35:17Z")

</div>

pull another new version: &nbsp;[https://github.com/ljunkie/plexWatchweb/tree/ljunkie-friendly-names](https://github.com/ljunkie/plexWatchweb/tree/ljunkie-friendly-names)

It should fix those warnings, however I was unable to replicate the the issue with grouping. I am wondering if your plexWatch.db is missing required table. It should be automatically added with the new version of plexWatch. I will verify the windows version is adding that table. &nbsp;

**EDIT:** verified the windows plexWatch v0.1.6 is adding the required table for plexWatchWeb to work with grouping. Please verify you are running the plexWatch v0.1.6 version and report back.&nbsp;

> of course. i just wanted to help out any way i can. friendly names are coming up now. there is a new error under the now playing picture. which displays the now playing info.
> 
> **Notice** : Trying to get property of non-object in **C:\xampp\htdocs\plexWatchWeb\includes\functions.php** on line&nbsp; **28**
> 
> **and with grouping checked i get a message that says no results. with unchecked i now just get this a few hundered times under history. and under users. charts work fine. Thanks for all your hard work. will be donating soon for everything you have done.**
> 
> **Notice** : Trying to get property of non-object in&nbsp; **C:\xampp\htdocs\plexWatchWeb\includes\functions.php** &nbsp;on line&nbsp; **28**
> 
> **Notice** : Trying to get property of non-object in&nbsp; **C:\xampp\htdocs\plexWatchWeb\includes\functions.php** &nbsp;on line&nbsp; **28**  
>   
> **Notice** : Trying to get property of non-object in&nbsp; **C:\xampp\htdocs\plexWatchWeb\includes\functions.php** &nbsp;on line&nbsp; **28**  
>   
> **Notice** : Trying to get property of non-object in&nbsp; **C:\xampp\htdocs\plexWatchWeb\includes\functions.php** &nbsp;on line&nbsp; **28**

> Good deal. I'll check into this today. Should be two "easy" fixes. Thanks for the appreciation!
> 
> &nbsp;

---

<div class="post-metadata">

**Author:** ![Technically](https://avatars.discourse-cdn.com/v4/letter/t/f4b2a3/32.png) [@Technically](https://forums.plex.tv/u/Technically)\
**Post date:** [October 25, 2013, 6:54pm UTC](https://forums.plex.tv/t/plexwatch-windows-branch/41818/110 "2013-10-25T18:54:35Z")

</div>

> pull another new version: &nbsp;[https://github.com/ljunkie/plexWatchweb/tree/ljunkie-friendly-names](https://github.com/ljunkie/plexWatchweb/tree/ljunkie-friendly-names)
> 
> It should fix those warnings, however I was unable to replicate the the issue with grouping. I am wondering if your plexWatch.db is missing required table. It should be automatically added with the new version of plexWatch. I will verify the windows version is adding that table. &nbsp;
> 
> **EDIT:** verified the windows plexWatch v0.1.6 is adding the required table for plexWatchWeb to work with grouping. Please verify you are running the plexWatch v0.1.6 version and report back.&nbsp;

The new version works great witht the errors. Now everything works fine with grouping off. Yes, I am using 1.6 plexwatch.

---

<div class="post-metadata">

**Author:** ![NuttFlix](https://avatars.discourse-cdn.com/v4/letter/n/7993a0/32.png) [@NuttFlix](https://forums.plex.tv/u/NuttFlix)\
**Post date:** [October 25, 2013, 7:43pm UTC](https://forums.plex.tv/t/plexwatch-windows-branch/41818/111 "2013-10-25T19:43:13Z")

</div>

Just downloaded and installed the latest version and its working great except for the .vbs script to run every minute. From a command prompt running plexWatch.exe it sends and email perfectly however with the script it seems to never send. Is this correct for the .vbs script?

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

Set WshShell = Nothing
```

Thanks for the help

---

<div class="post-metadata">

**Author:** ![ljunkie](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ljunkie/32/6512_2.png) [@ljunkie](https://forums.plex.tv/u/ljunkie)\
**Post date:** [October 25, 2013, 7:51pm UTC](https://forums.plex.tv/t/plexwatch-windows-branch/41818/112 "2013-10-25T19:51:09Z")

</div>

> The new version works great witht the errors. Now everything works fine with grouping off. Yes, I am using 1.6 plexwatch.

Right, but you should test it with grouping on -- that works fine for me. Can you test with grouping on?

---

<div class="post-metadata">

**Author:** ![ljunkie](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ljunkie/32/6512_2.png) [@ljunkie](https://forums.plex.tv/u/ljunkie)\
**Post date:** [October 25, 2013, 8:03pm UTC](https://forums.plex.tv/t/plexwatch-windows-branch/41818/113 "2013-10-25T20:03:25Z")

</div>

> Just downloaded and installed the latest version and its working great except for the .vbs script to run every minute. From a command prompt running plexWatch.exe it sends and email perfectly however with the script it seems to never send. Is this correct for the .vbs script?
> 
> ```
> Set WshShell = CreateObject("WScript.Shell")
> WshShell.Run "C:\plexWatch\plexWatch.exe --notify", 0, True
> 
> Set WshShell = Nothing
> ```
> 
> Thanks for the help

Yes.

\* You must set the start dir to c:\plexWatch in the scheduled job

\* you can test the script by running the vbs after you " cd c:\plexwatch"

If you need to debug it more, you can run this VBS instead: It will show you the cmd prompt popup and wait for your input after it runs"

```
Set WshShell = CreateObject(“WScript.Shell”)  
WshShell.Run “%comspec% /k ““C:\plexWatch\plexWatch.exe --notify”””, 1, True  
Set WshShell = Nothing
```

---

<div class="post-metadata">

**Author:** ![NuttFlix](https://avatars.discourse-cdn.com/v4/letter/n/7993a0/32.png) [@NuttFlix](https://forums.plex.tv/u/NuttFlix)\
**Post date:** [October 25, 2013, 8:27pm UTC](https://forums.plex.tv/t/plexwatch-windows-branch/41818/114 "2013-10-25T20:27:02Z")

</div>

> \* You must set the start dir to c:\plexWatch in the scheduled job

That did the trick, Thanks!

---

<div class="post-metadata">

**Author:** ![Technically](https://avatars.discourse-cdn.com/v4/letter/t/f4b2a3/32.png) [@Technically](https://forums.plex.tv/u/Technically)\
**Post date:** [October 25, 2013, 11:16pm UTC](https://forums.plex.tv/t/plexwatch-windows-branch/41818/115 "2013-10-25T23:16:26Z")

</div>

> Right, but you should test it with grouping on -- that works fine for me. Can you test with grouping on?

with grouping on. On history and users and charts says No Results.

---

<div class="post-metadata">

**Author:** ![ljunkie](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ljunkie/32/6512_2.png) [@ljunkie](https://forums.plex.tv/u/ljunkie)\
**Post date:** [October 25, 2013, 11:43pm UTC](https://forums.plex.tv/t/plexwatch-windows-branch/41818/116 "2013-10-25T23:43:15Z")

</div>

> with grouping on. On history and users and charts says No Results.

that is just odd, what does plexWatch.exe --version say?

---

<div class="post-metadata">

**Author:** ![Technically](https://avatars.discourse-cdn.com/v4/letter/t/f4b2a3/32.png) [@Technically](https://forums.plex.tv/u/Technically)\
**Post date:** [October 26, 2013, 12:11am UTC](https://forums.plex.tv/t/plexwatch-windows-branch/41818/117 "2013-10-26T00:11:05Z")

</div>

It says 1.4

---

<div class="post-metadata">

**Author:** ![Technically](https://avatars.discourse-cdn.com/v4/letter/t/f4b2a3/32.png) [@Technically](https://forums.plex.tv/u/Technically)\
**Post date:** [October 26, 2013, 12:12am UTC](https://forums.plex.tv/t/plexwatch-windows-branch/41818/118 "2013-10-26T00:12:14Z")

</div>

that is the one downloaded from github and the one you posted

---

<div class="post-metadata">

**Author:** ![ljunkie](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ljunkie/32/6512_2.png) [@ljunkie](https://forums.plex.tv/u/ljunkie)\
**Post date:** [October 26, 2013, 12:13am UTC](https://forums.plex.tv/t/plexwatch-windows-branch/41818/119 "2013-10-26T00:13:32Z")

</div>

> that is the one downloaded from github and the one you posted

nope :) [http://forums.plexapp.com/index.php/topic/79616-plexwatch-windows-branch/page-6#entry484678](http://forums.plexapp.com/index.php/topic/79616-plexwatch-windows-branch/page-6#entry484678)

---

<div class="post-metadata">

**Author:** ![Technically](https://avatars.discourse-cdn.com/v4/letter/t/f4b2a3/32.png) [@Technically](https://forums.plex.tv/u/Technically)\
**Post date:** [October 26, 2013, 1:13am UTC](https://forums.plex.tv/t/plexwatch-windows-branch/41818/120 "2013-10-26T01:13:38Z")

</div>

> nope :) [http://forums.plexapp.com/index.php/topic/79616-plexwatch-windows-branch/page-6#entry484678](http://forums.plexapp.com/index.php/topic/79616-plexwatch-windows-branch/page-6#entry484678)

i downloaded that one. still says 1.4

[Previous page](https://forums.plex.tv/t/plexwatch-windows-branch/41818.md?page=5)

[Next page](https://forums.plex.tv/t/plexwatch-windows-branch/41818.md?page=7)
