Rio SU70

ワシが使っているmp3 playerはRio SU70 (512MB)なのだが、どうも文字列ソート機能に不具合があるらしい。
RioのFAQページによると、再生の順番は文字列のソートした順番らしいのだが、
./bus_0606_a/bus_0606_a-10.mp3よりも./bus_0606_b/bus_0606_b-11.mp3の方が前に来てしまう。ファイルの先頭に番号づけをしてあげなければいけないようだ。
しょうがないので以下のスクリプトをでっちあげて先頭に番号を付けるようにリネームして再生した所、今度は順番どおりに再生された。よし。
サイトを見ると、最新版のFirmwareOgg-Vorbis対応やブックマーク機能も追加になっているので今度試してみよう。

#!/bin/bash

num=1
for i in *.mp3
do
num2=`printf "%02d" $num`
echo mv $i ${num2}_$i
num=`expr $num + 1`

My mp3 player is RIO SU70 (512MB). But it cannot play mp3's properly. It seems that the sorting function is not working right. To play an arbitrary mp3 file, I need to add the number at the top of the filename so I made an easy script and converted. And I could listen properly.