@@ -293,46 +293,23 @@ WallpaperItem {
293293 }
294294 Kirigami .AbstractCard {
295295 Layout .margins : Kirigami .Units .largeSpacing
296- contentItem: ColumnLayout {
297- id: content
298- PlasmaComponents .Label {
299- text: main .currentSource .filename
300- }
301- PlasmaComponents .Label {
302- text: " currentVideoIndex " + main .currentVideoIndex
303- }
304- PlasmaComponents .Label {
305- text: " changeWallpaperMode " + main .changeWallpaperMode
306- }
307- PlasmaComponents .Label {
308- text: " crossfade " + main .crossfadeEnabled
309- }
310- PlasmaComponents .Label {
311- text: " crossfadeDuration " + player .crossfadeDuration + " (" + player .crossfadeMinDurationLast + " , " + player .crossfadeMinDurationCurrent + " )"
312- }
313- PlasmaComponents .Label {
314- text: " multipleVideos " + player .multipleVideos
315- }
316- PlasmaComponents .Label {
317- text: " player " + player .player .objectName
318- }
319- PlasmaComponents .Label {
320- text: " media status " + player .player .mediaStatus
321- }
322- PlasmaComponents .Label {
323- text: " player1 playing " + player .player1 .playing
324- }
325- PlasmaComponents .Label {
326- text: " player2 playing " + player .player2 .playing
327- }
328- PlasmaComponents .Label {
329- text: " position " + player .player .position
330- }
331- PlasmaComponents .Label {
332- text: " duration " + player .player .duration
333- }
334- PlasmaComponents .Label {
335- text: " resumeLastVideo" + player .resumeLastVideo
296+ contentItem: PlasmaComponents .Label {
297+ text: {
298+ let text = ` filename: ${ main .currentSource .filename } \n ` ;
299+ text += ` loops: ${ main .currentSource .loop ?? false }\n` ;
300+ text += ` currentVideoIndex ${main .currentVideoIndex }\n` ;
301+ text += ` changeWallpaperMode ${main .changeWallpaperMode }\n` ;
302+ text += ` crossfade ${main .crossfadeEnabled }\n` ;
303+ text += ` crossfadeDuration ${player .crossfadeDuration } ${player .crossfadeMinDurationLast } ${player .crossfadeMinDurationCurrent }\n` ;
304+ text += ` multipleVideos ${player .multipleVideos }\n` ;
305+ text += ` player ${player .player .objectName }\n` ;
306+ text += ` media status ${player .player .mediaStatus }\n` ;
307+ text += ` player1 playing ${player .player1 .playing }\n` ;
308+ text += ` player2 playing ${player .player2 .playing }\n` ;
309+ text += ` position ${player .player .position }\n` ;
310+ text += ` duration ${player .player .duration }\n` ;
311+ text += ` resumeLastVideo ${player .resumeLastVideo }` ;
312+ return text;
336313 }
337314 }
338315 }
0 commit comments