Removed unused database references
This commit is contained in:
@@ -2,6 +2,7 @@ package com.cappielloantonio.play.util;
|
||||
|
||||
import com.cappielloantonio.play.model.Album;
|
||||
import com.cappielloantonio.play.model.Artist;
|
||||
import com.cappielloantonio.play.model.Queue;
|
||||
import com.cappielloantonio.play.model.Song;
|
||||
import com.cappielloantonio.play.subsonic.models.AlbumID3;
|
||||
import com.cappielloantonio.play.subsonic.models.ArtistID3;
|
||||
@@ -40,4 +41,14 @@ public class MappingUtil {
|
||||
|
||||
return artists;
|
||||
}
|
||||
|
||||
public static ArrayList<Song> mapQueue(List<Queue> queueList) {
|
||||
ArrayList<Song> songs = new ArrayList();
|
||||
|
||||
for(Queue item : queueList){
|
||||
songs.add(new Song(item));
|
||||
}
|
||||
|
||||
return songs;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user