From 31bc3eb2735d97c3339d64bee1b8cc3f09e5bec3 Mon Sep 17 00:00:00 2001 From: Recrown Date: Mon, 2 Jul 2018 02:02:58 -0500 Subject: [PATCH] removed apache tika; outline for audio metadata done; --- build.gradle | 1 - .../rhythmbullet/audio/AudioMetadata.java | 32 +++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100755 core/src/zero1hd/rhythmbullet/audio/AudioMetadata.java diff --git a/build.gradle b/build.gradle index 9d0159d..6696155 100755 --- a/build.gradle +++ b/build.gradle @@ -84,7 +84,6 @@ project(":core") { compile "com.badlogicgames.gdx:gdx-freetype:$gdxVersion" compile "com.github.rwl:jtransforms:2.4.0" compile "org.apache.commons:commons-math3:3.2" - compile group: 'org.apache.tika', name: 'tika-parsers', version: '1.18' } } diff --git a/core/src/zero1hd/rhythmbullet/audio/AudioMetadata.java b/core/src/zero1hd/rhythmbullet/audio/AudioMetadata.java new file mode 100755 index 0000000..dd776fa --- /dev/null +++ b/core/src/zero1hd/rhythmbullet/audio/AudioMetadata.java @@ -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 + } + + +}