mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-07-28 14:52:58 +00:00
-Fixed unavailable current info when initial stream of playlist fails.
This commit is contained in:
parent
c235c647a0
commit
86a1fcf009
@ -910,20 +910,20 @@ public abstract class BasePlayer implements Player.EventListener,
|
|||||||
return currentState;
|
return currentState;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getVideoUrl() {
|
|
||||||
return currentInfo.url;
|
|
||||||
}
|
|
||||||
|
|
||||||
public long getVideoPos() {
|
public long getVideoPos() {
|
||||||
return videoPos;
|
return videoPos;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getVideoUrl() {
|
||||||
|
return currentInfo == null ? null : currentInfo.url;
|
||||||
|
}
|
||||||
|
|
||||||
public String getVideoTitle() {
|
public String getVideoTitle() {
|
||||||
return currentInfo.name;
|
return currentInfo == null ? null : currentInfo.name;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getUploaderName() {
|
public String getUploaderName() {
|
||||||
return currentInfo.uploader_name;
|
return currentInfo == null ? null : currentInfo.uploader_name;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isCompleted() {
|
public boolean isCompleted() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user