Totem won't autoplay DVD

Bug #347045 reported by N T Alexander
8
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Low
Unassigned

Bug Description

When I insert a DVD into the DVD-ROM drive, Totem starts and tries to play it. But it fails with the message: "Could not open location; you might not have permission to open the file".

Oddly, I am able to navigate in xfce to /media/cdrom0 and view the files.

Stranger still, if I open a terminal window and type: "totem /media/cdrom0" at the prompt the DVD plays perfectly with menus acting correctly.

Originally I had noticed user and group permissions on the mounted DVD would reference a very large integer. So i had thought this problem was caused by bad users, groups or permissions. But I have completely ruled that out with my above test - the only difference between playing and not playing is how totem starts: autoplay vs from the commandline.

I do not know how to capture errors when starting totem via autoplay, but if someone can tell me how I would be happy to try it.

I want to be really clear because there are a lot of similar sounding bugs and complaints on the forum pages: This bug IS NOT caused by: A) missing libraries (libdvdcss2) - I proved that by playing the dvd from the command line. B) problems with fstab, mounting issues - I proved that by running from the command line above as user, no sudo.

Has to be something about the way Totem starts under auto play vs from the terminal.

Revision history for this message
BrianS (brians200) wrote :

have you tried using totem-xine? I had problems with the original install of totem not working, but once I started using totem-xine it started playing dvds fine.

Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report, could you look to running processes when you get the error and copy the command called there?

Changed in totem (Ubuntu):
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
N T Alexander (spam-alexanderfamily) wrote : Re: [Bug 347045] Re: Totem won't autoplay DVD

I think I am onto a more narrowed down question, I will post

BrianS wrote:
> have you tried using totem-xine? I had problems with the original
> install of totem not working, but once I started using totem-xine it
> started playing dvds fine.
>

Revision history for this message
N T Alexander (spam-alexanderfamily) wrote :

I think I have narrowed down the problem more. I will post a more
narrowed down question

Sebastien Bacher wrote:
> thank you for your bug report, could you look to running processes when
> you get the error and copy the command called there?
>
> ** Changed in: totem (Ubuntu)
> Importance: Undecided => Low
>
> ** Changed in: totem (Ubuntu)
> Status: New => Incomplete
>
> ** Changed in: totem (Ubuntu)
> Assignee: (unassigned) => Ubuntu Desktop Bugs (desktop-bugs)
>

Revision history for this message
N T Alexander (spam-alexanderfamily) wrote :

Sorry, I didn't realize that replying to the emails automatically would generate the two posts above.

But as I thought about this I may have figured it out. As you can see in my screenshot, when a disc is inserted into any removable drive, xubuntu executes the following command: "totem dvd:/" The command "totem dvd:/" is system default - I have never intentionally modified that command or my video settings.

When I run the same command in a terminal window, I can exactly replicate the error. (remember above I found the command "totem /media/cdrom0" or "totem /media/cdrom1" worked perfectly.)

Can someone please tell me what command I can use that will recognize whichever dvd-rom I am using? Also, if the "totem dvd:/" command is indeed set by install, and not accidentally changed by me, I would hope for the sake of the new ubuntuers that the command would be set to something that actually works.

Finally, when I run "totem dvd:/" in a terminal, here is the output:

** (totem:9333): WARNING **: Failed to create dbus proxy for org.gnome.SettingsDaemon: Could not get owner of name 'org.gnome.SettingsDaemon': no such name
** (totem:9333): DEBUG: Init of Python module
** (totem:9333): DEBUG: Registering Python plugin instance: BBCViewer+TotemPythonPlugin
** (totem:9333): DEBUG: Creating object of type BBCViewer+TotemPythonPlugin
** (totem:9333): DEBUG: Creating Python plugin instance
** (totem:9333): DEBUG: Init of Python module
** (totem:9333): DEBUG: Registering Python plugin instance: YouTube+TotemPythonPlugin
** (totem:9333): DEBUG: Creating object of type YouTube+TotemPythonPlugin
** (totem:9333): DEBUG: Creating Python plugin instance
** Message: no file info
Device is now /
Device is now /
** Message: Error: Could not read title information for DVD.
resindvdsrc.c(322): rsn_dvdsrc_start (): /GstPlayBin:play/RsnDvdBin:source/resinDvdSrc:dvdsrc:
system error: No such file or directory

** (totem:9333): DEBUG: Finalizing Python plugin instance
** (totem:9333): DEBUG: Finalizing Python plugin instance

Revision history for this message
BrianS (brians200) wrote :

I completely missed that you were using xfce. I apologize. I checked the default settings for gnome and it does not have those presets. (I have included a picture)
The command should be "totem /media/cdrom0" unless you have multiple drives. Also, the command "totem /dev/dvd" will work.

On a side note, if you want to skip the title screens and go straight into a movie, (I am not sure how to with totem...) you can use vlc to select the track. "vlc /dev/dvd@1" where one is the track (all the movies I have tried have started at 1)

hope this helps

Revision history for this message
Sebastien Bacher (seb128) wrote :

the issue is how whatever xfce uses call totem and not a totem bug

Changed in totem (Ubuntu):
assignee: desktop-bugs → nobody
Changed in ubuntu:
status: Incomplete → New
Revision history for this message
NetMc (mccoolmg) wrote :

I finally found what causes the "Could not open location; you might not have permission to open the file" when auto playing a DVD. In XFCE, go to the Removable Drives and Media setting (Applications, Settings) and then on the multimedia tab, change the default command for Video CDs/DVDs from "totem dvd:/" to "totem dvd://"

The last slash is missing for some reason. Once I added the second / to the command, totem worked flawlessly when auto playing a DVD. I am using totem with the gstreamer backend and not xine.

I realize that this has absolutely nothing to do with totem, but it is still present in Xubuntu 9.10, and this bug report was high on the google search results.

Revision history for this message
Leo Arias (elopio) wrote :

Hello NetMc.

Is the issue still present on Lucid (or Maverick)?

Thanks.

Changed in ubuntu:
status: New → Incomplete
Revision history for this message
Leo Arias (elopio) wrote :

We'd like to figure out what's causing this bug for you, but we haven't heard back from you in a while. Could you please provide the requested information? Thanks!

Revision history for this message
Leo Arias (elopio) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in ubuntu:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.