NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information Community Announcements v
« Previous 1 2 3 4 5 6 … 56 Next »
Plex Plugin - first release

 
  • 0 Vote(s) - 0 Average
Plex Plugin - first release
smacrae
Offline

Senior Member

Posts: 255
Threads: 11
Joined: Aug 2012
#71
2012-11-22, 12:07 AM
Hi Psycik,

Just wondering, for the life of me I cannot get this plugin to work against my Plex Server. Doesn't matter if I run it on a local machine or the same machine as the PMS box.

I've tried every combination I can think of in the pled.xml settings file, currently I have it set as:
<?xml version="1.0" encoding="utf-8"?><PlexSettings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><DefaultServer>127.0.0.1</DefaultServer><Servers><Name>127.0.0.1</Name><Port>32400</Port></Servers><SourcePath /><DestPath /></PlexSettings>

In the above example I am running NextPVR/Plex.plugin off of the same box that the PMS box is also installed on.

Can you advise what I am doing wrong?

Kind Regards,

Scot
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#72
2012-11-22, 12:13 AM
I can't really see anything wrong in there. Mine looks pretty similar, but I have the machine name (and it's not the same machine, but hey).

There should be a plex.log file in the logs directory, might be worth sending me that.

EDIT: Also when you look in the logs you'll see stuff like: http://aragorn.lan:32400/library/sections/ (aragorn being my server). Try navigating to those paths in ie and you'll get some XML dump, but it should (at least this one) show you your moves and tv shows collections.

It wont show you photos or music.
smacrae
Offline

Senior Member

Posts: 255
Threads: 11
Joined: Aug 2012
#73
2012-11-22, 12:16 AM
Thanks psycik:

see below:

22/11/2012 10:56:17 AM PlexPlugin.Initialise: Called. ForceReload: "True"
22/11/2012 10:56:17 AM PlexPlugin.PopulateList: Start
22/11/2012 10:56:17 AM PlexPlugin.PlexConnect: Connect called, getting settings from "C:\Users\Public\NPVR\Plugins\PlexPlugin\Plex.xml"
22/11/2012 10:56:17 AM PlexPlugin.PlexConnect: Settings Retrieved
22/11/2012 10:56:17 AM PlexPlugin.PlexConnect: Getting Server "127.0.0.1"
22/11/2012 10:56:17 AM PlexPlugin.PlexConnect: Server set: "http://127.0.0.1:32400/"
22/11/2012 10:56:17 AM PlexPlugin.PlexConnect: Retrieving Sections for server
22/11/2012 10:56:17 AM Server.GetSection: Start, test IsOnline
22/11/2012 10:56:17 AM Server.IsOnline: Testing server is online at location "http://127.0.0.1:32400/"
22/11/2012 10:56:17 AM Server.IsOnline: Result returned from server, is online
22/11/2012 10:56:17 AM Server.GetSection: Server is online, setting location
22/11/2012 10:56:17 AM Server.GetSection: Location set to: "http://127.0.0.1:32400/library/sections/" deserialising....
22/11/2012 10:56:17 AM Server.Deserialise: Error deserialising "http://127.0.0.1:32400/library/sections/"
22/11/2012 10:56:17 AM Server.Deserialise: Error StackTrace: at System.ModuleHandle.ResolveType(Int32 typeToken, RuntimeTypeHandle* typeInstArgs, Int32 typeInstCount, RuntimeTypeHandle* methodInstArgs, Int32 methodInstCount)
at System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
at System.Reflection.Module.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, Module decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, RuntimeMethodHandle& ctor, Boolean& ctorHasParameters, Boolean& isVarArg)
at System.Reflection.CustomAttribute.GetCustomAttributes(Module decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes)
at System.Reflection.CustomAttribute.GetCustomAttributes(Assembly assembly, RuntimeType caType)
at System.Reflection.Assembly.GetCustomAttributes(Type attributeType, Boolean inherit)
at System.Xml.Serialization.TempAssembly.IsSerializerVersionMatch(Assembly serializer, Type type, String defaultNamespace, String location)
at System.Xml.Serialization.TempAssembly.LoadGeneratedAssembly(Type type, String defaultNamespace, XmlSerializerImplementation& contract)
at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
at System.Xml.Serialization.XmlSerializer..ctor(Type type)
at dcSoftware.Plex.Navigation.Server.DeSerialise(Uri location)
22/11/2012 10:56:17 AM Server.GetSection: Could not return section information
22/11/2012 10:56:17 AM PlexPlugin.PlexConnect: Other Error message : Object reference not set to an instance of an object.
22/11/2012 10:56:17 AM PlexPlugin.Activate: Activate called. ForceReload: "False"
22/11/2012 10:56:17 AM PlexPlugin.Activate: No need to connect again
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#74
2012-11-22, 12:17 AM
Can you try changing to localhost rather than 127.0.0.1
smacrae
Offline

Senior Member

