Skip to main content
Topic: Commandline issues. (Read 4661 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Commandline issues.

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
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
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.

Commandline issues.

Reply #1
Why not post the command you are running? That may help us.

Are you surrounding the path to the file in quotes?
I'm on a horse.

Commandline issues.

Reply #2
Everything is set to the defaults.

Commandline issues.

Reply #3
Ug?

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

Code: [Select]
foobar2000.exe /add "C:\Path\With Spaces\file.mp3"


Notice the double quotes.
I'm on a horse.

Commandline issues.

Reply #4
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...

Commandline issues.

Reply #5
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.

Commandline issues.

Reply #6
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.
If age or weaknes doe prohibyte bloudletting you must use boxing

Commandline issues.

Reply #7
I believe he is using the explorer right-click context menu to try and add items... not typing the command line.
 
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.

I'll just go back to the Lossless forum where I belong...
I'm on a horse.

Commandline issues.

Reply #8
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
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"

Commandline issues.

Reply #9
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: [Select]
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?
If age or weaknes doe prohibyte bloudletting you must use boxing

Commandline issues.

Reply #10
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!

Commandline issues.

Reply #11
I'm glad it was helpfull.

Cheers!
If age or weaknes doe prohibyte bloudletting you must use boxing

Commandline issues.

Reply #12
Code: [Select]
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?

Commandline issues.

Reply #13
I'm not sure if that's possible...
If age or weaknes doe prohibyte bloudletting you must use boxing

Commandline issues.

Reply #14
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:



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


 
SimplePortal 1.0.0 RC1 © 2008-2020