adding backgrounds to preview and changing from left dock

This commit is contained in:
Chris Cochrun 2022-03-10 07:07:25 -06:00
parent 61273e5390
commit 1fa5aa8a0a
5 changed files with 48 additions and 14 deletions

View file

@ -39,7 +39,8 @@ Item {
Component.onCompleted: mpvLoadingTimer.start()
onFileLoaded: {
print(videoSource + " has been loaded");
mpv.setProperty("loop", "inf");
if (itemType == "song")
mpv.setProperty("loop", "inf");
print(mpv.getProperty("loop"));
}
@ -108,4 +109,8 @@ Item {
function changeText(text) {
lyrics.text = text
}
function loadVideo() {
mpvLoadingTimer.restart()
}
}