RE: DVAClient now called "ReplaySix"

"Jeff Curtin" <[email protected]> Wed, 21 Jul 2004 11:29:36 -0400
Newsgroups gmane.comp.hardware.roku.technical
Message-ID <[email protected]>
Phil,

Here's what I got back and also my ReplaySix.roku file:
DVARCHIVE>
-
	<DVR NAME="DVArchive" IP_ADDR="192.168.0.5" IP_PORT="80"
DEVICE_TYPE="DVARCHIVE" MEDIA_TYPE="MPEG_RTV43" ACCESS="LOCAL">
-
	<REPLAY_GUIDE IS_LOCAL_GUIDE="TRUE">
-
	<REPLAY_CATEGORY NAME="Movies" ID="1" PUBLIC="TRUE"
READ_ONLY="FALSE">
<COMMENT/>
-
	<REPLAY_CHANNEL NAME="Downloaded Shows" ID="1090237643"
READ_ONLY="FALSE" PUBLIC="TRUE">
<COMMENT/>
-
	<REPLAY_SHOW TITLE="Merry Christmas, Mr. Lawrence" EPISODE=""
ID="1081923597" MEDIA_TYPE="MPEG_RTV50">
-
	<EPISODE_SUMMARY>
An intellectual British colonel and a defiant major are prisoners of a
Japanese captain on Java.
</EPISODE_SUMMARY>
<ACTORS>David Bowie, Tom Conti, Ryuichi Sakamoto</ACTORS>
<GUEST_STARS/>
<PRODUCERS/>
<DIRECTOR>Nagisa Oshima</DIRECTOR>
<RECORDING_INFO RECORDED_ON="2004/04/14" RECORDED_AT="02:20"
RECORD_QUALITY="HIGH" DURATION_IN_SECONDS="7494" GOP_COUNT="11268"
IS_MANUALLY_RECORDED="FALSE" IS_REPEAT="FALSE" IS_GUARANTEED="FALSE"
IS_PPV="FALSE" TV_CHANNEL_NUM="272" TV_CHANNEL_STATION_ID="TMCX"
TV_CHANNEL_STATION_NAME="The Movie Channel Extra"/>
<MULTI_PART IS_MULTI_PART="FALSE"/>
<TV_RATINGS TV_RATING="" TV_SUB_RATING=""/>
<MOVIE_INFO IS_MOVIE="TRUE" MPAA_RATING="R" MPAA_SUB_RATING="AL,MV,SC"
STARS_RATING="***" RELEASE_YEAR="1983"/>
-
	<LOCAL_SHOW_INFO IS_PUBLIC="TRUE" IS_READ_ONLY="FALSE"
IS_FILENAME_CUSTOM="FALSE" BASE_FILENAME="Merry Christmas- Mr. Lawrence">
<COMMENT/>
</LOCAL_SHOW_INFO>
<STREAMING_INFO AVAILABLE="TRUE"
URL="http://192.168.0.5:8042/replayShow.mpg?DVR=DVArchive&ShowID=1081923597"
/>
<LOCAL_FILE_INFO MPG_FILEPATH="C:\Documents and Settings\Jeff\My
Documents\Local_Guide\Merry Christmas- Mr. Lawrence.mpg"
NDX_FILEPATH="C:\Documents and Settings\Jeff\My Documents\Local_Guide\Merry
Christmas- Mr. Lawrence.ndx" EVT_FILEPATH="C:\Documents and Settings\Jeff\My
Documents\Local_Guide\Merry Christmas- Mr. Lawrence.evt"/>
</REPLAY_SHOW>
</REPLAY_CHANNEL>
</REPLAY_CATEGORY>
</REPLAY_GUIDE>
</DVR>
-
	<DVR NAME="None" IP_ADDR="192.168.0.2" IP_PORT="80"
DEVICE_TYPE="REPLAYTV" MEDIA_TYPE="MPEG_RTV50" ACCESS="REMOTE">
-
	<REPLAY_GUIDE IS_LOCAL_GUIDE="FALSE">
