LinuxMCE Forums
May 23, 2013, 12:02:34 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1] 2
  Print  
Author Topic: Playing DVD  (Read 2561 times)
nicola
Newbie
*
Posts: 10


View Profile
« on: August 06, 2007, 08:39:20 am »

I'm using linuxmce RC1 and I have problem playing DVD.
The DVD starts playing and stop immediatly. Any hints?
Logged
totallymaxed
LinuxMCE God
****
Posts: 4310


View Profile WWW
« Reply #1 on: August 06, 2007, 12:10:07 pm »

I'm using linuxmce RC1 and I have problem playing DVD.
The DVD starts playing and stop immediatly. Any hints?

Hi Nicola,

It sounds like you need to configure libdvdread3 which is the lib that allows lmce to playback DVD discs. try the following at your lmce machine;

Open a console window and type;

sudo /usr/share/doc/libdvdread3/install-css.sh <Return>

This should start the config script for libdvdread3 and then you should be able to go back into the LMCE Orbiter and play DVD's successfully. If you get an error when running the above command that says it can't find the script then try the following;

sudo apt-get install libdvdread3 <Return>
(the above line will install libdvdread3 for you... now try the line below again and it should work ok this time)

sudo /usr/share/doc/libdvdread3/install-css.sh <Return>

Hope the above gets your DVD playback working for you.

Regards

Andrew


Logged

Andy Herron,
Convergent Home Technologies Ltd
United Kingdom

Dianemo S Now Shipping on Ubuntu 12.04LTS
Build your system on the latest Ubuntu OS Release!

Get a Dianemo S License: http://forum.linuxmce.org/index.php?topic=8880.0
iOS Orbiter: http://wiki.linuxmce.org/index.php/Dianemo_iOS_Orbiter
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

Sales & Info:
http://www.dianemo.co.uk
nicola
Newbie
*
Posts: 10


View Profile
« Reply #2 on: August 06, 2007, 01:26:52 pm »

Thanks for the answer but i just find that it's not a problem of library.
I have to insert a music CD and then autoplay of DVD magically works until the next reboot.
 Wink
Logged
nite_man
NEEDS to work for LinuxMCE
***
Posts: 1019


Want to work with LinuxMCE


View Profile WWW
« Reply #3 on: August 06, 2007, 03:00:19 pm »

Thanks for the answer but i just find that it's not a problem of library.
I have to insert a music CD and then autoplay of DVD magically works until the next reboot.
 Wink

Have a look into logs: DCERouter.log or pluto.log. It may give the answer why your DVD isn't played.
Logged

Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru
nicola
Newbie
*
Posts: 10


View Profile
« Reply #4 on: August 07, 2007, 10:59:52 am »

I take a look to the log, but I don't understand what do i have to look for?
Logged
Zaerc
Alumni
LinuxMCE God
*
Posts: 2256


Department of Redundancy Department.


View Profile
« Reply #5 on: August 07, 2007, 05:03:37 pm »

Just guessing here, but maybe a necessary kernel module isn't loaded automagicly when the DVD is inserted, but then it is loaded when a CD is inserted.
Logged

"Change is inevitable. Progress is optional."
-- Anonymous

nite_man
NEEDS to work for LinuxMCE
***
Posts: 1019


Want to work with LinuxMCE


View Profile WWW
« Reply #6 on: August 08, 2007, 12:08:56 pm »

I take a look to the log, but I don't understand what do i have to look for?

Some errors or warnings can be seen in the logs when you insert DVD. DCERouter is a brain of the system. So, you may see where the command 'Play DVD' is redirected. Maybe Zaerc is right. The library to play CD/DVD is not loaded properly. But without checking of logs it's very difficult to solve that.
Logged

Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru
kir
Guru
****
Posts: 183



View Profile
« Reply #7 on: August 08, 2007, 12:41:00 pm »

nicola, do you have this issue happening constantly or it just happened only once? when it breaks again? I don't remember any fixes between 1.1 RC1 and 0704 release for it, but I suggest you to move to the latest version if possible Smiley
Logged
nicola
Newbie
*
Posts: 10


View Profile
« Reply #8 on: August 08, 2007, 09:43:27 pm »

I'm currently using the official release and  I still have the issue;
it happens every time I reboot the computer and I insert a DVD before a music CD, then when the music CD is inserted once it works perfectly.
I noticed, as Zaerc suggested, that the ide_cd modules is not loaded when first inserting a DVD.
Logged
kir
Guru
****
Posts: 183



View Profile
« Reply #9 on: August 09, 2007, 01:32:43 pm »

