Mailinglist Archive: opensuse (671 mails)
| < Previous | Next > |
[opensuse] Re: mp3info help
- From: Charles Philip Chan <cpchan@xxxxxxxx>
- Date: Wed, 08 Jun 2011 08:53:51 -0400
- Message-id: <87vcwgzdpc.fsf@karnak.MagnumOpus.khem>
Gary Hodder <vk2kcf@xxxxxxxxxx> writes:
Strange, I don't think I have seen a mp3 with no bitrate info. Try
getting a list of the offending files with something like this:
----
#!/bin/sh
for i in *.mp3
do
rate=`mp3info -p "%r" "$i"`
if [[ $rate != [0-9]* ]]; then
echo "$i"
fi
done
----
and look at them manually.
No problem.
Charles
--
"If you want to travel around the world and be invited to speak at a lot
of different places, just write a Unix operating system."
(By Linus Torvalds)
I got the below from your script.
./192check: line 8: [: Variable: integer expression expected
./192check: line 8: [: Variable: integer expression expected
Total number of mp3 files: 2169
Total number of mp3 files < 192 kbps: 1108
Guessing here line 8 the rate, is the mp3 doesn't contain bit rate in
the id3 tag?
Strange, I don't think I have seen a mp3 with no bitrate info. Try
getting a list of the offending files with something like this:
----
#!/bin/sh
for i in *.mp3
do
rate=`mp3info -p "%r" "$i"`
if [[ $rate != [0-9]* ]]; then
echo "$i"
fi
done
----
and look at them manually.
In another directory it picked up a corrupted mp3 and named it,
excellent thank you very much.
No problem.
Charles
--
"If you want to travel around the world and be invited to speak at a lot
of different places, just write a Unix operating system."
(By Linus Torvalds)
| < Previous | Next > |