source: gutenbach/debian/lib/volume-set @ 94a58ce

debianmacno-cupsnodebathenaweb
Last change on this file since 94a58ce was 94a58ce, checked in by Jessica B. Hamrick <jhamrick@…>, 14 years ago

Use unauthenticated zephyrs

  • Property mode set to 100755
File size: 387 bytes
RevLine 
[83733c9]1#!/bin/sh
[737d88b]2PATH="$(dirname $0):$PATH"
[b1d66d4]3class=$(sipbmp3-get-config zephyr-class)
4host=$(sipbmp3-get-config host)
5queue=$(sipbmp3-get-config queue)
6instance="$queue-volume@$host"
7
[5dd3058]8channel=$(sipbmp3-get-config channel)
9
10amixer set $channel "$2" \
[83733c9]11 | perl -lne 'print $1 if (/Front Left: Playback ([0-9]+)/)'
[5dd3058]12
[94a58ce]13zwrite -c $class -i $instance -d -n -m "Setting volume to $(volume-get) on $queue"
Note: See TracBrowser for help on using the repository browser.