Help - Search - Members - Calendar
Full Version: Component (or Feature) Request: Now Playing
Hydrogenaudio Forums > Hosted Forums > foobar2000 > General - (fb2k)
Ricky12369
So, I've been trying fb2k, and I like it so far. Right now I'm using winamp 2, and what's keeping me there is this plugin: http://drpizza.arsware.org/nowplaying/
it outputs the currently playing song to a text file (useful for apps like coolmon and samurize) and it lets you assign hotkeys that work outside the program (WIN+X for play, for example). If someone brought something like this over to fb2k, I'd switch in a heartbeat. biggrin.gif
ancl
Assign global hotkeys is already included in fb2k ("preferences->keyboard shortcuts").
Just tick the "global hotkey" checkbox and assign a key...
ParticleMan
Speaking of feature requests, what does everyone think of this suggestion : an external application that uses parameters to control foobar2000, e.g. "fbcontrol.exe /play", "fbcontrol.exe /next", etc. This would be great for those of us with weird multimedia keyboards whose extra keys send out a weird combination of keycodes and are therefore not aided by the global hotkeys option. Could also be used by other apps like mIRC, etc. Just a thought.

P.S. LOVE this program - it's quality beats everything out there AND it's easy on system resources - what a winning combination!
ancl
QUOTE(ParticleMan @ Jan 9 2003 - 04:29 PM)
Speaking of feature requests, what does everyone think of this suggestion : an external application that uses parameters to control foobar2000, e.g. "fbcontrol.exe /play", "fbcontrol.exe /next", etc. This would be great for those of us with weird multimedia keyboards whose extra keys send out a weird combination of keycodes and are therefore not aided by the global hotkeys option. Could also be used by other apps like mIRC, etc. Just a thought.

From foobar2000 changelog...
CODE
0.37:
- "previous" button.
- Case added FLAC metadata writing
- new commandline switches: /stop /play /next /prev /playpause /pause /hide /show
- component banlist

Foobar can do what you want without a "control program".
Ricky12369
I know it's got global hotkey ability, what I really want is to be able to use the WIN key as a modifier, instead of just CTRL & ALT. That, and the ability to output the currently playing song title to a text file. B)
phes
Write a plugin wink.gif
Ricky12369
Well, I was hoping someone else would do it wink.gif

If I ever have time, and it doesn't get done, maybe I'll have to write it myself. tongue.gif
anza
So nobody has yet made a script for fb2k that generates a text file with the "now playing" info? I would SOO much like to see this, as it would make me forget about Winamp completely..
russ
I started to do it, but unfortunately I'm really busy and any development I'm doing is for winamp3 at the moment - I go where the money is. If nobody else does it I might, but don't expect anything soon.
Bojan
the hotkeys part of your request is kind of possible (no vol. control and no seeking) without a plugin: get hoekey and stick this:
CODE

[foobar2000]
~Z=Msg|FOOBAR2000_CLASS|273|40051 ;windows+Z=Previous
~X=Msg|FOOBAR2000_CLASS|273|40009 ;windows+X=Play
~C=Msg|FOOBAR2000_CLASS|273|40044 ;windows+C=Pause
~V=Msg|FOOBAR2000_CLASS|273|40010 ;windows+V=Stop
~_V=Msg|FOOBAR2000_CLASS|273|40045 ;windows+SHIFT+V=Stop after current song
~B=Msg|FOOBAR2000_CLASS|273|40011 ;windows+B=Next song
~115=Msg|FOOBAR2000_CLASS|273|40008 ;windows+F4=Exit foobar2000
~^P=FocusMsg|FOOBAR2000_CLASS|273|40007 ;windows+CTRL+P=Preferences
~^F=FocusMsg|FOOBAR2000_CLASS|273|40040 ;windows+CTRL+F=playlist search

in the hoekey.ini

beware: win+B is used by explorer in windows XP to get to systray (i have all explorer win+* hotkeys disabled with tweakui to avoid such conflicts)
stripe
do you know the commands for:
shuffle
play/pause
restore/focus
?

stripe
Bojan
shuffle:40014

edit:
you edited your message so...

i don't know the message for play/pause, but i guess you can do it via the command line
CODE
~32=Run|"C:\Program Files\foobar2000\foobar2000.exe" /playpause;win+space=playpause

not sure about the switch, it's probably not right. search the forum it's there.

same for focus, just do it without any switches.
Artemis3
"Win" key is simply keys Control+Esc pressed together. Have fun, i don't like it.
musicmusic
QUOTE(Artemis3 @ Jan 29 2003 - 11:12 PM)
"Win" key is simply keys Control+Esc pressed together. Have fun, i don't like it.

Whilst when pressed alone they will call up the start menu, they are not the same..
kode54
QUOTE(Artemis3 @ Jan 29 2003 - 03:12 PM)
"Win" key is simply keys Control+Esc pressed together. Have fun, i don't like it.

The logo keys as well as the menu key have their own unique scan codes. Control+Escape do not work together with logo key shortcuts.
stripe
Does anyone know the MSG code for random? Since there is no "/random" command line switch, the MSG code is the only way to set up Hoekey to advance randomly.

stripe
leland
Wanted to bump this back up to ask two questions on the windows shortcut keys...After disabling all my win + keys through tweakui, I realize that I really miss two of them, but don't know how to replicate them through hoekey.

Does anyone know the syntax to get the functionality back for win+r and win+m?

win+r = run dialog box

win+m = minimize all/show desktop (Just had a thought...I could have it run the show desktop shortcut in my quick launch toolbar...)

One more question,

What would the syntax I need to use for show/hide of the fb2k screen?
rejj
QUOTE(Bojan @ Jan 30 2003 - 08:27 AM)
[CODE]
[foobar2000]
~Z=Msg|FOOBAR2000_CLASS|273|40051 ;windows+Z=Previous

Are these Msg codes documented anywhere?

stripe: foobar2000.exe /rand
Spadge
Up until foobar 2000 v0.586 the plugin foo_textinfo would output a text file that samurize could use. Doesn't work on the 0.6 though.
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.