LinHES Forums
http://forums.linhes.org/

Import DVD - closed
http://forums.linhes.org/viewtopic.php?f=21&t=22134
Page 1 of 1

Author:  nbdwt73 [ Sat May 28, 2011 3:01 pm ]
Post subject:  Import DVD - closed

I am running the latest 6.04 and am unable to rip a DVD. I haven't used this feature for a long time (at least 6.01) so cannot honestly say when the problem started - it used to work fine... I am now getting a message when I try to import video files (Optical Disks/Import video files from DVD) - "No optical media found..." I am able to play it just fine so I know it is found, I just cannot not rip it. There are no log entries indicating any issues.

I simply want to rip DVD's to my video library. I have searched this site and a few others for similar problems and found none so I am curious if anyone has seen this or can confirm that it works on their system...

Author:  tjc [ Sat May 28, 2011 7:53 pm ]
Post subject: 

WFM... Although I vaguely remember having to tweak some settings. Have you checked what device it's trying to use? Make sure that it exists and the mythtv user has the right permissions.

Your link chain may differ, but mine looks like this:
Code:
[root@black3 ~]# ls -al /dev/dvd /dev/cd/dvd-0:0:0:0 /dev/sr0
lrwxrwxrwx 1 root root       19 2011-05-26 20:30 /dev/dvd -> /dev/cd/dvd-0:0:0:0
lrwxrwxrwx 1 root root        6 2011-05-26 20:30 /dev/cd/dvd-0:0:0:0 -> ../sr0
brw-rw---- 1 root optical 11, 0 2011-05-26 20:30 /dev/sr0
[root@black3 ~]# grep optical /etc/group
optical::93:hal,mythtv

Author:  nbdwt73 [ Sun May 29, 2011 10:18 am ]
Post subject: 

Thanks tjc... I did check the device and permissions - all good. There is a script that is failing because of a symlink - /proc/mounts linked to /proc/self which is a failed link.

Interestingly, I have a naked, fresh install on a test machine showing the same thing... So I have to assume this is an issue others are seeing...

Author:  tjc [ Sun May 29, 2011 3:08 pm ]
Post subject: 

Interesting... I see
Code:
[mythtv@black3 ~]$ ls -l /proc/mounts /proc/self/mounts
lrwxrwxrwx 1 root   root   11 2011-05-29 17:02 /proc/mounts -> self/mounts
-r--r--r-- 1 mythtv mythtv  0 2011-05-29 17:02 /proc/self/mounts
[mythtv@black3 ~]$ cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / ext4 rw,noatime,barrier=1,data=ordered 0 0
cachedir /lib/splash/cache tmpfs rw,size=4096k,mode=644 0 0
none /dev ramfs rw 0 0
none /proc proc rw 0 0
none /sys sysfs rw 0 0
none /dev/pts devpts rw,mode=600 0 0
none /dev/shm tmpfs rw 0 0
/dev/sda3 /myth ext4 rw,noatime,barrier=1,data=ordered 0 0
/dev/sdb1 /video ext4 rw,noatime,barrier=1,data=ordered 0 0
none /proc/fs/nfsd nfsd rw 0 0

