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

Alexander Heinz mailsanmich at gmx.li
Wed Nov 21 00:50:40 CET 2007


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

Best regards,
Alex




More information about the MPlayer-users mailing list