pycousin / gnome-mplayer

Automatically exported from code.google.com/p/gnome-mplayer
GNU General Public License v2.0
0 stars 0 forks source link

GNOME MPlayer won't play files from SFTP shorcuts #358

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
- What steps will reproduce the problem?
1. Select a file on a SFTP server, either from Nautilus drag&dropping, or
from File>Open in GNOME-MPlayer
2. A --reallyverbose switch for launching GNOME MPlayer will issue that it
tries to add the file to the playlist and finally will tell that
"sftp://[USER]@[HOST]/blablafile.avi is not a device name"
3. The file is not even added to the playlist, and such, won't even less play

- What is the expected output? What do you see instead?
I would like the file to be streamed, as I use a "windowed" (ie not
inherently full-screened) player only for videos on SFTP servers : I play
all my files on static mounts (NFS) with MythTV on another machine (using
mplayer-nogui, by the way, as MythVideo always had and still have loads of
problems with H.264 and MKVs, which I use for most of my personnal rips)...
but GNOME MPlayer won't stream it. Totem does, but I do not like it a lot
though...

- What version of the product are you using? On what operating system?
Tried with 0.9.8 from Debian Testing and 0.9.9 from Debian Unstable, with a
mplayer-nogui from Debian-Multimedia 1.0.rc2svn20091220-0.0 on Testing and
1.0.rc2svn20100219-0.0 on Unstable... Both on Debian of course, under a
very GNOME-ified XFCE (mostly GNOME apps, and services, under XFCE, so I
can benefit from the keyring and GVFS ; basically because I do not like
Metacity a lot, and because I really hate Mutter, for what's coming).

- Please provide any additional information below.
Do not know what to say apart from : am I missing something, or is it
GNOME-MPlayer that does ?

Original issue reported on code.google.com by ludomap...@gmail.com on 20 Feb 2010 at 5:30

GoogleCodeExporter commented 8 years ago
Did you compile gnome-mplayer with gio support? Running gnome-mplayer -v will 
usually
tell you.

If not that is required to make that function work. I also recommend gvfs-fuse 
be
installed as it will prevent the file from being locally cached.

Original comment by kdeko...@gmail.com on 20 Feb 2010 at 6:33

GoogleCodeExporter commented 8 years ago
Yes, it seems to be : in verbose mode, it tells me "Running with GIO support". 

And googling a bit before I posted this report, I came around this topic :
http://old.nabble.com/use-gvfs-mount-points-td21111857.html in which you spoke 
about
gvfs-fuse, which made me install it (it was not at first). I do not remember if 
it
told me it runned with GIO support before that, but I am sure GNOME Mplayer now 
tells
me it is, and that gvfs-fuse is installed.

Original comment by ludomap...@gmail.com on 20 Feb 2010 at 6:45

GoogleCodeExporter commented 8 years ago
I just tried SVN on my Fedora 12 machine and it worked perfectly. Please post 
the
entire gnome-mplayer -v log.

Original comment by kdeko...@gmail.com on 20 Feb 2010 at 7:34

GoogleCodeExporter commented 8 years ago
My bad : I am stupid... I addn't added my user to the fuse users group. I 
didn't used
FUSE before on this machine which explains this lack. A usermod and a relog 
later, it
works like a charm !

Is it normal, though, that it absolutely needs FUSE ? It did not work at all 
without
it, even caching the file, which did not happen. From what I understand of what 
you
say, it should have worked, after having cached the entire file, should'nt it ? 
If of
any use, here is the output of the --veryverbose log, with gvfs-fuse 
uninstalled : 

GNOME MPlayer v0.9.8
vo = x11 ao = (null)
Running with GIO support
Mixer attach error Aucun fichier ou dossier de ce type
Using match: type='signal',interface='com.gnome.mplayer'
Using match: type='signal',interface='org.gnome.SettingsDaemon'
Using match: type='signal',interface='org.gnome.SettingsDaemon.MediaKeys'
Proxy connections and Command connected
sftp://host is not a device name
sftp://host is not a device name
sftp://host/file.avi is not a device name
sftp://host/file.avi is not a device name
Streaming media 'sftp://host/file.avi' = 0
opening playlist
RIFFrëéAVI LIST~" is not a device name
sftp://host/RIFFrëéAVI LIST~" is not a device name
playlist detection = 0
adding sftp://host/file.avi to playlist (cancel = 0)
sftp://host/file.avi is not a device name
sftp://host/file.avi is not a device name
Streaming media 'sftp://host/file.avi' = 0
sftp://host/file.avi is not a device name
iter is invalid, nothing to play

Please do not care for the use of the X11 output and the mixer error : it comes 
from
a quickly set up qemu machine so I could try solutions without touching on my 
real
machines, which explains why it doesn't have a soundcard, and why it uses the 
crappy
x11 output. With gvfs-fuse, it works perfectly, though, both on my qemu testbed 
and
on my real machine.

Anyway, thanks a lot for bringing a modern interface to the fantastic MPlayer 
;) And
sorry for having kind of wasted your time.

Original comment by ludomap...@gmail.com on 20 Feb 2010 at 8:53

GoogleCodeExporter commented 8 years ago
I'll have to look into this case without fuse. I know it used to work, So I'll 
have
to see if there is regression somewhere. However, fuse is usually installed on 
most
modern setups any way. 

I think sftp might be marked incorrectly in the code as "not a device name" but
testing will be needed. I'm going to mark this as closed, but I will look into 
it.

Original comment by kdeko...@gmail.com on 20 Feb 2010 at 9:21