downloads.php 55.8 KB
Newer Older
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
1 2 3 4 5
<?php
    $title = "VideoLAN - Download Statistics";
    $lang = "en";
    $menu = array( "vlc", "overview" );
    require($_SERVER["DOCUMENT_ROOT"]."/include/header.php");
Felix Paul Kühne's avatar
Felix Paul Kühne committed
6
    require($_SERVER["DOCUMENT_ROOT"]."/include/os-specific.php");
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
7 8 9 10 11 12
?>

<div id="fullwidth">
    <h1>VLC download statistics</h1>

    <p>These stats were started at the end of February 2005 and are likely
13
       to be inaccurate before this date.</p>
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
14

15
    <p>Stats are updated every day from our download servers.</p>
16

17 18
    <p>We don't show statistics for GNU/Linux, iOS, Android, Chrome OS or Windows Phone as most downloads for those
       platforms are made through distributions or app stores.</p>
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
19

20
    <?php image('events/2billion.png', '2 billion downloads', 'announce-img'); ?>
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
21

Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
22 23 24
    <h1>Downloads by version and by OS</h1>
    <table border="0">
    <tr>
25
    <th style="text-align: left; width: 60px;">Version</th>
Ludovic Fauvet's avatar
Ludovic Fauvet committed
26
    <th class="os" style="text-align: right;"><img src="//images.videolan.org/images/icons/winvista.png" alt="Windows" width="32" height="32" />
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
27 28 29 30 31 32 33 34
    </th>
    <th class="os" style="text-align: right;"><img src="/images/icons/macosx.png" alt="Mac OS X" width="32" height="32" />
    </th>
    <th class="os" style="text-align: right;"><img src="/images/icons/source.gif" alt="Source code" width="32" height="32" />
    </th>
    <th style="text-align: right;">Total</th>
    </tr>

35
<?php
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
36 37 38 39
    function f( $n )
    {
        echo "<td style='text-align: right;'>".number_format($n,0,"."," ")."</td>";
    }
40

41 42 43 44 45 46 47 48 49 50 51 52 53 54
    function mirrorbits_fetch($json_url)
    {
       $json_file = file_get_contents($json_url);
       $json = json_decode($json_file);
       if (is_int($json->Total))
       {
               return $json->Total;
       }
       else
       {
               return 0;
       }
    }

55 56 57 58 59
    $wintotal = 0;
    $mactotal = 0;
    $srctotal = 0;


