thedmd / pianobar-windows

Port of pianobar - console based pandora.com player
Other
111 stars 12 forks source link

config file not found #7

Closed sertsa closed 10 years ago

sertsa commented 10 years ago

If pianobar is in users path and started while not in the binary location, the config file is not found.

pianobar.exe and pianobar.cfg are in c:\bin, c:\bin is in the path

If I open a command prompt and current directory is c:\users\USER and type pianobar I am prompted for email, etc. If I cd to c:\bin then type pianobar the config file is seen and login info in config file is used.

Win7 x64, latest pianobar binary from github.com/thedmd/pianobar-windows-binaries

thedmd commented 10 years ago

I see. You want pianobar to always look for configuration file in directory where program is located. Am I right?

sertsa commented 10 years ago

Readme states "configuration file reside next to executable and it's named pianobar.cfg", which implies to me that it will look for config file in same location as exe. Is this an error on my part?

Regardless this would be more useful than current behavior.

thedmd commented 10 years ago

I will fix that.

thedmd commented 10 years ago

Fixed. New build is available.