Package: id3v2
Version: 0.1.11-3
Severity: normal
Tags: patch

If multiple input files are chosen error message will not be printed.

I'm adding a patch for this problem and additional output messages for
id3v1 and id3v2.

Thanks

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (600, 'testing'), (550, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-k7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages id3v2 depends on:
ii  libc6                         2.3.5-13   GNU C Library: Shared libraries an
ii  libgcc1                       1:4.0.2-9  GCC support library
ii  libid3-3.8.3c2a               3.8.3-5    Library for manipulating ID3v1 and
ii  libstdc++6                    4.0.2-9    The GNU Standard C++ Library v3
ii  zlib1g                        1:1.2.3-9  compression library - runtime

id3v2 recommends no packages.

-- no debconf information
363c363
<     return 1;
---
>     return 1;     
370,373c370,371
<   bool id3v1_tag = false;
<   bool id3v2_tag = false;
<   int ret = 0;
< 
---
>   bool tags = false;
>   int ret;
379a378
>     {
380a380
>     } 
382,383c382,384
<       id3v1_tag = true;
< 
---
>     {
>       tags = true;
>     }
386,388c387,388
<       id3v2_tag = true;
< 
<     if (!id3v1_tag && !id3v2_tag)
---
>       tags = true;
>     if(!tags)
390,397d389
<     else {
<       if (!id3v1_tag)
<         std::cout << argv[nIndex] << ": No ID3v1 tag" << std::endl;
<       if (!id3v2_tag)
<         std::cout << argv[nIndex] << ": No ID3v2 tag" << std::endl;
<     }
<     id3v1_tag = false;
<     id3v2_tag = false;

Reply via email to