Server IP : 103.119.228.120 / Your IP : 3.16.203.27 Web Server : Apache System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : nobody ( 99) PHP Version : 5.6.40 Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/local/ssl/local/ssl/local/ssl/local/ssl/local/ssl/local/ssl/share/zsh/5.0.2/functions/ |
Upload File : |
#compdef xmms2 _xmms2_command() { local xmms2_cmds xmms2_cmds=( add:"adds a URL to the playlist" addarg:"adds one URL with arguments to the playlist" addid:"adds a Medialib id to the playlist" insert:"inserts one URL at a specific position" insertid:"inserts one Medialib id at a specific position" radd:"adds a directory recursively to the playlist" clear:"clears the playlist" shuffle:"shuffles the playlist" sort:"sort the playlist; use a space delimiter for multiple properties" remove:"removes something from the playlist" list:"lists the playlist" addpls:"Adds the contents of a playlist file to the playlist" play:"starts playback" stop:"stops playback" toggleplay:"toggles playback status between play/pause" pause:"pause playback" next:"play next song" prev:"play previous song" seek:"seek to a specific place in current song" jump:"take a leap in the playlist" move:"move a entry in the playlist" volume:"set volume for a channel" volume_list:"list volume levels for each channel" mlib:"medialib manipulation - type 'xmms2 mlib' for more extensive help" playlist:"playlist manipulation - type 'xmms2 playlist' for more extensive help" coll:"collection manipulation - type 'xmms2 coll' for more extensive help" browse:"browse server file lists" status:"go into status mode" info:"information about current entry" current:"formatted information about the current entry" config:"set a config value" config_list:"list all config values" plugin_list:"list all plugins loaded in the server" stats:"get statistics from server" quit:"make the server quit" help:"print help about a command" ) if (( CURRENT == 1 )); then _describe -t command "xmms2 commands" xmms2_cmds else local curcontext="$curcontext" fi local cmd=$words[1] local curcontext="${curcontext%:*}:xmms2-${cmd}" _call_function ret _xmms2_$cmd } _xmms2_jump() { songlist=(${"$(xmms2 list)"}) playlistitems=() for song ($songlist); do if [[ $song = (#b)' '\[(<->)/(<->)\]' '(*)' '\((*)\) ]]; then playlistitems+=("$match[1][$match[3]]") fi done _values -s ' ' 'playlist items' ${(On)playlistitems} } _xmms2_mlib() { local mlib_cmds mlib_cmds=( add:"Add 'url' to medialib" loadall:"Load everything from the mlib to the playlist" searchadd:"Search for, and add songs to playlist" search:"Search for songs matching criteria" addpath:"Import metadata from all media files under 'path'" rehash:"Force the medialib to check whether its data is up to date" remove:"Remove an entry from medialib" setstr:"Set a string property together with a medialib entry." setint:"Set a int property together with a medialib entry." rmprop:"Remove a property from a medialib entry" addcover:"Add a cover image on id(s)." ) if (( CURRENT == 2 )); then _describe -t command "xmms2 mlib commands" mlib_cmds else local curcontext="$curcontext" fi local cmd=$words[2] local curcontext="${curcontext%:*}:xmms2-${cmd}" _call_function ret _xmms2_$cmd } _xmms2_playlist() { local playlist_cmds playlist_cmds=( list:"List all available playlists" create:"Create a playlist" type:"Set the type of the playlist (list, queue, pshuffle)" load:"Load 'playlistname' stored in medialib" remove:"Remove a playlist" ) if (( CURRENT == 2 )); then _describe -t command "xmms2 playlist commands" playlist_cmds else local curcontext="$curcontext" fi local cmd=$words[2] local curcontext="${curcontext%:*}:xmms2-${cmd}" _call_function ret _xmms2_playlist_$cmd } _xmms2_playlist_load() { local list list=($(xmms2 playlist list)) _describe -t command "xmms2 playlists" list } _xmms2_playlist_remove() { local list list=($(xmms2 playlist list)) _describe -t command "xmms2 playlists" list } _xmms2_coll() { local coll_cmds coll_cmds=( save:"Save a pattern as a collection" rename:"Rename a collection" list:"List all collections in a given namespace" query:"Display all the media in a collection" queryadd:"Add all media in a collection to active playlist" find:"Find all collections that contain the given media" get:"Display the structure of a collection" remove:"Remove a saved collection" attr:"Get/set an attribute for a saved collection" ) if (( CURRENT == 2 )); then _describe -t command "xmms2 collection commands" coll_cmds else local curcontext="$curcontext" fi local cmd=$words[2] local curcontext="${curcontext%:*}:xmms2-${cmd}" _call_function ret _xmms2_coll_$cmd } _xmms2_coll_helper() { local list list=($(xmms2 coll list)) _describe -t command "xmms2 playlists" list } _xmms2_coll_rename() { _xmms2_coll_helper } _xmms2_coll_remove() { _xmms2_coll_helper } _xmms2_coll_get() { _xmms2_coll_helper } _xmms2_coll_query() { _xmms2_coll_helper } _xmms2_coll_queryadd() { _xmms2_coll_helper } _xmms2_coll_attr() { _xmms2_coll_helper } _xmms2_add() { _files } _xmms2_radd() { _dirs } _xmms2_addpls() { local expl _description files expl 'playlist' _files "$expl[@]" -g '*.([mM]3[uU]|[pP][lL][sS])(-.)' } _xmms2() { _arguments \ '--format[specify the format of song display]:format string' \ '--no-status[prevent printing song status on completion]' \ '*::xmms2 command:_xmms2_command' } _xmms2 "$@"