Author |
Message |
rubrboots
|
Posted: Fri Aug 10, 2007 4:22 pm |
|
Joined: Sat Jun 18, 2005 7:22 pm
Posts: 43
|
I have a computer that acts as a master frontend/backend. I have also set up a frontend. It seems to work very well except that no videos show up in "watch videos" page of the new frontend. When I go to video manager it tries to update but claims that all my videos are missing and asks permission to delete them from the database. Whats going on here and is there a way to fix this?
|
|
Top |
|
 |
mihanson
|
Posted: Fri Aug 10, 2007 5:20 pm |
|
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location:
Los Angeles
|
What are the file permissions/ownership on your video files and directories containing the video files? What version of Knoppmyth are you using?
_________________ Mike
My Hardware Profile
|
|
Top |
|
 |
rubrboots
|
Posted: Fri Aug 10, 2007 7:53 pm |
|
Joined: Sat Jun 18, 2005 7:22 pm
Posts: 43
|
I am using knoppmyth R5F1 on both machines. I have not changed any permissions so there are default. I followed a frontend guide on knoppmythwiki
http://knoppmythwiki.org/index.php?page ... nlyInstall
Also note that I can see and play TV recordings on the backend, but I cannot see or play videos.
|
|
Top |
|
 |
kmkittre
|
Posted: Fri Aug 10, 2007 10:31 pm |
|
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location:
Salem, MA
|
Read the "Other Things to Do" section on that Wiki page:
Quote: Your mythtv frontend should now be working and able to watch live tv or recordings. In order to get access to videos, music etc you will need to setup access from the remote frontend to an NFS share of the myth directory on the backend (see the NFSHowTo) and then setup the appropriate directories in the remote mythtv frontend.
_________________ LinHES 8.3, 1 BE, 3 FE
|
|
Top |
|
 |
rubrboots
|
Posted: Tue Aug 28, 2007 4:47 pm |
|
Joined: Sat Jun 18, 2005 7:22 pm
Posts: 43
|
Ok, I finally got the chance to start messing with this again. I setup NFS per NFSHowTo. And Now my videos do appear as they should. However when I attempt to play them nothing happens. While recordings play perfectly. Am I missing something else here?
|
|
Top |
|
 |
slowtolearn
|
Posted: Tue Aug 28, 2007 4:49 pm |
|
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location:
Farmington, MI USA
|
As Mike asked: mihanson wrote: What are the file permissions/ownership on your video files and directories containing the video files? From the frontend...
|
|
Top |
|
 |
rubrboots
|
Posted: Tue Aug 28, 2007 5:36 pm |
|
Joined: Sat Jun 18, 2005 7:22 pm
Posts: 43
|
I am not sure of that. I am still a linux newbie and have not changed any premissions. When I transfer videos I use mythtv as user and password. What should the permissions be on the videos folder?
|
|
Top |
|
 |
slowtolearn
|
Posted: Tue Aug 28, 2007 6:52 pm |
|
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location:
Farmington, MI USA
|
rubrboots wrote: I am not sure of that. I am still a linux newbie and have not changed any premissions. When I transfer videos I use mythtv as user and password. What should the permissions be on the videos folder? Show us the output from (this is from the frontend, you may have to adjust the directory depending on how you set the mount points/links) ls -ld /myth and ls -l /myth/video. If you have a lot of videos in there just paste the first 20 or so entries.
|
|
Top |
|
 |
rubrboots
|
Posted: Tue Aug 28, 2007 7:29 pm |
|
Joined: Sat Jun 18, 2005 7:22 pm
Posts: 43
|
Code: root@frontend:/# ls -ld /myth drwxr-xr-x 20 root root 4096 Aug 28 16:08 /myth
Code: root@frontend:/# ls -l /myth/video total 4 lrwxrwxrwx 1 root root 10 Aug 28 16:00 cdrom -> /mnt/cdrom drwxrwxr-x 2 mythtv mythtv 4096 Aug 28 16:00 motion
This from my frontend machine. In the Video General settings of the frontend, it says that the "directory that holds vidoes is" /share/Movies/dvd. Seems strange to my but I really dont know.
|
|
Top |
|
 |
