Changeset 9daccda


Ignore:
Timestamp:
Jun 24, 2010, 1:10:23 AM (14 years ago)
Author:
Jessica B. Hamrick <jhamrick@…>
Branches:
master, debian, mac, no-cups, nodebathena, web
Children:
331684f
Parents:
d9d50c7
git-author:
Edward Z. Yang <edwardzyang@…> (03/01/09 14:57:34)
git-committer:
Jessica B. Hamrick <jhamrick@…> (06/24/10 01:10:23)
Message:

Generalize the queue, so job splitting works on other machines.

Signed-off-by: Edward Z. Yang <edwardzyang@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gutenbach/debian/lib/sipbmp3-filter

    rf6c9736 r9daccda  
    2525my $zephyr_class = "sipb-auto";
    2626my $host = "zsr";
     27my $queue = "sipbmp3";
    2728
    2829# Configuration
     
    9495# Status messages at start of playback
    9596open(ZEPHYR, '|/usr/athena/bin/zwrite -d -n -c '. $zephyr_class .' -i ' .
    96   'sipbmp3@'.$host.' -s "SIPB LPR music spooler"');
     97  $queue.'@'.$host.' -s "SIPB LPR music spooler"');
    9798
    9899# For the Now Playing remctl command
     
    228229        if (/^([^#]\S+)/) {
    229230            printf (STDERR "Found line: %s\n", $_);
    230             open(LPR, "|-", qw/mit-lpr -Psipbmp3@localhost -CZ/, '-J'.$opts->{J});
     231            open(LPR, "|-", 'mit-lpr', '-P'.$queue.'@localhost', '-CZ', '-J'.$opts->{J});
    231232            print LPR $1;
    232233            close(LPR);
Note: See TracChangeset for help on using the changeset viewer.