Can you please do the following to get and post logs?
:
1) edit /etc/pluto.conf  to enable more logging:  change line LogLevels to include 5 and 10
2) ensure that no DVD is inserted
3) start LinuxMCE and switch to KDE Desktop
4) open Konsole and do:
ls /var/log/pluto/*Disk*
to figure out the log of Disk_Drive application (one of its taks is watching of disk availability in drive). suppose the log name is
/var/log/pluto/26_Disk_Drive.log

5) run in Konsole:
tail -f /var/log/pluto/26_Disk_Drive.log | grep '^05\|^10'
this will filter only interesting logs

6) switch back to Orbiter
7) insert DVD and give it few seconds to ensure it doesn't do autoplay
8 ) switch back to KDE desktop  and pls post here output from the Konsole grepped log (from step 5) - so we can see what exactly happens
Logged
nicola
Newbie
*
Posts: 10


View Profile
« Reply #10 on: August 12, 2007, 09:58:43 am »

Sorry for the delay here is the log:
10      08/12/07 10:46:29.050           Disk_Drive_Functions::cdrom_checkdrive status 4 inserted 0 flag: -1 duration 1186908                                                         389/1186908389 <0xb762b6d0>
10      08/12/07 10:46:29.050           Displaying on OSD: 20 VFD: 0 Disc detected in drive. <0xb762b6d0>
10      08/12/07 10:46:29.050           InternalSendCommand confirmation id 406 conf 1 resp (nil) <0xb762b6d0>
10      08/12/07 10:46:29.050           Socket::SendMessage type 1 id 406 from 26 to -2000 <0xb762b6d0>
10      08/12/07 10:46:29.056           InternalSendCommand confirmation done id 406 conf 1 resp (nil) (1) OK type 1 id 406                                                          to -2000 <0xb762b6d0>
10      08/12/07 10:46:29.056           Got a disc. Sleep a sec, then reopen. One hack to allow the disk to spin I think. <0                                                         xb762b6d0>
10      08/12/07 10:46:30.065           Can't read disc TOC. The disc is either a blank, or has a broken TOC. <0xb762b6d0>
10      08/12/07 10:46:30.066           Disk_Drive_Functions::UpdateDiscLocation device 26 type b disc -1 / (nil) <0xb762b6d                                                         0>
10      08/12/07 10:46:30.081           Socket::SendMessage type 2 id 3 from 26 to -1001 <0xb762b6d0>
10      08/12/07 10:46:30.082           InternalSendCommand queue  id 314 conf -1 resp (nil) <0xb762b6d0>
10      08/12/07 10:46:30.083           Disk_Drive_Functions::StartNbdServer --start    --quiet --exec  /bin/nbd-server --ok                                                         nodo    --pidfile       /var/run/nbd-server.18026.pid   --      18026   /dev/cdrom      -r <0xb762b6d0>
10      08/12/07 10:46:30.085           Socket::SendMessage type 1 id 314 from 26 to 27 <0xb6628b90>
10      08/12/07 10:46:33.099           Disk_Drive_Functions::cdrom_checkdrive status 4 inserted 1 flag: 4 duration 11869083                                                         93/1186908393 <0xb762b6d0>

The DVD I'm using is Matrix and I can see it once I do the manipulation i described in the earlier posts.
Logged
kir
Guru
****
Posts: 183



View Profile
« Reply #11 on: August 13, 2007, 04:44:10 pm »

Hmm... Weird. Does this happen only with this DVD or with some other DVDs too? Is this DVD special in any sense (e.g. encrypted)?
Logged
Zaerc
Alumni
LinuxMCE God
*
Posts: 2256


Department of Redundancy Department.


View Profile
« Reply #12 on: August 13, 2007, 04:57:31 pm »

I wouldn't be surprised at all if this was a side effect of some kind of crappy copy "protection" sceme.
Logged

"Change is inevitable. Progress is optional."
-- Anonymous

nicola
Newbie
*
Posts: 10


View Profile
« Reply #13 on: August 13, 2007, 07:11:35 pm »

It happens with all DVD and yes they are Zone protected for the Europe.
Logged
Zaerc
Alumni
LinuxMCE God
*
Posts: 2256


Department of Redundancy Department.


View Profile
« Reply #14 on: August 13, 2007, 07:17:10 pm »

I doubt this would be it, but I don't have any other ideas, next time could you try doing
Code:
modprobe ide_cd
before inserting the first DVDs?
Logged

"Change is inevitable. Progress is optional."
-- Anonymous

Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!