Thought someone might be interested
Sickbeard now supports Plex notifications and library updates
#1
Posted 28 March 2011 - 01:16 AM
Thought someone might be interested
-------------------
sabnzbd + sickbeard + CouchPotato + Plex = tehwin
Running PMS on a Synology 412+
Clients include: MacMini, iPad 2, iPad Retina, iPhone 4s, iPhone 5, Roku HD, Roku3, Nexus 7, Plex Web in Chrome
Fav Plex Feature: SYNC!
#2
Posted 28 March 2011 - 05:12 AM
Make sure to read up on how to create good Bug Reports and Feature Requests.
Read the Documentation and help edit the Wiki!
Wrote a great plugin? Submit it to the App store!
#3
Posted 28 March 2011 - 06:32 AM
#4
Posted 28 March 2011 - 12:41 PM
#5
Posted 28 March 2011 - 01:15 PM
This feature is fantastic! I personally don't use Plex auto-updates b/c I don't want Plex searching through the file system unnecessarily (especially while I'm watching a movie) or making my external hard drives stay awake. So I love the fact that Sickbeard will call a Plex update only when there is new content downloaded.
I guess I can understand your USB/power issue, but what difference does it make if Plex updates while you're watching a movie? The old issues of stuttering etc because of this haven't affected me for some time now. Also I'm a bit confused ... I mean if you download a show with SB and sab moves it to the folder and Plex auto-updates, how is that any different than if you DL a show and then SB triggers the update? Its going to update either way :-)
It is a cool feature, but for me its only 1/2 the equation ... Couchpotato would need to do the same. But as I've said Plex auto-updates for me fine. With Sabnzbd the last part of the process is to move files to their relative folders in my Plex archives so everything is automated.
Now I haven't really played with the "notification" part of this only because I hate growl notifications when I'm watching media so I expect I would hate this as well. Right now I have SB send notifications to Prowl which go to my iPhone. Also Mynzb on the phone keeps a fine log of what's been dl'ing.
So many options! Its a good thing.
-------------------
sabnzbd + sickbeard + CouchPotato + Plex = tehwin
Running PMS on a Synology 412+
Clients include: MacMini, iPad 2, iPad Retina, iPhone 4s, iPhone 5, Roku HD, Roku3, Nexus 7, Plex Web in Chrome
Fav Plex Feature: SYNC!
#6
Posted 28 March 2011 - 01:29 PM
I download nearly all of my content during the evening hours and view it during the day. So I don't want Plex trying to run updates over my enormous library (which does still cause a stutter because it is so large) during the day. Before the most recent version of Plex, updates would talk about 45 seconds on my mini. It's down to a few seconds since the most recent update. So, for me, I only want Plex updating when it needs to.
Also, during the day, if I do want to force a download, I want it to show up in Plex right away. And with this SickBeard update mechanism, I get exactly this. I use to have nearly the same code that the Sickbeard team integrating into their project pasted at the end of my sabToSickBeard.py script. I took it out this morning, and this is cleaner for SickBeard-acquired content.
You are 100% right that it's not the whole picture, though. I still have a script force a Plex update (via SABnzbd) when I download a movie (either manually or via CouchPotato) or if I get non-Sickbeard-TV-content (like a sports event). In both of those cases, I have SABnzbd groups that invoke a python script that hit the Plex update URL.
FYI - the code is here:
http://forums.plexap...visiting-a-url/
#7
Posted 28 March 2011 - 01:34 PM
Also, why would you need to update a Plex "client" (not the Media Server)? I was confused by this option as well.
#8
Posted 28 March 2011 - 04:28 PM
Mac mini 2,3 GHz Quad-Core Intel Core i7 (With Fusion drive) Panasonic VT50 (55 inch) Pioneer VSX-2021 Receiver Synology 409+ (8 TB NAS)
New to Plex/Nine? Watch my screencast video (slightly out-dated nowadays, but still informing for new users)
Want to know how to handle subtitles? Watch my subtitle screencast video (slightly out-dated nowadays, but still informing for new users)
Always attach log files if you are reporting an issue: Log file info & location
Get Plex guides here: Howto name your files NAS guide Tips & Tricks Plex Help Page
Personal websites that I work daytime/nighttime Vinnarum Casino and Qualifiers Football World Cup in Brazil 2014 match reports (in Swedish)
#9
Posted 28 March 2011 - 08:19 PM
#10
Posted 28 March 2011 - 08:43 PM
"2011-03-28 21:48:19.807332 CP Server Thread-7 :: Update of show directory failed on 192.168.1.4:3000, trying full update as requested
"
Also it seems to connect to the client, not the PMS. Is this right ? Why is it asking for the PMS ip ?
#11
Posted 29 March 2011 - 03:58 AM
Yep, I wrote the addon a while back, Midgetspy has pulled the code in and has changed a couple of things too. He asked me to test, but apparently the code already made it into the master branch
As somebody already said, everybody has different needs. I store my media on a network drive, Plex can't detect changes in the filesystem there. I also don't want to let Plex scan every x time (as I've explained here).
It really depends on how you set up things. I let SABnzbd do the downloading, but let Sick Beard do the moving and renaming, so I need (want) to let Sick Beard send the update signal to Plex, not SABnzbd.Also I'm a bit confused ... I mean if you download a show with SB and sab moves it to the folder and Plex auto-updates, how is that any different than if you DL a show and then SB triggers the update? Its going to update either way :-)
True, although this also depends on your setup. In my case, SABnzbd does send the update signal to Plex in case of movies. Since Sick Beard only downloads TV shows, it'll let Plex only update the TV part of your libraries.It is a cool feature, but for me its only 1/2 the equation ... Couchpotato would need to do the same.
This isn't update related. It send a message to Plex (I havent checked yet if this works at all)Does anyone else know why you'd ever want to update Plex on a SickBeard "snatch"? If the content hasn't been acquired yet, then it has nothing to update on? I was curious when I saw that option.
The Plex Client can recieve messages (something like Growl) to notify you about anything. The "library update" signal will be sent to the Plex Media Server.Also, why would you need to update a Plex "client" (not the Media Server)? I was confused by this option as well.
#12
Posted 29 March 2011 - 04:40 AM
It is a cool feature, but for me its only 1/2 the equation ... Couchpotato would need to do the same.
I've got CouchPotato updating Plex using the XBMC option. Works great! I can post details if anyone is interested and needs help.
If you are asked to provide logs, which you will be if you are having plugin problems, the wiki has details on how to find them.
***************************************************************************************************************************************
Check out unofficial channels in the
UnSupported AppStore
Follow my efforts on Github and Twitter
Donate
#13
Posted 29 March 2011 - 07:56 AM
#14
Posted 29 March 2011 - 10:51 AM
In Plex v8, I think the URL pattern was something like:
http://PLEX-IP:3000/xbmcCmds/xbmcHttp?command=ExecBuiltIn¶meter=XBMC.updatelibrary(video)
And in Plex v9, I think the URL pattern is:
http://PMS-IP:32400/library/sections/[x]/refresh[?force=1]
#15
Posted 29 March 2011 - 10:56 AM
I posted a note on the Sickbeard issue tracker re: Plex notification at http://code.google.c...detail?id=1195:
I enabled Plex notification, and it works properly. However, if I try the "Test Plex Media Server" button it says it failed. I checked in the log, and it looks like a Plex v8 (i.e. XBMC url pattern) command is issued. I guess you don't know whether the person is running Plex v8, v9, etc. So you issue both types of commands and let the wrong one fail? On update, it looks like you issue both v8 and v9 type commands. But on "test server", you only try v8?
So the person above to said that this didn't work for them is probably referring to the "test" button which actually isn't working with my setup either, but actual updates are working after successful Sickbeard downloads.
Here is my Sickbeard debug log when the "Test Plex Media Server" button is pressed. I'm running Plex v9 - so this URL won't work for me:
Mar-29 06:57:26 INFO CP Server Thread-3 :: Warning: Couldn't contact XBMC HTTP server at : Mar-29 06:57:26 DEBUG CP Server Thread-3 :: Contacting XBMC via url: http:///xbmcCmds/xbmcHttp/?parameter=Notification%28Test+Notification%2CTesting+Plex+notifications+from+Sick+Beard%29&command=ExecBuiltIn Mar-29 06:57:26 DEBUG CP Server Thread-3 :: Encoded command is parameter=Notification%28Test+Notification%2CTesting+Plex+notifications+from+Sick+Beard%29&command=ExecBuiltIn Mar-29 06:57:26 DEBUG CP Server Thread-3 :: Sending notification to XBMC via host: username: password: Mar-29 06:57:26 DEBUG CP Server Thread-3 :: Sending notification for Testing Plex notifications from Sick Beard
#16
Posted 29 March 2011 - 02:02 PM
If I'm not mistaken, the XBMC update method is only available in Plex v8 and earlier. With Plex v9, the update URL is different.
In Plex v8, I think the URL pattern was something like:http://PLEX-IP:3000/xbmcCmds/xbmcHttp?command=ExecBuiltIn¶meter=XBMC.updatelibrary(video)
And in Plex v9, I think the URL pattern is:http://PMS-IP:32400/library/sections/[x]/refresh[?force=1]
I'm not at my computer right now, so I don't have screen shots or exact details. In the CP settings, all you need to do is enter the PMS update url
http://PMS-IP:32400/library/sections/[x]/refresh[?force=1]in where CP asks for the XBMC host. To avoid unneccesary scanning and metadata re-downloading, I recommend leaving the 'force' option off.
If you are asked to provide logs, which you will be if you are having plugin problems, the wiki has details on how to find them.
***************************************************************************************************************************************
Check out unofficial channels in the
UnSupported AppStore
Follow my efforts on Github and Twitter
Donate
#17
Posted 12 April 2011 - 07:54 AM
I have the same problem. Any idea what the correct settings are? It works perfectly from Couchpotato!Does anyone else know why you'd ever want to update Plex on a SickBeard "snatch"? If the content hasn't been acquired yet, then it has nothing to update on? I was curious when I saw that option.
Also, why would you need to update a Plex "client" (not the Media Server)? I was confused by this option as well.
#18
Posted 12 April 2011 - 01:06 PM
If you are asked to provide logs, which you will be if you are having plugin problems, the wiki has details on how to find them.
***************************************************************************************************************************************
Check out unofficial channels in the
UnSupported AppStore
Follow my efforts on Github and Twitter
Donate
#19
Posted 12 April 2011 - 01:24 PM
#20
Posted 12 April 2011 - 01:36 PM
The client option sends an onscreen notification. You only 'need' it if you want the notifications. There are other options too, like Growl if that suits you better.
I don't think the Growl notifications work still on the OSX version, due to something with Growl which hasn't been updated in awhile. I use the Prowl option in SB to send notifications to my iPhone though, and it works great. Its just a personal thing but I don't want/need any kind of on-screen notification popping up while I'm watching TV or a Movie
Here's the thread I'm referencing for the Growl problems on OSX:
http://code.google.com/p/sickbeard/issues/detail?id=112#c15
-------------------
sabnzbd + sickbeard + CouchPotato + Plex = tehwin
Running PMS on a Synology 412+
Clients include: MacMini, iPad 2, iPad Retina, iPhone 4s, iPhone 5, Roku HD, Roku3, Nexus 7, Plex Web in Chrome
Fav Plex Feature: SYNC!
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users












