To save everyone a lot of typing.
If you see Photo failures and find std::bad_cast in your Plex logs,
std::bad_cast