You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assuming you have bound in mpv input.conf a key to 'quit' and another key to 'quit 4', using the ask-keep action will mark a video as deleted when you 'quit 4' and it will mark a video as watched when you 'quit'.
622
+
623
+
For example, here I bind "'" to "KEEP" and "j" to "DELETE"
624
+
625
+
' quit
626
+
j quit 4
627
+
628
+
This is pretty intuitive after you use it a few times but writing this out I realize this might seem a bit complicated and brittle. You could also do something like `--cmd5 'echo {} >> chosen.txt' --cmd6 'echo {} >> rejected.txt'` instead of post-actions like `ask-keep`; this might be a bit more transparent. But you will still need to bind some keys in mpv:
629
+
630
+
k quit 5
631
+
r quit 6
632
+
633
+
Download checked videos
634
+
635
+
library download --fs open_dir.db --prefix ~/d/dump/video/ -w 'id in (select media_id from history)'
600
636
601
637
602
638
@@ -1340,6 +1376,27 @@ BTW, for some cols like time_deleted you'll need to specify a where clause so th
1340
1376
library watch -m 4 --loop --crop # play four cropped videos on a loop
1341
1377
library watch -m 4 --hstack # use hstack style
1342
1378
1379
+
When using `--multiple-playback` it may be helpful to set simple window focus rules to prevent keys from accidentally being entered in the wrong mpv window (as new windows are created and capture the cursor focus).
1380
+
You can set and restore your previous mouse focus setting by wrapping the command like this:
1381
+
1382
+
focus-under-mouse
1383
+
library watch ... --multiple-playback 4
1384
+
focus-follows-mouse
1385
+
1386
+
For example in KDE:
1387
+
1388
+
function focus-under-mouse
1389
+
kwriteconfig5 --file kwinrc --group Windows --key FocusPolicy FocusUnderMouse
1390
+
qdbus-qt5 org.kde.KWin /KWin reconfigure
1391
+
end
1392
+
1393
+
function focus-follows-mouse
1394
+
kwriteconfig5 --file kwinrc --group Windows --key FocusPolicy FocusFollowsMouse
1395
+
kwriteconfig5 --file kwinrc --group Windows --key NextFocusPrefersMouse true
1396
+
qdbus-qt5 org.kde.KWin /KWin reconfigure
1397
+
end
1398
+
1399
+
1343
1400
1344
1401
</details>
1345
1402
@@ -1925,6 +1982,10 @@ BTW, for some cols like time_deleted you'll need to specify a where clause so th
0 commit comments