mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 18:03:33 +00:00
feat: improved live transcoding UI
This commit is contained in:
parent
6ae7fc2172
commit
6b0ba573de
1 changed files with 8 additions and 0 deletions
|
|
@ -186,6 +186,14 @@ public class PlayerControllerFragment extends Fragment {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
boolean isTranscodingExtension = !MusicUtil.getTranscodingFormatPreference().equals("raw");
|
||||||
|
boolean isTranscodingBitrate = !MusicUtil.getBitratePreference().equals("0");
|
||||||
|
|
||||||
|
if (isTranscodingExtension || isTranscodingBitrate) {
|
||||||
|
playerMediaExtension.setText("Transcoding");
|
||||||
|
playerMediaBitrate.setText("requested");
|
||||||
|
}
|
||||||
|
|
||||||
playerTrackInfo.setOnClickListener(view -> {
|
playerTrackInfo.setOnClickListener(view -> {
|
||||||
TrackInfoDialog dialog = new TrackInfoDialog(mediaMetadata);
|
TrackInfoDialog dialog = new TrackInfoDialog(mediaMetadata);
|
||||||
dialog.show(activity.getSupportFragmentManager(), null);
|
dialog.show(activity.getSupportFragmentManager(), null);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue