Changeset f3974e2


Ignore:
Timestamp:
Sep 27, 2008, 5:35:09 PM (16 years ago)
Author:
root <root>
Branches:
master, debian, mac, no-cups, nodebathena, web
Children:
c711ed9
Parents:
ba06c7f
git-author:
root <root> (09/27/08 17:35:09)
git-committer:
root <root> (09/27/08 17:35:09)
Message:

only zephyr important metadata

File:
1 edited

Legend:

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

    rba06c7f rf3974e2  
    22# Play the data on STDIN as an audio file
    33#
    4 # $Id: sipbmp3-filter,v 1.16 2008-09-27 09:00:41 root Exp $
     4# $Id: sipbmp3-filter,v 1.17 2008-09-27 21:35:09 root Exp $
    55# $Source: /tmp/tmp.UFBNno9997/RCS/sipbmp3-filter,v $
    66#
     
    7575
    7676if ($magic) {
    77     printf(ZEPHYR "A file of type %s.", $magic);
    78     foreach my $key (sort keys %$fileinfo) {
    79         printf(ZEPHYR "%s: %s\n", $key, $fileinfo->{$key});
     77    printf(ZEPHYR "A file of type %s.\n", $magic);
     78    foreach my $key (qw/Title Artist Album AlbumArtist Tracknumber TrackDuration MIMEType/) {
     79        printf(ZEPHYR "%s: %s\n", $key, $fileinfo->{$key}) if exists $fileinfo->{$key};
    8080    }
    8181}
Note: See TracChangeset for help on using the changeset viewer.