/proc/self should be symlink to your actual process id and that should be a directory containing various things including the mounts.
Code:
[mythtv@black3 ~]$ echo "My PID is: $$"
My PID is: 10747
[mythtv@black3 ~]$ ls -l /proc/$$
total 0
dr-xr-xr-x 2 mythtv mythtv 0 2011-05-29 17:02 attr
-r-------- 1 mythtv mythtv 0 2011-05-29 17:02 auxv
--w------- 1 mythtv mythtv 0 2011-05-29 17:02 clear_refs
-r--r--r-- 1 mythtv mythtv 0 2011-05-29 17:02 cmdline
-rw-r--r-- 1 mythtv mythtv 0 2011-05-29 17:02 coredump_filter
lrwxrwxrwx 1 mythtv mythtv 0 2011-05-29 17:02 cwd -> /home/mythtv
-r-------- 1 mythtv mythtv 0 2011-05-29 17:02 environ
lrwxrwxrwx 1 mythtv mythtv 0 2011-05-29 17:01 exe -> /bin/bash
dr-x------ 2 mythtv mythtv 0 2011-05-29 17:02 fd
dr-x------ 2 mythtv mythtv 0 2011-05-29 17:02 fdinfo
-r--r--r-- 1 mythtv mythtv 0 2011-05-29 17:02 io
-r-------- 1 mythtv mythtv 0 2011-05-29 17:02 limits
-r--r--r-- 1 mythtv mythtv 0 2011-05-29 17:02 maps
-rw------- 1 mythtv mythtv 0 2011-05-29 17:02 mem
-r--r--r-- 1 mythtv mythtv 0 2011-05-29 17:02 mountinfo
-r--r--r-- 1 mythtv mythtv 0 2011-05-29 17:01 mounts
-r-------- 1 mythtv mythtv 0 2011-05-29 17:02 mountstats
dr-xr-xr-x 6 mythtv mythtv 0 2011-05-29 17:02 net
-rw-r--r-- 1 mythtv mythtv 0 2011-05-29 17:02 oom_adj
-r--r--r-- 1 mythtv mythtv 0 2011-05-29 17:02 oom_score
-r-------- 1 mythtv mythtv 0 2011-05-29 17:02 pagemap
-r-------- 1 mythtv mythtv 0 2011-05-29 17:02 personality
lrwxrwxrwx 1 mythtv mythtv 0 2011-05-29 17:02 root -> /
-r--r--r-- 1 mythtv mythtv 0 2011-05-29 17:02 smaps
-r--r--r-- 1 mythtv mythtv 0 2011-05-29 17:01 stat
-r--r--r-- 1 mythtv mythtv 0 2011-05-29 17:02 statm
-r--r--r-- 1 mythtv mythtv 0 2011-05-29 17:01 status
-r-------- 1 mythtv mythtv 0 2011-05-29 17:02 syscall
dr-xr-xr-x 3 mythtv mythtv 0 2011-05-29 17:02 task
-r--r--r-- 1 mythtv mythtv 0 2011-05-29 17:02 wchan

Author:  nbdwt73 [ Mon May 30, 2011 2:36 pm ]
Post subject: 

Here is what I see...

Code:
[sailor@mythserv /]$ ls -l /proc/mounts /proc/self/mounts
lrwxrwxrwx 1 root   root   11 2011-05-30 16:32 /proc/mounts -> self/mounts
-r--r--r-- 1 sailor sailor  0 2011-05-30 16:32 /proc/self/mounts
[sailor@mythserv /]$ cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / ext3 rw,noatime,errors=continue,data=ordered 0 0
cachedir /lib/splash/cache tmpfs rw,size=4096k,mode=644 0 0
none /dev ramfs rw 0 0
none /proc proc rw 0 0
none /sys sysfs rw 0 0
none /dev/pts devpts rw,mode=600 0 0
none /dev/shm tmpfs rw 0 0
/dev/sda3 /myth ext3 rw,noatime,errors=continue,data=ordered 0 0
/dev/sdd1 /mnt/tv xfs rw,attr2,allocsize=524288k,noquota 0 0
/dev/sdb1 /mnt/video xfs rw,attr2,allocsize=524288k,noquota 0 0
/dev/sdc1 /mnt/media2 xfs rw,attr2,allocsize=524288k,noquota 0 0
none /proc/fs/nfsd nfsd rw 0 0


And...

