[MPlayer-users] OSD menu: restrict open_file to a specific directory

Ulion ulion2002 at gmail.com
Wed Nov 21 09:34:55 CET 2007


2007/11/21, Alexander Heinz <mailsanmich at gmx.li>:
> > -menu-chroot <path>
> > Chroot the file selection menu to a specific location.
> >
> > EXAMPLE:
> > "-menu-chroot=/home"
> > Will restrict the file selection menu to /home and downward (i.e.& no
> > access to / will be possible, but /home/user_name will).
>
> This command line argument does not work for me with latest SVN:
>
> debian:/usr/src/mplayer-checkout-2007-11-20# ./mplayer
> -menu-chroot=/media /media/usb/movie.avi
> MPlayer dev-SVN-r25115-4.1.2 (C) 2000-2007 MPlayer Team
> CPU: Intel Pentium III Katmai/Pentium III Xeon Tanner (Family: 6, Model:
> 7, Stepping: 2)
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
> Compiled for x86 CPU with extensions: MMX MMX2 SSE
> Unknown option on the command line: -menu-chroot=/media
> Error parsing option on the command line: -menu-chroot=/media
>
> Does it work for you?
>

Replace '=' by space to work around the problem, and you'd better  set
the beginning path in the two filesel tags by a property 'path'

-- 
Ulion



More information about the MPlayer-users mailing list