Cannot connect to Plex Media Server for notification

I’m new to NzbDrone and things are looking good so far, but I’m currently unable to get it to notify Plex Media Server when new content is downloaded.

Here’s the configuration dialog: http://i.imgur.com/ySdgI0K.png

Everything here looks good and it matches my working configuration from SickBeard, but pressing “test” results in a “[testplexserver] Failed”.

It is also worth noting that the “Password” field is a regular text field for Plex Server connections, so passwords entered are revealed back to the user in plaintext.

I’m currently running Plex Media Server installed from Plex-Media-Server-0.9.907.429-f80a8d6-en-US.exe and NzbDrone 2.0.0.1319

I believe its an authentication issue, I’ll take a look.

Added to Trello: https://trello.com/c/dwBEbP9V/656-plex-server-username-and-password-not-working - I’ll update the Trello card once its implemented, but if I have any more questions I’ll respond here.

Looks like a change to Plex notifications has started showing up as errors in my log:

Unable to send OnDownload notification to: Plex: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.

Failed to Update Plex host: pandora.saturn.lan: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.

I can give you the larger relevant portions of the log if that would be helpful. (It does seem that it’s still updating the library, however, unless its just a coincidence).

Edit: Yup, I think it’s still updating the library (I do not require local authentication, so my login and pass are blank for Plex in NZBD), unless Plex started being able to automatically detect changes on my NAS… doubtful.

Yes, need more information from the logs to determine where the issue is.

System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
at System.String.Format(IFormatProvider provider, String format, Object[] args)
at System.String.Format(String format, Object[] args)
at NzbDrone.Core.Notifications.Plex.PlexServerProxy.Update(Int32 sectionId, PlexServerSettings settings) in m:\BuildAgent1\work\328d72309b633a8\src\zbDrone.Core\otifications\Plex\PlexServerProxy.cs:line 44
at NzbDrone.Core.Notifications.Plex.PlexService.UpdateSection(Int32 key, PlexServerSettings settings) in m:\BuildAgent1\work\328d72309b633a8\src\zbDrone.Core\otifications\Plex\PlexService.cs:line 71
at NzbDrone.Core.Notifications.Plex.PlexService.<>c__DisplayClass2.b__0(Int32 s) in m:\BuildAgent1\work\328d72309b633a8\src\zbDrone.Core\otifications\Plex\PlexService.cs:line 50
at System.Collections.Generic.List1.ForEach(Action1 action)
at NzbDrone.Core.Notifications.Plex.PlexService.UpdateLibrary(PlexServerSettings settings) in m:\BuildAgent1\work\328d72309b633a8\src\zbDrone.Core\otifications\Plex\PlexService.cs:line 56
at NzbDrone.Core.Notifications.Plex.PlexServer.UpdateIfEnabled() in m:\BuildAgent1\work\328d72309b633a8\src\zbDrone.Core\otifications\Plex\PlexServer.cs:line 37
at NzbDrone.Core.Notifications.Plex.PlexServer.OnDownload(DownloadMessage message) in m:\BuildAgent1\work\328d72309b633a8\src\zbDrone.Core\otifications\Plex\PlexServer.cs:line 25
at NzbDrone.Core.Notifications.NotificationService.Handle(EpisodeDownloadedEvent message) in m:\BuildAgent1\work\328d72309b633a8\src\zbDrone.Core\otifications\otificationService.cs:line 88

System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
at System.String.Format(IFormatProvider provider, String format, Object[] args)
at System.String.Format(String format, Object[] args)
at NzbDrone.Core.Notifications.Plex.PlexServerProxy.Update(Int32 sectionId, PlexServerSettings settings) in m:\BuildAgent1\work\328d72309b633a8\src\zbDrone.Core\otifications\Plex\PlexServerProxy.cs:line 44
at NzbDrone.Core.Notifications.Plex.PlexService.UpdateSection(Int32 key, PlexServerSettings settings) in m:\BuildAgent1\work\328d72309b633a8\src\zbDrone.Core\otifications\Plex\PlexService.cs:line 71
at NzbDrone.Core.Notifications.Plex.PlexService.<>c__DisplayClass2.b__0(Int32 s) in m:\BuildAgent1\work\328d72309b633a8\src\zbDrone.Core\otifications\Plex\PlexService.cs:line 50
at System.Collections.Generic.List1.ForEach(Action1 action)
at NzbDrone.Core.Notifications.Plex.PlexService.UpdateLibrary(PlexServerSettings settings) in m:\BuildAgent1\work\328d72309b633a8\src\zbDrone.Core\otifications\Plex\PlexService.cs:line 50

Whoops, that was a stupid mistake, fixed in develop now (being built as I write this).