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
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 56,779
Threads: 998
Joined: May 2006
#41
2011-12-20, 05:34 AM
psycik Wrote:I've also, but not tested a whole heap, storing and retrieving the playback position in Plex.

Hi psycik, the resume is working really nicely now. I was testing back an fourth with my PC/TV with Plex and PC/NMT with NPVR and the resume point was being kept current.

You might be able to get around reloading the list by updating the object:

Code:
UiList.ListObject item = uiList.GetListObjects()[uiList.GetSelectionIndex()]; // or a saved index reference item["@viewOffset"] = 12345;

Martin
psycik
Offline

Posting Freak

Posts: 5,211
Threads: 424
Joined: Sep 2005
#42
2011-12-20, 05:55 AM
Yeah I'll probably look at that. It's more pullin from the pms server. But in sure ill work something out.

Glad you're enjoying the resume. And glad its working properly. I couldn't test it much....I was coding via the Internet at home (from work) and the connection was a bit slow.

I added a "root" option to the menu as well, to return to the main sections.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 56,779
Threads: 998
Joined: May 2006
#43
2011-12-20, 06:26 AM
Actually there was a bug in that version. If I exit NextPVR without starting Plex I get this

Code:
System.NullReferenceException: Object reference not set to an instance of an object. at NUtility.Base.NewStyleButtonListPlugin.Dispose() at dcSoftware.NPVR.Plugins.PlexPlugin.PlexPlugin.Notify(String eventName, Object eventArg) at NUtility.EventBus.Notify(String eventName, Object eventArg) at NUtility.EventBus.Notify(String eventName) at NextPVR.ControllerForm.OnClosing(Object sender, FormClosingEventArgs e) at System.Windows.Forms.Form.OnFormClosing(FormClosingEventArgs e) at System.Windows.Forms.Form.WmClose(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) at NextPVR.ControllerForm.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Once I start Plex I can exit fine.

Martin
psycik
Offline

Posting Freak

Posts: 5,211
Threads: 424
Joined: Sep 2005
#44
2011-12-20, 06:31 AM
Ahh ok. I found with adding that ieventnotication that npvr would not exit until I added a dispose.
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,645
Threads: 258
Joined: Feb 2005
#45
2011-12-21, 03:17 AM
psycik Wrote:OK, here's a 0.4 release.
Hopefully fixes that default server problem - are you guying typing the name or using the drop down box in the settings panel?

I've also, but not tested a whole heap, storing and retrieving the playback position in Plex. Once it's stored you do need to refresh the directory (go up a level and back) to see it take effect - in normal operation when it's between sessions this shouldn't be necessary, but for testing it will be.

I haven't yet got a Resume/Restart panel coming, need to figure out how to get access to Subs screen, so it always resumes at the moment. Not sure what this will do at the end of a video.

Definitely take a backup of the previous version and consider these as and alpha, early beta.

Loaded....now get the following when exiting NPVR....
Code:
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at NUtility.Base.NewStyleButtonListPlugin.Dispose() at dcSoftware.NPVR.Plugins.PlexPlugin.PlexPlugin.Notify(String eventName, Object eventArg) at NUtility.EventBus.Notify(String eventName, Object eventArg) at NUtility.EventBus.Notify(String eventName) at NextPVR.ControllerForm.OnClosing(Object sender, FormClosingEventArgs e) at System.Windows.Forms.Form.OnFormClosing(FormClosingEventArgs e) at System.Windows.Forms.Form.WmClose(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) at NextPVR.ControllerForm.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5448 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- NextPVR Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/NextPVR.exe ---------------------------------------- NShared Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/NShared.DLL ---------------------------------------- NUtility Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/NUtility.DLL ---------------------------------------- System.Data Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5447 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Data.SQLite Assembly Version: 1.0.65.0 Win32 Version: 1.0.65.0 CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/System.Data.SQLite.DLL ---------------------------------------- System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Data.Entity Assembly Version: 3.5.0.0 Win32 Version: 3.5.30729.5420 built by: Win7SP1 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Data.Entity/3.5.0.0__b77a5c561934e089/System.Data.Entity.dll ---------------------------------------- System.Core Assembly Version: 3.5.0.0 Win32 Version: 3.5.30729.5420 built by: Win7SP1 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System.Runtime.Remoting Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll ---------------------------------------- PlexPlugin Assembly Version: 0.4.4371.17552 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/NUtility.dll ---------------------------------------- System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- qeii0w2t Assembly Version: 0.4.4371.17552 Win32 Version: 2.0.50727.5447 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- PlexPlugin.XmlSerializers Assembly Version: 0.2.4344.35982 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/NUtility.dll ---------------------------------------- SearchLite Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/NUtility.dll ---------------------------------------- System.Web.Services Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll ---------------------------------------- YouTube Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/NUtility.dll ---------------------------------------- Google.GData.YouTube Assembly Version: 1.7.0.1 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/NUtility.dll ---------------------------------------- Google.GData.Client Assembly Version: 1.7.0.1 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/NUtility.dll ---------------------------------------- MusicBox4 Assembly Version: 9.3.0.34872 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/NUtility.dll ---------------------------------------- Interfaces Assembly Version: 9.1.3.42818 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/NUtility.dll ---------------------------------------- Interop.WMPLib Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/NUtility.dll ---------------------------------------- System.Transactions Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll ---------------------------------------- System.EnterpriseServices Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll ---------------------------------------- UltraID3Lib Assembly Version: 0.9.6.8 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/NUtility.dll ---------------------------------------- SearchLite Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/NUtility.dll ---------------------------------------- SlimDX Assembly Version: 2.0.8.42 Win32 Version: CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/SlimDX.DLL ---------------------------------------- msvcm90 Assembly Version: 9.0.30729.6161 Win32 Version: 9.00.30729.6161 CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57/msvcm90.dll ---------------------------------------- taglib-sharp Assembly Version: 2.0.3.0 Win32 Version: 2.0.3.0 CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/taglib-sharp.DLL ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
psycik
Offline

Posting Freak

Posts: 5,211
Threads: 424
Joined: Sep 2005
#46
2011-12-21, 03:18 AM
Yeah Martin found that yesterday. Think it happens if you dont enter the plex plugin. I'll fix tonight and post a new one.
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,645
Threads: 258
Joined: Feb 2005
#47
2011-12-21, 03:20 AM
mvallevand Wrote:Actually there was a bug in that version. If I exit NextPVR without starting Plex I get this

Code:
System.NullReferenceException: Object reference not set to an instance of an object. at NUtility.Base.NewStyleButtonListPlugin.Dispose() at dcSoftware.NPVR.Plugins.PlexPlugin.PlexPlugin.Notify(String eventName, Object eventArg) at NUtility.EventBus.Notify(String eventName, Object eventArg) at NUtility.EventBus.Notify(String eventName) at NextPVR.ControllerForm.OnClosing(Object sender, FormClosingEventArgs e) at System.Windows.Forms.Form.OnFormClosing(FormClosingEventArgs e) at System.Windows.Forms.Form.WmClose(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) at NextPVR.ControllerForm.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Once I start Plex I can exit fine.

Martin

Yea....that is what I am seeing.....
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,645
Threads: 258
Joined: Feb 2005
#48
2011-12-21, 03:23 AM
This is what I am seeing in my plex log in the npvr\logs directory......still not seeing anything in the plugin......

Code:
12/20/2011 10:01:23 PM ========================================================================================================= 12/20/2011 10:01:23 PM PlexPlugin.PlexConnect: Connect called 12/20/2011 10:01:23 PM PlexPlugin.PlexConnect: Settings Retrieved 12/20/2011 10:01:23 PM PlexPlugin.PlexConnect: Getting Server "Den" 12/20/2011 10:01:23 PM Server.GetServer: Server in collection (1) "Den" 12/20/2011 10:01:23 PM Server.GetServer: Found server matching default server name, returning it. 12/20/2011 10:01:23 PM PlexPlugin.PlexConnect: Other Error message : Invalid URI: A port was expected because of there is a colon (':') present but the port could not be parsed. 12/20/2011 10:01:24 PM PlexPlugin.Notify: EventName: "STARTUP_COMPLETE" 12/20/2011 10:02:13 PM PlexPlugin.Notify: EventName: "EXITING" 12/20/2011 10:04:46 PM PlexPlugin.Notify: EventName: "EXITING" 12/20/2011 10:04:55 PM PlexPlugin.Notify: EventName: "EXITING"
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
psycik
Offline

Posting Freak

Posts: 5,211
Threads: 424
Joined: Sep 2005
#49
2011-12-21, 03:26 AM
That's looking like theres a port missing as part of the server name. Check both the name an port (32400) is filled in in the config app and maybe post the contents of your plex.xml file (in with the plugin dll)
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,645
Threads: 258
Joined: Feb 2005
#50
2011-12-21, 03:30 AM
psycik Wrote:That's looking like theres a port missing as part of the server name. Check both the name an port (32400) is filled in in the config app and maybe post the contents of your plex.xml file (in with the plugin dll)

Ok...last release the config entry for port was to be the server:port so I just removed the server and left a number for the port....and it seems to now to be starting but I get this in the log.....

Code:
12/20/2011 10:15:05 PM Server.GetSection: Server is online, setting location 12/20/2011 10:15:05 PM Server.GetSection: Location set to: "http://den:32400/library/sections/" deserialising.... 12/20/2011 10:15:05 PM Server.Deserialise: Error deserialising "http://den:32400/library/sections/" 12/20/2011 10:15:05 PM 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)
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (15): « Previous 1 … 3 4 5 6 7 … 15 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextEnd V2 Pre-Release Announcement mvallevand 94 53,017 2018-02-20, 06:52 PM
Last Post: mvallevand
  Plex Channel for NextPVR psycik 289 215,532 2018-01-14, 04:17 AM
Last Post: psycik
  New plugin - MovieTrailers imilne 11 8,053 2014-09-25, 08:16 AM
Last Post: imilne
  HD Logos for the NPVR WebRadio Plugin Lao Pan 3 4,476 2014-02-09, 01:32 PM
Last Post: Lao Pan
  Files plugin tmrt 13 9,644 2014-01-09, 11:16 PM
Last Post: mvallevand
  NEWA Release Build 2.10 Released 2013-12-30 UncleJohnsBand 0 2,851 2013-12-31, 02:53 AM
Last Post: UncleJohnsBand
  NEWA Release Build 1.30 Released 2012-11-27 UncleJohnsBand 0 2,969 2012-11-28, 04:11 AM
Last Post: UncleJohnsBand
  Web Cams plugin for NextPVR McBainUK 37 21,072 2012-10-19, 07:35 AM
Last Post: McBainUK
  NEWA Release Build 1.26 Released 2012-08-24 UncleJohnsBand 0 6,155 2012-08-25, 04:56 AM
Last Post: UncleJohnsBand
  PhotoFilter: New Photos/Videos plugin to browse using metadata cncb 1 2,767 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