plexWatch - Windows Branch

All sorted now. It would seem that I was just running plexwatch from a command prompt. For some reason you have to actually specify the full filename, as in plexwatch.exe. No idea why really, but at least I've sorted it now!

Just for future reference for everyone else's benefit, here's my config files for plexWatch and plexWatch/web

Thanks for that, still can't find my log files though!  Closest I can find is in the temp folder in appdata but that can't be right.

EDIT:  Ignore me, I moved my plex folder to a seperate drive because it was eating my very small boot drive!  Got it now.

Hi,

Has anyone used the new user features with Plex but then gets the error "Cannot access Plex Media Server" when loading the spashscreen of Plex Watch Web?

The history of whats been watched etc is all there, its just the dashboard it says it cant connect; my user now uses a PIN because of the new Plex Home features, is that what is causing the problem?

Also, anyone know how to track who syncs whats as that does nto seem to show in the log.

Thanks.,

Hey guys! I just found out about PlexWatch, and got it all installed and set up, but I'm having 1 issue, and 1 question.

First, the issue:

My task appears to run fine, however nothing gets written to the logs when it runs, and therefore, nothing goes to twitter. So here's a screenshot of my Tasks, they're both setup the same, just pointed to the separate scripts. So, the task has been running every 5 minutes, and I've been dropping a few media files into the Plex directories to get picked up, but the script isn't picking them up...If I double click the plexWatchRecentlyAdded.vbs script, it runs fine, and posts to twitter. What's going on with this? Here's the code in my plexWatchRecentlyAdded.vbs, taken from earlier in this thread:

Set WshShell = CreateObject(“WScript.Shell”)
WshShell.Run “C:\plexWatch\plexWatch.exe --recently_added=tv,movie”, 0, True
Set WshShell = Nothing

So the question...

Is there a way to change the output to twitter format? I see in my config.pl, that I can change the twitter configuration for start, paused, resume, and start; I can't, however, change it for recently added, is there a way to set this? My twitter output looks fairly busy and messy as it stands, and I wouldn't mind cleaning it up.

My mistake on the issue, I didn't read all the way, and hadn't done the "start in", so just the question! Thanks for a great product.

Can plexwatch tell if something was transcoded?  Or can I get this from the main plex database?

PlexWatch should indicate transcoded or direct play in the notification area:

2014-12-29%2012.13.58_resize.png

Can plexwatch tell if something was transcoded?  Or can I get this from the main plex database?

I don't have a notification set up yet, was just looking at the database.  Need something for windows 7, is growl OK?  Never used it.

Yeah, it works great on my server box. I have Growl pushing the notifications to my phone using Prowl; otherwise, the Growl notifications show up on the server's desktop.

I don't have a notification set up yet, was just looking at the database.  Need something for windows 7, is growl OK?  Never used it.

Thanks, bit busy now with visitors but will set it up in the new year :)

Thanks for this program.  It works great.  I was wondering if it would be possible to specify separate directories for the database files and the log file.  The reason being is that I would like to just keep the plexwatch.log file in my Dropbox folder.  When I have both the log file and database files in my Dropbox, I get Dropbox desktop notifications every minute and I would rather not turn off Dropbox notifications (I would like see when plexwatch.log gets updated).

EDIT:

I figured out a work around to do what I wanted.  I could not figure out how to edit the VBS script to run two DOS commands properly.  Therefor, I just changed the line in the PlexWatchNotify.vbs file from:

WshShell.Run "C:\plexWatch\plexWatch.exe --notify", 0, True

to

WshShell.Run "C:\plexWatch\plexWatch.bat", 0, True

I created a plexWatch.bat file in C:\pletWatch\ file that does the following:

cd c:\plexWatch
plexWatch.exe --notify
echo f | xcopy c:\plexWatch\plexWatch.log c:\Dropbox\plexWatch.log /d /y

This seems to be working great.  Whatever device I am on with dropbox installed, I get a notification pop-up when plexWatch.log changes in my dropbox folder, which is good enough for me as I don't really need any front end stuff.

thanks for the program!

can someone help me with schedule task?

i cant understand whats wrong.

when i run using cmd and arguments i can see the database being updated.

when using windows task schedule it seems its not realy working. i am using administrator user.

tried vbs & program path + arguments with no results.

please advise :)  

thanks for the program!

can someone help me with schedule task?

i cant understand whats wrong.

when i run using cmd and arguments i can see the database being updated.

when using windows task schedule it seems its not realy working. i am using administrator user.

tried vbs & program path + arguments with no results.

please advise :)

I had the same and it was permissions, ran the vbs manually and said don't ask again for that sort of file and it was fine.  I was running as the local user account though.

Make sure that you enter the full filename: plexwatchnotify.vbs (sometimes people forget the ".vbs")

Make sure you have the event "starting in" the plexwatch folder.

thanks for the program!

can someone help me with schedule task?

i cant understand whats wrong.

when i run using cmd and arguments i can see the database being updated.

when using windows task schedule it seems its not realy working. i am using administrator user.

tried vbs & program path + arguments with no results.

please advise :)

I had the same and it was permissions, ran the vbs manually and said don't ask again for that sort of file and it was fine.  I was running as the local user account though.

I turned off the uac. If i run the vbs from folder its fine..

Make sure that you enter the full filename: plexwatchnotify.vbs (sometimes people forget the ".vbs")
Make sure you have the event "starting in" the plexwatch folder.

Well i choose the program from the folder using basic task on task schduler.

Am i missing something? Thanks for the help.

Well i choose the program from the folder using basic task on task schduler.

Am i missing something? Thanks for the help.

What I mean is that in the "Action" tab in the scheduled task, you need to specify the folder that the script should start in:

Screenshot%202015-01-02%2022.18.37.png

In this case, the starting folder is not optional, it's mandatory.

What I mean is that in the "Action" tab in the scheduled task, you need to specify the folder that the script should start in:

Screenshot%202015-01-02%2022.18.37.png

In this case, the starting folder is not optional, it's mandatory.

Thanks A lot!

works perfectly now :)

@ljunkie - this screenshot would be very helpful for other users.

maybe should be redirected from the first post.

Hello, I seem to have this base system functional, along with plexwwwatch front end.

I ultimately want this to work with growl for windows to shoot it to my phone, or boxcar2 directly to my phone.

I configured both of these things in the config.pl (gntp +boxcar2) file, but neither is receiving anything.

my growl for windows is setup and receiving alerts from my pfsense2, sabnzbd, couchpotato, and sonarr properly, and sending them on to boxcar2 for me...

am I missing something?

