diff --git a/TODO.md b/TODO.md index 55b5a61..5351794 100644 --- a/TODO.md +++ b/TODO.md @@ -1,13 +1,19 @@ To Do ----- -* Status web app as PWA -* Move `video/` and `audio/` into new `incomplete/` directory -* Set title for audio CDs on read -* For audio CDs, set completion to null, and have that result in a spinny progress meter + +* Status web app as PWA? Does this even matter? Maybe not. +* The directory layout is gross. Fix it. + * What I'd like to see: pending/ has everything that's not finished yet; complete/ has everything that is. + * Do I really need to separate audio and video? Can't I just put that in the json file? +* I'm not certain the CD part works after moving to Python from Bourne Shell. +* Set title for audio CDs on read. +* For audio CDs, set completion to null, and have that result in a spinny progress meter. + Done ---- +* Handbrake is putting the stereo track before the 5.1 track, and making stereo the default. Fix that. * Status web app * Report title in status.json * Output JSON instead of bourne shell for env diff --git a/src/encoder.py b/src/encoder.py index 7aad220..d598c75 100644 --- a/src/encoder.py +++ b/src/encoder.py @@ -56,11 +56,17 @@ class Encoder(threading.Thread): [ "HandBrakeCLI", "--json", - "-i", "%s/VIDEO_TS" % fdir, + "--input", "%s/VIDEO_TS" % fdir, "--main-feature", "--native-language", "eng", - "-Z", "Chromecast 1080p30 Surround", - "-o", tmppath, + "--preset", "Chromecast 1080p60 Surround", + "--markers", + "--all-audio", + "--all-subtitles", + "--aencoeder", "copy:aac,copy:ac3,av_aac", + "--audio-copy-mask", "aac,ac3", + "--audio-fallback", "aac", + "--output", tmppath, ], encoding="utf-8", stdout=subprocess.PIPE, diff --git a/www/index.html b/www/index.html index bf7b275..3019f62 100644 --- a/www/index.html +++ b/www/index.html @@ -1,7 +1,7 @@
-