summaryrefslogtreecommitdiff
path: root/www/dailymod.pl
blob: 5648cdbd119a8d1c8bd1f81aec8400bc2ed68d2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/usr/bin/perl

$basedir = "/home/dast/rockbox-build/daily-build";

sub list {
    $dir = shift @_;

    opendir(DIR, "$basedir/$dir") or
        die "Can't opendir($basedir/$dir)";
    @tarballs = sort grep { /^a/ } readdir(DIR);
    closedir DIR;
    
    print "<ul>\n";
    for ( @tarballs ) {
        print "<li><a href=\"daily/$dir/$_\">$_</a>\n";
    }
    print "</ul>\n";
}

print "<table border=1><tr valign=\"top\"><td>\n";
print "<h3>player-old</h3>\n";
print "<p>This version is for old Archos Jukebox 5000, 6000 models with ROM firmware older than 4.50:\n";
&list("playerold");

print "</td><td>\n";
print "<h3>player</h3>\n";
print "<p>This version is for Archos Jukebox 5000/6000 with ROM firmware 4.50 or later, and all Studio models:\n";
&list("player");

print "</td><td>\n";
print "<h3>recorder</h3>\n";
print "<p>This version is for all Archos Jukebox Recorder models:\n";
&list("recorder");

print "</td></tr></table>\n";