NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 23 24 25 26 27 … 93 Next »
anyone for working reminders?

 
  • 0 Vote(s) - 0 Average
anyone for working reminders?
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#1
2009-03-31, 12:19 AM
If you'd like a semi-working reminder system, then have i got a couple of files for you...Smile
just something i was playing with the other day..[boy am i easy to amuse..lol]
using nothing more than the remnants of the old reminders still in the program, [which Sub says will work more fully in next ver,but just channel changes,nothing more] and a couple of batch files and the task scheduler, i've made a working reminder util...Big Grin

basically it sets up a task in scheduler that checks for reminders every 20 mins [configureable] and if any are found in db, adds a batch file for that show in third party\, adds a task in scheduler to run it ad it's start time, and waits.....
in the batch file are reg cmds to set last watched channel for gbpvr to desired channel, and a F2 to start livetv if you're in the menus...[it will start on correct channel] and also sends the channel number to pvrx2 so if you're in livetv it will change for you...
when each batch file is run, it removes it's reminder entry from db table, the scheduler entry removes itself, and the batch files deletes itself...no leftovers..Smile

you have to set reminders 'on' in config.xml, to test, hit play on future show in guide,should turn blue...
then place these batch files in gbpvr\third party\, a working sqlite3.exe in gbpvr\, and run the install bat to setup the watch for new reminders.....

it's very beta but to work for me...it won't mess with recordings at all, but will start livetv if you're in menus, unlike the future implementation in next version..

not sure if it can wake machine or not yet, and sched. entries that don't run would need manual cleanup for now tho i might be able to fix that...
and hopefully he'll add reminder self-cleanup in next gbpvr version..
also, the blue display only works if you don't exit pvrx2, when you come back in, no reminders show back up, tho that may change also...

any questions, let me know....

some stuff to add, will attach files here soon..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#2
2009-03-31, 02:21 AM
neat, with baseball season starting I may put this to use. I'd like to set an auto-start reminder for the game, then put on something for the kids.

Would it be able to do it's magic if you're playing something from Video library? Or only if you're already in LiveTV or in the menus?
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#3
2009-03-31, 03:06 AM
nope, right now it only does an F2...but could add a cntrl-s before that to stop currently playing video easily...

i think i'm going to make it an .exe as the batch files won't stay hidden without something else to run them...plus it'll probably be fewer lines of code and not need scheduler at all..Smile

other than that it's working fine...
i'll see if i can add a choice to stop playing video or not, in a config setting...
and maybe a 'start pvrx2 if it's not running' option too..
[kinda like an alarm clock Smile]
and possibly a stop as well? they all have stop times, but thinking best to leave that off and let it play...
[trying to account for as many scenarios as possible]
i definitely want to include searches in there, but it's kinda secondary... any other ideas?
lots more testing to do if i go to an exe...
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#4
2009-03-31, 07:27 AM
I would think doing a ctrl-s first to stop any video playback is probably a good idea; else it sort of defeats the purpose. That would (I think) work for music library, net radio, etc. as well. In my baseball game example, I could hit set the baseball game to play and then put on some music until the game starts.

Stopping LiveTV at the end of the scheduled program time is a questionable one. I can think of reasons why I might want it to turn off automatically, but more to not do so. Having backspaced all over the convoluted example I just typed in, let's just say it would be best if it turns on LiveTV at the appointed time, and then just leaves the rest in the user's hands.

Perhaps a silly question, but have you checked to see if anything awful happens if no tuners are available due to recordings in progress? In interactive use, PVRX2 tells you no tuners are available and offers you the choice to watch one of the recording shows. You'd want to be sure there are no bad side-effects if that happens with your system.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#5
2009-04-01, 05:35 AM
only thing that happens if all tuners are busy is it just leaves you at that screen with choice to watch what else is recording, where you could choose one...it can't interrupt recording, just like a normal user can't...[unless they cancel the recording specifically]

i think i'll still use the task scheduler for the events as it can wake the machine and is easy to program and it cleans up after itself...
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
caribbeanchild
Offline

Junior Member

Posts: 21
Threads: 4
Joined: Mar 2008
#6
2009-05-20, 11:50 PM
This would be so usefull. I have asked for this before.....so it would be nice to see it implemeted. Just do what it says.....remind us that a program is coming on a few minutes before it starts.
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#7
2009-06-30, 08:24 PM
i'm almost ready with a beta self-contained executable for working reminders..
just have to add some user configurable options..[stop playing video before going to livetv-y/n, etc.]
it was a real bear sorting out the sql queries but they're working very nicely now..Smile
i have to get the oid from reminders table, convert that to a programme entry's channel number from channel table...used a double inner-join..plus some cute date formatting..

any suggestions? last chance...

i'll have options for stopping playing video b4 change or not [to prevent stopping other playback,just changing channels], starting pvrx2 if it isn't running, and possibly just voice prompts instead of any actions...[or in addition to]
and stopping video after playback is done..[or not]
it'll be a tray app that monitors db for changes and acts, sending keystrokes to pvrx2 to init playback and channel change..should be pretty universal..Smile
just run it and enjoy..
should only a couple days till it's ready to test...Big Grin
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#8
2009-07-03, 07:37 PM
shelved till new release...
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  visible="!@hasImage & folder.jpg in Music not working Jaggy 0 1,197 2012-02-10, 10:29 PM
Last Post: Jaggy
  PluginHelper.SetPlayerMetaData(Hashtable args) not working alibert 12 4,578 2011-01-23, 05:33 PM
Last Post: sub
  setPopup not working + minimize window question bgowland 5 2,263 2007-12-15, 01:15 AM
Last Post: whurlston
  Working with Character sets... zehd 7 2,579 2007-05-07, 11:56 AM
Last Post: MixMan
  IMenuTask and IEventNotification not working well together since 0.98 psycik 5 2,125 2006-10-01, 05:27 PM
Last Post: sub
  Weather Plugin SI units not working Paul Gordash 6 2,206 2006-03-23, 02:09 AM
Last Post: fla
  Anyone got IVideoPlugin working? jorm 6 2,369 2005-11-21, 11:33 AM
Last Post: jorm
  Who Working on What? darrin75 7 2,725 2005-01-19, 04:18 AM
Last Post: oakleeman
  Anyone working On Any Video plugins darrin75 5 2,604 2005-01-05, 10:19 PM
Last Post: reven
  GetTheaterlisting Not working web_maven 32 8,403 2004-10-04, 03:21 PM
Last Post: srchuck

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

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

Linear Mode
Threaded Mode