Help - Search - Members - Calendar
Full Version: Commandline issues.
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Support - (fb2k)
ACardiganAndAFrown
I'm having a problem in adding tracks from explorer, but specifically only tracks that have a space somewhere in their path name.

For instance "C:\--music--\Jens Lekman - Night Falls Over Kortedala\12 Friday Night At The Drive-In Bing.mp3"
returns two errors, first being:

QUOTE(foobar)
Unable to open item for playback (Unsupported file format):
"C:\--music--\Jens Lekman - Night Falls Over Kortedala\At"

Unable to open item for playback (Object not found):
"C:\--music--\Jens Lekman - Night Falls Over Kortedala\Bing.mp3"

Unable to open item for playback (Unsupported file format):
"C:\--music--\Jens Lekman - Night Falls Over Kortedala\Drive-In"

Unable to open item for playback (Unsupported file format):
"C:\--music--\Jens Lekman - Night Falls Over Kortedala\Falls"

Unable to open item for playback (Unsupported file format):
"C:\--music--\Jens Lekman - Night Falls Over Kortedala\Friday"

Unable to open item for playback (Unsupported file format):
"C:\--music--\Jens Lekman - Night Falls Over Kortedala\Kortedala\12"

Unable to open item for playback (Unsupported file format):
"C:\--music--\Jens Lekman - Night Falls Over Kortedala\Lekman"

Unable to open item for playback (Unsupported file format):
"C:\--music--\Jens Lekman - Night Falls Over Kortedala\Night"

Unable to open item for playback (Unsupported file format):
"C:\--music--\Jens Lekman - Night Falls Over Kortedala\Over"

Unable to open item for playback (Unsupported file format):
"C:\--music--\Jens Lekman - Night Falls Over Kortedala\The"

Unable to open item for playback (Unsupported file format):
"C:\--music--\Jens"


the second being:

QUOTE(foobar)
unknown commandline parameter: -


Dragging the files into foobar works perfectly with no problems.

I've already tried uninstalling everything and loading a new version but that hasn't worked....a little help please?

oh and...files with pathnames that have no spaces work perfectly fine.
Synthetic Soul
Why not post the command you are running? That may help us.

Are you surrounding the path to the file in quotes?
ACardiganAndAFrown
Everything is set to the defaults.
Synthetic Soul
Ug?

OK, I'll try again. To add files with spaces in their path use the format:

CODE
foobar2000.exe /add "C:\Path\With Spaces\file.mp3"


Notice the double quotes.
rosshmusic
I believe he is using the explorer right-click context menu to try and add items... not typing the command line.

but trying it with the command line the SS put could help see if it works and is just a context menu issue...
ACardiganAndAFrown
Synthetic Soul, that worked absolutely fine but rosshmusic is right. I'm using windows explorer and double-clicking and/or right clicking 'open with...' that's giving me these errors.
eevan
Sounds like filetype registrations got messed up. Maybe this will help. In the Preferences dialog of the foobar, go to the File types. Click Disassociate All. Then check the filetypes you want and click Save All.
Synthetic Soul
QUOTE(rosshmusic @ Aug 15 2007, 15:45) *
I believe he is using the explorer right-click context menu to try and add items... not typing the command line.
QUOTE(ACardiganAndAFrown @ Aug 15 2007, 16:08) *
Synthetic Soul, that worked absolutely fine but rosshmusic is right. I'm using windows explorer and double-clicking and/or right clicking 'open with...' that's giving me these errors.
Sorry. blush.gif

I'll just go back to the Lossless forum where I belong... unsure.gif
ACardiganAndAFrown
eevan, I tried what you said, it didn't really do anything...this is the other error it gives me. this is for:

F:\My Music\Elliott Smith\EitherOr\12-elliott_smith-say_yes-iro.mp3


QUOTE(foobar)
Unable to open item for playback (Unsupported file format):
"F:\My Music\Elliott Smith\EitherOr\Music\Elliott"

Unable to open item for playback (Object not found):
"F:\My Music\Elliott Smith\EitherOr\Smith\EitherOr\12-elliott_smith-say_yes-iro.mp3"

Unable to open item for playback (Unsupported file format):
"F:\My"
eevan
Ok. Let see how's your mp3 type registered in Windows. Here is mine, so you can compare. Something is wrong with filename passing.

I have two actions registered for mp3. Enqueue in foobar2000 and Play in foobar2000. These are the parameters for enqueue:

CODE
Action: Enqueue in foobar2000
Application used to perform action: "C:\Program Files\foobar2000\foobar2000.exe" /add "%1"
Use DDE is checked
DDE Message: empty
Aplication: foobar2000
DDE Application Not Running: empty
Topic: System


Play action doesn't have /add in the command line. Everything else is the same.

Do you have similar problems with other programs or just with foobar?
ACardiganAndAFrown
Hey dude, I just restored my mp3 thing and everything is now hunky-doory! It seems it was a combination of the first -- idea, dissassociation-reassociation! and then the restoring mp3 to it's normal.

cheers! so much. you have no idea how much this helps, with everything! biggrin.gif
eevan
I'm glad it was helpfull.

Cheers!
TheBlakester
QUOTE(eevan @ Aug 15 2007, 15:07) *

CODE
Action: Enqueue in foobar2000
Application used to perform action: "C:\Program Files\foobar2000\foobar2000.exe" /add "%1"
Use DDE is checked
DDE Message: empty
Aplication: foobar2000
DDE Application Not Running: empty
Topic: System


Play action doesn't have /add in the command line. Everything else is the same.

Sorry to hijack the thread, but what would be the command line for foobar to both enqueue the song to the current playlist AND play it?
eevan
I'm not sure if that's possible...
revan17
I have a similar question. This is the situation: My default audio player is Winamp, because most of my family is used to it and I can't convince them to change.

Anyway I navigate my media via the windows explorer and when I right click a file I don't have foobar's context menus, because the filetypes are all associated with winamp, I have to go to "open with" and that works fine with a single file. However if I select multiple files and right click "open with" only one file will be loaded into foobar...I don't understand why.

To better describe the situation, here's a screenshot:

IPB Image

In this case, only track 4 would be loaded into foobar, not all 3.

I found a way around it and that's right clicking a whole directory and selecting "play in foobar" from the context menu. However sometimes that's not enough, mainly when I want to select only a few files and not all of them. Is there something I don't know?

Thanks
kjoonlee
QUOTE(TheBlakester @ Aug 19 2007, 10:07) *
Sorry to hijack the thread, but what would be the command line for foobar to both enqueue the song to the current playlist AND play it?

It's been requested before but hasn't been implemented.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.