mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-04 16:23:08 +00:00
feat: improved live transcoding UI
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user