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
Online

Posting Freak

Ontario Canada
Posts: 53,129
Threads: 957
Joined: May 2006
#341
2014-03-05, 02:11 AM
What is the image api? AFAIK there is none and if you get it the execption you only need to call these once

Code:
public Task<StreamResponseInfo> GetChannelImageAsync(string channelId, CancellationToken cancellationToken)
        {
            // Leave as is. This is handled by supplying image url to ChannelInfo
            throw new NotImplementedException();
        }

        public Task<StreamResponseInfo> GetProgramImageAsync(string programId, string channelId, CancellationToken cancellationToken)
        {
            // Leave as is. This is handled by supplying image url to ProgramInfo
            throw new NotImplementedException();
        }

        public Task<StreamResponseInfo> GetRecordingImageAsync(string recordingId, CancellationToken cancellationToken)
        {
            // Leave as is. This is handled by supplying image []rl to RecordingInfo
            throw new NotImplementedException();
        }

Martin
lukemb3
Offline

Member

Posts: 109
Threads: 1
Joined: Jul 2013
#342
2014-03-05, 02:15 AM
Ok, then I stand corrected on that. I thought we had those methods implemented but I guess not.

In that case you'll see an improvement once I'm able to make the core changes to download the guide less frequently, and I will be doing that soon.

In the meantime, how is the rest of it going? Are all the management functions supported?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,129
Threads: 957
Joined: May 2006
#343
2014-03-05, 03:13 AM
lukemb3 Wrote:In the meantime, how is the rest of it going? Are all the management functions supported?

I'm still figuring it all out, I couldn't really do anything until after ujb with help from sub improved newa speed late Sunday. I thought I'd start with something easy CancelSeriesTimerAsync() and my lack of knowledge of mb3 is hurting me because I can't even find the matchin UI piece in the browser. The code itself isn't hard to read but I never use vs 2012 before and there were a few new types like bool? that I had to understand.

I think I found my first bug yesterday and I wanted to know where to report them. If the guide start time is 9pm and and a show goes from 8 to 9;01, it fills the 9pm-9:30 grid rather than the 9:01 show

Martin
lukemb3
Offline

Member

Posts: 109
Threads: 1
Joined: Jul 2013
#344
2014-03-05, 03:24 AM
Ok, thanks. I'll look at the guide issue.

SeriesTimers correspond to the Series tab in the web client. Timers correspond to Schedule.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,129
Threads: 957
Joined: May 2006
#345
2014-03-05, 03:35 AM
lukemb3 Wrote:SeriesTimers correspond to the Series tab in the web client. Timers correspond to Schedule.

That was easy but the cancel button seems to just dismiss the the screen. Looking at it again I now see the X on the first screen is the cancel now another 3 minute restart to reload the recmpiled dll

Martin
lukemb3
Offline

Member

Posts: 109
Threads: 1
Joined: Jul 2013
#346
2014-03-05, 03:42 AM
Ok. I will look at reducing the guide downloading but you guys may want to see what you can possibly optimize as well. ServerWmc by comparison takes 10-20 seconds.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,129
Threads: 957
Joined: May 2006
#347
2014-03-05, 03:53 AM
How many channels do you have? I have around 190 x 14 days of data that you ask for.

Martin
lukemb3
Offline

Member

Posts: 109
Threads: 1
Joined: Jul 2013
#348
2014-03-05, 04:05 AM
I only have about 60 channels but we have people on our test team with as many as 700.

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.
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#349
2014-03-05, 04:05 AM
lukemb3 Wrote:The best way to solve this is ensure the objects only have image url's if the images exist. That will eliminate 95% of the http requests. As you guys know the epg data can change, so just because a program doesn't have an image the first time, doesn't mean it won't have an image three hours later. so that's why it tries again everytime it refreshes the guide. You can eliminate all of those 404's http requests just by making that change.

Where are you getting objects that have urls for items that do not actually have an image? (i.e. API/Method)

I was thinking that was fixed some time ago.
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
lukemb3
Offline

Member

Posts: 109
Threads: 1
Joined: Jul 2013
#350
2014-03-05, 04:18 AM
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.
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  Looking for C# UPnP Media Server code bgowland 5 7,742 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,926 2013-05-22, 04:09 AM
Last Post: mvallevand
  Streaming media imilne 44 13,137 2012-12-14, 04:05 AM
Last Post: mvallevand
  SkyDrive Eplorer Integration Released.....also available for Mac and iPad UncleJohnsBand 0 1,478 2012-04-24, 01:06 AM
Last Post: UncleJohnsBand
  Building a list of files in media folders (npvr Music and Videos) bgowland 2 1,942 2012-02-05, 10:29 AM
Last Post: bgowland
  Windows Media Connect - Storing stuff on a Home Server psycik 3 2,749 2009-09-29, 03:47 AM
Last Post: mvallevand
  Plugin notification of stopped media mvallevand 7 2,401 2009-08-19, 11:16 PM
Last Post: mvallevand
  GBPVR Media Events KingArgyle 1 1,613 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