Reading CD/DVD information
I have a whole bunch of dvd's (that I own) and I would like to put them on my linux server to stream them to my computer. The first trial worked quite well but I wanted to automate the process. I know a little batch and have almost everything I need. The last part I need is to read the title of the DVD. even my windows machine can tell me what the title is by the name of the dvd (i.e. SIMPSONS_S!_D! for simpsons Season 1 Disk1). If I can read that I'm in business but I cannot find an example amongst all the cdrom mounting examples.
Does anyone know how to do this on the command line or what utility will do this. This is a server so I would like to keep everything in bash if possible. |
Assuming your CD/DVD drive is /dev/hdc then type something like; /lib/udev/vol_id --export /dev/hdc
Try using the type command ls -al /dev/cdrom to find out which device is the drive then change the first command accordingly. |
Thanks
With root privileges I get Code:
D_FS_USAGE=filesystem thanks again |
You are welcome.
|
Can you retrieve the title as a normal user as well?
|
All times are GMT -5. The time now is 12:47 AM. |