iTunes automatically pauses when VLC plays a file

I noticed that if I have some background music on iTunes and I start playing a VLC video, iTunes automatically stops the music.

Although this can be a very useful thing, I would prefer to have control of it, for example in my case I would like to keep listening the background music when I watch a non-music video.

Is there an option in iTunes to disable pausing? I tried to look at the iTunes options but I didn't find any, perhaps it is a setting which cannot be changed?


After a long search, I have realized that the setting to pause iTunes is not in iTunes, but it is on VLC. So it is not iTunes pausing the music because it detects another media player, but it is VLC which is pausing iTunes when playing files.

To disable this, just open the preferences of VLC and click on the following items:

Show All -> Interface -> Main interfaces -> macosx

After that, on the Control external music players field, you can select among Do nothing, Pause iTunes and Spotify and Pause and resume iTunes and Spotify. I selected the first option :-)

I share this knowledge here in Q&A style in case someone else was struggling with this.