Re: MP3 Playlist and Sync



On Oct 4, 5:27 am, alishadevoc...@xxxxxxxxx wrote:
On Oct 4, 1:03 am, jellybean stonerfish <stonerf...@xxxxxxxxxxxxx>
wrote:



On Wed, 03 Oct 2007 21:26:44 -0700, alishadevochka wrote:
Oh, I really don't like any of this!!! I use to have this SI Player (cheap
chinese USB MP3 player). These used to have this folder broswer features..
I would turned on my mp3, and browse my folders... Pretty cool.. I really
wish I can get something like this with AA or AAA battery + 2GB or 3 GB.

If anyone know any decent mp3 player of this sort let me know...

For about 40 bucks, you can get a 1gb Zen from Creative. It only plays wma
and mp3, but allows simple folder access. Works on linux. I think it
plays the songs in the order of time. *Oldest file first* I haven't
bothered to downloaded the software and try it though wine. If I want to
move the play order around, I think I need to change the modification
time. Still experimenting, as I have only had it for a day. I was happy
when I pluged it in and had instant access to it as a drive. It is a very
cheap and simple device, with rechargeable battery. USB.

1Gb is bit too small for me --- I want something around 2 -4 Gig. My
Audio books' collection goes about 620MB (for one Book!) I know I can
reduce it from 320 bit to 64bit -- but too much work :-)

You see my older SI mp3 player was something like this. I plug into
USB. I created folders Audio Book -- Harry Potter (files Chapter 01 -
20).. That's it. I would go into browse root and than Audio Book
That's it! Chinese SI Player are really good when it comes to
simplicity.

I will give another example of what I had go through to listen to
following copy left audio book

http://librivox.org/the-road-to-oz-by-l-frank-baum/it's about 137 MB.

I decided to play them in RCA Lyra Pearl -- a nice player, and very
nice sound. I run this player on AAA recharable battery on 4 days, yes
four days on 3 hours use. I normally use it as a data storage.

Problem with this player?

This is what I end up with

1 - Chapter 1: The Way to Butterfield - 00:20:14

2 - Amazon Rain forest

3 - L5 Où Sont Passés Les Hommes?

It's insane!!!

Anyway, after googling I found following script which solve the
probelm --- files must be name as "01 - Chapter - ABC" not "Chapter 01
-- ABC".

------------------------
#!/usr/bin/perl
# Puts subdirectory items into a decent filesystem order.
# Useful only for crazy applications that use the filesystem order at
all!

@ARGV = grep length($_), @ARGV;
@ARGV = '.' unless @ARGV;

#use SMB::UniqueProc qw(sortdir);

use strict;
use warnings;
use constant DEBUG => 1;
my $temp = $ENV{'TEMP'}
|| do { (grep -e $_, '/tmp', 'c:/windows/temp', '/windows/temp')
[0];}
|| die "where's temp?"
;
open LOG, ">$temp/sortdir.log" or die $!;

my $count = 0;
foreach my $dir (@ARGV) { sortdir($dir) }
exit;

sub sortdir {
my $dir = $_[0];
opendir(DIR, $dir) or die "Can't opendir $dir: $!";
my @in =
sort { lc($a) cmp lc($b) }
grep { $_ ne '.' and $_ ne '..' }
readdir(DIR)
;
closedir(DIR);
DEBUG > 3 and print map(" $_\n", @in, '');
my $rando = 'temp_'.rando();

mkdir "$dir/../$rando" or die "Can't mkdir $dir/../$rando: $!";
if(-e "$dir/$rando") {
rmdir "$dir/../$rando" or die "I can't rmdir $rando!";
die "I'm in a crazy place!";
}

foreach my $f (map "$dir/$_", @in) { sortdir($f) if -d $f } #
Recurse!

{
my( @undo, $from, $to );
foreach my $f (@in) {
my($from, $to) = ("$dir/$f", "$dir/../$rando/$f");
print LOG "$from\n\t$to\n";
DEBUG > 2 and print "$from\n\t$to\n";
if(rename $from, $to) {
push @undo, $to, $from;
++$count;
} else {
print LOG "Can't rename $from to $to : $!\n";
warn "Can't rename $from to $to : $!\n";
}
}
# now undo it all
while( ($from, $to) = splice(@undo, 0, 2) ) {
if(rename $from, $to) {
# As planned.
} else {
print LOG "Can't back-rename $from to $to : $!\n";
warn "Can't back-rename $from to $to : $!\n";
}
}
}
print "$count items moved as of $dir\n";

rmdir "$dir/../$rando" or do {
print LOG "I can't rmdir $rando: $!\n";
warn "I can't rmdir $rando: $!\n";
};

return;

}

my %used;
sub rando {
my $x;
do { $x = join '', map sprintf('%04x', rand(0x10000)), 0 .. 3; }
while exists $used{$x};
$used{$x} = undef;
#print $x;
return $x;

}

__END__
---------------------------------

save the file as "sortdir" in /usr/bin/

chmod -R a+rwX /media/PEARL/Audio; sortdir /media/PEARL/Audio

I shouldn't have to go through this hell...

This what I want in a mp3 players;

Allows me to browse folders,
Able to play from folder & subfolder of my choice!
Plays MP3 in alphabetical order!
Able to play.m3u list + play them as I set them up in xmms (some mp3s
don't do this!)
Runs on AA or AAA battery.
Can be used as USB drive
Exanpdable with SD cards, or Micro SD

Oh, last but no least -- must be Linux friendly :-)

PS: Guy who created this script

http://forum.ecoustics.com/bbs/messages/1/17072.html

---- Update----

After upading my RCA Lyra Firmware "2.0" I am able to browse!!! :-)

I would like to think everyone for helping me -- also plz list all
your favorite mp3 player ++ linux friendly.

.