emveepee 112 Posted May 9, 2019 Share Posted May 9, 2019 I am in the process of starting the port for v5 of NextPVR and I was wondering how can I create a second LiveTV plugin (not instance) for NextPVR rather than trying to put conditions of every single call. This would also allow for users to use both setups during testing and initial implementations. Martin 2 Link to comment Share on other sites More sharing options...
emveepee 112 Posted May 14, 2019 Author Share Posted May 14, 2019 I originally posted this question in the LiveTV NextPVR sub-forum. I am in the process of starting the port for v5 of NextPVR and I was wondering how can I create a second LiveTV plugin (not instance) for NextPVR rather than trying to put conditions of every single call. This would also allow for users to use both setups during testing and initial implementations. Perhaps it is better here. Can anyone help me? Martin Link to comment Share on other sites More sharing options...
ebr 14913 Posted May 14, 2019 Share Posted May 14, 2019 You'd just need to give it a different dll name and GUID. Link to comment Share on other sites More sharing options...
emveepee 112 Posted May 14, 2019 Author Share Posted May 14, 2019 (edited) Thanks. After that how do I get it added to Emby as a PVR choice for any premium user? Martin Edited June 6, 2019 by emveepee Link to comment Share on other sites More sharing options...
Silverking 0 Posted May 15, 2019 Share Posted May 15, 2019 Looking forward to testing this. However the Emby team don't seem to be interested as no one has bothered to reply! Link to comment Share on other sites More sharing options...
ebr 14913 Posted May 15, 2019 Share Posted May 15, 2019 For beta testing just provide the dll in a forum topic. Once everything is completely fleshed out, we can investigate putting it in the catalog. Thanks. Link to comment Share on other sites More sharing options...
Luke 37065 Posted May 15, 2019 Share Posted May 15, 2019 Thanks. After that how do I get it added to Emby as a PVR choice for any premium user? Martin Apologies for being slow to respond. Once you setup the next pvr plugin settings, then you just have to run the refresh guide scheduled task in Emby. Once that finishes, there's nothing else that needs to be done. Link to comment Share on other sites More sharing options...
emveepee 112 Posted May 16, 2019 Author Share Posted May 16, 2019 Apologies for being slow to respond. Once you setup the next pvr plugin settings, then you just have to run the refresh guide scheduled task in Emby. Once that finishes, there's nothing else that needs to be done. Ok thanks. I assume you mean that is the setup for any beta testing since I do want it in the catalog later on. Martin Link to comment Share on other sites More sharing options...
pünktchen 1258 Posted May 16, 2019 Share Posted May 16, 2019 Ok thanks. I assume you mean that is the setup for any beta testing since I do want it in the catalog later on. Martin I think Luke didn't really read your question, but used one of his standard answers. 1 Link to comment Share on other sites More sharing options...
Luke 37065 Posted May 16, 2019 Share Posted May 16, 2019 Sorry, I misunderstood. I thought you were asking how to test the plugin in Emby Server. When you get to the stage of adding it to the catalog, we can help you with that. Link to comment Share on other sites More sharing options...
emveepee 112 Posted June 3, 2019 Author Share Posted June 3, 2019 (edited) Looking at the port code does anyone know how LiveTvServiceStatusInfo() is used and where/if I can get that to display in Emby? Martin Edited June 3, 2019 by emveepee Link to comment Share on other sites More sharing options...
Luke 37065 Posted June 3, 2019 Share Posted June 3, 2019 It's not currently used. Link to comment Share on other sites More sharing options...
emveepee 112 Posted June 6, 2019 Author Share Posted June 6, 2019 You'd just need to give it a different dll name and GUID. Ok I renamed the dll and GUID and I see this in the log 2019-06-06 13:10:25.214 Info App: Loading MediaBrowser.Plugins.NextPvr, Version=3.3.3.0, Culture=neutral, PublicKeyToken=null from D:\Emby\programdata\plugins\MediaBrowser.Plugins.NextPvr5.dll But it doesn't show up as a plugin and there are no further errors in the log. Martin Link to comment Share on other sites More sharing options...
Luke 37065 Posted June 6, 2019 Share Posted June 6, 2019 What version of the server and what version of the nuget package did you build against? Link to comment Share on other sites More sharing options...
emveepee 112 Posted June 6, 2019 Author Share Posted June 6, 2019 I just built against whatever I pulled from github It shows 4.2.0.9 beta Martin Link to comment Share on other sites More sharing options...
emveepee 112 Posted June 6, 2019 Author Share Posted June 6, 2019 (edited) After reverting your recent beta change it shows up and I can configure and start testing. I now need to figure out how to empty the DVR database from the old server data Martin Edited June 6, 2019 by emveepee Link to comment Share on other sites More sharing options...
Luke 37065 Posted June 6, 2019 Share Posted June 6, 2019 I just built against whatever I pulled from github It shows 4.2.0.9 beta Martin Ok, yes, make sure to use the latest nuget package that has a version number equal to or less than your server version. Link to comment Share on other sites More sharing options...
emveepee 112 Posted June 7, 2019 Author Share Posted June 7, 2019 (edited) A few questions on moving forward, I got this working in the debugger now (Emby is not running as a service) 1) Is the dll reloaded when it is changed or do I need restart the server? 2) Can Emby be stopped from a link or command line curl instead of the tray? I found a message to use /system/shutdown but I tried http://localhost:8096/system/shutdown and http://localhost:8096/web/system/shutdown without success 3) Is there any documentation on what fields need to be completed and not left as null in the classes that are returned. I am working on timers and recordings to start and I get the lists but no contents just a lot spinning circle. The calls happen a lot so I am thinking that Emby is expecting more. Martin Edited June 7, 2019 by emveepee Link to comment Share on other sites More sharing options...
Luke 37065 Posted June 8, 2019 Share Posted June 8, 2019 You have to restart the server. Your first url should work though, what happened when you tried that? Link to comment Share on other sites More sharing options...
emveepee 112 Posted June 8, 2019 Author Share Posted June 8, 2019 (edited) I get a text response with "Unable to find the specified file" perhaps that is for service instances only? Martin Edited June 8, 2019 by emveepee Link to comment Share on other sites More sharing options...
Luke 37065 Posted June 10, 2019 Share Posted June 10, 2019 did you send a get to that url? it should be a post. Link to comment Share on other sites More sharing options...
emveepee 112 Posted June 10, 2019 Author Share Posted June 10, 2019 did you send a get to that url? it should be a post. No I used GET I will try POST tomorrow. Thanks Martin Link to comment Share on other sites More sharing options...
emveepee 112 Posted June 10, 2019 Author Share Posted June 10, 2019 Ok thanks a post with data works to shutdown cleanly and closes the tray icon Martin Link to comment Share on other sites More sharing options...
Luke 37065 Posted June 10, 2019 Share Posted June 10, 2019 Thanks for the feedback. Link to comment Share on other sites More sharing options...
emveepee 112 Posted June 10, 2019 Author Share Posted June 10, 2019 I mostly have the NextPVR v5 update working with Emby now but I have a few questions probably because of my ignorance of Emby. 1. Failed Recordings don't show up in recordings, are they supposed too? 2. Conflict Recordings don't show in recordings or schedules, are they supposed too? 3. Should In Progress recordings be in schedules, recordings or both? The old plugin had them in recordings and I get the recording indicator in recordings but I don't see how to cancel from there. They cancel fine from the Guide and channel list. Note several of my earlier issues where related to Emby not sending a UserAgent by default and issues (now fixed) on the server with that. Martin Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now