NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Wishlist v
« Previous 1 … 86 87 88 89 90 … 194 Next »
Send Email on Conflict?

 
  • 0 Vote(s) - 0 Average
Send Email on Conflict?
David
Offline

Senior Member

Posts: 435
Threads: 18
Joined: Oct 2005
#11
2007-02-16, 07:07 PM
There are now two methods for getting the rss data. You can get it
  1. dynamically from the rss.aspx web page,
  2. or you can generate static xml files.

The static files put less load on your server than dynamically generating the data and would be just about as accurate if you are running the utility after recordings and EPG updates. The only exception being pending and failed recordings may not be accurate if a recording is in progress or has failed since the last successful recording. In-Progress recordings would never be accurate unless you also use the parallelprocess.bat file.

If you want to use an RSS reader software to poll your system for updates to completed recordings, then the static xml will reduce the load on your box. This may be important for lower end hardware.

The dynamic page would be the best option for looking for those conflicts, or in-progress recordings.
David

PVR PC: Win2K3, Athlon x2 64 4600+, 1280MB Ram, 40+400 GB HD's, Gigabyte Network
PVR-250, ATSC-110 digital x2, GBPVR v1.3.7 w/SQLite DB
Extras: Addepisode 41, Comskip 79.46, EWA 76, Zaptools

DSM-520 (D-Link Media Lounge) FW 1.04 using TVersity Media Server 0.9.11.4
DSM-320 (D-Link Media Lounge) FW 1.09
MediaMVP

More specs
pastro
Offline

Posting Freak

Posts: 1,885
Threads: 128
Joined: Jul 2006
#12
2007-02-16, 07:19 PM
David Wrote:There are now two methods for getting the rss data. You can get it
  1. dynamically from the rss.aspx web page,
  2. or you can generate static xml files.


I must have missed this in the ewa page but would the addresses for the dynamic be:

//mycomputer:7647/gbpvr/public/rss.aspx?filter=pending

and the static:

//mycomputer:7647/gbpvr/public/Pending_Recordings.xml

I use the one with the aspx but I'm not getting new data generated automatically.
Should I?
GBpvr PC: Intel Celeron 1.8 Ghz. 768 Mb WinXp Home Sp2
Video: Diamond 128 Mb 9550
Capture Cards: PVR-150 & PVR-150 MCE w/fm + 2x MVP
Author of: BurnDVDX2 and Skiptool
David
Offline

Senior Member

Posts: 435
Threads: 18
Joined: Oct 2005
#13
2007-02-16, 07:24 PM
Yes, both addresses look right. Make sure you have the most recent EWA (56) or the most recent rss Beta. The first rss beta did not have the dynamic feeds. Your browser may be caching the file too. IE7 seems particularly bad about caching content.
David

PVR PC: Win2K3, Athlon x2 64 4600+, 1280MB Ram, 40+400 GB HD's, Gigabyte Network
PVR-250, ATSC-110 digital x2, GBPVR v1.3.7 w/SQLite DB
Extras: Addepisode 41, Comskip 79.46, EWA 76, Zaptools

DSM-520 (D-Link Media Lounge) FW 1.04 using TVersity Media Server 0.9.11.4
DSM-320 (D-Link Media Lounge) FW 1.09
MediaMVP

More specs
tony1234
Offline

Junior Member

Posts: 31
Threads: 1
Joined: Dec 2006
#14
2007-02-16, 07:43 PM
How about calling something like Conflict.bat as soon as GBPVR detects a conflict passing the 2 conflicting schedules as params to the batch file.
ricklous
Offline

Senior Member

Posts: 412
Threads: 8
Joined: Nov 2005
#15
2007-02-16, 07:52 PM
could you not use Mr Slimms SlimmGBPVR CLI program to produce a list of conflicting recordings and SendMail to email said list to yourself?

Seeing as they are both command line, they could be wrapped up into a batch file. Ive no experience of SlimmGBPVR but I use SendEmail to attach all GBPVRs logs to a nightly email, its pretty much set-and-forget.
[SIZE="1"]Building PVR-Only Machine for non-tech Uncle and Aunt:

Celeron 2.4, 1gig ram. Insight P4-ITX (mini-itx) mobo, 250w Shuttle silent PSU, slmline DVD rewriter, 40gig system HDD, 150gig Media HDD, Dual Riser holding Hauppauge PVR 350 and Nova-T, along with Nova-T USB2. MCE Remote 2005. Antique Art-Deco Radio for use as case when uncle finds one...

Time for a brew first though :p[/SIZE]
JDW13
Offline

Junior Member

Posts: 32
Threads: 11
Joined: Oct 2006
#16
2007-02-16, 09:57 PM
ricklous Wrote:could you not use Mr Slimms SlimmGBPVR CLI program to produce a list of conflicting recordings and SendMail to email said list to yourself?

