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,184
Threads: 958
Joined: May 2006
#331
2014-03-02, 04:34 AM
I just update to try to help and it looks like the stupid server is now trying to download meta data for each epg entry so no thanks for now.

Martin
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,184
Threads: 958
Joined: May 2006
#332
2014-03-02, 04:20 PM
Ok it's not d/ling them from the Internet but it downloads and creates a separate image for each instance in the guide for one show. That's hundreds for The Big Bang Theory alone. As a result loading the EPG for two weeks data is way too slow 20 seconds a channel and I have 180+ channels.

Martin
lukemb3
Offline

Member

Posts: 109
Threads: 1
Joined: Jul 2013
#333
2014-03-02, 05:04 PM
It shouldn't be reading two weeks. You can go to the dashboard -> live tv settings -> change the number of guide days to 2. If the downloads are currently in progress, you can stop them by going to scheduled tasks -> stop the refresh guide task, although in the current version of the server you'll need to rerun the task manually after changing the setting.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,184
Threads: 958
Joined: May 2006
#334
2014-03-02, 06:24 PM
Ok that's done to 5-7 seconds a channel but still way too slow. 80% of the problem seems to be in NEWA though, so UJB might need to look at it.

Martin
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#335
2014-03-02, 07:18 PM
mvallevand Wrote:Ok that's done to 5-7 seconds a channel but still way too slow. 80% of the problem seems to be in NEWA though, so UJB might need to look at it.

Martin

Looking into this now....
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,184
Threads: 958
Joined: May 2006
#336
2014-03-03, 06:45 PM
lukemb3, is there a url to generate and epg update? I'd like to do that as a scheduled task, since although the NEWA time can be reduced (to under two minutes in my case) a full update takes another 10 minutes. If there is no url, I see a date stamp file can I just delete it and restart the service?

Martin
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,184
Threads: 958
Joined: May 2006
#337
2014-03-03, 10:56 PM (This post was last modified: 2014-03-04, 03:25 AM by mvallevand.)
Can I disable automatcic epg updates completely? I got home today figuring I had a 1/2 an hour to play and without even updating my npvr.db3 from the backend MB3 server

1) did an epg update

2014-03-03 17:41:28.3303 Info - App: Refresh Guide Completed after 10 minute(s) and 2 seconds

2) update to new alpha server

3) did another epg update on restart with no check for an image on each event

2014-03-03 17:44:14.9069 Info - App: Refresh Guide Completed after 1 minute(s) and 49 seconds

(This is a killer each time I restart to load a new compile)

It's definitely fetching a year of data even when I ask for two days.

Martin
lukemb3
Offline

Member

Posts: 109
Threads: 1
Joined: Jul 2013
#338
2014-03-04, 10:33 PM
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.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,184
Threads: 958
Joined: May 2006
#339
2014-03-04, 11:08 PM
You just shift the burden of checking the 60000 EPG entries for an image to the backend though. I just tried changing ImageUrl = null to see if I can live with it during testing and it still adds 10 seconds on to each scan, (8 1/2 minutes on an i7) so it is not something you want to do interactively.

Martin
lukemb3
Offline

Member

Posts: 109
Threads: 1
Joined: Jul 2013
#340
2014-03-05, 01:47 AM
There is a change that I would have to make also that will drastically reduce it. Right now regardless of ImageUrl the plugin will also attempt to use your image api endpoint and then just get a 404. If you guys are able to make this change, then I can remove that and you will see a drastic reduction.

The startup guide download that you mentioned before is something I do intend to improve. It shouldn't need to do that everytime, so I will be improving that.
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

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


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