@@ -7,6 +7,7 @@ import androidx.room.Query
77import androidx.room.Transaction
88import androidx.room.Update
99import io.reactivex.rxjava3.core.Flowable
10+ import io.reactivex.rxjava3.core.Maybe
1011import org.schabi.newpipe.database.feed.model.FeedEntity
1112import org.schabi.newpipe.database.feed.model.FeedLastUpdatedEntity
1213import org.schabi.newpipe.database.stream.StreamWithState
@@ -37,7 +38,7 @@ abstract class FeedDAO {
3738 LIMIT 500
3839 """
3940 )
40- abstract fun getAllStreams (): Flowable <List <StreamWithState >>
41+ abstract fun getAllStreams (): Maybe <List <StreamWithState >>
4142
4243 @Query(
4344 """
@@ -62,7 +63,7 @@ abstract class FeedDAO {
6263 LIMIT 500
6364 """
6465 )
65- abstract fun getAllStreamsForGroup (groupId : Long ): Flowable <List <StreamWithState >>
66+ abstract fun getAllStreamsForGroup (groupId : Long ): Maybe <List <StreamWithState >>
6667
6768 /* *
6869 * @see StreamStateEntity.isFinished()
@@ -97,7 +98,7 @@ abstract class FeedDAO {
9798 LIMIT 500
9899 """
99100 )
100- abstract fun getLiveOrNotPlayedStreams (): Flowable <List <StreamWithState >>
101+ abstract fun getLiveOrNotPlayedStreams (): Maybe <List <StreamWithState >>
101102
102103 /* *
103104 * @see StreamStateEntity.isFinished()
@@ -137,7 +138,7 @@ abstract class FeedDAO {
137138 LIMIT 500
138139 """
139140 )
140- abstract fun getLiveOrNotPlayedStreamsForGroup (groupId : Long ): Flowable <List <StreamWithState >>
141+ abstract fun getLiveOrNotPlayedStreamsForGroup (groupId : Long ): Maybe <List <StreamWithState >>
141142
142143 @Query(
143144 """
0 commit comments