--- deliantra/server/utils/cfutil.in 2010/05/04 22:49:21 1.84 +++ deliantra/server/utils/cfutil.in 2010/05/14 22:56:47 1.85 @@ -572,12 +572,17 @@ "pd" => "Public Domain", "gpl" => "GNU General Public License, version 3.0 or any later", "cc/by/2.0" => "Licensed under Creative Commons Attribution 2.0 http://creativecommons.org/licenses/by/2.0/", + "cc/by/2.1" => "Licensed under Creative Commons Attribution 2.1 http://creativecommons.org/licenses/by/2.1/", "cc/by/2.5" => "Licensed under Creative Commons Attribution 2.5 http://creativecommons.org/licenses/by/2.5/", "cc/by/3.0" => "Licensed under Creative Commons Attribution 3.0 http://creativecommons.org/licenses/by/3.0/", })->{$meta->{license}} || warn "$dir/$file: license tag '$meta->{license}' not found."; } + if (!exists $meta->{author} && $meta->{source} =~ m%^http://www.jamendo.com/en/artist/(.*)$%) { + ($meta->{author} = $1) =~ s/_/ /g; + } + $file =~ s/\.res$//; $file =~ s/\.(ogg|wav|jpg|png)$//;