NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 3 4 5 6 7 … 93 Next »
Media Browser Integration

 
  • 0 Vote(s) - 0 Average
Media Browser Integration
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,124
Threads: 957
Joined: May 2006
#351
2014-03-05, 04:21 AM
lukemb3 Wrote:I should correct those numbers a little. If the guide has not been downloaded, it's usually 1-2 minutes, but on subsequent runs where it's just updating data, it's very fast, 10-20 seconds because it's not going to re-download images that were already downloaded.

I likely notice it more because I get the 1-3 minute hit everytime I reload to test my changes. To be fair the version of NEWA I have is doing an insane amount of logging, something like 15,000 lines per channel or more than a million on an update.

Martin
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#352
2014-03-05, 04:24 AM
mvallevand Wrote:I likely notice it more because I get the 1-3 minute hit everytime I reload to test my changes. To be fair the version of NEWA I have is doing an insane amount of logging, something like 15,000 lines per channel or more than a million on an update.

Martin

Yea.... I need to back that off.... Smile
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
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,124
Threads: 957
Joined: May 2006
#353
2014-03-05, 04:37 AM
lukemb3 Wrote:If it's fixed then I stand corrected on that. I have not worked with next pvr myself ever since I handed it off to Sven. And that was 4-6 weeks ago so I may not be fully up to date.

Fixed yes. plus There is also the other bug I mentioned. If "The Big Band Theory" is on 100s of times in the two week period, MB3 downloads it many times and saves it with a unique guid in meta data folder. Right now I have almost 5000 folder.jpg in the metadata folder and I only have 321 files with cover art in NextPVR collection (which is why I am forcing null) I don't have any Video or Music Library in MB3 so that is all from EPG downloads.

Martin
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,124
Threads: 957
Joined: May 2006
#354
2014-03-05, 05:41 AM
Luke, have a look at the attached, I guess there was a refresh at midnight. You can see call to the backend and then the server processes it for 4x as long with the Running ProgramImageProvider lines and I had stripped out the url so there is nothing to fetch. I working with UJB to reduce the NEWA overhead on logging etc, but that's an expensive call.

Martin
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,124
Threads: 957
Joined: May 2006
#355
2014-03-08, 02:55 PM
lukemb3 Wrote:Can you review the recording management functions? Specifically CreateTimer and CreateSeriesTimer.

Then we have some unimplemented methods:

https://github.com/MediaBrowser/MediaBro...#L451-L465

They are done with the notable exception that some NextPVR features do not seem to be implemented in MB3

- selection of recording directories
- number of recordings to keep
- extend the end time of recording

NextPVR doesn't currently implement mandatory padding.

Quote:If you were to complete those I believe the guide and schedule would be fully manageable. Once those are done I can give details on what is needed for playback.Thanks.

I am looking forward to the playback details.

Martin
lukemb3
Offline

Member

Posts: 109
Threads: 1
Joined: Jul 2013
#356
2014-03-08, 03:12 PM
I'm not really a live tv user so to be honest I'm not sure what those are. If can explain each of them to me I'll get them added to our roadmap, maybe even make stubs in the interface now even though they won't be used yet.

I'll get you playback info now..
lukemb3
Offline

Member

Posts: 109
Threads: 1
Joined: Jul 2013
#357
2014-03-08, 03:18 PM
Let's start with recordings since those are much easier than live Channels. Currently two protocols are supported - file path and url. We can add more as new back-ends introduce new requirements, so if this doesn't work then let me know and I'll add support for whatever is needed.

In RecordingInfo:

Specify Path, or Url, or neither. If neither is specified then GetRecordingStream will be called, at which point you have to return an object with a Path or Url. Path is always preferred but only use that if the server machine has direct access to the recording location.

- If you specify Path or Url in GetRecordingInfo, then you can leave GetRecordingStream unimplemented because it will never be used
- If you use GetRecordingStream, you should also assign an Id to the return object. Once playback is complete CloseLiveStream will be called and that Id will be passed in, in case you need to do any house-keeping to shutdown any processes.
lukemb3
Offline

Member

Posts: 109
Threads: 1
Joined: Jul 2013
#358
2014-03-08, 03:22 PM
While we're at this, images work the same way. You either specify ImagePath, ImageUrl, or neither and then GetRecordingImage will be called (or GetChannelImage, GetProgramImage). So that's why those methods are unimplemented if you're using ImageUrl.

I did fix the issue of ProgramImageProvider getting called repeatedly. What you need to do is, if ImagePath and ImageUrl are both left blank, set HasImage to false and that will tell the core there is no image available and then GetRecordingImage will never be called.
lukemb3
Offline

Member

Posts: 109
Threads: 1
Joined: Jul 2013
#359
2014-03-08, 03:23 PM
One last thing - if you want to submit a pull request or even just post the changes, I'll be happy to integrate them, that way I can update the plugin solution with both your changes and the latest nuget packages.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,124
Threads: 957
Joined: May 2006
#360
2014-03-08, 03:35 PM
lukemb3 Wrote:While we're at this, images work the same way. You either specify ImagePath, ImageUrl, or neither and then GetRecordingImage will be called (or GetChannelImage, GetProgramImage). So that's why those methods are unimplemented if you're using ImageUrl.

I did fix the issue of ProgramImageProvider getting called repeatedly. What you need to do is, if ImagePath and ImageUrl are both left blank, set HasImage to false and that will tell the core there is no image available and then GetRecordingImage will never be called.

Let's start here because it's a nightmare, today's update was 17 minutes to the point I don't want to do anything more. NEWA time was < 1 minute and during that time MB3 is not calling NEWA, so it's internal processing.

I do I force a full refresh to test that it works?

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 3 Guest(s)

Pages (56): « Previous 1 … 34 35 36 37 38 … 56 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Looking for C# UPnP Media Server code bgowland 5 7,740 2016-12-16, 08:25 PM
Last Post: mvallevand
  Media\Show Directory mvallevand 12 6,106 2014-07-02, 10:58 AM
Last Post: sub
  Media\Shows Metadata mvallevand 2 1,924 2013-05-22, 04:09 AM
Last Post: mvallevand
  Streaming media imilne 44 13,132 2012-12-14, 04:05 AM
Last Post: mvallevand
  SkyDrive Eplorer Integration Released.....also available for Mac and iPad UncleJohnsBand 0 1,477 2012-04-24, 01:06 AM
Last Post: UncleJohnsBand
  Building a list of files in media folders (npvr Music and Videos) bgowland 2 1,940 2012-02-05, 10:29 AM
Last Post: bgowland
  Windows Media Connect - Storing stuff on a Home Server psycik 3 2,746 2009-09-29, 03:47 AM
Last Post: mvallevand
  Plugin notification of stopped media mvallevand 7 2,395 2009-08-19, 11:16 PM
Last Post: mvallevand
  GBPVR Media Events KingArgyle 1 1,612 2005-03-27, 07:12 PM
Last Post: sub

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

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

Linear Mode
Threaded Mode