The three of you need to spend more time together. She is playing favorites and its not okay its hurtful but she cant help it because she sees you more than daddy.
When you two are alone, playing try talking to her. Talk to her about daddy and how much he loves you two and her. Talk him up to her, and say when daddy gets home, were going to play and have fun, and you need to be nice to him okay? It hurts his feelings and makes him sad when you dont want to play with him so when he gets home were going to give him a big hug. And do so, follow through.
Your hubby needs to be firmer and if she is having a tantrum then he needs to deal with it like any other. He shouldnt be afraid, I think too he doesnt get to spend a lot of time with her so he doesnt want to do anything wrong, and is probably a little shy too.
If your daughter sees how you love your hubby you hugging on him, saying I love you right in front of her, she will start doing so too. Have your hubby join in on the bedtime routine and have him read her a book while she's in bed and you there too but standing a little ways away, and let him take over. The more active he is in her routines then the better it will be.
Good luck!