plexWatch - Windows Branch

it's included in 0.3.1-DEV ( included the post below)

I might of forgotten to mention/add this to the config. You will need to add the block below to your notification options.

$notify = {
...
    'pushbullet' => {
        'enabled' => 0,
        'push_recentlyadded'  => 0,
        'push_watched'        => 0,
        'push_watching'       => 0,
        'push_paused'         => 0,
        'push_resumed'        => 0,
        'title'               => '{user}',
        'apikey'              => 'API KEY', # Pushbullet API key https://www.pushbullet.com/account
        'device'              => 'DEVICE IDEN', # https://api.pushbullet.com/api/devices put yor API key as username and password empty
    },


}

Hi ljunkie,

Any estimate on when we may be able to get pushbullet support in the Windows branch?

Thanks for all of your awesome work here! This is an awesome utility.

PlexWatch v0.3.1-DEV

  • ignore Trailers (extra content)
  • clean extras optional: plexWatch.exe --clean_extras

Upgrade instructions:

PlexWatch v0.3.0 (previous release notes)

  • DB: use write-ahead logging (possible performance gains)
  • Provider: Pushbullet
  • Provider: External Scripts (rudimentary plugin architecture)
  • DB: ratingKey, parentKey, grandParentKey (easier sql queries plexWWWatch/plexWatchWeb)

I'm in the process of setting plex watch up but not sure what to edit or configure in c:\plexWatch\config.pl. i followed all the instructions except editing that config file. it seems to currently be exporting the info to a txt file without ip and debug enabled in plex.

My end goal is to have plex watch running with ip logging and I don’t really need it to notify or email anything as I plan on using plex watch web for a front end and monitor from there on a regular basis. Also, I need some help installing plexwatchweb if someone can assist me there as well, I am not sure where to paste those files or if I need to install additional software to enable it.

Thanks in advance for your help! :)

Edit: Nevermind got it figured out...easy enough if you take the time to read all the way throught github ... :-)

Got PlexWatch 0.3.1 up and running and it’s simply amazing!

However every time a movie is played PlexWatch is recording the 'Cinema Trailers pre-roll video' in the log, is there a way to exclude this? Or a way to exclude a Library where all the pre-roll videos are stored?

Thanks! I was hoping the recent update dealt with (excluded) all extras, but I guess it didn't exclude pre-roll videos. I'll see what I can do. 

Got PlexWatch 0.3.1 up and running and it’s simply amazing!

However every time a movie is played PlexWatch is recording the 'Cinema Trailers pre-roll video' in the log, is there a way to exclude this? Or a way to exclude a Library where all the pre-roll videos are stored?

In regards to the $userdisplay section in the config.pl, how do we handle entering a platform name that contains an apostrophe (i.e. Joe's iPad)?  I'm thinking it would confuse the code and prematurely end the line. 

## Give a user a more friendly name. I.E. REAL_USER will now be Frank
## you may also specify the platform with user+platform
$user_display = {'rudyvarner' => 'Rudy',
         'rudyvarner+Roku 3' => 'Basement',
		 'rudyvarner+Roku 2 XD' => 'Bedroom',
		 'rudyvarner+Joe's iPad' => 'Joe',
		};

I'm not sure if this is the place for this. I'm trying to accomplish something I think to be simple, but it may not be. I have a website which has a form for making requests for shows / movies on my server. I was wondering if there's a way to make a channel just load that page on peoples tv like a browser so they can fill it out and submit. It's mobile friendly so chances it probably won't need mouse support at all. Let me know if there is an easy way to crank this out for my friends and family. If not I will revisit this at a later time when I can learn something more advanced than html, css, php. (my current skillset)

On windows the --start and --stop flags don't work for me. Am I doing something wrong? I tried it with a bunch of combos for the date... 2014-06-30, 06-29-2014, "today" and some of the others in the readme

Those flags are not supported on windows as windows doesn’t a support a required perl module.

On windows the --start and --stop flags don’t work for me. Am I doing something wrong? I tried it with a bunch of combos for the date… 2014-06-30, 06-29-2014, “today” and some of the others in the readme

15rl0sj.png

Sorry for the late reply. You would need to escape any apostrophe, e.g. 'rudyvarner+Joe\'s iPad'
 
 
 

In regards to the $userdisplay section in the config.pl, how do we handle entering a platform name that contains an apostrophe (i.e. Joe's iPad)?  I'm thinking it would confuse the code and prematurely end the line. 

## Give a user a more friendly name. I.E. REAL_USER will now be Frank
## you may also specify the platform with user+platform
$user_display = {'rudyvarner' => 'Rudy',
         'rudyvarner+Roku 3' => 'Basement',
		 'rudyvarner+Roku 2 XD' => 'Bedroom',
		 'rudyvarner+Joe's iPad' => 'Joe',
		};

Is there a way to have this report the transcode speed?  I know that PlexNotify can tell you how fast your machine is processing the transcode.

Hi all,

Don't know if I have installed this correctly. I am using the latest version of plexWatch. 0.3.1

When testing via the command prompt I don't get anything reported, but if I look in plexwatch.log it has listed the Plex activity.

Will this still work as intended even though its not listing anything in the command prompt?

Thanks..

I am wanting to get it working with plexwatchweb.

Just getting settled into your script and I have one quick question. In what file will I find the options to edit the contents of the email notification? I'd like to remove some portions such as the summary and possibly a few formatting changes. 

Hi all,

Don't know if I have installed this correctly. I am using the latest version of plexWatch. 0.3.1

When testing via the command prompt I don't get anything reported, but if I look in plexwatch.log it has listed the Plex activity.

Will this still work as intended even though its not listing anything in the command prompt?

Thanks..

I am wanting to get it working with plexwatchweb.

Hi,

Just set up and installed plexWatch and Plexwatch/Web myself, so thought I'd just chip in and answer your question..

You need to set the plexWatch.exe to run as a scheduled task every minute. It then continues to build the log of activity that plexWatch/web references to show you data.

Also as a tip to people wanting plexWatch/web, but don't have much experience of setting up apache/PHP, just install a wamp server google it), it's free, has a GUI installer and comes with all the extensions for plexWatch/web configured out the box (SQLite, cURL, etc). I'm sure that's mentioned elsewhere, but it's just to help :)

On another note, thanks so much to the developer - this does exactly what I wanted it to and works superbly.

PlexWatch v0.3.2

  • cache auth and token info, if applicable (give plex.tv a break)
  • exclude library ids (e.g. preroll ): config.pl (@exclude_library_ids = (999, 998); ## exclude this library section (by id) -- full exclusion)

Upgrade instructions:

  • replace plexWatch.exe
  • that's it ( it will upgrade/fix itself )

--- previous release notes ---

PlexWatch v0.3.1-DEV

  • ignore Trailers (extra content)
  • clean extras optional: plexWatch.exe --clean_extras

PlexWatch v0.3.0 (previous release notes)

  • DB: use write-ahead logging (possible performance gains)
  • Provider: Pushbullet
  • Provider: External Scripts (rudimentary plugin architecture)
  • DB: ratingKey, parentKey, grandParentKey (easier sql queries plexWWWatch/plexWatchWeb)

I just did a fresh install of windows today, along with xampp, plex etc. I am using the latest PMS 0.9.11.4. I saved my old plexwatch.db and I would like to use it so i don't lose all the stats from previous months. When I have it in the folder and the scheduled tasks are running it won't update that db anymore. If i move it out of the folder it will create a new db and update that. If I use the new db then plexwatchWeb tells me that it can't access the database. I don't know if I missed something or if it is because of the new PMS. If anything else is needed let me know and I'll do my best to provide it!

tl;dr want to use old plexwatch.db with new install of plexwatch on a fresh os install

  1. The existing DB will work, but make sure it has read/write permissons.
  2. If you have created a home or added a PIN to your admin user, then you will need to add your plex account to the plexWatchWeb interface. More assitance with plexWatchWeb may be found here

note: you will also need to add user user/pass to the plexWatch config.pl if you have enable a home

I just did a fresh install of windows today, along with xampp, plex etc. I am using the latest PMS 0.9.11.4. I saved my old plexwatch.db and I would like to use it so i don't lose all the stats from previous months. When I have it in the folder and the scheduled tasks are running it won't update that db anymore. If i move it out of the folder it will create a new db and update that. If I use the new db then plexwatchWeb tells me that it can't access the database. I don't know if I missed something or if it is because of the new PMS. If anything else is needed let me know and I'll do my best to provide it!

tl;dr want to use old plexwatch.db with new install of plexwatch on a fresh os install

Thank you for the quick reply, I have checked the read/write permissions and ive given admin total control and still no dice the vbs scheduled tasks won't update it. I also did everything in 2, It shows that database in plexwatchweb now but it just won't update now

Perfect! you are at step 2 and it partially works (progress!), there is also step 3, I kind of mentioned in the "note". You'll need to add your user/pass to the config.pl, if you have added users to your home, or added a PIN to your admin user.

Thank you for the quick reply, I have checked the read/write permissions and ive given admin total control and still no dice the vbs scheduled tasks won't update it. I also did everything in 2, It shows that database in plexwatchweb now but it just won't update now

Right, I added my user/pass to the config, then also signed in with plexwatchweb and i checked that config and it has a token. I am testing it right now and it is tracking the currently watched but it is not logging it to the history of that old db. more progress!

(also, in plexwatchweb it says that my plexwatch version is 0.2.8 but I am certain it is 0.3.2 since that is what the exe says when i hover over it in the folder)

It sounds like plexWatch.exe hasn't run yet (if it's reporting 0.2.8), or is failing to run in an automated fashion. What happens when you run in manually from the command prompt while watching a video? Also, when you say you have updated the config, just verifying, you are updating the config.pl and not plexWatchWeb config.

Right, I added my user/pass to the config, then also signed in with plexwatchweb and i checked that config and it has a token. I am testing it right now and it is tracking the currently watched but it is not logging it to the history of that old db. more progress!

(also, in plexwatchweb it says that my plexwatch version is 0.2.8 but I am certain it is 0.3.2 since that is what the exe says when i hover over it in the folder)