Add TODO.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 28 Jul 2012 22:50:53 +0000 (00:50 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 28 Jul 2012 22:50:53 +0000 (00:50 +0200)
src/main/java/net/pterodactylus/demoscenemusic/page/admin/AddTrackDerivativePage.java

index 91ab832..e1a8d0a 100644 (file)
@@ -122,6 +122,7 @@ public class AddTrackDerivativePage extends AdminBasePage {
                                        if (filename.indexOf('.') > filename.lastIndexOf('/')) {
                                                derivative.getProperties().set("file/extension", filename.substring(filename.lastIndexOf('.') + 1));
                                        }
                                        if (filename.indexOf('.') > filename.lastIndexOf('/')) {
                                                derivative.getProperties().set("file/extension", filename.substring(filename.lastIndexOf('.') + 1));
                                        }
+                                       /* TODO - identify file type and media information */
                                        getCore().getDataManager().saveTrackDerivate(derivative);
 
                                        /* copy the file again. */
                                        getCore().getDataManager().saveTrackDerivate(derivative);
 
                                        /* copy the file again. */