fix paid content stream source
This commit is contained in:
parent
7ecb80d136
commit
722c829502
1 changed files with 2 additions and 2 deletions
|
@ -609,7 +609,7 @@ public class FileViewFragment extends BaseFragment implements
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!Helper.isNullOrEmpty(lbryFile.getStreamingUrl()) && !Lbryio.isSignedIn()) {
|
if (!Helper.isNullOrEmpty(lbryFile.getStreamingUrl()) && (!claim.isFree() || !Lbryio.isSignedIn())) {
|
||||||
return lbryFile.getStreamingUrl();
|
return lbryFile.getStreamingUrl();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1874,7 +1874,7 @@ public class FileViewFragment extends BaseFragment implements
|
||||||
}
|
}
|
||||||
|
|
||||||
private void handleMainActionForClaim() {
|
private void handleMainActionForClaim() {
|
||||||
if (claim.isPlayable() && Lbryio.isSignedIn()) {
|
if (claim.isPlayable() && claim.isFree() && Lbryio.isSignedIn()) {
|
||||||
// always use lbry.tv streaming when signed in and playabble
|
// always use lbry.tv streaming when signed in and playabble
|
||||||
startTimeMillis = System.currentTimeMillis();
|
startTimeMillis = System.currentTimeMillis();
|
||||||
showExoplayerView();
|
showExoplayerView();
|
||||||
|
|
Loading…
Reference in a new issue