adding backgrounds to preview and changing from left dock
This commit is contained in:
parent
61273e5390
commit
1fa5aa8a0a
5 changed files with 48 additions and 14 deletions
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue