Man has no sex drive?!

I have been with my significant other for over 3 years. In the beginning we would have sex any day, but within the last year and so, he hasn't really cared for sex. No matter what I do, he doesn't have an urge for sex. ALSO, he gives our 20 month old daughter more love and attention then he does to me at all. I am a very touch oriented and attention needed kind of person. So all of this has turned me into a needy crab ass. All I want is love from him that he gives our daughter, because it was just him and I before her. How do I turn this around? I want to stay together, but is it worth it if he is not going to 'make an effort' ?