Update NewPipeExtractor for hotfix release
This commit is contained in:
parent
47f9ed08e9
commit
5e6752db14
5 changed files with 5 additions and 5 deletions
|
|
@ -84,7 +84,7 @@ public class DescriptionFragment extends BaseFragment {
|
|||
private void setupDescription() {
|
||||
final Description description = streamInfo.getDescription();
|
||||
if (description == null || isEmpty(description.getContent())
|
||||
|| description == Description.emptyDescription) {
|
||||
|| description == Description.EMPTY_DESCRIPTION) {
|
||||
binding.detailDescriptionView.setVisibility(View.GONE);
|
||||
binding.detailSelectDescriptionButton.setVisibility(View.GONE);
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -193,7 +193,7 @@ public class PeertubeInstanceListFragment extends Fragment {
|
|||
.setNegativeButton(R.string.cancel, null)
|
||||
.setPositiveButton(R.string.yes, (dialog, which) -> {
|
||||
sharedPreferences.edit().remove(savedInstanceListKey).apply();
|
||||
selectInstance(PeertubeInstance.defaultInstance);
|
||||
selectInstance(PeertubeInstance.DEFAULT_INSTANCE);
|
||||
updateInstanceList();
|
||||
instanceListAdapter.notifyDataSetChanged();
|
||||
})
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@ public class DownloadMissionRecover extends Thread {
|
|||
switch (mRecovery.getKind()) {
|
||||
case 'a':
|
||||
for (AudioStream audio : mExtractor.getAudioStreams()) {
|
||||
if (audio.average_bitrate == mRecovery.getDesiredBitrate() && audio.getFormat() == mRecovery.getFormat()) {
|
||||
if (audio.getAverageBitrate() == mRecovery.getDesiredBitrate() && audio.getFormat() == mRecovery.getFormat()) {
|
||||
url = audio.getUrl();
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class MissionRecoveryInfo(
|
|||
constructor(stream: Stream) : this(format = stream.getFormat()!!) {
|
||||
when (stream) {
|
||||
is AudioStream -> {
|
||||
desiredBitrate = stream.average_bitrate
|
||||
desiredBitrate = stream.averageBitrate
|
||||
isDesired2 = false
|
||||
kind = 'a'
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue