NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) v
« Previous 1 2 3 4 5 … 20 Next »
NextEnd Extension Mechanism

 
  • 0 Vote(s) - 0 Average
NextEnd Extension Mechanism
jcole998
Offline

Posting Freak

New York, USA
Posts: 855
Threads: 186
Joined: Jun 2015
#1
2020-05-24, 02:03 PM
NextEnd sometimes needs to tell the NextPVR service to manipulate a recording's end time. How is this done, please? Changing the database and telling the service to re-read? Direct message to the service? Is there a coding example available?

It could be a handy tool in my toolbox.

Thanks.
Later...JohnC

System Status: Humming nicely!  Smile
Desktop: Intel DX38BT MB - Intel Q9650 3GHz Quad - NVIDIA GeForce GTX 1050 Ti Graphics
Software: Win 10 Pro(Build 1909) - NextPVR - WinTV8
Video: Verizon FiOS - Hauppauge DCR-3250 - Hauppauge 1512 HDPVR2
RaspberryPi 4 Raspbian and FLIRC
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#2
2020-05-24, 02:31 PM (This post was last modified: 2020-05-24, 02:31 PM by mvallevand.)
NextEnd doesn't touch the database directly, it uses nshared and nutility functions to extend the recordings.

ScheduledRecording curSchd = ScheduledRecording.LoadByOID(schd.OID);
curSchd.EndTime = curSchd.EndTime.AddMinutes(postExtend);
curSchd.Save();

Then I use ScheduleHelperFactory.GetScheduleHelper() to reload the scheduel.

You should walk through sub's v5 javascript code and do it via the api.

Martin
jcole998
Offline

Posting Freak

New York, USA
Posts: 855
Threads: 186
Joined: Jun 2015
#3
2020-05-24, 03:15 PM
Thanks, Martin. Where do I find sub's v5 javascript code?
Later...JohnC

System Status: Humming nicely!  Smile
Desktop: Intel DX38BT MB - Intel Q9650 3GHz Quad - NVIDIA GeForce GTX 1050 Ti Graphics
Software: Win 10 Pro(Build 1909) - NextPVR - WinTV8
Video: Verizon FiOS - Hauppauge DCR-3250 - Hauppauge 1512 HDPVR2
RaspberryPi 4 Raspbian and FLIRC
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#4
2020-05-24, 03:25 PM
It starts in the C:\Program File\NextPVR\data but really if I have to answer that I think I will drop out of the discussion now.

Martin
jcole998
Offline

Posting Freak

New York, USA
Posts: 855
Threads: 186
Joined: Jun 2015
#5
2020-05-24, 03:29 PM
Thanks for the location.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#6
2020-05-24, 03:30 PM
It's the wrong one though it is wwwroot

Martin
jcole998
Offline

Posting Freak

New York, USA
Posts: 855
Threads: 186
Joined: Jun 2015
#7
2020-05-24, 03:38 PM
I assumed you meant folder C:\Program Files\NextPVR\data and other than Placeholder.txt, it is empty. Have they been moved?
Later...JohnC

System Status: Humming nicely!  Smile
Desktop: Intel DX38BT MB - Intel Q9650 3GHz Quad - NVIDIA GeForce GTX 1050 Ti Graphics
Software: Win 10 Pro(Build 1909) - NextPVR - WinTV8
Video: Verizon FiOS - Hauppauge DCR-3250 - Hauppauge 1512 HDPVR2
RaspberryPi 4 Raspbian and FLIRC
jcole998
Offline

Posting Freak

New York, USA
Posts: 855
Threads: 186
Joined: Jun 2015
#8
2020-05-24, 03:39 PM
We crossed posts. Sorry.
Later...JohnC

System Status: Humming nicely!  Smile
Desktop: Intel DX38BT MB - Intel Q9650 3GHz Quad - NVIDIA GeForce GTX 1050 Ti Graphics
Software: Win 10 Pro(Build 1909) - NextPVR - WinTV8
Video: Verizon FiOS - Hauppauge DCR-3250 - Hauppauge 1512 HDPVR2
RaspberryPi 4 Raspbian and FLIRC
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  NextEnd v5 trial release mvallevand 434 75,851 2024-12-29, 02:00 AM
Last Post: mvallevand
  NextEnd Docker Install Mark-McG 61 8,195 2023-08-30, 09:15 PM
Last Post: mvallevand
  Comskip + NextEnd VCR58 12 2,454 2023-06-30, 02:26 PM
Last Post: mvallevand
  NextEnd V4 jcole998 1 1,822 2020-05-18, 01:35 PM
Last Post: mvallevand
  NextEnd: "Sports event monitor did not start" antenna 37 12,554 2019-10-27, 12:22 AM
Last Post: mvallevand
  NextEnd Interruption jcole998 2 1,849 2019-09-02, 05:54 PM
Last Post: jcole998
  NextEnd Readiness jcole998 24 8,508 2019-06-01, 01:33 PM
Last Post: jcole998
  Nextend help CDinger 5 4,105 2018-11-05, 03:59 PM
Last Post: mvallevand
  NextEnd not extending sports event antenna 26 11,556 2018-10-11, 04:25 PM
Last Post: mvallevand
  NextEnd Broken? jcole998 6 4,347 2018-09-15, 01:24 PM
Last Post: jcole998

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

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

Linear Mode
Threaded Mode