From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5125 invoked from network); 20 May 2008 14:03:08 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 20 May 2008 14:03:08 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 8169 invoked from network); 20 May 2008 14:03:00 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 20 May 2008 14:03:00 -0000 Received: (qmail 8901 invoked by alias); 20 May 2008 14:02:57 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25075 Received: (qmail 8887 invoked from network); 20 May 2008 14:02:56 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 20 May 2008 14:02:56 -0000 Received: from photonix.site5.com (photonix.site5.com [209.59.179.2]) by bifrost.dotsrc.org (Postfix) with ESMTP id 8C72180589A4 for ; Tue, 20 May 2008 16:02:47 +0200 (CEST) Received: from pool-96-231-102-184.washdc.east.verizon.net ([96.231.102.184] helo=cameron) by photonix.site5.com with esmtpa (Exim 4.68) (envelope-from ) id 1JySQN-0001Zf-Vk for zsh-workers@sunsite.dk; Tue, 20 May 2008 10:02:45 -0400 Received: by cameron (sSMTP sendmail emulation); Tue, 20 May 2008 10:02:41 -0400 Date: Tue, 20 May 2008 10:02:41 -0400 From: Omari Norman To: zsh-workers@sunsite.dk Subject: Completions for GNUpod Message-ID: <20080520140241.GA14044@cameron> Mail-Followup-To: zsh-workers@sunsite.dk MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="W/nzBZO5zC0uMSeA" Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - photonix.site5.com X-AntiAbuse: Original Domain - sunsite.dk X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - smileystation.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: ClamAV 0.91.2/7180/Tue May 20 12:49:10 2008 on bifrost X-Virus-Status: Clean --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Greetings, I have written completions for the GNUpod suite of scripts. It's a command-line utitlity to manipulate the contents of an iPod (unfortunately one cannot simply copy files to the device because it uses an opaque database.) See http://www.gnu.org/software/gnupod/ I will probably write some more completions for some standard UNIX utilities that currently do not have zsh completions so if there is a preferred method to submit these files, please let me know. Thanks. --Omari --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=_gnupod_addsong #compdef gnupod_addsong gnupod_addsong.pl # completions for gnupod_addsong.pl version 0.98.3 # The author names this file gnupod_addsong.pl; however Debian # GNU/Linux strips off the .pl extension local arguments arguments=( '(-h --help)'{-h,--help}'[display help and exit]' --version'[output version information and exit]' '(-m --mount)'{-m,--mount=}'[iPod mountpoint, default is $IPOD_MOUNTPOINT]:mount point:_files' '(-r --restore)'{-r,--restore}'[Restore the iPod (create a new GNUtunesDB from scratch)]' '(-d --duplicate)'{-d,--duplicate}'[Allow duplicate files]' '(-p --playlist)'{-p,--playlist=}'[Add songs to this playlist]:playlist:' --disable-v1'[Do not read ID3v1 Tags (MP3 Only)]' --disable-v2'[Do not read ID3v2 Tags (MP3 Only)]' --decode='[Convert FLAC Files to WAVE/MP3 or AAC on-the-fly]:encoding:(pcm mp3 aac aacbm)' '(-e --reencode)'{-e,--reencode=}'[Reencode MP3/AAC files with new quality on-the-fly]:quality number (0 = Good 9 = Bad):(1 2 3 4 5 6 7 8 9)' --set-artist='[Set Artist (Override ID3 Tag)]:artist:' --set-album='[Set Album (Override ID3 Tag)]:album:' --set-genre='[Set Genre (Override ID3 Tag)]:genre:' --set-rating='[Set Rating]:rating:' --set-playcount='[Set Playcount]:play count:' --set-songnum='[Override Songnum/Tracknum field]:song number:' '*:file to add:_files' ) _arguments : $arguments --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=_gnupod_check #compdef gnupod_check gnupod_check.pl # completions for gnupod_check.pl version 0.98.3 # The author names this file gnupod_check.pl; however Debian # GNU/Linux strips off the .pl extension local arguments arguments=( '(-h --help)'{-h,--help}'[display help and exit]' --version'[output version information and exit]' '(-m --mount)'{-m,--mount=}'[iPod mountpoint (default is $IPOD_MOUNTPOINT)]:mount point:_files' --fixit'[try to fixup some errors]' ) _arguments : $arguments --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=_gnupod_INIT #compdef gnupod_INIT gnupod_INIT.pl # completions for gnupod_INIT.pl version 0.98.3 # The author names this file gnupod_INIT.pl; however Debian # GNU/Linux strips off the .pl extension local arguments arguments=( '(-h --help)'{-h,--help}'[display help and exit]' --version'[output version information and exit]' '(-m --mount)'{-m,--mount=}'[iPod mountpoint (default is $IPOD_MOUNTPOINT)]:mount point:_files' '(-d --disable-convert)'{-d,--disable-convert}'[do not try to convert an existing iTunesDB]' '(-f --france)'{-f,--france}'[limit volume to 100dB, works only on very old iPods]' ) _arguments : $arguments --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=_gnupod_search #compdef gnupod_search gnupod_search.pl # completions for gnupod_search.pl version 0.98.3 # The author calls this script gnupod_search.pl; however Debian # GNU/Linux strips off the .pl extension local arguments arguments=( --help'[display help and exit]' --version'[display version information and exit]' '(-m --mount)'{-m,--mount=}'[iPod mountpoint (default is $IPOD_MOUNTPOINT)]:mount point:_files' '(-t --title)'{-t,--title=}'[search songs by title]:title string:' '(-a --artist)'{-a,--artist=}'[search songs by artist]:artist string:' '(-l --album)'{-l,--album=}'[search songs by album]:album string:' '(-i --id)'{-i,--id=}'[search songs by ID]:ID integer:' '(-g --genre)'{-g,--genre=}'[search songs by genre]:genre string:' '(-c --playcount)'{-c,--playcount=}'[search songs by playcount]:playcount:' '(-R --podcastrss)'{-R,--podcastrss=}'[search songs by RSS]:RSS:' '(-G --podcastguid)'{-G,--podcastguid=}'[search songs by GUID]:GUID:' '(-o --match-once)'{-o,--match-once}'[search does not need to match multiple times]' --delete'[remove matched songs from the iPod]' --view='[modify output (default is ialt)]:output string:' --rename='[rename key into value for matched songs]:KEY=VALUE:' ) _arguments : $arguments --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=_mktunes #compdef mktunes mktunes.pl # completions for mktunes.pl version 0.98.3 # The author names this file mktunes.pl; however Debian # GNU/Linux strips off the .pl extension local arguments arguments=( '(-h --help)'{-h,--help}'[display help and exit]' --version'[output version information and exit]' '(-m --mount)'{-m,--mount=}'[iPod mountpoint (default is $IPOD_MOUNTPOINT)]:mount point:_files' '(-n --ipod-name)'{-n,--ipod-name=}'[iPod Name (For unlabeled iPods)]:name:' '(-v --volume)'{-v,--volume=}'[adjust volume +-VALUE%]:volume percent:' '(-e --energy)'{-e,--energy}'[save energy (disable scrolling title)]' ) _arguments : $arguments --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=_tunes2pod #compdef tunes2pod tunes2pod.pl # completions for tunes2pod.pl version 0.98.3 # The author names this file tunes2pod.pl; however Debian # GNU/Linux strips off the .pl extension local arguments arguments=( '(-h --help)'{-h,--help}'[display help and exit]' --version'[output version information and exit]' '(-m --mount)'{-m,--mount=}'[iPod mountpoint (default is $IPOD_MOUNTPOINT)]:mount point:_files' --force'[disable sync checking]' ) _arguments : $arguments --W/nzBZO5zC0uMSeA--