PlexWatch v0.1.1 Released
Downloads: plexWatch.exe and config.pl-dist-win32
GitHub: https://github.com/ljunkie/plexWatch/tree/dev (source: plexWatch.pl )
Screenshots: iOS Boxcar // iOS Prowl // iOS Pushover // Win7 Growl
Make sure you look at the new config.pl-dist-win32 ( old config.pl will work, but you will probably want to update the two things I list below )
Things to update in your config.pl
1) $alert_format -- I would use these ongoing and change them as your see fit. Mainly removing "{user} watched|watching|etc" from the beginning - The title is dynamically corrected now to to fix redundancy
$alert_format = {'start' => '{title} [{streamtype}] [{year}] [{rating}] on {platform} [{progress} in] {ip_address}',
'paused' => '{title} [{streamtype}] [{year}] [{rating}] on {platform} [{progress} in] [{percent_complete}%] {ip_address}',
'resumed' => '{title} [{streamtype}] [{year}] [{rating}] on {platform} [{progress} in] [{percent_complete}%] {ip_address}',
'stop' => '{title} [{streamtype}] [{year}] [{rating}] on {platform} for {duration} [{percent_complete}%] {ip_address}',
'watched' => '{user} watched {title} [{streamtype}] [{year}] [{length}] [{rating}] on {platform} for {duration} [{percent_complete}%] {ip_address}',
'watching' => '{user} {state} {title} [{streamtype}] [{year}] [{rating}] [{length}] on {platform} for {duration} [{percent_complete}%] [{time_left} left] {ip_address}'
};
2) $notify -- added new new push options to every provider ( except file of course )
'push_paused' => 1,
'push_resumed' => 1,
Change Log 0.1.0
* Twitter now works for windows
* Linux and Windows branches (dev) are now on the same code base.
Change Log 0.1.0
* NEW: Email provider ( NonAuth, Auth, TLS/SSL supported) requires Net::SMTP::TLS
centos: yum install perl\(Net::SMTP::TLS\)
debian: apt-get install libnet-smtp-tls-perl
other: cpan install MIME::Lite
* NEW: paused/resumed state and time are now accounted for
* NEW: paused/resumed push types enabled - push_paused, pushed_resumed added to each provider
* NEW: you can override 'alert_format' per provider ( check out the EMAIL provider for an example )
* FIX: watched duration corrected going forward (accounts for paused content and can be overridden with $count_paused )
paused/resumed states have allowed this to work
* FIX: Redundant titles are now fixed - Title/Application also will always show {user} unless overridden in config.pl
$appname is no longer used and replaced with {user} -- {user} if used even if config.pl has $appname ( no need to update config.pl )
before: title: "plexWatch watched" msg: "user watched title etc...."
after: title: "{user} watched" msg: "title etc...."
* FIX: --test_notify will not print options to test ( and they actually correspond to the right notification type now!)
* FIX: do not print backup info every time --debug is called
* FIX: duration watched when video is paused, then stopped
* FIX: XML UTF-8 decoding/encoding ( only seemd to affect FC18 )
* FIX: Accent marks/umlauts are allowed
* Screenshots added to screenshots folder for iOS and Windows