60
    /* Disabled
61 62 63 64 65 66 67
    $filenamedb = '/home/videolan/etc/db.php';
    if( is_readable( $filenamedb ) ) {
        require '/home/videolan/etc/db.php';

        $connect = pg_connect( $connect_string );

        if( !$connect )
68
        {
69
            die;
70
        }
71 72 73

        $requests = array(  "0.7.2" , "0.8.0","0.8.1","0.8.2", "0.8.4", "0.8.5", "0.8.6", "0.9.2", "0.9.3", "0.9.4", "0.9.5", "0.9.6", "0.9.8a", "0.9.9", "0.9.10", "1.0.0", "1.0.1", "1.0.2", "1.0.3", "1.0.4", "1.0.5", "1.0.6" );
        foreach( $requests as $v )
74
        {
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
            $versiontotal= 0;
            echo "<tr><td class=\"category\" style=\"text-align: left;\"><strong>$v</strong></td>\n";
            $winrequest = pg_query( $connect, "select sum(number) from (select * from mirrors where file like '%$v%win32%' union all select * from mirrors_archive where file like '%$v%win32%') as allmirrors;");
            if( $row  =pg_fetch_array( $winrequest ) )
            {
                $versiontotal += $row[0];
                $wintotal += $row[0];
                f($row[0]);
            }
            $macrequest = pg_query( $connect, "select sum(number) from (select * from mirrors where file like '%$v%dmg%' union all select * from mirrors_archive where file like '%$v%dmg%') as allmirrors;" );
            if( $row  =pg_fetch_array( $macrequest ) )
            {
                $versiontotal += $row[0];
                $mactotal += $row[0];
                f($row[0]);
            }
            $srcrequest = pg_query( $connect, "select sum(number) from (select * from mirrors where file like '%$v%tar%' union all select * from mirrors_archive where file like '%$v%tar%') as allmirrors;" );
            if( $row  =pg_fetch_array( $srcrequest ) )
            {
                $versiontotal += $row[0];
                $srctotal += $row[0];
                f($row[0]);
            }
            f($versiontotal);
            echo "</tr>\n";
100
        }
101
        pg_close($connect);
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155
    } */

    /* Those numbers are a dump of the Database above. */
    /* The old system is now retired */

    $table_old = array(
    "0.7.2" =>
    array( "Windows" => 42905,      "Macintosh" => 5386,     "Source" => 15178,  "Total" => 63469),
    "0.8.0" =>
    array( "Windows" => 12739,       "Macintosh" => 1671,     "Source" => 2546,    "Total" => 16956),
    "0.8.1" =>
    array( "Windows" => 2178774,     "Macintosh" => 366097,   "Source" => 90280,   "Total" => 2635151),
    "0.8.2" =>
    array( "Windows" => 12405056,    "Macintosh" => 1935678,  "Source" => 198499,  "Total" => 14539233),
    "0.8.4" =>
    array( "Windows" => 14509992,    "Macintosh" => 2205730,  "Source" => 474451,  "Total" => 17190173),
    "0.8.5" =>
    array( "Windows" => 26809577,    "Macintosh" => 2723985,  "Source" => 191551,  "Total" => 29725113),
    "0.8.6" =>
    array( "Windows" => 108588196,   "Macintosh" => 8527105,  "Source" => 80906,   "Total" => 117196207),
    "0.9.2" =>
    array( "Windows" => 4645080,     "Macintosh" => 461831,   "Source" => 29145,   "Total" => 5136056),
    "0.9.3" =>
    array( "Windows" => 2044,        "Macintosh" => 369725,   "Source" => 52434,   "Total" => 424203),
    "0.9.4" =>
    array( "Windows" => 8063624,     "Macintosh" => 586607,   "Source" => 59302,   "Total" => 8709533),
    "0.9.5" =>
    array( "Windows" => 1311,        "Macintosh" => 653715,   "Source" => 86017,   "Total" => 741043),
    "0.9.6" =>
    array( "Windows" => 8622559,     "Macintosh" => 1229534,  "Source" => 84462,   "Total" => 9936555),
    "0.9.8a" =>
    array( "Windows" => 21710725,    "Macintosh" => 3984011,  "Source" => 225952,  "Total" => 25920688),
    "0.9.9" =>
    array( "Windows" => 25069860,    "Macintosh" => 3508059,  "Source" => 90042,   "Total" => 28667961),
    "0.9.10" =>
    array( "Windows" => 23,          "Macintosh" => 1081660,  "Source" => 30729,   "Total" => 1112412),
    "1.0.0" =>
    array( "Windows" => 12559146,    "Macintosh" => 1612944,  "Source" => 104360,  "Total" => 14276450),
    "1.0.1" =>
    array( "Windows" => 25432756,    "Macintosh" => 2859392,  "Source" => 130132,  "Total" => 28422280),
    "1.0.2" =>
    array( "Windows" => 20454583,    "Macintosh" => 2497472,  "Source" => 85887,   "Total" => 23037942),
    "1.0.3" =>
    array( "Windows" => 46850880,    "Macintosh" => 5339816,  "Source" => 115158,  "Total" => 52305854),
    "1.0.4" =>
    array( "Windows" => 1675,        "Macintosh" => 515,      "Source" => 202487,  "Total" => 204677),
    "1.0.5" =>
    array( "Windows" => 51335602,    "Macintosh" => 7918876,  "Source" => 12675,   "Total" => 59267153),
    "1.0.6" =>
    array( "Windows" => 2334,        "Macintosh" => 138,      "Source" => 2,       "Total" => 2474),
    );


