My point in quoting from the Seventh Ecumenical Council is that what we set before ourselves we will imitate. If we listen to, look at, or read good, virtuous, and holy things, we will imitate those things and be edified by them. It is the same with bad, vulgar (understand that the word vulgar does not necessarily mean obscene, but can just mean common) or sinful things, we will imitate them if we set them before ourselves. This is not a judgment on any particular thing, but a general rule.
One of my favorite movies is the Big Lebowski, a movie that is replete with swear words. It is clear to me that the swearing is intentionally done in a way that is almost like costuming or set dressing. It is meant to place the characters in a context. And yet I have not watched it in years because we imitate what we put in front of ourselves. There are books that I don't read, shows I don't watch, and music that I don't listen to, not because they are pure evil, but because I don't need to imitate such things.
Furthermore, there is a difference between what others set before us, and what we set before ourselves. A saintly person could be shown all manner of filthy images and remain unaffected by them. But when a person seeks those things out, it is almost never to test their strength against temptation. We set before ourselves what we want to imitate, which is why it has such an effect on us. Temptation comes from all around us, we cannot avoid this, but what we let in is significant.