-
Notifications
You must be signed in to change notification settings - Fork 422
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add streamPosition for comments #625
Conversation
How will this work in the UI? |
Not sure if it is needed for NewPipe, but we could display a "at 4:20" next to the comment's author name |
Oh. So you've added this generally, and not specifically for Newpipe? That is fine. I can't think of a neat way to include this in the app. The UI is too different from how Soundcloud presents it. |
Correct |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good
|
||
@Override | ||
public int getStreamPosition() { | ||
return -1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Create a constant for this in CommentsInfoItem
, something like NO_STREAM_POSITION
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea 👍
I also added NO_LIKE_COUNT
for comment likes
1ad7f46
to
8497311
Compare
SoundCloud is the only service which supports adding comments at a specific timestamp in the stream.
8497311
to
f7f727d
Compare
SoundCloud is the only service which supports adding comments at a specific timestamp in the stream.
Add
CommentsInfoItem.NO_LIKE_COUNT
andCommentsInfoItem.NO_STREAM_POSITION
.