I'm sorry but I don't really underatand your most recent post.
My linked article e.g. describes how to get the file-extension.
You can get the quality identifier via property "quality".
It will return e.g. "240" for "240p".
I've updated my post in
this thread and added the property "quality" to it.
-psp-