Merge pull request #12044 from TeamNewPipe/android-auto
Add support for Android Auto *(season 2)*
This commit is contained in:
commit
196c27792b
27 changed files with 1199 additions and 114 deletions
|
|
@ -26,6 +26,10 @@ public class RemotePlaylistManager {
|
|||
return playlistRemoteTable.getPlaylists().subscribeOn(Schedulers.io());
|
||||
}
|
||||
|
||||
public Flowable<PlaylistRemoteEntity> getPlaylist(final long playlistId) {
|
||||
return playlistRemoteTable.getPlaylist(playlistId).subscribeOn(Schedulers.io());
|
||||
}
|
||||
|
||||
public Flowable<List<PlaylistRemoteEntity>> getPlaylist(final PlaylistInfo info) {
|
||||
return playlistRemoteTable.getPlaylist(info.getServiceId(), info.getUrl())
|
||||
.subscribeOn(Schedulers.io());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue