Changeset 5205:f3a15f146010 in roaraudio
- Timestamp:
- 10/29/11 01:50:22 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/bash/roaraudio
r5136 r5205 11 11 # Tools supported completly: 12 12 #roard 13 #roar-config 13 14 14 15 # Tools supported partly: 16 #roarctl (volume not implemented correctly) 15 17 16 18 # Tools not supported at all: … … 19 21 20 22 # Unsupported devel tools: 23 #roartypes 21 24 22 25 # The rest: … … 28 31 #roarmonhttp 29 32 #roarradio 30 #roarctl31 33 #roarlight 32 34 #roarinterconnect … … 37 39 #roarphone 38 40 #roarshout 39 #roartypes40 #roar-config41 41 #roarvorbis 42 42 #roarsin … … 127 127 #phi@ph7:roaraudio $ echo $(grep '^#define ROAR_META_TYPE_' include/roaraudio/meta.h | cut -d_ -f4,5,6,7,8,9 | cut -d' ' -f1 | tr A-Z a-z) 128 128 COMPREPLY=($(compgen -W "none title album author autor artist version date license tracknumber organization description genre location contact streamurl homepage thumbnail length comment other filename fileurl server duration www woaf encoder encodedby year discid rpg_track_peak rpg_track_gain rpg_album_peak rpg_album_gain hash signalinfo audioinfo offset performer copyright likeness composer rights isrc language gtin isbn ean publisher discnumber sourcemedia label labelno" -- ${cur})) 129 } 130 131 _roar_role() { 132 local cur 133 cur="${COMP_WORDS[COMP_CWORD]}" 134 COMPREPLY=($(compgen -W "unknown none music video game event beep phone background_music voice instrument rhythm click mixed" -- ${cur})) 129 135 } 130 136 … … 474 480 fi 475 481 476 opts="--server --help --verbose -v --list-aiprofiles "477 cmds="help sleep ping whoami listaiprofiles aiprofileget standby off resume on standbymode exit terminate volume flag unflag kick newvirtual metaget metasave metaload serveroinfo listclients liststreams allinfo "482 opts="--server --help --verbose -v --list-aiprofiles --list-libstandards --enum-servers --hash-password" 483 cmds="help sleep ping whoami listaiprofiles aiprofileget standby off resume on standbymode exit terminate volume flag unflag kick newvirtual metaget metasave metaload serveroinfo listclients liststreams allinfo toogleflag protectflag role serverinfo servertime serveroinfo2 serverstandards libstandards clientinfo streaminfo" 478 484 479 485 case "${pprev}" in … … 482 488 return 0 483 489 ;; 484 'flag') 485 _roar_flag 486 return 0 487 ;; 488 'unflag') 490 'flag'|'unflag'|'toogleflag'|'protectflag') 489 491 _roar_flag 490 492 return 0 … … 507 509 'metaload') 508 510 _filedir 511 return 0 512 ;; 513 'role') 514 _roar_role 509 515 return 0 510 516 ;; … … 531 537 return 0 532 538 ;; 533 'flag') 534 return 0 535 ;; 536 'unflag') 539 'flag'|'unflag'|'toogleflag'|'protectflag') 537 540 return 0 538 541 ;; … … 553 556 return 0 554 557 ;; 558 'serveroinfo2') 559 _roar_dir 560 return 0 561 ;; 562 'clientinfo'|'streaminfo'|'role') 563 COMPREPLY=($(compgen -W "0 1 2 3 4 5 6 7 8 9" -- ${cur})) 564 return 0 565 ;; 555 566 *) 556 567 ;; … … 562 573 563 574 complete -F _roarctl roarctl 575 576 _roar_config() { 577 local cur prev opts libs 578 COMPREPLY=() 579 cur="${COMP_WORDS[COMP_CWORD]}" 580 prev="${COMP_WORDS[COMP_CWORD-1]}" 581 opts="--help --version --libs --cflags --output-pc --output-normal" 582 libs="roar roardsp roarmidi roarlight roareio roaresd esd roarartsc artsc roarpulse pulse roarpulse-simple pulse-simple roarsndio sndio roaryiff Y2" 583 liblibs=lib`echo "$libs" | sed 's/ / lib/g'` 584 COMPREPLY=($(compgen -W "${opts} ${libs} ${liblibs}" -- ${cur})) 585 return 0 586 } 587 588 complete -F _roar_config roar-config 564 589 565 590 _roard()
Note: See TracChangeset
for help on using the changeset viewer.