mre / teams-call

Shell script to detect when you're in a Microsoft Teams Call. Supports Linux and macOS.
MIT License
68 stars 5 forks source link

Feat/better way of retrieving teams info #6

Closed Zelnes closed 1 year ago

Zelnes commented 1 year ago

Following conversation on issuer #5, here is my proposition for Teams version >= 1.5.00.23861 (test of Teams version is not implemented, but if you'd like I could add it, and keep the old version for older releases).

mre commented 1 year ago

Thanks!

When I execute the script if Teams is not open, I get a status code of 0, which means in a call (?). I printed the variables and gotcurrent_state: LazyLoadStage and current_status: desktop_ips_updated_app_pref. Should there be a fallback for unmatched variables in the switch statement? Apart from that I don't know why it matches *InCall*|*call_accept*) in my case. 🤔

mre commented 1 year ago

Ping @Zelnes 😉

Zelnes commented 1 year ago

Sorry, I've been busy these days, and now I feel exhausted because of Teams. I don't have notifications anymore, so I'm using my Windows VM to make calls... I can't test anymore what I've proposed, I'm very sorry (and I can't even use it anymore, that's the worst)

mre commented 1 year ago

That's alright, no worries. Maybe we can revisit this in the future.