-
	<REPLAY_CATEGORY NAME="Movies" ID="1">
-
	<REPLAY_CHANNEL NAME="Basquiat" ID="1090176127">
-
	<DESCRIPTION>
This guaranteed Replay Channel (Created 7/18/2004 @ 2:42 PM) will record
only Basquiat on Tuesday 7/20 from 2:50 AM - 4:50 AM on channel 288 (STARZ)
</DESCRIPTION>
-
	<REPLAY_SHOW TITLE="Basquiat" EPISODE="" ID="1090306197"
MEDIA_TYPE="MPEG_RTV50">
-
	<EPISODE_SUMMARY>
The life and death of N.Y. artist Jean Michel Basquiat.
</EPISODE_SUMMARY>
-
	<ACTORS>
Jeffrey Wright, Michael Wincott, Benicio Del Toro, Claire Forlani, David
Bowie, Dennis Hopper
</ACTORS>
<GUEST_STARS/>
<PRODUCERS>Jon Kilik</PRODUCERS>
<DIRECTOR>Julian Schnabel</DIRECTOR>
<RECORDING_INFO RECORDED_ON="2004/07/20" RECORDED_AT="02:50"
RECORD_QUALITY="HIGH" DURATION_IN_SECONDS="1898" GOP_COUNT="3777"
IS_MANUALLY_RECORDED="FALSE" IS_REPEAT="FALSE" IS_GUARANTEED="TRUE"
IS_PPV="FALSE" TV_CHANNEL_NUM="288" TV_CHANNEL_STATION_ID="STARZ"
TV_CHANNEL_STATION_NAME="STARZ!"/>
<MULTI_PART IS_MULTI_PART="FALSE"/>
<TV_RATINGS TV_RATING="" TV_SUB_RATING=""/>
<MOVIE_INFO IS_MOVIE="TRUE" MPAA_RATING="R" MPAA_SUB_RATING="AL,SC,V"
STARS_RATING="**" RELEASE_YEAR="1996"/>
<STREAMING_INFO AVAILABLE="TRUE"
URL="http://192.168.0.5:8042/replayShow.mpg?DVR=None&ShowID=1090306197"/>
</REPLAY_SHOW>
</REPLAY_CHANNEL>
</REPLAY_CATEGORY>
</REPLAY_GUIDE>
</DVR>
</DVARCHIVE>

#!/bin/sh

# Enter a single DVArchive machine IP address in REPLAYLIST
#      (default is an 

/etc/hosts name lookup on "dvarchive")
# -OR- You can enter a list of ReplayTV IP addresses 

here,
#      for direct access without using a DVArchive machine
# Tip: Use meaningful names 

here, and add the name-to-IP
#      mapping to your /etc/hosts file
# The list must be 

enclosed in quotation marks
REPLAYLIST="192.168.0.5:8042"
# or
#REPLAYLIST="192.168.0.11 

192.168.0.12"
# or
#REPLAYLIST="Bedroom FamilyRoom LivingRoom"

REPLAYLIST="dvarchive"

SXPATH=`dirname "$0"`
cd $SXPATH
export LD_LIBRARY_PATH=$SXPATH
$SXPATH/ReplaySix.app 

$REPLAYLIST > /tmp/ReplaySix.log
ret=$?
while [ $ret -eq 41 ]; do
   cat /tmp/ReplaySix.url
 

  echo
   $SXPATH/CinemaSix.app "`cat /tmp/ReplaySix.url`"
   $SXPATH/ReplaySix.app 

$REPLAYLIST > /tmp/ReplaySix.log
   ret=$?
done
echo Return code: $ret

I went into my router and forwarded the port 8042 just to be on the safe
side.  And ther server green light is on.  Let me know if you see something
wrong.  Thanks.


Jeff

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Philip Van Baren
Sent: Wednesday, July 21, 2004 9:32 AM
To: Roku Tech Mail List and Discussion Group
Subject: RE: [Roku-tech] DVAClient now called "ReplaySix"

