Remove auto idle inhibit when media is playing

This commit is contained in:
Ly-sec 2025-08-20 14:41:52 +02:00
parent 73b0dfa0ff
commit 07705bb59c
2 changed files with 0 additions and 30 deletions

View file

@ -13,11 +13,6 @@ Singleton {
property real currentPosition: 0
property int selectedPlayerIndex: 0
property bool isPlaying: currentPlayer ? currentPlayer.isPlaying : false
// Auto-inhibit idle when media is playing
onIsPlayingChanged: {
IdleInhibitorService.inhibitForMedia(isPlaying)
}
property string trackTitle: currentPlayer ? (currentPlayer.trackTitle || "") : ""
property string trackArtist: currentPlayer ? (currentPlayer.trackArtist || "") : ""
property string trackAlbum: currentPlayer ? (currentPlayer.trackAlbum || "") : ""