Add a new smart playlist "Not played lately" playlist (#613)
* Add "Not played lately" playlist (#1) * Fix bad recent playlist construction (#6) * Revert History rename * Code review
This commit is contained in:
parent
71f5072624
commit
764751381a
9 changed files with 126 additions and 8 deletions
|
|
@ -16,6 +16,7 @@ import com.kabouzeid.gramophone.model.Playlist;
|
|||
import com.kabouzeid.gramophone.model.smartplaylist.HistoryPlaylist;
|
||||
import com.kabouzeid.gramophone.model.smartplaylist.LastAddedPlaylist;
|
||||
import com.kabouzeid.gramophone.model.smartplaylist.MyTopTracksPlaylist;
|
||||
import com.kabouzeid.gramophone.model.smartplaylist.NotRecentlyPlayedPlaylist;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
|
|
@ -80,6 +81,7 @@ public class PlaylistsFragment extends AbsLibraryPagerRecyclerViewFragment<Playl
|
|||
|
||||
playlists.add(new LastAddedPlaylist(context));
|
||||
playlists.add(new HistoryPlaylist(context));
|
||||
playlists.add(new NotRecentlyPlayedPlaylist(context));
|
||||
playlists.add(new MyTopTracksPlaylist(context));
|
||||
|
||||
playlists.addAll(PlaylistLoader.getAllPlaylists(context));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue