removed apache tika; outline for audio metadata done;
This commit is contained in:
parent
8f70d72ed1
commit
31bc3eb273
@ -84,7 +84,6 @@ project(":core") {
|
|||||||
compile "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
|
compile "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
|
||||||
compile "com.github.rwl:jtransforms:2.4.0"
|
compile "com.github.rwl:jtransforms:2.4.0"
|
||||||
compile "org.apache.commons:commons-math3:3.2"
|
compile "org.apache.commons:commons-math3:3.2"
|
||||||
compile group: 'org.apache.tika', name: 'tika-parsers', version: '1.18'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
32
core/src/zero1hd/rhythmbullet/audio/AudioMetadata.java
Executable file
32
core/src/zero1hd/rhythmbullet/audio/AudioMetadata.java
Executable file
@ -0,0 +1,32 @@
|
|||||||
|
package zero1hd.rhythmbullet.audio;
|
||||||
|
|
||||||
|
import com.badlogic.gdx.files.FileHandle;
|
||||||
|
import com.badlogic.gdx.graphics.Texture;
|
||||||
|
import com.badlogic.gdx.utils.Disposable;
|
||||||
|
|
||||||
|
public class AudioMetadata implements Disposable {
|
||||||
|
private String author;
|
||||||
|
private String length;
|
||||||
|
private Texture albumCover;
|
||||||
|
private String lastPlayed;
|
||||||
|
private FileHandle fileHandle;
|
||||||
|
|
||||||
|
public AudioMetadata(FileHandle fileHandle) {
|
||||||
|
this.fileHandle = fileHandle;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void loadAlbumCover() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public void unloadAlbumCover() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void dispose() {
|
||||||
|
// TODO Auto-generated method stub
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user