NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 9 10 11 12 13 … 93 Next »
Faking NPVR install for dev machine?

 
  • 0 Vote(s) - 0 Average
Faking NPVR install for dev machine?
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#1
2012-10-28, 08:54 PM
Hi,

I'm wanting to do some development for something and need to get recordings, tv listings etc from a npvr install.

I'll install npvr on my dev machine, but this machine doesn't have any tuner cards and wont have any tv guide data or anything.

Is there any way to fake this?

cheers
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#2
2012-10-28, 09:30 PM
Try copying the database file from a proper install perhaps?

Iain
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,705
Threads: 767
Joined: Nov 2003
#3
2012-10-28, 09:32 PM
If you install it, then copy your database from another machine, it'll show you channels/listings etc.

If you want the database to also show recordings, that aren't available on that machine, you'd probably want to set the following in config.xml before starting the app with the copied database:

<AutoRemoveMissingRecordings>false</AutoRemoveMissingRecordings>
<CheckForRenamedRecordings>false</CheckForRenamedRecordings>

EDIT: imilne bet me to it.
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#4
2012-10-28, 09:40 PM
cheers, anyone have a copy of a db file they can share? dont have access to one on this computer and trying to work on something.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,705
Threads: 767
Joined: Nov 2003
#5
2012-10-28, 09:57 PM
Attach is a Freeview one.
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#6
2012-10-28, 11:01 PM
thanks for that sub, got it now Smile
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#7
2012-10-29, 08:50 PM
hey sub when using the db you attached, when i call
Code:
NUtility.EPGEvent.GetListingsForTimePeriod(Start, End)
i don't get any listings for tv1, tv2, maori, u, tv1 + 1 and a few others

when i load up the webconsole that also doesn't show the channels without any epg data.

however inside the epg_event table the is guide data for those channels and the tv guide inside nextpvr app shows guide data for those channels.

any idea why?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,705
Threads: 767
Joined: Nov 2003
#8
2012-10-29, 11:09 PM
Are you using a valid time period, specified in UTC?
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#9
2012-10-30, 12:28 AM
yup, tv3, four, prime and a few others all return correct epg data, but tv1, 2, maori and a few others return nothing.

i tried using datetime.min/max.

since the webconsole (localhost:8866) also isnt listing those channels, perhaps its a bug?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,705
Threads: 767
Joined: Nov 2003
#10
2012-10-30, 12:42 AM
Sorry, I'm not home today, so cant check this out right now.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Way to tell programmatically if channel load in from NPVR has finished... gdogg371 3 2,380 2021-03-11, 03:59 PM
Last Post: mvallevand
  Plugins and NPVR. Where do we start? sub 80 68,843 2020-11-26, 10:02 PM
Last Post: mandai
  Test/Development environment for npvr.db3 scJohn 10 4,326 2020-09-04, 09:14 PM
Last Post: scJohn
  How to extract M3U8 and get matching XMLTV guide data from NPVR almightyj 0 3,436 2018-10-23, 07:24 AM
Last Post: almightyj
  ios app to control npvr ui idea jnbooker15 4 3,601 2015-09-21, 10:19 PM
Last Post: sub
  ios app to control npvr ui idea jnbooker15 0 2,477 2015-09-21, 06:39 PM
Last Post: jnbooker15
  Couple of questions about hacking npvr.db3 drmargarit 6 4,245 2014-09-08, 02:22 AM
Last Post: sub
  high res (256x256+) npvr icon? reven 15 5,834 2013-09-01, 05:13 AM
Last Post: psycik
  trying to fake npvr database for unit tests reven 3 2,258 2013-05-20, 08:53 AM
Last Post: reven
  Multiple genres in npvr.db3 bgowland 5 2,841 2013-04-16, 09:53 PM
Last Post: ACTCMS

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

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

Linear Mode
Threaded Mode