/* Sourceforge Downloads, from the json auth section
156 157 158
      https://sourceforge.net/projects/vlc/files/2.0.4/stats/json?start_date=2010-06-21&end_date=2013-03-30
      https://sourceforge.net/projects/vlc/files/2.0.4/macosx/stats/json?start_date=2010-06-21&end_date=2013-03-30
      https://sourceforge.net/projects/vlc/files/2.0.4/win32/stats/json?start_date=2010-06-21&end_date=2013-03-30 */
159
    $table_sf = array( "1.1.0"   => array( "Windows" => 15443389,          "Macintosh" => 2546516,             "Total" => 18039555 ),
160 161 162 163 164 165 166 167 168 169 170 171 172
                    "1.1.1"   => array( "Windows" => 5407572,           "Macintosh" => 539841,              "Total" => 5960536 ),
                    "1.1.2"   => array( "Windows" => 11436970,          "Macintosh" => 1631421,             "Total" => 13108335 ),
                    "1.1.3"   => array( "Windows" => 6678481,           "Macintosh" => 5943649,             "Total" => 12637918 ),
                    "1.1.4"   => array( "Windows" => 49292812,          "Macintosh" => 212793,              "Total" => 49407504 + 220447 ),
                    "1.1.5"   => array( "Windows" => 55535460,          "Macintosh" => 5279877,             "Total" => 60926281 ),
                    "1.1.6"   => array( "Windows" => 9356879,           "Macintosh" => 1489204,             "Total" => 10858731 ),
                    "1.1.7"   => array( "Windows" => 28971011,          "Macintosh" => 3963685,             "Total" => 33005883 ),
                    "1.1.8"   => array( "Windows" => 14915980,          "Macintosh" => 2065589,             "Total" => 16996235 ),
                    "1.1.9"   => array( "Windows" => 33188967,          "Macintosh" => 4070600,             "Total" => 37461402 ),
                    "1.1.10"  => array( "Windows" => 31298711,          "Macintosh" => 1628632 + 2679108,   "Total" => 32986398 + 2679108 ),
                    "1.1.11"  => array( "Windows" => 183467386,         "Macintosh" => 7124700,             "Total" => 190951490),
                    "1.1.12"  => array( "Windows" => 0,                 "Macintosh" => 8899060,             "Total" => 8984524 ),
                    "1.1.13"  => array( "Windows" => 253,               "Macintosh" => 0,                   "Total" => 2696  ),
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195
                    "2.0.0"   => array( "Windows" => 14948886,          "Macintosh" => 2003047,             "Total" => 16984028 ),
                    "2.0.1"   => array( "Windows" => 80879167+33606,    "Macintosh" => 7786101,             "Total" => 88725046 ),
                    "2.0.2"   => array( "Windows" => 45337727+66446,    "Macintosh" => 3058871,             "Total" => 48483862 ),
                    "2.0.3"   => array( "Windows" => 24170226,          "Macintosh" => 7107008,             "Total" => 31351590 ),
                    "2.0.4"   => array( "Windows" => 52340245+271,      "Macintosh" => 5837181,             "Total" => 58293126 ),
                    "2.0.5"   => array( "Windows" => 145837321+1689,    "Macintosh" => 8386017,             "Total" => 155138783),
                    "2.0.6"   => array( "Windows" => 3585291+16608,     "Macintosh" => 112788 ,             "Total" => 3972281  ),
                    "2.0.7"   => array( "Windows" => 1642+722,          "Macintosh" => 129 ,                "Total" => 2932  ),
                    "2.0.8"   => array( "Windows" => 470+267,           "Macintosh" => 39,                  "Total" => 1004 ),
                    "2.0.9"   => array( "Windows" => 0,                 "Macintosh" => 88,                  "Total" => 820 ),
                    "2.0.10"  => array( "Windows" => 0,                 "Macintosh" => 0,                   "Total" => 787 ),
                    "2.1.0"   => array( "Windows" => 499+112,           "Macintosh" => 19,                  "Total" => 929  ),
                    "2.1.1"   => array( "Windows" => 309+74,            "Macintosh" => 12,                  "Total" => 576 ),
                    "2.1.2"   => array( "Windows" => 459+129,           "Macintosh" => 23,                  "Total" => 809 ),
                    "2.1.3"   => array( "Windows" => 4003+397,          "Macintosh" => 47,                  "Total" => 4764 ),
                    "2.1.4"   => array( "Windows" => 0+273524,          "Macintosh" => 22347,               "Total" => 383771 ),
                    "2.1.5"   => array( "Windows" => 0,                 "Macintosh" => 0,                   "Total" => 56366 ),
                    "2.1.6"   => array( "Windows" => 0,                 "Macintosh" => 0,                   "Total" => 320 ),
                    "2.2.0"   => array( "Windows" => 156+103,           "Macintosh" => 22,                  "Total" => 36491 ),
                    "2.2.1"   => array( "Windows" => 258381+8010,       "Macintosh" => 13468,               "Total" => 315456 ),
                    "2.2.2"   => array( "Windows" => 121+99,            "Macintosh" => 24,                  "Total" => 253 ),
                    "2.2.3"   => array( "Windows" => 110+150,           "Macintosh" => 25,                  "Total" => 336 ),
                    "2.2.4"   => array( "Windows" => 257899+5042,       "Macintosh" => 13134,               "Total" => 323338 ),
Ludovic Fauvet's avatar
Ludovic Fauvet committed
196
                    "2.2.5.1" => array( "Windows" => 0,                 "Macintosh" => 0,                   "Total" => 0 ),
Ludovic Fauvet's avatar
Ludovic Fauvet committed
197
                    "2.2.6"   => array( "Windows" => 0,                 "Macintosh" => 0,                   "Total" => 0 ),
198 199
                    "2.2.7"   => array( "Windows" => 0,                 "Macintosh" => 0,                   "Total" => 0 ),
                    "2.2.8"   => array( "Windows" => 0,                 "Macintosh" => 0,                   "Total" => 0 ),
200 201 202 203 204 205
                    "3.0.0"   => array( "Windows" => 0,                 "Macintosh" => 0,                   "Total" => 0 ),
                    "3.0.1"   => array( "Windows" => 0,                 "Macintosh" => 0,                   "Total" => 0 ),
                    "3.0.2"   => array( "Windows" => 0,                 "Macintosh" => 0,                   "Total" => 0 ),
                    "3.0.3"   => array( "Windows" => 0,                 "Macintosh" => 0,                   "Total" => 0 ),
                    "3.0.4"   => array( "Windows" => 0,                 "Macintosh" => 0,                   "Total" => 0 ),
                    "3.0.5"   => array( "Windows" => 0,                 "Macintosh" => 0,                   "Total" => 0 ),
206 207
    );

