diff --git a/TODO.md b/TODO.md new file mode 100644 index 0000000..fe23fdf --- /dev/null +++ b/TODO.md @@ -0,0 +1,18 @@ +To Do +----- +* Status web app as PWA +* Move `video/` and `audio/` into new `incomplete/` directory +* Report title in status.json +* Output JSON instead of bourne shell for env + * New function in common: getenv() { jq -r --arg key="$1" '.[key]' env.json } + * Then just slurp the thing into the status json +* Indicate what is in the encoding queue (# items, titles) +* Completion percentage scraping + * Handbrake: `Encoding: task 2 of 2, 20.58%` + * dvdbackup: `Copying Title, part 2/4: 72% done` + + +Done +---- + +* Status web app diff --git a/scripts/status.json.sh b/scripts/status.json.sh index 2adc897..3b579df 100755 --- a/scripts/status.json.sh +++ b/scripts/status.json.sh @@ -5,8 +5,8 @@ cat </dev/null | jq -nR '[inputs]'), + "audio": $(ls */*/.mp3 2>/dev/null | jq -nR '[inputs]') }, "status": { "reader": $(cat status.reader | jq -nR '[inputs][0]'),