Help - Search - Members - Calendar
Full Version: now playing..
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
bsn
is there any plugin which can send the name and artist of the song playing to your webserver, via ftp or something?

if so, could you tell me,t hanks
Moneo
Text writer component will export it to a text file, then you can use other tools to upload it to your web server.
YinYang
I've had it work with foo-text (for previous entries) in combinaton with foo_ampiwrapper and curl.

BTW does a FTP login (Curl) during each song not put a certain stress on the server?
Overdo
i have done this on my website using the Textwriter plugin and then integrated it into the website by some simple php. I use a program called WebDrive to map the FTP to windows, and then the Textwriter plugin is able to upload the file itself.

Example
bogsnarth
there's a plugin called Listento that does exactly what you want.. it lets you link to a dynamically updated image that displays info to your specifications.. the image can range from simple text to a graphic made to look like a winamp skin and many other themes..


http://www.listen-to.com

you'll have to sign up (free), then download the codec for foobar.. it's outdated but it has continued to work for me.. also, there was an error in the instructions when i downloaded it (not sure if they've fixed it, but i did draw their attention to it) and i had to search alot to find the correct submission info for the plugin.. so to save you the hassle, here it is wink.gif

submission site url: www.listen-to.com
port: 80
path to submission page: /postmp3.php
service to use: Listen-to
submit string:
CODE
USER=$USER&TITLE=$TITLE&ARTIST=$ARTIST&LENGTH=$LENGTH&PASS=$PASS&YEAR=$YEAR&GENRE=$GENRE&ALBUM=$ALBUM


(this is the info you enter on the Dynamic Image Update page that will appear in the preferences dialog)


i've noticed that this plugin can cause foobar to lock up for about 30 seconds on track change.. this tends to happen only during peak usage hours, in my experience, and as long as you don't try to do anything right after a track change it's never noticeable.. wink.gif

hope that helps

peace,
bogsnarth
CrazyCoder
AMIP: http://amip.tools-for.net/config/dl.php?fi...p_foobar07b.zip

+

AMIPDS (AMIP Dynamic Signature Package): http://amip.tools-for.net/index.php?conten...file=amipds.zip

=

user posted image

For more info see readme file bundled with AMIPDS and AMIP help | Web Integration.
ludox
Thank you Crazy Coder ! cool.gif

user posted image

Your plugin works very well, even if it's a little difficult to configure.


Edit: Why mine is blur ?
And could it be possible to write "foobar2000 is stopped" on the dynamic signature when I close foobar ?
CrazyCoder
QUOTE(ludox @ Jun 13 2004, 12:04 AM)
Edit: Why mine is blur ?
And could it be possible to write "foobar2000 is stopped" on the dynamic signature when I close foobar ?

Make sure that quality is set to 100 in the config.

You can update signature on player exit event. This will probably require some rewriting of php code, however you can simply try to set song title to "not playing" by passing such parameter to the script on Exit event.

See AMIP Configurator Callbacks/Web settings.
kalmark
This works perfectly well! Thank you CrazyCoder!
ludox
Ok thank you again. Now my signature shows "...Rien du tout pour l'instant!"
when I stop or close foobar and I haven't had to rewrite signature.php smile.gif .

But in my signature, quality was already set to 100 and it's still blur. sad.gif
And how can you activate the 'ago' fonction? It doesn't work with my signature and I set $config['ago'] = true;

The php signature I use is dated to 28 Jun 2003.
CrazyCoder
ludox, ago function will work only when dynamic mode is enabled, it should be documented somewhere in the script.

Please send your signature.php to coder at tools-for dot net and I'll check what may be wrong. Please also specify PHP and GD versions installed on the server.

Edit: it seems you are using .jpg image, try to use .png instead.
Hidea
Is there a plugin that do this without having to connect to a site? so

foobar ----> MSN or MSN Plus!
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.