Posts: 255
Threads: 11
Joined: Aug 2012
#75
2012-11-22, 12:24 AM
Okay, that worked.

Now my next question is getting my head around the source and destination path names.

I've been testing from just the PMS that I have a copy of NextPVR on also (it's my TV server also).

However with my little NextPVR clients around the house I am assuming I will need to ensure that the server IP correctly resolves to a name and that I set up the source/destination path stuff correct?

Thanks

Scot
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#76
2012-11-22, 12:28 AM
smacrae Wrote:Okay, that worked.

Now my next question is getting my head around the source and destination path names.

I've been testing from just the PMS that I have a copy of NextPVR on also (it's my TV server also).

However with my little NextPVR clients around the house I am assuming I will need to ensure that the server IP correctly resolves to a name and that I set up the source/destination path stuff correct?

Thanks

Scot

For the filename replace?

Well there's a couple of ways to swing that...
In plex use the "manual" entry and set your libraries the \\server\Movies\ \\server\shows
Unfortunately will require a rescan.

Or to do it in plex plugin you'll have to try replacing what I assume is a drive letter P:\Movies with a share name \\server\movies

This of course, assumes for both there is a share name set up for the "movies" etc. I tend to use the first method, as my plex server is not the same as my nextpvr server.

So my Movies library in plex is set up as \\aragorn\movies which is accessible from my next pvr machine
smacrae
Offline

Senior Member

Posts: 255
Threads: 11
Joined: Aug 2012
#77
2012-11-22, 12:39 AM
Thanks...makes sense and will re-add the libraries on the PMS as it seems easier.

Just 2 more questions sorry:

1.
Just wondering from the other NextPVR clients around the house that I have how do I get them to connect? I just attempted to put in the IP address of the server and also the name of the PMS server (which pings fine, therefore resolves, hard coded it in my hosts file) but it doesn't work. So from the PMS that has NextPVR I also changed localhost to name of my server/system to mediaserver which I have hard coded in a hosts file also but then doesn't work...only works using localhost

2.
I noticed that DVD covers in my Movies section work out nice, however in the TV series and Music they don't show...any ideas?

Thanks heaps for your help and speed of reply...
smacrae
Offline

Senior Member

Posts: 255
Threads: 11
Joined: Aug 2012
#78
2012-11-22, 12:44 AM
oh, just saw the music isn't supported, no worries in this as I just use my SONOS system for Musics anyhow...however I still don't get the TV show images like on the Movies....

Also, is it possible to have your plug-in not show a section (such a music) so the wife/kids don't try to select it and tell me off?
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#79
2012-11-22, 12:50 AM
Yeah I think I've noticed the Tv Covers don't always (ever?) come out on mine. I should fix that.

Hmm so music shows up? I thought I had a check for that... On mine I have no music showing up - I'm just going to check I still have the section - I may not. Ahh I dont. Photos however are a type of "photo" and I exclude those. I should add an exclude for music as well.

If I ever change it to display photos/music I'll add them back in.

So basically there's two fixes for me to do.
smacrae
Offline

Senior Member

Posts: 255
Threads: 11
Joined: Aug 2012
#80
2012-11-22, 12:53 AM
Sorry....also I cannot connect from other NextPVR clients around the 'house'

I've hardcoded my NextPVR clients hosts files to resolve to the PMS IP address in case your plugin doesn't like IP addresses...still no go. Only working off of the server with localhost....

Would love it if TV covers showed and Music was excluded ;-) Great little plugin btw...
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (15): « Previous 1 … 6 7 8 9 10 … 15 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextEnd V2 Pre-Release Announcement mvallevand 94 40,194 2018-02-20, 06:52 PM
Last Post: mvallevand
  Plex Channel for NextPVR psycik 289 178,587 2018-01-14, 04:17 AM
Last Post: psycik
  New plugin - MovieTrailers imilne 11 6,303 2014-09-25, 08:16 AM
Last Post: imilne
  HD Logos for the NPVR WebRadio Plugin Lao Pan 3 3,428 2014-02-09, 01:32 PM
Last Post: Lao Pan
  Files plugin tmrt 13 7,512 2014-01-09, 11:16 PM
Last Post: mvallevand
  NEWA Release Build 2.10 Released 2013-12-30 UncleJohnsBand 0 2,199 2013-12-31, 02:53 AM
Last Post: UncleJohnsBand
  NEWA Release Build 1.30 Released 2012-11-27 UncleJohnsBand 0 2,291 2012-11-28, 04:11 AM
Last Post: UncleJohnsBand
  Web Cams plugin for NextPVR McBainUK 37 15,945 2012-10-19, 07:35 AM
Last Post: McBainUK
  NEWA Release Build 1.26 Released 2012-08-24 UncleJohnsBand 0 5,464 2012-08-25, 04:56 AM
Last Post: UncleJohnsBand
  PhotoFilter: New Photos/Videos plugin to browse using metadata cncb 1 2,039 2012-08-10, 04:06 PM
Last Post: cncb

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode