~etherpulse/podbird/playback_rate

« back to all changes in this revision

Viewing changes to app/podbird.qml

  • Committer: Eran Uzan
  • Date: 2020-06-12 22:06:32 UTC
  • Revision ID: etherpulse@gmail.com-20200612220632-8ykmirqv6psr1wak
Added playback speed configuration to allow for faster / slower listening experience 

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
        property int skipForward: 30
128
128
        property int skipBack: 10
129
129
        property bool downloadOverWifiOnly: true
 
130
        property real playbackSpeed: 1.0
130
131
    }
131
132
 
132
133
    FileManager {
376
377
                stop()
377
378
            }
378
379
 
379
 
            player.playbackRate = 3.0
 
380
            player.playbackRate = podbird.settings.playbackSpeed ? podbird.settings.playbackSpeed : 1.0;
380
381
            console.log("playBackRate is ", playbackRate)
381
382
        }
382
383
 
401
402
            savePosition()
402
403
        }
403
404
    }
 
405
    
 
406
    Connections {
 
407
        target:podbird.settings
 
408
        enabled:player
 
409
        onPlaybackSpeedChanged:{
 
410
            player.playbackRate = podbird.settings.playbackSpeed
 
411
        }
 
412
    }
404
413
 
405
414
    PageStack {
406
415
        id: mainStack