alright, i gave it a go and it seems to be working fine, let me throw some more stuff into it to see how it goes.
alright, i gave it a go and it seems to be working fine, let me throw some more stuff into it to see how it goes.
Good to know. If you blew away the plexWatch.db and it all went through, then it sounds like the new url encoding is working. If we don't have any further issues in the next day or so, I'll release this as stable.
Good to know. If you blew away the plexWatch.db and it all went through, then it sounds like the new url encoding is working. If we don't have any further issues in the next day or so, I'll release this as stable.
right, everything seems to be working just fine, 2 new episodes i throwed in got reported, logged and pushed to my phone:

I am thinking you are either missing the package 'make' and/or 'gcc'. You could try installing those through apt-get/yum.
You could also just install the default build utils:
Ubuntu: apt-get build-essential
Centos: yum groupinstall "Development Tools"
I was able to install the twitter plug-in by typing in the CPAN shell:
force install Net::Twitter::Lite::WithAPIv1_1
By the way, any chance of adding support for BoxCar?
Added to my list. I also plan on email support. Any others?
Still plan on adding ?
Still plan on adding ?
How did I forget? I'll add this to the next release.
Awsome! :D
Thanks again!!
While we're on the subject of notifications. can we add support for Growl for Windows?
http://www.growlforwindows.com/gfw/developers.aspx
Thanks.
And perhaps Snarl as well? ;)
See: https://sites.google.com/site/snarlapp/developers/api-reference#TOC-Introduction
While we're on the subject of notifications. can we add support for Growl for Windows?
http://www.growlforwindows.com/gfw/developers.aspx
Thanks.
This is a perfect example why I need to change the existing growl provider to be more generic. Currently growl only works for OSX hosts. I will be looking into changing the GROWL notification to use something like http://search.cpan.org/~mattn/Growl-GNTP-0.20/ . I'd prefer not to use a module, but depending on time I might.
tl;dr - generic growl update on the list
By the way, any chance of adding support for BoxCar?
Pushed to the dev branch. All it requires is a valid EMAIL address registered to a boxcar account. Just enable boxcar in config.pl, set your email and give it a test.
Dev Branch:
https://github.com/l...xWatch/tree/dev
config.pl: https://raw.github.c.../config.pl-dist
plexWatch.pl: https://raw.github.c...ev/plexWatch.pl
Awsome! :D
Will test this weekend.. You the man!
Thanks again!!
And perhaps Snarl as well? ;)
See: https://sites.google.com/site/snarlapp/developers/api-reference#TOC-Introduction
It looks like snarl will be supported when I switch the Growl provider to a GNTP provider. I might actually just leave the growl provider 'as is' instead of making anyone switch configs. I will be adding a new provider for GNTP and will code to allow for multiple destinations.
Nice, sounds great.
Thanks again.
Hey everyone. I hope my constant updates are not annoying :) I am setting the dev branch to a release candidate. If any of you can please test this over the weekend and let me know how it goes. I'd like to release this Monday if everything goes well.
plexWatch - RC1
Dev Branch:
https://github.com/l...xWatch/tree/dev
config.pl: https://raw.github.c.../config.pl-dist
plexWatch.pl: https://raw.github.c...ev/plexWatch.pl
Main new features:
:: since 0.0.14 ::
* --recently_added=movie -- will notify when new movies are added to the PMS
* --recently_added=show -- will notify when new episodes are added to the PMS
Requires the notification provider in config.pl to have 'push_recentlyadded' => 1
* Twitter added
* Boxcar added
* --exclude_user
* all providers now have 'push_watched', 'push_watching' and 'push_recentlyadded' . You can enable these per provider. You still need to set 'enabled' => 1 to actually enable the provider.
Change Log:
0.0.15-rc1
* added recently_added=[movie,show] -- notify on recently added items to PMS
* Twitter added as a provider
- requires Net::Twitter::Lite::WithAPIv1_1 ( install with: 'cpan Net::Twitter::Lite::WithAPIv1_1' )
- requires Net::OAuth >= 0.28 ( install with: 'cpan Net::OAuth' )
- twitter OAUTH required - create a new app @ https://dev.twitter.com/apps
-- make sure to set set ApplicationType to read/write
* config.pl: added push_watched => 1, push_watching => 1, push_recently_added => 1 to all providers. Enable to disable specific notify types
* --exclude_user added to all functions. You can specifiy --exclude_user multiple times.. i.e --exclude_user=user1 --exclude_user=otherUsername
* Boxcar added as provider
- All you need is a registered account on boxcar (valid email)
- If enabled, this script with register your boxcar account to the plexWatch service -- simple right?
* Twitter/OAuth modules ONLY required if you enable twitter (Net::Twitter::Lite::WithAPIv1_1 , Net::OAuth)
* removed module WWW::Curl::Easy (replaced with LWP which is more standard)
* removed module URI::Escape (using my own subroutine)
* --version added -- easier to debug
I am still hoping to add the GNTP (growl) provider after this release. I haven't forgot :)
will give most of it a go tonight, down with a cold atm.
dev build results in this:
rob@RobsUbuntuServer:/opt/plexWatch$ sudo /opt/plexWatch/plexWatch.pl
Failed to get request http://localhost:32400/status/sessions - The result:
Not Found
404 Not Found
Plex is up and running just fine and indeed that page does NOT exist. Never has.
Well, NOT a permission error or bad ip.
rob@RobsUbuntuServer:/opt/plexWatch$ sudo chown -R rob:rob config.pl
rob@RobsUbuntuServer:/opt/plexWatch$ sudo chown -R rob:rob plexWatch.db
rob@RobsUbuntuServer:/opt/plexWatch$ sudo chown -R rob:rob plexWatch.pl
rob@RobsUbuntuServer:/opt/plexWatch$ ls -l
total 80
-rw-r--r-- 1 rob rob 3649 Jul 27 13:40 config.pl
-rw-r--r-- 1 rob rob 11264 Jul 27 13:37 plexWatch.db
-rwxr-xr-x 1 rob rob 62337 Jul 27 13:34 plexWatch.pl
rob@RobsUbuntuServer:/opt/plexWatch$ /opt/plexWatch/plexWatch.plFailed to get request http://192.168.1.193:32400/status/sessions - The result:
Not Found
404 Not Found
dev build results in this:
Plex is up and running just fine and indeed that page does NOT exist. Never has.
Well, NOT a permission error or bad ip.
This is odd. Can you view the page it's trying to grab? http://192.168.1.193:32400/status/sessions
Just to verify, what version of PMS are you running? I would have thought a Plex Pass versions since this has worked before.
Viewing http://192.168.1.193:32400/status/sessions results in 404 Not Found:
Not Found
404 Not Found
Request URL:http://192.168.1.193:32400/status/sessions
Request Method:GET
Status Code:404 Not Found
Request Headersview source
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-US,en;q=0.8
Cache-Control:no-cache
Connection:keep-alive
Cookie:__jwpusr=b896e767-60db-4510-b1b9-2ff6d58ec457; plushContainerWidth=100%25; plushMultiOps=1; plushNoTopMenu=0; jwplayer.volume=100; SESSION-GUID=ygv6sedpxyt7f1or; testing=1; sid=2143dbfa03b4cc30a3f8b275975461b7; advanced_toggle_checked=1; snatched_view2=list; soon_view2=thumbs; late_view2=list; wanted_view2=details; manage_view2=details
DNT:1
Host:192.168.1.193:32400
Pragma:no-cache
Referer:http://forums.plexapp.com/index.php/topic/72552-plexwatch-plex-notify-script-send-push-alerts-on-new-sessions-and-stopped/page-5
User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.72 Safari/537.36
Response Headersview source
Cache-Control:no-cache
Content-Length:85
Content-Type:text/html
X-Plex-Protocol:1.0
Running Plex Media Server Version 0.9.7.28 with Plex/Web Version 1.2.6 on Ubuntu 13.04 x64.
Viewing http://192.168.1.193:32400/status/sessions results in 404 Not Found:
Running Plex Media Server Version 0.9.7.28 with Plex/Web Version 1.2.6 on Ubuntu 13.04 x64.
This is why. I changed the code to error if the /status/sessions url fails - which is was for you before, it just didn't exit with an error before. This script requires PMS 0.9.8.x (PlexPass only version for now) for any watched status. The --recently_added option *should* work with prior versions. I will look into checking PMS versions in this script to explain this when it errors.
Am I correct with the fact this script has never notified you on watching/watched status? It really shouldn't have ever been able to.