I have two PVR 150s and I need to be able to switch between them. Currently I do not have the remotes properly setup so I cannot get them to control the boxes. Until then I set the boxes to change the channels themselves. The problem is that I consistently see one channel and not the other unless I set a dummy recording to be going on.
I have a Linux (Fedora Core 4) box at home that performs a number of interesting functions including acting as a Bluetooth presence server. When I get home a cron script running every 5 minutes grep's for the MAC address of my mobile phone using the bluetooth hcitool. Once detected it fires off several activities and plays me a little greeting message letting me know how long I've been out and how many emails are waiting etc.
I finally got around to also linking presence to GBPVR. In PostProcessing.bat I added:
echo %1 >> c:\btp\recordings.txt
(the >> appends)
check.sh runs on my linux box and does the following: #!/bin/sh
# grep for my phone
/usr/bin/hcitool con | grep -q "00:0E:07:E8:07:7E" || (hcitool scan | grep "00:0E:07:E8:07:7E" && hcitool cc 00:0E:07:E8:07:7E )
I created a Windows Share on my GBPVR machine and then mount that share using Samba (also in check.sh):
mount -t smbfs //anya/btp /mnt/btp -o username=foo,password=bar
check.sh maintains my status in where, awaydate and homedate:
# get last status
exec 6<&0
exec < /opt/btp/where
read a1
LASTSTATUS=$a1
exec 0<&6 6<&-
# get last status
exec 5<&0
exec < /opt/btp/homedate
read a1
HOMEDATE=$a1
exec 0<&5 5<&-
# get away date
exec 7<&0
exec < /opt/btp/awaydate
read a1
AWAYDATE=$a1
exec 0<&7 7<&-
# get last recorded shows
exec 4<&0
exec < /mnt/btp/recordings.txt
read a1
read a2
read a3
read a4
read a5
read a6
# parse out the path
echo "Last 5 recorded shows:"
LASTSHOW1=${LASTSHOW1/\"C:recordings/}
LASTSHOW2=${LASTSHOW2/\"C:recordings/}
LASTSHOW3=${LASTSHOW3/\"C:recordings/}
LASTSHOW4=${LASTSHOW4/\"C:recordings/}
LASTSHOW5=${LASTSHOW5/\"C:recordings/}
# check presence
if hcitool con | grep -q "00:0E:07:E8:07:7E"
then
if [ $LASTSTATUS = away ]; then
echo "home" > /opt/btp/where
echo $(date) > /opt/btp/homedate
echo "$(date) HOME" >> /opt/btp/tracking
NOWSTATUS=home
fi
else
if [ $LASTSTATUS = home ]; then
echo "away" > /opt/btp/where
echo $(date) > /opt/btp/awaydate
echo "$(date) AWAY" >> /opt/btp/tracking
NOWSTATUS=away
fi
fi
# now home event
if [ $NOWSTATUS = home ]; then
# calculate away time
(( ss = `date +%s` - `date -u --date "$AWAYDATE" +%s`))
(( mm = ss / 60 ))
(( ss = ss % 60 ))
(( hh = mm / 60 ))
(( mm = mm % 60 ))
if [ $hh -gt 0 ]; then
SAYHH="$hh hour"
fi
if [ $hh -gt 1 ]; then
SAYHH="$hh hours"
fi
if [ $hh -gt 0 ] && [ $mm -gt 0 ]; then
SAYANDMIN="and"
fi
if [ $mm -gt 0 ]; then
SAYMM="$mm minute"
fi
if [ $mm -gt 1 ]; then
SAYMM="$mm minutes"
fi
# reset recorded shows
echo "[recordings]" > /mnt/btp/recordings.txt
echo "You have been away from home for $SAYHH $SAYANDMIN $SAYMM"
if [ $hh = 0 ] && [ $mm -lt 16 ]; then
echo "Less than 15 minutes or less away, no voice annoucement"
else
echo "Welcome home Anthony. You have been away from home for $SAYHH $SAYANDMIN $SAYMM. $SAYLASTSHOW1 $SAYLASTSHOW2 $SAYLASTSHOW3 $SAYLASTSHOW4 $SAYLASTSHOW5." | festival --tts
fi
fi
# now away event
if [ $NOWSTATUS = away ]; then
echo "Anthony is now away"
fi
if [ $NOWSTATUS = none ]; then
echo "No change in Anthony's presence"
fi
Obviously, this assumes you have already installed Festival, correctly configured your appropriate default ALSA sound device, configured Bluetooth, enabled Bluetooth on your phone, obtainied the MAC address of your phone, and well.. have Linux. I have yet to find a good way of doing a Bluetooth device scan in Windows, but it's a trivial task in Linux. This is not meant to be an exhaustive step-by-step on getting you running, but will be of interest to some I guess. Cool never the less.
The result is when you walk in the door and your Bluetooth phone is automatically detected, you get a nice voice telling you what has been recorded while you were out. A similar approach under Windows would require you to manually connect to the device by right clicking on the device in your Bluetooth manager.
Hello there. I'm new to gbpvr. I notice that when I watch livetv, there's always the bar above saying whether 30 mins. or 1 hour. What's that for? While watching a movie, can I just press record and set whether it's 30 minutes, 1 hour or 1.5 hours? My epg isn't functioning well.
After all the good work by johnvk, I can now get my MVP to talk to my GBPVR server... mpegs are playing fine with full skipping supported..
however, I am finding that while the initial connection between MVP and GBPVR server is now easy to establish.. subsequent reconnects by my MVP fail at "loading application...".
This normally happens since my MVP is not always on but my PC machine remains running.
Observations:
(1) Killing GBPVR.exe (from task manager) does not solve the problem.
(2) Restarting GBPVRRecordingService.exe (via Config.exe) DOES solve the problem.
My questions:
(a) Does anyone else see the same thing in their setup?
(b) What is the cause for the above behaviour? What is the fix?
thanks all,
PS: my setup : both MVP and PC are connected (using CAT5e) to an DSL modem router (Linksys WRT54GS).
Hi, thanks for a great program (always good to start with some sucking up, even though its true
I have a problem that i havent been able to solve even though i have read, well, all of this forum...
I have an Hauppauge pvr-350-card...
I´m interested in the live-tv part and have one coax (ordinary tv-antenna) input and one s-video (my sat-box). The problem is that I can´t figure out how to get the both sources available at the same time in GB-pvr.
Also, I will soon be able to control the sat-box from the htpc with an serialcable... Can I set up GB-pvr for that?
Thanks in advance for any help, and please bare in mind that im not very smart, and maybe not so good in typing English (Swede) ...
Maybe I just have to wait for a while for it to sync - not sure.
I did an "Empty EPG" from the config becasue I wanted to tweak the channels some.
I then did an Update EPG and watched it download the listings from Zap2it. It processed the information.
I can watch live tv and switch to all the channels and even find shows through search guide - but- the Guide and XGuide are completely blank of any listings at all. any ideas?
In the system tray of my windows XP screen there is an icon for the wireless connection. Anytime the connection changes strengh or is lost and re-connected an annoying baloon pops up with the status of the network....
It comes up over GBPVR and is very annoying becuase I have to use a mouse to re-focus GB. Anyone know how to disable this (and other) windows XP baloons?
I upgraded to the latest release a couple days ago, and it seemed to go flawlessly. I've been in and out of the config app a couple of times, rebooted the machine a few times, and in and out of gbpvr without event.
Then tonight, I watch a movie, check the weather and then decide I'm not real fond of the new screensaver since I usually leave gbpvr open to the weather page so I can flip to it real quick when I've got the TV on. I didn't want to have to find the pvr remote to clear the screensaver after switching my TV input over to gbpvr. So, I exit gbpvr, run config, disable the screensaver, turn off autoskip, and change my decoder (I saw a new decoder in the list - thought I'd test it). I exit config, the recording service says it's restarting, and then I try to launch gbpvr. Double click, no response after a 30 seconds or so, double click again, still nothing, so I check the log. Ack!! It says can't find gbpvr.mdb!! And sure enough, I check the directory, it's gone. *sigh*
Ok, besides my letting you know there's a particularly nasty bug lurking about, now what do I do? I have a backup of gbpvr.mdb and config.xml prior to the upgrade. Can I restore the files and reinstall the new release again, or will it recognize it's already installed and not do convert my restored gbpvr.mdb to the new release format? Do I need to uninstall, reinstall the prior release, restore my database and then upgrade?
And what about MyDatabase.mdb? I didn't back it up prior to upgrade and there have been updates to it since then. Does it have hard references to items in gbpvr.mdb that will be out-of-synch now once I restore, or does it operate completely independent?
I'm using Zap2It for my guide and all my shows are off by one hour. My Windows timezone is set to GMT-07:00 Arizona. Arizona has no daylight savings so that's not my problem.
I've tried emptyEPG and updating but no change. Shows are still off by one hour. Zap2It.com schedule has the correct show times. Is there a way to directly view the schedule that GBPVR downloads from Zap2itEPG feed?