mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 18:03:33 +00:00
Save in the database what has been downloaded
This commit is contained in:
parent
81e9b5c3d9
commit
f416bfda8f
9 changed files with 59 additions and 19 deletions
|
|
@ -173,7 +173,7 @@ public class MappingUtil {
|
|||
return playlists;
|
||||
}
|
||||
|
||||
public static ArrayList<Download> mapToDownload(List<Song> songs) {
|
||||
public static ArrayList<Download> mapDownload(List<Song> songs) {
|
||||
ArrayList<Download> downloads = new ArrayList();
|
||||
|
||||
for (Song song : songs) {
|
||||
|
|
@ -183,7 +183,7 @@ public class MappingUtil {
|
|||
return downloads;
|
||||
}
|
||||
|
||||
public static Download mapToDownload(Song song, String playlistId, String playlistName) {
|
||||
public static Download mapDownload(Song song, String playlistId, String playlistName) {
|
||||
return new Download(song, playlistId, playlistName);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue