mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2024-11-26 04:52:29 +01:00
Add Show Channel Details to Subscription Feed & History
This commit is contained in:
parent
759a078ce0
commit
c248741c00
@ -29,6 +29,7 @@ class StreamStatisticsEntry(
|
|||||||
val item = StreamInfoItem(streamEntity.serviceId, streamEntity.url, streamEntity.title, streamEntity.streamType)
|
val item = StreamInfoItem(streamEntity.serviceId, streamEntity.url, streamEntity.title, streamEntity.streamType)
|
||||||
item.duration = streamEntity.duration
|
item.duration = streamEntity.duration
|
||||||
item.uploaderName = streamEntity.uploader
|
item.uploaderName = streamEntity.uploader
|
||||||
|
item.uploaderUrl = streamEntity.uploaderUrl
|
||||||
item.thumbnailUrl = streamEntity.thumbnailUrl
|
item.thumbnailUrl = streamEntity.thumbnailUrl
|
||||||
|
|
||||||
return item
|
return item
|
||||||
|
@ -93,6 +93,7 @@ data class StreamEntity(
|
|||||||
val item = StreamInfoItem(serviceId, url, title, streamType)
|
val item = StreamInfoItem(serviceId, url, title, streamType)
|
||||||
item.duration = duration
|
item.duration = duration
|
||||||
item.uploaderName = uploader
|
item.uploaderName = uploader
|
||||||
|
item.uploaderUrl = uploaderUrl
|
||||||
item.thumbnailUrl = thumbnailUrl
|
item.thumbnailUrl = thumbnailUrl
|
||||||
|
|
||||||
if (viewCount != null) item.viewCount = viewCount as Long
|
if (viewCount != null) item.viewCount = viewCount as Long
|
||||||
|
@ -354,6 +354,7 @@ class FeedFragment : BaseStateFragment<FeedState>() {
|
|||||||
StreamDialogEntry.mark_as_watched
|
StreamDialogEntry.mark_as_watched
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
entries.add(StreamDialogEntry.show_channel_details)
|
||||||
|
|
||||||
StreamDialogEntry.setEnabledEntries(entries)
|
StreamDialogEntry.setEnabledEntries(entries)
|
||||||
InfoItemDialog(activity, item, StreamDialogEntry.getCommands(context)) { _, which ->
|
InfoItemDialog(activity, item, StreamDialogEntry.getCommands(context)) { _, which ->
|
||||||
|
Loading…
Reference in New Issue
Block a user