208 209
    $table = array_merge( $table_old, $table_sf );

210 211
    // Values in this array will be fetched from mirrorbits and added to the value in the $table
    $table_mirrorbits = array(
212
                    "1.1.0"   => array(
213
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats" ),
214 215 216 217
                                        "Macintosh" => "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats",
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.bz2?stats",
                                 ),
                    "1.1.1"   => array(
218
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats" ),
219 220 221 222
                                        "Macintosh" => array( "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel64.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel.dmg?stats"),
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.bz2?stats",
                                 ),
                    "1.1.2"   => array(
223
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats" ),
224 225 226 227
                                        "Macintosh" => array( "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel64.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel.dmg?stats"),
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.bz2?stats",
                                 ),
                    "1.1.3"   => array(
228
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats" ),
229 230 231 232
                                        "Macintosh" => array( "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel64.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel.dmg?stats"),
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.bz2?stats",
                                 ),
                    "1.1.4"   => array(
233
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats" ),
234 235 236
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.bz2?stats",
                                 ),
                    "1.1.5"   => array(
237
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats" ),
238 239 240 241
                                        "Macintosh" => array( "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-powerpc.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel64.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel.dmg?stats"),
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.bz2?stats",
                                 ),
                    "1.1.6"   => array(
242
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats" ),
243 244 245 246
                                        "Macintosh" => array( "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-powerpc.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel64.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel.dmg?stats"),
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.bz2?stats",
                                 ),
                    "1.1.7"   => array(
247
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats" ),
248 249 250 251
                                        "Macintosh" => array( "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-powerpc.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel64.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel.dmg?stats"),
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.bz2?stats",
                                 ),
                    "1.1.8"   => array(
252
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats" ),
253 254 255 256
                                        "Macintosh" => array( "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-powerpc.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel64.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel.dmg?stats"),
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.bz2?stats",
                                 ),
                    "1.1.9"   => array(
257
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats" ),
258 259 260 261
                                        "Macintosh" => array( "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-powerpc.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel64.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel.dmg?stats"),
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.bz2?stats",
                                 ),
                    "1.1.10"  => array(
262
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats" ),
263 264 265 266
                                        "Macintosh" => array( "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-powerpc.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel64.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel.dmg?stats"),
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.bz2?stats",
                                 ),
                    "1.1.11"  => array(
267
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats" ),
268 269 270 271 272 273 274 275 276 277
                                        "Macintosh" => array( "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-powerpc.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel64.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel.dmg?stats"),
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.bz2?stats",
                                 ),
                    "1.1.12"  => array(
                                        "Macintosh" => array( "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-powerpc.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel64.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel.dmg?stats"),
                                        "Source" => array( "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats", "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.bz2"),
                                 ),
                    "1.1.13"  => array(
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                 ),
278
                    "2.0.0"   => array(
279
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.7z?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.zip?stats" ),
280 281 282 283
                                        "Macintosh" => array( "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-powerpc.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel64.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel32.dmg?stats"),
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                 ),
                    "2.0.1"   => array(
284
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.7z?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.zip?stats" ),
285 286 287 288
                                        "Macintosh" => array( "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-powerpc.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel64.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel32.dmg?stats"),
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                 ),
                    "2.0.2"   => array(
289
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.7z?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.zip?stats" ),
290 291 292 293
                                        "Macintosh" => array( "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-powerpc.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel64.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel32.dmg?stats"),
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                 ),
                    "2.0.3"   => array(
294
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.7z?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.zip?stats" ),
295 296 297 298
                                        "Macintosh" => array( "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-powerpc.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel64.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel32.dmg?stats"),
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                 ),
                    "2.0.4"   => array(
299
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.7z?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.zip?stats" ),
300 301 302 303
                                        "Macintosh" => array( "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-powerpc.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel64.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel32.dmg?stats"),
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                 ),
                    "2.0.5"   => array(
304
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.7z?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.zip?stats" ),
305 306 307 308
                                        "Macintosh" => array( "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-powerpc.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel64.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel32.dmg?stats"),
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                 ),
                    "2.0.6"   => array(
309
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.7z?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.zip?stats" ),
310 311 312 313
                                        "Macintosh" => array( "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-powerpc.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel64.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel32.dmg?stats"),
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                 ),
                    "2.0.7"   => array(
314
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.7z?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.zip?stats" ),
315 316 317 318
                                        "Macintosh" => array( "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-powerpc.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel64.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel32.dmg?stats"),
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                 ),
                    "2.0.8"   => array(
319
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.7z?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.zip?stats" ),
320 321 322 323
                                        "Macintosh" => array( "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-powerpc.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel64.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel32.dmg?stats"),
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                 ),
                    "2.0.9"   => array(
324
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.7z?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.zip?stats" ),
325 326 327
                                        "Macintosh" => array( "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-powerpc.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel64.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel32.dmg?stats"),
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                 ),
328 329 330 331
                    "2.0.10"  => array(
                                        "Macintosh" => array( "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-powerpc.dmg?stats", "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#-intel32.dmg?stats"),
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                 ),
332
                    "2.1.0"   => array(
333
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.7z?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.zip?stats" ),
334 335 336 337
                                        "Macintosh" => "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats",
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                 ),
                    "2.1.1"   => array(
338
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.7z?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.zip?stats" ),
339 340 341 342
                                        "Macintosh" => "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats",
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                 ),
                    "2.1.2"   => array(
343
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.7z?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.zip?stats" ),
344 345 346 347
                                        "Macintosh" => "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats",
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                 ),
                    "2.1.3"   => array(
348
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.7z?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.zip?stats" ),
349 350 351 352
                                        "Macintosh" => "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats",
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                 ),
                    "2.1.4"   => array(
353
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.7z?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.zip?stats" ),
354 355 356 357
                                        "Macintosh" => "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats",
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                 ),
                    "2.1.5"   => array(
358
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.7z?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.zip?stats" ),
359 360 361 362
                                        "Macintosh" => "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats",
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                 ),
                    "2.1.6"   => array(
363
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.7z?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.zip?stats" ),
364 365 366 367
                                        "Macintosh" => "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats",
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                 ),
                    "2.2.0"   => array(
368
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.7z?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.zip?stats" ),
369 370 371 372
                                        "Macintosh" => "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats",
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                 ),
                    "2.2.1"   => array(
373
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.7z?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.zip?stats" ),
374 375 376 377
                                        "Macintosh" => "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats",
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                 ),
                    "2.2.2"   => array(
378
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.7z?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.zip?stats" ),
379 380 381
                                        "Macintosh" => "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats",
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                 ),
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
382
                    "2.2.3"   => array(
383
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.7z?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.zip?stats" ),
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
384 385 386 387
                                        "Macintosh" => "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats",
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                 ),
                    "2.2.4"   => array(
388
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.7z?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.zip?stats" ),
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
389 390 391
                                        "Macintosh" => "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats",
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                 ),
Ludovic Fauvet's avatar
Ludovic Fauvet committed
392 393
                    "2.2.5.1" => array(
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.7z?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.zip?stats" ),
Ludovic Fauvet's avatar
Ludovic Fauvet committed
394 395 396 397 398
                                        "Macintosh" => "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats",
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                 ),
                    "2.2.6" => array(
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.7z?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.zip?stats" ),
Ludovic Fauvet's avatar
Ludovic Fauvet committed
399 400 401
                                        "Macintosh" => "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats",
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                 ),
402 403 404 405 406 407 408 409 410 411
                    "2.2.7" => array(
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.7z?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.zip?stats" ),
                                        "Macintosh" => "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats",
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                 ),
                    "2.2.8" => array(
                                        "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.7z?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.zip?stats" ),
                                        "Macintosh" => "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats",
                                        "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                 ),
Felix Paul Kühne's avatar
Felix Paul Kühne committed
412 413
                     "3.0.0" => array(
                                         "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.7z?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.zip?stats" ),
Hugo Beauzée-Luyssen's avatar
Hugo Beauzée-Luyssen committed
414 415 416 417 418
                                         "Macintosh" => "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats",
                                         "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                  ),
                     "3.0.1" => array(
                                         "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.7z?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.zip?stats" ),
419 420 421 422 423 424 425 426 427 428
                                         "Macintosh" => "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats",
                                         "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                  ),
                     "3.0.2" => array(
                                         "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.7z?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.zip?stats" ),
                                         "Macintosh" => "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats",
                                         "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                  ),
                     "3.0.3" => array(
                                         "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.7z?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.zip?stats" ),
429 430 431 432 433
                                         "Macintosh" => "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats",
                                         "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                  ),
                     "3.0.4" => array(
                                         "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.7z?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.zip?stats" ),
Felix Paul Kühne's avatar
Felix Paul Kühne committed
434 435 436
                                         "Macintosh" => "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats",
                                         "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                  ),
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
437 438 439 440 441 442
                     "3.0.5" => array(
                                         "Windows" => array( "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.exe?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.exe?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.7z?stats", "https://get.videolan.org/vlc/#version#/win32/vlc-#version#-win32.zip?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.7z?stats", "https://get.videolan.org/vlc/#version#/win64/vlc-#version#-win64.zip?stats" ),
                                         "Macintosh" => "https://get.videolan.org/vlc/#version#/macosx/vlc-#version#.dmg?stats",
                                         "Source" => "https://get.videolan.org/vlc/#version#/vlc-#version#.tar.xz?stats",
                                  ),

443
    );
444

445
    foreach( $table as $key => $t )
446
    {
Ludovic Fauvet's avatar
Ludovic Fauvet committed
447
        echo "<tr><td class=\"category\" style=\"text-align: left;\"><strong>$key</strong></td>\n";
448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483

       // <Mirrorbits>
       if (array_key_exists($key, $table_mirrorbits))
       {
               $platforms = array("Windows", "Macintosh", "Source");
               foreach($platforms as $platform)
               {
                       if (array_key_exists($platform, $table_mirrorbits[$key]))
                       {
                               $value = 0;
                               if (is_array($table_mirrorbits[$key][$platform]))
                               {
                                       foreach($table_mirrorbits[$key][$platform] as $url)
                                       {
                                               $final = str_replace("#version#", $key, $url);
                                               $value += mirrorbits_fetch($final);
                                       }
                               }
                               else
                               {
                                       $final = str_replace("#version#", $key, $table_mirrorbits[$key][$platform]);
                                       $value += mirrorbits_fetch($final);
                               }

                               if ($platform == "Windows" || $platform == "Macintosh")
                               {
                                       $t[$platform] += $value;
                               }

                               // Historically "source" is computed from the total - windows - mac
                               $t["Total"] += $value;
                       }
               }
       }
       // </Mirrorbits>

Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
484 485 486
        $wintotal += $t["Windows"];
        $mactotal += $t["Macintosh"];
        $srctotal += ( $t["Total"] - $t["Windows"] - $t["Macintosh"] );
487

Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
488 489
        f($t["Windows"]);
        f($t["Macintosh"]);
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
490
        f($t["Total"] - $t["Windows"] - $t["Macintosh"]);
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
491 492
        f($t["Total"]);
        echo "</tr>\n";
493
    }