gntp relevent config.pl section:

  ## GNTP (GROWL) -- multiple destinations are supported
    'GNTP' => {
        '1' =>  {
            'enabled' => 1, ## set to 1 to enable local growl
            'push_recentlyadded'  => 0,
            'push_watched'        => 0,
            'push_watching'       => 0,
            'push_paused'         => 0,
            'push_resumed'        => 0,
            'application' => $appname,
            'title' => '{user}',
            'server' => '', # destination ip/host
            'port' => '23053',      # default 23053
            'password' => '',       # '' for no pass
            'icon_url' => 'https://rarforge.com/images/plexWatch.57x57.png',
            'sticky' => 1,
        },
 
        '2' =>  {
            'enabled' => 1, ## set to 1 to enable local growl
            'push_recentlyadded'  => 0,
            'push_watched'        => 0,
            'push_watching'       => 0,
            'push_paused'         => 0,
            'push_resumed'        => 0,
            'application' => '{user}',
            'server' => '192.168.0.5', # destination ip/host
            'port' => '23053',      # default 23053
            'password' => '',       # '' for no pass
            'icon_url' => 'https://rarforge.com/images/plexWatch.57x57.png',
            'sticky' => 0,
        },

Hello, I seem to have this base system functional, along with plexwwwatch front end.
 
I ultimately want this to work with growl for windows to shoot it to my phone, or boxcar2 directly to my phone.
 
I configured both of these things in the config.pl (gntp +boxcar2) file, but neither is receiving anything.
 
my growl for windows is setup and receiving alerts from my pfsense2, sabnzbd, couchpotato, and sonarr properly, and sending them on to boxcar2 for me...
 
am I missing something?
 
gntp relevent config.pl section:

 
It looks like you've got all your notification actions set to "0", as in "off". Change the actions you want notifications for to "1" if you want to turn them on. Also, you only need to configure the first section; the second is if you want to push different stats to a separate growl account. This is my setup:

 ## GNTP (GROWL) -- multiple destinations are supported 
    'GNTP' => { 
	'1' => 	{
	    'enabled' => 1, ## set to 1 to enable local growl
	    'push_recentlyadded'  => 1,
	    'push_watched'        => 1,
	    'push_watching'       => 1,
            'push_paused'         => 0,
            'push_resumed'        => 0,
	    'application' => $appname,
            'title' => '{user}',
	    'server' => '192.168.1.4', # destination ip/host
	    'port' => '23053',      # default 23053
	    'password' => '',       # '' for no pass
	    'icon_url' => 'https://rarforge.com/images/plexWatch.57x57.png',
	    'sticky' => 1,
		'watched'  =>  '{user} watched {title} [{streamtype}] [{length}] on {platform} for {duration} [{percent_complete}%] {ip_address}',
		'watching' =>  '{user} {state} {title} [{streamtype}] [{length}] on {platform} for {duration} [{percent_complete}%] {ip_address}'
	},
'2' => 	{
    'enabled' => 0, ## set to 1 to enable local growl
    'push_recentlyadded'  => 0,
    'push_watched'        => 0,
    'push_watching'       => 0,
        'push_paused'         => 0,
        'push_resumed'        => 0,
    'application' => '{user}',
    'server' => '192.168.10.100', # destination ip/host
    'port' => '23053',      # default 23053
    'password' => '',       # '' for no pass
    'icon_url' => 'https://rarforge.com/images/plexWatch.57x57.png',
    'sticky' => 0,
},
},

aha, thanks I was ignoring those sections and moving on once I enabled the top flags. Working as intended now :)

Hey there!  Thanks for plexWatch, it's a killer app that I can't do without.

I am currently trying to upgrade my plexWatch.exe from version 0.2.8 (GitHub release v0.3.1) to either the v0.3.1-DEV-WIN32 or v0.3.2 release.  After I replace plexWatch.exe with either new executable, I am seeing this error in my command line when I try to run the new exe:

not well-formed (invalid token) at line 5, column 81, byte 1574 at /XML/Parser.pm line 187.

Has anyone seen this before?  I am running Windows 7.  I checked out my config.pl file at line 5 as well, but the line is blank.  plexWatch works as desired if I replace the v0.3.x exe with the v0.2.8 one, but I can't seem to get the latest release to run.

Thoughts?  Thanks in advance!   :)

EDIT:     FIXED! - I found the detail in the other plexWatch thread. For any others: user token is the token you get when you create the pushover account, the app token you have to go to the pushover website and add an application and set it as a script (no other detail is needed) and then you get an app token.

Excellent tool thanks! All up and running but struggling with pushover. Can you tell me what should be in the config? I have an account and user key from pushover.

My config:

    'pushover' => {
        'enabled' => 1, ## set to 1 to enable Pushover
        'push_recentlyadded'  => 0,
        'push_watched'        => 1,
        'push_watching'       => 1,
        'push_paused'         => 0,
        'push_resumed'        => 0,
        'token' => 'my user token (api) from pushover', ## your app token
        'user' => 'my email address for pushover',  ## your user token
        'title' => '{user}',
        'sound' => 'intermission',