Code:
[sailor@mythserv /]$ echo "My PID is: $$"
My PID is: 15979
[sailor@mythserv /]$ ls -l /proc/$$
total 0
dr-xr-xr-x 2 sailor sailor 0 2011-05-30 16:33 attr
-r-------- 1 sailor sailor 0 2011-05-30 16:33 auxv
--w------- 1 sailor sailor 0 2011-05-30 16:33 clear_refs
-r--r--r-- 1 sailor sailor 0 2011-05-30 16:33 cmdline
-rw-r--r-- 1 sailor sailor 0 2011-05-30 16:33 coredump_filter
lrwxrwxrwx 1 sailor sailor 0 2011-05-30 16:33 cwd -> /
-r-------- 1 sailor sailor 0 2011-05-30 16:33 environ
lrwxrwxrwx 1 sailor sailor 0 2011-05-30 16:31 exe -> /bin/bash
dr-x------ 2 sailor sailor 0 2011-05-30 16:31 fd
dr-x------ 2 sailor sailor 0 2011-05-30 16:33 fdinfo
-r--r--r-- 1 sailor sailor 0 2011-05-30 16:33 io
-r-------- 1 sailor sailor 0 2011-05-30 16:33 limits
-r--r--r-- 1 sailor sailor 0 2011-05-30 16:33 maps
-rw------- 1 sailor sailor 0 2011-05-30 16:33 mem
-r--r--r-- 1 sailor sailor 0 2011-05-30 16:33 mountinfo
-r--r--r-- 1 sailor sailor 0 2011-05-30 16:31 mounts
-r-------- 1 sailor sailor 0 2011-05-30 16:33 mountstats
dr-xr-xr-x 6 sailor sailor 0 2011-05-30 16:33 net
-rw-r--r-- 1 sailor sailor 0 2011-05-30 16:33 oom_adj
-r--r--r-- 1 sailor sailor 0 2011-05-30 16:33 oom_score
-r-------- 1 sailor sailor 0 2011-05-30 16:33 pagemap
-r-------- 1 sailor sailor 0 2011-05-30 16:33 personality
lrwxrwxrwx 1 sailor sailor 0 2011-05-30 16:33 root -> /
-r--r--r-- 1 sailor sailor 0 2011-05-30 16:33 smaps
-r--r--r-- 1 sailor sailor 0 2011-05-30 16:33 stat
-r--r--r-- 1 sailor sailor 0 2011-05-30 16:33 statm
-r--r--r-- 1 sailor sailor 0 2011-05-30 16:33 status
-r-------- 1 sailor sailor 0 2011-05-30 16:33 syscall
dr-xr-xr-x 3 sailor sailor 0 2011-05-30 16:33 task
-r--r--r-- 1 sailor sailor 0 2011-05-30 16:33 wchan


What is odd is that it knows there is media in the tray since it will play it. I think you are right, there is some minor tweak that I have missed...

Author:  tjc [ Wed Jun 01, 2011 7:42 pm ]
Post subject: 

Did you not run that as mythtv? And make sure that mythtv or the user you're running as is a member of the optical group.

Author:  nbdwt73 [ Thu Jun 02, 2011 8:09 pm ]
Post subject: 

LOL... I just noticed that but, in any case, that user is part of the optical group but just in case I missed something (like I obviously did in my last reply...)
Code:
[mythtv@mythserv /]$ groups sailor
video audio optical storage users sailor
[mythtv@mythserv /]$ groups mythtv
video audio optical storage users mythtv

Code:
[mythtv@mythserv /]$ ls -l /proc/mounts /proc/self/mounts
lrwxrwxrwx 1 root   root   11 2011-06-02 22:04 /proc/mounts -> self/mounts
-r--r--r-- 1 mythtv mythtv  0 2011-06-02 22:04 /proc/self/mounts
[mythtv@mythserv /]$ cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / ext3 rw,noatime,errors=continue,data=ordered 0 0
cachedir /lib/splash/cache tmpfs rw,size=4096k,mode=644 0 0
none /dev ramfs rw 0 0
none /proc proc rw 0 0
none /sys sysfs rw 0 0
none /dev/pts devpts rw,mode=600 0 0
none /dev/shm tmpfs rw 0 0
/dev/sda3 /myth ext3 rw,noatime,errors=continue,data=ordered 0 0
/dev/sdd1 /mnt/tv xfs rw,attr2,allocsize=524288k,noquota 0 0
/dev/sdb1 /mnt/video xfs rw,attr2,allocsize=524288k,noquota 0 0
/dev/sdc1 /mnt/media2 xfs rw,attr2,allocsize=524288k,noquota 0 0
none /proc/fs/nfsd nfsd rw 0 0


And...
Code:
[mythtv@mythserv /]$ ls -l /proc/$$
total 0
dr-xr-xr-x 2 mythtv mythtv 0 2011-06-02 22:05 attr
-r-------- 1 mythtv mythtv 0 2011-06-02 22:05 auxv
--w------- 1 mythtv mythtv 0 2011-06-02 22:05 clear_refs
-r--r--r-- 1 mythtv mythtv 0 2011-06-02 22:05 cmdline
-rw-r--r-- 1 mythtv mythtv 0 2011-06-02 22:05 coredump_filter
lrwxrwxrwx 1 mythtv mythtv 0 2011-06-02 22:05 cwd -> /
-r-------- 1 mythtv mythtv 0 2011-06-02 22:05 environ
lrwxrwxrwx 1 mythtv mythtv 0 2011-06-02 22:05 exe -> /bin/bash
dr-x------ 2 mythtv mythtv 0 2011-06-02 22:05 fd
dr-x------ 2 mythtv mythtv 0 2011-06-02 22:05 fdinfo
-r--r--r-- 1 mythtv mythtv 0 2011-06-02 22:05 io
-r-------- 1 mythtv mythtv 0 2011-06-02 22:05 limits
-r--r--r-- 1 mythtv mythtv 0 2011-06-02 22:05 maps
-rw------- 1 mythtv mythtv 0 2011-06-02 22:05 mem
-r--r--r-- 1 mythtv mythtv 0 2011-06-02 22:05 mountinfo
-r--r--r-- 1 mythtv mythtv 0 2011-06-02 22:05 mounts
-r-------- 1 mythtv mythtv 0 2011-06-02 22:05 mountstats
dr-xr-xr-x 6 mythtv mythtv 0 2011-06-02 22:05 net
-rw-r--r-- 1 mythtv mythtv 0 2011-06-02 22:05 oom_adj
-r--r--r-- 1 mythtv mythtv 0 2011-06-02 22:05 oom_score
-r-------- 1 mythtv mythtv 0 2011-06-02 22:05 pagemap
-r-------- 1 mythtv mythtv 0 2011-06-02 22:05 personality
lrwxrwxrwx 1 mythtv mythtv 0 2011-06-02 22:05 root -> /
-r--r--r-- 1 mythtv mythtv 0 2011-06-02 22:05 smaps
-r--r--r-- 1 mythtv mythtv 0 2011-06-02 22:05 stat
-r--r--r-- 1 mythtv mythtv 0 2011-06-02 22:05 statm
-r--r--r-- 1 mythtv mythtv 0 2011-06-02 22:05 status
-r-------- 1 mythtv mythtv 0 2011-06-02 22:05 syscall
dr-xr-xr-x 3 mythtv mythtv 0 2011-06-02 22:05 task
-r--r--r-- 1 mythtv mythtv 0 2011-06-02 22:05 wchan

Author:  nbdwt73 [ Mon Jun 06, 2011 4:45 pm ]
Post subject: 

OK - I missed a change in Mythtv recently - MTD ( Myth Transcoding Daemon ) has been removed from Mythtv. That means that it will no longer RIP DVDs... Oh well - another great feature gone. As a result, the topic of this thread is a moot point...

Author:  nicom [ Mon Jun 06, 2011 8:49 pm ]
Post subject: 

Sounds like a good reason for me to stick with 6.03.

I looked at the Mythtv wiki and I am hopeful it may come back in future revisions.
Quote:
Due to outstanding issues, and the lack of time necessary to perform needed conversion to use Storage Groups, MTD has been removed from the upcoming 0.24 release of MythTV.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/