slowtolearn
|
Posted: Tue Aug 28, 2007 7:55 pm |
|
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location:
Farmington, MI USA
|
rubrboots wrote: Code: root@frontend:/# ls -ld /myth drwxr-xr-x 20 root root 4096 Aug 28 16:08 /myth
Code: root@frontend:/# ls -l /myth/video total 4 lrwxrwxrwx 1 root root 10 Aug 28 16:00 cdrom -> /mnt/cdrom drwxrwxr-x 2 mythtv mythtv 4096 Aug 28 16:00 motion
This from my frontend machine. In the Video General settings of the frontend, it says that the "directory that holds vidoes is" /share/Movies/dvd. Seems strange to my but I really dont know. On the frontend, where did you mount the directory from the backend? If it is indeed /share/Movies/dvd, then show us the same output for ls -ld /share/Movies/dvd and ls -l /share/Movies/dvd. Like I said earlier Quote: ...you may have to adjust the directory depending on how you set the mount points/links We can't guess where you may have placed them, you need to supply that...
|
|
Top |
|
 |
rubrboots
|
Posted: Tue Aug 28, 2007 8:25 pm |
|
Joined: Sat Jun 18, 2005 7:22 pm
Posts: 43
|
I haven't directly mounted anything, so maybe that is my problem. I followed the frontend install guide mentioned above, but it did not contain anything about mounting folders. I also followed the first section of the NFS howto, which consisted of
Code: su /etc/init.d/nfs-common start /etc/init.d/nfs-kernel-server start
update-rc.d nfs-common defaults update-rc.d nfs-kernel-server defaults
The following sections did not seem to apply. No I dont think that /share/Movies/dvd is a valid folder. I did not create that, but found it to be strange. Much of this is over my head 
|
|
Top |
|
 |
cecil
|
Posted: Tue Aug 28, 2007 8:36 pm |
|
 |
Site Admin |
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location:
Whittier, Ca
|
The path for videos must be the same on the frontend as on the backend. Is it?
|
|
Top |
|
 |
mihanson
|
Posted: Tue Aug 28, 2007 8:42 pm |
|
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location:
Los Angeles
|
On your frontend:
Ctrl-Alt-F1
Log in as root
Code: # pico /etc/fstab And add the following to the bottom: Quote: 192.168.11.4:/myth /myth nfs defaults,hard,intr,wsize=32768,rsize=32768 0 2 But use the actual IP address of your backend machine. Beware of line wrapping when you copy and paste. This should all be on one line. CTRL-X save & exit pico Now in order to mount the /myth filesystem from your backend, you need an empty directory. What I did was just blow away the contents of the /myth directory on the frontend. If there is anything on the frontend's /myth directory you want to save, move it (mv) first. Code: # rm -fr /myth/* Now you should be able to mount the backend's /myth directory on the frontend. Code: # mount -a
Now go back and edit your /share/Movies/dvd entry to be /myth/video. Hopefully you'll see them now.
_________________ Mike
My Hardware Profile
|
|
Top |
|
 |
slowtolearn
|
Posted: Tue Aug 28, 2007 8:42 pm |
|
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location:
Farmington, MI USA
|
rubrboots wrote: I haven't directly mounted anything, so maybe that is my problem. OK, let's step back. On the frontend, what does df -h show? Did you perform the following steps outlined in http://knoppmythwiki.org/index.php?page=NFSHowTo Quote: su mkdir /mnt/myth portmap mount mythtvboxIP:/myth /mnt/myth or edit your /etc/fstab file?
|
|
Top |
|
 |
mihanson
|
Posted: Tue Aug 28, 2007 8:47 pm |
|
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location:
Los Angeles
|
On your frontend:
Ctrl-Alt-F1
Log in as root
Code: # pico /etc/fstab And add the following to the bottom: Quote: 192.168.11.4:/myth /myth nfs defaults,hard,intr,wsize=32768,rsize=32768 0 2 But use the actual IP address of your backend machine. Beware of line wrapping when you copy and paste. This should all be on one line. CTRL-X save & exit pico Now in order to mount the /myth filesystem from your backend, you need an empty directory. What I did was just blow away the contents of the /myth directory on the frontend. If there is anything on the frontend's /myth directory you want to save, move it (mv) first. Code: # rm -fr /myth/* Now you should be able to mount the backend's /myth directory on the frontend. Code: # mount -a
Now go back and edit your /share/Movies/dvd entry to be /myth/video. Hopefully you'll see them now.
_________________ Mike
My Hardware Profile
|
|
Top |
|
 |