Mostly matched API changes, but avOnMediaChange still needs implementing

At least it compiles though.


(While you're around tux3, issues 138, 141, and 154 can all be closed)