Add files via upload
This commit is contained in:
1 parent
90cc6d4253
commit
a7ab7103a5
365 files changed
+17881
No files matched your search
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
sticker=$(rmpc sticker get "$FILE" "playCount" | jq -r '.value')
|
||||
if [ -z "$sticker" ]; then
|
||||
rmpc sticker set "$FILE" "playCount" "1"
|
||||
else
|
||||
rmpc sticker set "$FILE" "playCount" "$((sticker + 1))"
|
||||
fi
|
||||
Reference in new issue
Block a user