Forráskód Böngészése

old filtering script

Brandon Wong 1 hónapja%!(EXTRA string=óta)
szülő
commit
d7ae8eac4b
1 módosított fájl, 5 hozzáadás és 0 törlés
  1. 5 0
      filter-history.sh

+ 5 - 0
filter-history.sh

@@ -0,0 +1,5 @@
+#!/bin/bash
+
+# take all playlist export files, retrieve videos marked as "to save"
+jq -s 'map(.playbackHistory | to_entries | map(select(.value.tags | index("to save"))) | map({videoId: .key, title: .value.title})) | add | unique_by(.videoId)' playlists-export-*
+