494

495 496 497
    // Android Installs by users (downloads are higher)
    $android_old = 77956940;
    $android_new = 163917190;
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
498
    echo "
499 500 501 502 503
    <tr><td> &nbsp;</td></tr>
    <tr><td class=\"category\" style=\"text-align: left;\"><strong>Android Beta</strong></td>
    <td></td><td></td><td></td>";
    f($android_old);
    echo "</tr>";
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
504 505

    echo "
506 507 508 509
    <tr><td class=\"category\" style=\"text-align: left;\"><strong>Android App</strong></td>
    <td></td><td></td><td></td>";
    f($android_new);
    echo "</tr>";
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
510

511
    // iOS
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
512 513 514
    $ios_new = 25041841;

    echo "
515 516 517 518
    <tr><td class=\"category\" style=\"text-align: left;\"><strong>iOS App</strong></td>
    <td></td><td></td><td></td>";
    f($ios_new);
    echo "</tr>";
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
519

Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
520
    $maxtotal = $wintotal + $mactotal + $srctotal + $android_old + $android_new + $ios_new;
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
521 522
    echo "
<tr><td> &nbsp;</td></tr>
Ludovic Fauvet's avatar
Ludovic Fauvet committed
523
<tr><td class=\"category\" style=\"text-align: left;\"><strong>Total</strong></td>\n";
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
524 525 526 527 528 529 530 531 532
    f($wintotal);
    f($mactotal);
    f($srctotal);
    f($maxtotal);
    echo "</tr>\n";

    echo "</table>";


533
    date_default_timezone_set('Europe/Paris');
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
534 535 536 537 538 539 540
    echo "<p>Page generated on ".date("r").".</p>";
?>

</div>

<?php footer('$Id$'); ?>