Jeff,

What you did is correct.  There is no need to modify the /etc/hosts file,
and
there is no need to modify anything in the src directory (that is just the
source code if you want to modify the program and recompile.)

Possible problems: DVArchive does not have its server running, isn't running
on
the default port, you didn't use a numerical IP address (using the
computer's
name will not work), you have a firewall enabled blocking access to the
DVArchive server, you didn't save the file with the changes, or you are
modifying a different copy of the file than the Roku is accessing.

You can test the DVArchive connection using this link in your web browser on
your local network (preferably from a different PC than the one running
DVArchive, but you can also do this on the same PC):

http://192.168.0.1:8042/replayInfo?DVR=ALL

where the 192.168.0.1 must be replaced with the numerical IP address of your
DVArchive machine.  If this works you should get an XML document back
listing
everything you DVArchive machine knows.  If this doesn't work, then neither
will ReplaySix, and something isn't enabled or set up correctly in
DVArchive.

Phil

--- Jeff Curtin <[email protected]> wrote:
> Phil,
> 
> This will be the last time I bother you concerning ReplaySix. I've tried
> everything you have instructed pertaining to modify the files:
> 
> 1. In the ReplaySix.roku file in the center of the file where you have
> #REPLAYLIST="192.168.0.1" I substituted my DVArchive comp. IP Address and
> removed the (#) sign. Is this correct?  If not where do I enter this in
the
> file?
> 
> 2. I went to the ReplaySix.roku sh file inside the src file and did the
> same.
> 
> 3. When I try to telnet into etc/hosts I get permission denied. ????????
> 
> I'm not a programmer but I learn quickly.  I installed the latest 0.4 vs.
> 
> I'm still getting the three roll bars, the first saying "No Replay Found"
> and the other two roll bars blank.
> 
> Thanks.
> 
> Jeff Curtin
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Philip Van
Baren
> Sent: Monday, July 19, 2004 10:17 AM
> To: Roku Tech Mail List and Discussion Group
> Subject: RE: [Roku-tech] DVAClient now called "ReplaySix"
> 
> Jeff,
> 
> You need to edit the ReplaySix.roku file with a text editor, and make the
> change:
> 
> REPLAYLIST="192.168.0.1"
> 
> where you should replace the 192.168.0.1 with the numerical IP address of
> your
> machine running DVArchive.  Then save the new script and the program will
> work.
> 
> By default it does a name lookup on "dvarchive" to get the IP address of
the
> DVArchive machine, which is why you got the "unknown host: dvarchive"
> message.
> 
> Phil
> 
> --- Jeff Curtin <[email protected]> wrote:
> > Phil,
> > 
> > Are you saying that the program should work without making all the file
> > modifications?? 
> > 
> > After installing the latest vs. I get an error msg. saying "Unknown
Host:
> > DVArchive"
> > 
> > No replays found etc.
> > 
> > I have my DV Archive set up right I believe and I can ping all the
> devices.
> > DVArchive can find my replay and I can transfer back and forth.
> > 
> > Thanks.
> > 
> > JEff
> > 
> > -----Original Message-----
> > From: [email protected]
> > [mailto:[email protected]] On Behalf Of Philip Van
> Baren
> > Sent: Sunday, July 18, 2004 8:43 PM
> > To: Roku Tech Mail List and Discussion Group
> > Subject: RE: [Roku-tech] DVAClient now called "ReplaySix"
> > 
> > Jason,
> > 
> > The ReplaySix program is pretty much useless without a ReplayTV.
> > 
> > Jeff,
> > 
> > You only need to edit the /etc/host file if you want to map the IP
address
> > numbers to name, and you don't need to use nice names to get the program
> to
> > work - it is just a cosmetic thing.  You can get going by just entering
> the
> > numbers in the ReplaySix.roku file, and saving that file.  The
/etc/hosts
> > files
> > is a configuration file stored on the Roku.  It maps IP numbers to more
> > friendly text names that humans use.  To edit this you would have to
> telnet
> > to
> > your Roku, or use that windows interface that Barry Gordon was working
on.
> > 
> > There was a problem with the 0.2 version where DVArchive would answer,
but
> > not
> > send any response, and the DVAClient program would essentially lock up
> > waiting
> > for a response.  This problem has been fixed in 0.3.
> > 
> > Phil
> > 
> > --- Jeff Curtin <[email protected]> wrote:
> > > Hi Phillip,
> > > 
> > > First off thanks for the great programs.  I've had my Roku 1000 for
> about
> > 6
> > > or 7 mos now and am just starting to get into the streaming end of it.
> I
> > > also have a Replay.  So between your alls apps and VLC & DV Archive
I've
> > > been keeping busy.  That gets us to the point of my mail.
> > > 
> > > Is the \etc\hosts file the ReplaySix.roku file??  The way that file
> reads
> > > it's like fill in the blanks.  I substituted my IP addresses for the
two
> > you
> > > had together and removed the # in front of it. Now I haven't saved
> > anything
> > > yet so hopefully you can get back with me shortly.  I think I screwed
up
> > on
> > > the 0.2 release because the Roku would freeze once I entered my comp.
IP
> > > address and I'd have to reboot.  One of those days.
> > > 
> > > Hold every thing I just read your read me a little more and I guess I
am
> > in
> > > the right file.  However where is the \etc\hosts file??? Thanks.
> > > 
> > > Jeff
> > > 
> > > -----Original Message-----
> > > From: [email protected]
> > > [mailto:[email protected]] On Behalf Of Philip Van
> > Baren
> > > Sent: Sunday, July 18, 2004 5:23 PM
> > > To: [email protected]
> > > Subject: [Roku-tech] DVAClient now called "ReplaySix"
> > > 
> > > Since the DVAClient program no longer is strictly a client for
> DVArchive,
> > > I've
> > > renamed it to "ReplaySix", and made a 0.3 release.  The new release
> > features
> > > better networking code to avoid some hung socket problems talking to
> > > DVArchive,
> > > and also adds some error reporting in the GUI display.
> > > 
> > > Another major addition in 0.3 is a new version of CinemaSix
(1.3-rtv.2)
> in
> > > which you can now use the arrows and chapter +/- buttons on the remote
> to
> > > skip
> > > forward/back in time, and press the "Info" button to display the
current
> > > time. 
> > > Currently these new features only work for ReplayTV streaming.
> > > 
> > > Enjoy:  http://www.geocities.com/flipflop7146/roku.html
> > > 
> > > Phil
> > > 
> > > 
> > > 		
> > > __________________________________
> > > Do you Yahoo!?
> > > Vote for the stars of Yahoo!'s next ad campaign!
> > > http://advision.webevents.yahoo.com/yahoo/votelifeengine/
> > > 
> > > _______________________________________________
> > > Roku-tech mailing list
> > > [email protected]
> > > http://lists.rokulabs.com/mailman/listinfo/roku-tech
> > > 
> > > _______________________________________________
> > > Roku-tech mailing list
> > > [email protected]
> > > http://lists.rokulabs.com/mailman/listinfo/roku-tech
> > > 
> > 
> > 
> > 
> > 		
> > __________________________________
> > Do you Yahoo!?
> > Vote for the stars of Yahoo!'s next ad campaign!
> > http://advision.webevents.yahoo.com/yahoo/votelifeengine/
> > 
> > _______________________________________________
> > Roku-tech mailing list
> > [email protected]
> > http://lists.rokulabs.com/mailman/listinfo/roku-tech
> > 
> > _______________________________________________
> > Roku-tech mailing list
> > [email protected]
> > http://lists.rokulabs.com/mailman/listinfo/roku-tech
> > 
> 
> 
> 
> 		
> 
=== message truncated ===



	
		
__________________________________
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/
_______________________________________________
Roku-tech mailing list
[email protected]
http://lists.rokulabs.com/mailman/listinfo/roku-tech