Add initial version of music mode

This commit is contained in:
Arkadiusz Fal
2022-06-07 23:27:48 +02:00
parent dc1ddc8317
commit da78bac205
8 changed files with 142 additions and 41 deletions

View File

@@ -50,7 +50,7 @@ final class PiPDelegate: NSObject, AVPictureInPictureControllerDelegate {
}
#endif
if !player.currentItem.isNil {
if !player.currentItem.isNil, !player.musicMode {
player?.show()
}