LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 10-03-2006, 11:28 PM   #1
fortezza
Member
 
Registered: Mar 2003
Location: Colorado
Distribution: Fedora Core 4
Posts: 297

Rep: Reputation: 30
Question Xine - Autodetect CD/DVD drive?


Excuse my post if it is short, but I just took my meds and am a bit sleepy.

I am wondering if there is a way to have Xine search connected devices when it starts up in order to detect any connected CD/DVD drives. More specifically, I am a bit flustered by the fact that every time I plug in my USB DVD writer, it get one of several device id's. The device id seems to vary between /dev/sg0-4 and /dev/scd0-4, so that every time I wish to watch a DVD movie, I need to check the "dmesg" command output to find where my DVD drive is and then configure Xine to use that device. Sometimes it takes several tries.

So, hopefully there is some type of work-around for this.


I am on Fedora Cord 5 using KDE desktop, if that helps.

Thank You,

FOrtezza
 
Old 10-04-2006, 07:52 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
I've never seen any way to set xine to autodetect, but it should be pretty easy to solve this problem. You can set up a udev rule so that your dvd drive has a stable device alias no matter what the actual device is.

See here for info on what udev is and how to set up such a rule:
http://www.kernel.org/pub/linux/util...plug/udev.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
which DVD player can play DVD from hard drive *and* support DVD Menu ? tho_x_tran Linux - Software 16 11-16-2006 02:00 PM
changing default autodetect media (open dvd with, etc) aldimeneira Suse/Novell 2 03-18-2006 11:52 PM
Autodetect hard drive edlentz Suse/Novell 1 10-31-2005 01:54 PM
Xine doesnt believe that I have a dvd-rom drive caleb star Linux - Software 3 06-05-2004 07:39 AM
setting xine to play my dvd drive? bullwinkel Linux - Newbie 4 03-23-2002 11:18 PM


All times are GMT -5. The time now is 12:28 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration