From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24492 invoked from network); 1 Mar 2009 23:52:10 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 1 Mar 2009 23:52:10 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 56513 invoked from network); 1 Mar 2009 23:52:01 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 1 Mar 2009 23:52:01 -0000 Received: (qmail 27295 invoked by alias); 1 Mar 2009 23:51:53 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26656 Received: (qmail 27282 invoked from network); 1 Mar 2009 23:51:52 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 1 Mar 2009 23:51:52 -0000 Received: from cork.scru.org (cork.scru.org [209.20.67.2]) by bifrost.dotsrc.org (Postfix) with ESMTPS id 19A238058F83 for ; Mon, 2 Mar 2009 00:51:35 +0100 (CET) Received: by cork.scru.org (Postfix, from userid 1000) id 16DA0104150; Sun, 1 Mar 2009 23:51:34 +0000 (UTC) Date: Sun, 1 Mar 2009 23:51:34 +0000 From: Clint Adams To: Frank Blendinger , 517772@bugs.debian.org Cc: zsh-workers@sunsite.dk Subject: Re: Bug#517772: zsh-beta: Updated completion for gnupod Message-ID: <20090301235134.GA18861@scru.org> Mail-Followup-To: Frank Blendinger , 517772@bugs.debian.org, zsh-workers@sunsite.dk References: <20090301232229.22974.69804.reportbug@snowflake.l33t.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090301232229.22974.69804.reportbug@snowflake.l33t.lan> User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: ClamAV 0.92.1/9059/Sun Mar 1 10:05:32 2009 on bifrost X-Virus-Status: Clean On Mon, Mar 02, 2009 at 12:22:29AM +0100, Frank Blendinger wrote: > Attached is a patch to extend the completion for the gnupod utilities. Thanks. Index: Completion/Unix/Command/_gnupod =================================================================== RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_gnupod,v retrieving revision 1.1 diff -u -r1.1 _gnupod --- Completion/Unix/Command/_gnupod 20 May 2008 15:41:43 -0000 1.1 +++ Completion/Unix/Command/_gnupod 1 Mar 2009 23:50:46 -0000 @@ -11,16 +11,28 @@ '(-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:' + --playlist-is-podcast'[Set podcast flag for playlist(s) created using --playlist]' + --podcast-artwork'[Download and install artwork for podcasts from their channel.]' + --podcast-cache-dir='[Set a directory in which podcast media files will be cached.]:podcast cache dir:' + --podcast-files-limit='[Limit files to download (0 = all (default), -X = X oldest, X = X newest)]:podcast files limit:'. --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)' + '(-x --decode)'{-x,--decode=}'[Convert FLAC Files to WAVE/MP3 or AAC on-the-fly]:encoding:(pcm mp3 aac aacbm)' + --decode=video'[Convert .avi Files into iPod video on-the-fly]' '(-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:' + '(-t --set-title)'{-t,--set-title=}'[Set Title (Override ID3 Tag)]:title:' + '(-a --set-artist)'{-a,--set-artist=}'[Set Artist (Override ID3 Tag)]:artist:' + '(-l --set-album)'{-l,--set-album=}'[Set Album (Override ID3 Tag)]:album:' + '(-g --set-genre)'{-g,--set-genre=}'[Set Genre (Override ID3 Tag)]:genre:' + --set-rating='[Set Rating (0=-/20=*/40=**/60=***/80=****/100=*****)]:rating:(0 20 40 60 80 100)' --set-playcount='[Set Playcount]:play count:' --set-songnum='[Override Songnum/Tracknum field]:song number:' + '(-b --set-bookmarkable)'{-b,--set-bookmarkable}'[Set this song as bookmarkable (= Remember position)]' + --set-shuffleskip'[Exclude this file in shuffle-mode]' + --set-compilation'[Mark songs as being part of a compilation]' + --min-vol-adj='[Minimum volume adjustment allowed by ID3v2.4 RVA2 tag (range -100 to 100, default 0)]' + --max-vol-adj='[Maximum volume adjustment allowed by ID3v2.4 RVA2 tag (range -100 to 100, default 0)]' + --artwork='[Use FILE as album cover]:artwork:_files' '*:file to add:_files' ) ;; @@ -30,7 +42,7 @@ '(-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]' + --fixit'[try to fixup some errors (may delete lost files)]' ) ;; @@ -41,6 +53,7 @@ '(-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]' + --noask'[Do not wait for any user input]' ) ;; @@ -55,12 +68,15 @@ '(-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:' + '(-s --rating)'{-s,--rating=}'[search songs by Rating (20 is one star, 40 two, etc.)]:playcount:(0 20 40 60 80 100)' '(-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]' + '(-b --bitrate)'{-b,--bitrate=}'[search songs by Bitrate]:bitrate:' + '(-o --match-once)'{-o,--match-once}'[search does not need to match multiple times (eg. -a & -l)]' --delete'[remove matched songs from the iPod]' - --view='[modify output (default is ialt)]:output string:' + --view='[modify output (default is ialt, see --help)]:output string:' --rename='[rename key into value for matched songs]:KEY=VALUE:' + --artwork='[Use FILE as Cover for found files]:artwork:_files' ) ;; @@ -72,6 +88,7 @@ '(-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)]' + '(-g --fwguid)'{-g,--fwguid=}'[FirewireGuid / Serial of connected iPod]' ) ;;