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

Main Menu

Playing DVD

Started by nicola, August 06, 2007, 09:39:20 AM

Previous topic - Next topic

nicola

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

totallymaxed

Quote from: nicola on August 06, 2007, 09:39:20 AM
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


Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

nicola

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.
;)

nite_man

Quote from: nicola on August 06, 2007, 02: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.
;)

Have a look into logs: DCERouter.log or pluto.log. It may give the answer why your DVD isn't played.
Michael Stepanov,
My setup: [url="http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup"]http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup[/url]
Russian LinuxMCE community: [url="http://linuxmce.ru"]http://linuxmce.ru[/url]

nicola

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

Zaerc

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.
"Change is inevitable. Progress is optional."
-- Anonymous

[url=http://petition.stopsoftwarepatents.eu/181001941347/][/url]

nite_man

Quote from: nicola on August 07, 2007, 11:59:52 AM
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.
Michael Stepanov,
My setup: [url="http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup"]http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup[/url]
Russian LinuxMCE community: [url="http://linuxmce.ru"]http://linuxmce.ru[/url]

kir

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 :)

nicola

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.

kir

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

nicola

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.

kir

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)?

Zaerc

I wouldn't be surprised at all if this was a side effect of some kind of crappy copy "protection" sceme.
"Change is inevitable. Progress is optional."
-- Anonymous

[url=http://petition.stopsoftwarepatents.eu/181001941347/][/url]

nicola

It happens with all DVD and yes they are Zone protected for the Europe.

Zaerc

I doubt this would be it, but I don't have any other ideas, next time could you try doing modprobe ide_cd before inserting the first DVDs?
"Change is inevitable. Progress is optional."
-- Anonymous

[url=http://petition.stopsoftwarepatents.eu/181001941347/][/url]