[mythtv-users] Can't watch Video's on front end???

mythtv at sci.fi mythtv at sci.fi
Sun Aug 7 01:44:46 UTC 2005


Let's say you have BE that you named back and FE is named front, and the 
directory is on both machines the same /mnt/video/videos, and the IP of 
BE is 192.168.0.2 and FE is 192.168.0.3, the subnet mask is 
255.255.255.0, then you would put on the BE machine into the export file 
the following line:
/mnt/video/videos 192.168.0.3/255.255.255.255 # This line tells BE 
machine that it can share the folder for the IP address, of course you 
can share it with 192.168.0.0 with subnet 255.255.255.0, then all the 
machines with an IP of 192.168.0.* can use the share

in FE you would put the following in the /etc/hosts file:
192.168.0.2 back # This means that when a program on the FE tries to 
find out the IP address of the machine named "back" it will give 
192.168.0.2 as the IP

in FE you also put the following in the /etc/fstab
back:/mnt/video/videos /mnt/video/videos nfs defaults, bg 0 0 # first 
part is the name of BE (and the line we put in hosts will tell the FE 
what IP back has)and the directory on the BE (separeted by a : ), next 
tells the directory where it should be mounted on the FE, then 
filesystem type.

Now reboot and see if it works ;-)

> > to mount on xbox, add your backend host with ip & alias to /etc/hosts
> > and then add
> > 
> > yourbackendnamealias:/full path/to/exported/directory
> > /created/directory/on/xbox   nfs   defaults, bg 0 0
> > 
> > my fstab-line would be somthing like:
> > 
> > dvb:/mnt/video   /mnt/video   nfs   defaults,bg 0 0


> Just a couple of Q's... I'm still learning Linux but was able to
> makeit through the installs on the FE and BE so I know enough to be
> dangerous...
> 
> What is the /etc/exports used for on the BE? currently mine is blank.
> Is that similar to a share? I'm running FC3 on the BE.
> 
> Will I only need to mount the /video directory not the /video/videos
> directory? In other words can I use the parent directory will that
> then make all the sub directory's available or do I need to be
> specific?
> 
> 
> I think I follow the fstab info? If I create the /video/videos
> directory on the xbox and the BE directory is the same /video/videos
> then it would look like -
> 
> /mnt/video/videos   /mnt/video/videos   nfs   defaults,bg 0 0
> 
> What does this serve (yourbackendnamealias:/full 
path/to/exported/directory)?
> 
> Assuming my BE is localhost then would it read: localhost:/full 
/video/videos
> 
> 
> AJM,
> 
> 
> 
> 
> On 8/6/05, Johan Kihlström <johan.kihlstrom at bredband.net> wrote:
> > A JM wrote:
> > 
> > >"Can you play videos from the command line outside Myth with the same
> > >flags that you use or are you refering to recorded shows you would like
> > >to watch after they have been recorded through the internal viewer? Any
> > >error messages? Crashes? Which player do you use, Xine or mplayer?"
> > >
> > >The video's all exist on the backend and are viewable/playable from 
there.
> > >
> > >I do get an error message now that you mention it and I took a look, duh!
> > >
> > >It appears that it can't find the file because it is looking on it's
> > >own drive instead of looking to the backend (/video/videos/?
> > >
> > >It say's "file not found: ' /video/videos/short_game.vob'"
> > >
> > >How can I fix that?
> > >
> > >Also, are you able to run MythGame on our FE? Xmame?
> > >
> > >Thanks,
> > >
> > >
> > >
> > >On 8/6/05, Johan Kihlström <johan.kihlstrom at bredband.net> wrote:
> > >
> > >
> > >>A JM wrote:
> > >>
> > >>
> > >>
> > >>>I'm unable to watch videos on my front end (Xbox) but I can see the
> > >>>listings? Can anyone help me out with this?
> > >>>
> > >>>I'm running 0.18 on the FE and BE.
> > >>>
> > >>>Thx
> > >>>_______________________________________________
> > >>>mythtv-users mailing list
> > >>>mythtv-users at mythtv.org
> > >>>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> > >>>
> > >>>
> > >>>
> > >>>
> > >>Can you play videos from the command line outside Myth with the same
> > >>flags that you use or are you refering to recorded shows you would like
> > >>to watch after they have been recorded through the internal viewer? Any
> > >>error messages? Crashes? Which player do you use, Xine or mplayer?
> > >>
> > >>Are the video library mounted on the Xbox? What are you running;
> > >>Xebian1.1.x or gentoox?
> > >>
> > >>I'm running an Xbox as a frontend and had no luck with mplayer at all,
> > >>Xine on the other hand worked like a charm for both DVD's and video. I
> > >>couldn't watch video with mplayer at all, I could select one, and the
> > >>screen would freeze and then return to the listing. Turned out that
> > >>mplayer segfaulted for some reason, still unknown, Xine didn't though so
> > >>now I use that.
> > >>
> > >>I'm running Xebian-1.1.4 with 0.18.1
> > >>
> > >>I hope that this will give you some guidance in your search!
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>_______________________________________________
> > >>mythtv-users mailing list
> > >>mythtv-users at mythtv.org
> > >>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> > >>
> > >>
> > >>
> > >_______________________________________________
> > >mythtv-users mailing list
> > >mythtv-users at mythtv.org
> > >http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> > >
> > >
> > >
> > Depends on how well you know linux or UNIX, you have to export your
> > directories (video, music, gallery) in /etc/exports (or similar, I'm
> > running Debian on my backend) and mount them on the xbox by adding them
> > to your fstab, so that they will be mounted on bootup.
> > 
> > excerpt from my exports file:
> > /mnt/video      192.168.0.0/255.255.255.0 (the IPaddr/mask tells NFS
> > which clients to allow to mount directories)
> > 
> > to mount on xbox, add your backend host with ip & alias to /etc/hosts
> > and then add
> > 
> > yourbackendnamealias:/full path/to/exported/directory
> > /created/directory/on/xbox   nfs   defaults, bg 0 0
> > 
> > my fstab-line would be somthing like:
> > 
> > dvb:/mnt/video   /mnt/video   nfs   defaults,bg 0 0
> > 
> > I have a working dualboot on my xbox, so I play xbox games when I feel
> > the need, haven't bothered with mythgame or xmame
> > 
> > Hope that helps!
> > 
> > 
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users



More information about the mythtv-users mailing list