Thanks, this should do the job just fine! (Though the real test will have to wait, since it seems GBPVR won't let me intentionally create a conflict.) I've been using SlimmGBPVR for a while, but had never looked at GBPVRcli.

In case it will save someone else some time, here's my BAT file:
Code:
@echo off & setlocal enableextensions

set _GBPVRDir=E:\Program Files\devnz\gbpvr
set _StatusFile=%_GBPVRDir%\GBPVRcli_status.txt

"%_GBPVRDir%\gbpvrcli" /conflicts /message "GBPVR Conflict: {Title} on Ch. {ChannelName} at {StartTime}" > "%_StatusFile%"

for %%F in ( "%_StatusFile%" ) do (
  if     %%~zF EQU 0 "%_GBPVRDir%\blat" - -body "GBPVR: No conflicts" -to [my-email] -s "GBPVR Conflict Status"
  if NOT %%~zF EQU 0 "%_GBPVRDir%\blat" %_StatusFile% -to [my-email] -s "GBPVR Conflict Status"
)

I use Blat rather than SendMail to send the email, since it's standalone and I'm already familiar with it.

Thanks again!
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,600
Threads: 389
Joined: Dec 2004
#17
2007-02-16, 10:17 PM
LOL - I was just too slow. Smile

I've knocked together a command-line Conflict Checker application with email capabilities built in. It has a minor bug in it though (I'm waiting for a response from sub as to what the problem is).

If anyone's interested, I'll post it once I've figured out the problem. If not - then it was a fun exercise anyway.

Cheers,
Brian
pastro
Offline

Posting Freak

Posts: 1,885
Threads: 128
Joined: Jul 2006
#18
2007-02-16, 10:47 PM
David Wrote:Yes, both addresses look right. Make sure you have the most recent EWA (56) or the most recent rss Beta. The first rss beta did not have the dynamic feeds. Your browser may be caching the file too. IE7 seems particularly bad about caching content.

It was just displaying the old data over and over. I did a refresh and it showed new data. It doesn't work very well with IE7 since the display and retention options are limited. Too bad that Thunderbird doesn't work with EWA yet. That would have worked a little better.
GBpvr PC: Intel Celeron 1.8 Ghz. 768 Mb WinXp Home Sp2
Video: Diamond 128 Mb 9550
Capture Cards: PVR-150 & PVR-150 MCE w/fm + 2x MVP
Author of: BurnDVDX2 and Skiptool
Ton
Offline

Member

Posts: 233
Threads: 16
Joined: Aug 2005
#19
2007-02-17, 01:07 PM
Well, I have conflicts mailed to me for some time...

I also use Blat (as in the above post), but I use a direct SQL command (using sqlite3.exe) to search for conflicts...

Here it is...

Code:
Rem * Check conflicting recordings....
"C:\gbpvr\gbpvr\Third Party\sqlite3.exe" -separator ",  FOUND, " c:\gbpvr\gbpvr\gbpvr.db3 "SELECT s.oid,p.name, p.sub_title FROM RECORDING_SCHEDULE AS s left join PROGRAMME as p on s.programme_oid = p.oid where s.status = 5;"|find "FOUND" > NUL
IF ERRORLEVEL 1 goto goon
Echo Conflicting Recordings: > c:\gbpvr\epg\conflicts.log
Echo Show, Episode >> c:\gbpvr\epg\conflicts.log
Echo ================================ >> c:\gbpvr\epg\conflicts.log
"C:\gbpvr\gbpvr\Third Party\sqlite3.exe" -separator ", " c:\gbpvr\gbpvr\gbpvr.db3 "SELECT s.oid, p.name, p.sub_title FROM RECORDING_SCHEDULE AS s left join PROGRAMME as p on s.programme_oid = p.oid where s.status = 5;" >> c:\gbpvr\epg\conflicts.log
blat conflicts.log -to xyz@gmail.com,xyz@ericsson.com -s "GBPVR Conflicts!" >> c:\cron\GBPVR_EPG.log
start c:\gbpvr\gbpvr\gbpvrMessage.exe "Conflicting recordings!"

:goon

That "gbpvrMessage.exe" is a small program I wrote that pops up a message (as a foreground window), which disappears when you press "Enter" (or "OK" on the remote). Just something to make it visible on the TV that there are conflicts!!
//Ton
idkpmiller
Offline

Posting Freak

Posts: 817
Threads: 141
Joined: May 2006
#20
2007-04-02, 12:28 PM
Hi Ton,

Thanks for your config I have set up and got the file working, again thanks for that.
How are you triggering the batch file to be run to make sure you dont end up with loads of notifications about the same conflict?

Thanks
Let the Games begin...Round 2!
GameZone v2.9.6 - PVRx2 1.4.7 compatible!

[Image: 1299379.png]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Add a conflict notification to the Recordings screen? HarryH3 1 2,181 2019-02-01, 11:59 PM
Last Post: ga_mueller
  NextPVR to send alerts and notices via "Pushover.net" jtcreate 4 2,374 2017-07-07, 09:39 PM
Last Post: p37307
  Conflict Alternative Airing fix p37307 1 1,533 2017-05-26, 07:11 AM
Last Post: sub
  conflict management johnsonx42 3 2,169 2011-05-11, 04:37 AM
Last Post: re-Barr
  Send recording to another drive Elmo Putney 1 1,510 2011-04-18, 09:04 PM
Last Post: imilne
  NPVR wish list: recording path select (per recording) & email when an error occurs DHL 3 2,156 2011-01-09, 08:43 PM
Last Post: martint123
  Recording Conflict / Tuner Unavailable message ralphy 3 2,133 2010-11-07, 05:35 PM
Last Post: johnsonx42
  Send Channel change before starting recording bogyver 2 1,679 2009-07-17, 11:35 PM
Last Post: bogyver
  Resolve a conflict by splitting up a show? gapgapman 6 2,673 2009-03-26, 02:10 PM
Last Post: gapgapman
  Conflict Resolution- show all programs in the conflic and shoose one to resolve it. dennit 0 1,308 2009-03-11, 02:48 PM
Last Post: dennit

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

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

Linear Mode
Threaded Mode