Paul said "Don't be conformed to the world, but be ye transformed by the renewal of your mind."
Television produces the hive mind. It puts your mind into what's called the alpha state. It's associated with relaxation and suggestablity. The media, I believe, is satans counterfeit of God's mind renewal.
For scripture also says, "and finally my brethren, whatsoever things are true, whatsoever things are honest, whatsoever things are just, whatsoever things are lovely, whatsoever things are of good report, if there be any virtue and if there be any praise think on these things."
Like you said the media is filled with sex, violence, and the occult. This stuff gets into your subconscious. It's not just pg13 and R rated films. You have Katy Perry on sesame strete, Ellen degeneres a lesbian that promoted Niki Manaj (Manaj is short for the french phrase for "threesome") to 7yos, you have blatant sex subliminals in Disney movies, which end up bwing about the occult asside from the subliminals. Even my favorite show of all time, Spongebob, was filled with adult jokes and even a flat out Masonic ritual on one episode. They had shriner hats, a pyramid temple, and everything.
But it's all just fun, make believe, harmless, just entertainment even Christians will say. "It doesn't affect me. I grew up fine". Yet the subconscious is fed on a daily basis with lies, violence, and nothing godly.
I don't watch TV, or go to the movies. Even the Christian movies are not safe! They're written by new agers, and they add subtil differences to the stories.
Jesus said "Come out of her my people". Come out of Babylon.
I haven't watched TV or the Movies in 3 or 4 years.
You're not gonna be a legalistic prude of you don't watch TV or go to the movies. You'll just be free to do more than those who watch TV do. Reading, writing, drawing, arts and crafts, board games, learning, hiking, camping, parasailing, rock climbing, billiards; so much in the world to do.
Internet can be a much better, yet paradoxically, much worse than TV.
Better, because you can find clean material on YouTube. For example you can watch Skit Guys, who are Christians. You can find real information. People will always pull the "you can read anything online" card. But that is far from a logical response. It's a defense mechanism against information. People put their own media online, which means you should be able to find so much clean and Christian material out there.
The flip side is that there's just as much more bad online. Millions of free porn sites, pop YouTube channels which are depraved and foolish. However, these things are incredibly easy to avoid in contrast to TV.
Just think outside the TV box. Let God direct your thoughts.