# Foo\_run for running another media player

**URL:** https://community.mp3tag.de/t/foo-run-for-running-another-media-player/12565
**Category:** Off-Topic
**Created:** [October 4, 2011, 1:14pm UTC](https://community.mp3tag.de/t/foo-run-for-running-another-media-player/12565 "2011-10-04T13:14:10Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Zarty](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/z/e5b9ba/32.png) [@Zarty](https://community.mp3tag.de/u/Zarty)
#### Post date: [October 4, 2011, 1:14pm UTC](https://community.mp3tag.de/t/foo-run-for-running-another-media-player/12565/1 "2011-10-04T13:14:10Z")

</div>

I was looking at getting Foobar2000 but I want to be able to run either another version of Foobar or a different media player that outputs to headphones so I can preview a track on headphones while Foobar is playing a track to speakers. I posted on hyrogenaudio's forum:-

[http://www.hydrogenaudio.org/forums/index....56&hl=Zarty](http://www.hydrogenaudio.org/forums/index.php?showtopic=91056&hl=Zarty)

It was suggested that foo\_run might work.

Can someone tell me if foo\_bar can be used from within Foobar2000 to start another media player that will play the track? For example, right-click on a track and get an option to 'preview' it, which start the other media play that is setup to output to headphones.

Thank you in advance,  
Zarty

---

<div class="post-metadata">

### Author: ![pone](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pone/32/272_2.png) [@pone](https://community.mp3tag.de/u/pone)
#### Post date: [October 4, 2011, 2:17pm UTC](https://community.mp3tag.de/t/foo-run-for-running-another-media-player/12565/2 "2011-10-04T14:17:28Z")

</div>

I use foo\_run to start songs form foobar with the [VLC media player](http://www.videolan.org/vlc/).

For Foobar/foo\_run, I have the following settings:

File \> Preferences \> Tools \> run services  
Label: Play in VLC  
Path: "C:\Program Files\VideoLAN\VLC\vlc.exe" --no-playlist-enqueue --one-instance "%\_path%"  
Simultaneous runs: 1

In the VLC player, I have made the following settings to avoid multiple instances of the vlc player:

Tools \> Preferences \> Interface \> Instances:  
[yes] Allow only one instance  
[no] Enqueue files when in one instance modus

To use it in foobar: right-click on a track \> Run Service \> Play in VLC.  
In addtion I have made an button for this in foobar right next to the play button.

I have found the foo run commands for vlc here:  
[http://wiki.videolan.org/VLC\_command-line\_help](http://wiki.videolan.org/VLC_command-line_help)

---

<div class="post-metadata">

### Author: ![Zarty](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/z/e5b9ba/32.png) [@Zarty](https://community.mp3tag.de/u/Zarty)
#### Post date: [October 4, 2011, 7:48pm UTC](https://community.mp3tag.de/t/foo-run-for-running-another-media-player/12565/3 "2011-10-04T19:48:12Z")

</div>

Thank you for that. Your instructions were very clear and I got it all working. Much appreciated. Now I have to figure out what I need to do to get VLC to output to headphones while foobar is playing to speakers. If I bought a set of USB headphones, how could I configure VLC to you that output?

Thanks again,  
Zarty

---

<div class="post-metadata">

### Author: ![Zarty](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/z/e5b9ba/32.png) [@Zarty](https://community.mp3tag.de/u/Zarty)
#### Post date: [October 4, 2011, 7:52pm UTC](https://community.mp3tag.de/t/foo-run-for-running-another-media-player/12565/4 "2011-10-04T19:52:02Z")

</div>

Actually, I just remembered, I have two 3.5mm headphone jacks on my laptop, which is great. However, I have no idea how to configure foobar and vlc to use a specific jack. Any suggestions?

---

<div class="post-metadata">

### Author: ![pone](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pone/32/272_2.png) [@pone](https://community.mp3tag.de/u/pone)
#### Post date: [October 4, 2011, 8:00pm UTC](https://community.mp3tag.de/t/foo-run-for-running-another-media-player/12565/5 "2011-10-04T20:00:44Z")

</div>

> [@Zarty](#):
>
> Thank you for that. Your instructions were very clear and I got it all working. Much appreciated. Now I have to figure out what I need to do to get VLC to output to headphones while foobar is playing to speakers. If I bought a set of USB headphones, how could I configure VLC to you that output?
> 
> Thanks again,  
> Zarty

Go to **Tools \> Preferences** and select **all** at **Show settings** at the down left corner.  
Then go to **Audio \> Output modules \> Direct X** and select your USB headphones at **Output device**.

EDIT:  
for the two headphone jacks, maybe also there when the belong to two soundcards.

In foobar it's **File \> Preferences \> Playback \> Output** where you can select a soundcard at **Device**.

---

<div class="post-metadata">

### Author: ![Zarty](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/z/e5b9ba/32.png) [@Zarty](https://community.mp3tag.de/u/Zarty)
#### Post date: [October 4, 2011, 8:23pm UTC](https://community.mp3tag.de/t/foo-run-for-running-another-media-player/12565/6 "2011-10-04T20:23:58Z")

</div>

Thank you again! I haven't got the sound output working separately yet because although I can see two entries 'independent duel headphones', I can't make them act independently with only foobar on one and vlc on the other. It would probably work if I bought a set of usb headphones I guess.

Zarty

---

<div class="post-metadata">

### Author: ![pone](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pone/32/272_2.png) [@pone](https://community.mp3tag.de/u/pone)
#### Post date: [October 4, 2011, 8:42pm UTC](https://community.mp3tag.de/t/foo-run-for-running-another-media-player/12565/7 "2011-10-04T20:42:33Z")

</div>

So i guess they belong to one sound card. I don't know, maybe the soundcard itself has settings where you can do this.

I have a very cheap usb-3.5mm audio adapter, which has the size of a usb stick and seems to function as a external soundcard. For this it works like I have described above.
