Shoutbox

Foobar Now Playing V1.52! - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Forum: Plug-Ins (/forumdisplay.php?fid=28)
+------ Thread: Foobar Now Playing V1.52! (/showthread.php?tid=24386)

Foobar Now Playing V1.52! by wipey on 04-27-2004 at 09:39 PM

Just an update to my foobar plugin, updated for the latest version of foobar:)
Nothing changed except for an entire recode8-) I lost the original source lol and it now looks prettier:p

Try it out and let me know what you think:)

Oh and for anyone who doesn't know what this plugin does, it's just a basic NowPlaying plugin for Foobar (music player):)


RE: Foobar Now Playing V1.51! by Neksus on 04-28-2004 at 08:09 AM

I can't make it work!
I ran the installer and rebooted!

But when writing /xfbs it just says
Sorry, this command is not recognized.

Using Plus! Menu announce current song it says
No song is being played

These give no output:
(!XFBA)(!XFBT)(!XFBAL)(!XFBTN)

--
Neksus


RE: Foobar Now Playing V1.51! by wipey on 04-28-2004 at 09:28 AM

lol well first of all the command is /xfbsong (sorry I changed it lol)
When I've been testing it it has done this and I'm not sure why.  If you change song it should work fine or atleast this fixed it for me on several occassions.


RE: RE: Foobar Now Playing V1.51! by Neksus on 04-28-2004 at 10:02 AM

quote:
Originally posted by wipey
lol well first of all the command is /xfbsong (sorry I changed it lol)
When I've been testing it it has done this and I'm not sure why.  If you change song it should work fine or atleast this fixed it for me on several occassions.


It still doesn't work!
And none off the (!xxxx) work!
They just send as text!!!

--
Neksus
RE: Foobar Now Playing V1.51! by wipey on 04-28-2004 at 10:08 AM

okay that's really weird lol, I'll try and sort it out later I gotta go to college now sorry:(


RE: Foobar Now Playing V1.51! by wipey on 04-28-2004 at 07:57 PM

okay could you give me a little more info so I can try and pinpoint what's going on?
What does the minimized foobar window's title say when a song is playing, as my plugin simply gets song info from that.  Whenever foobar simply says foobar 0.8.1 my plugin will report it as no song playing, and that's pretty much the only explanation I can give atm:(

edit:
The tags sending as text I've figured out, if the plugin doesn't recognise theres a song playing it will simply send the tags as they are typed, I'll fix that now:)


RE: RE: Foobar Now Playing V1.51! by Neksus on 04-28-2004 at 09:47 PM

quote:
Originally posted by wipey
okay could you give me a little more info so I can try and pinpoint what's going on?
What does the minimized foobar window's title say when a song is playing, as my plugin simply gets song info from that.  Whenever foobar simply says foobar 0.8.1 my plugin will report it as no song playing, and that's pretty much the only explanation I can give atm:(


My window's title says:
Artist - Title .::: Tracknumber :: Album :::.

I use Columns_UI could this be it?
http://members.lycos.co.uk/musicf/

--
Neksus
RE: RE: RE: Foobar Now Playing V1.51! by wipey on 04-28-2004 at 10:19 PM

quote:
Originally posted by Neksus
My window's title says:
Artist - Title .::: Tracknumber :: Album :::.


How does your window say that and not the ordinary
Artist - [Album #Trackno] Song
????
I fyou could explain that it would help an awful lot lol, that is why the plugin isn't working for you...although I might be able to make a fix:)
RE: RE: RE: RE: Foobar Now Playing V1.51! by Neksus on 04-28-2004 at 10:23 PM

quote:
Originally posted by wipey
How does your window say that and not the ordinary
Artist - [Album #Trackno] Song
????
I fyou could explain that it would help an awful lot lol, that is why the plugin isn't working for you...although I might be able to make a fix:)

I am a formatting string coder!
So I have coded my own window's title based on a person called upNorth's string:
code:
//**************************************
// Variables
//**************************************
$puts(symb_start,'.::: ')
$puts(symb_sep,' :: ')
$puts(symb_end,' :::.')
$puts(spacer_symb,' ')
$puts(spacer_width,5)
$puts(text_artist,[%artist%])
$puts(text_title,[%title%])
$puts(text_filename,[%_filename_ext%])
$puts(text_tracknumber,[$num(%tracknumber%,2)])
$puts(text_album,[%album%])
$puts(text_disc,['Disc '%disc%])
$puts(spacer,$repeat($get(spacer_symb),$get(spacer_width)))
//**************************************
// artist
//**************************************
$puts(artist,
$if($and(%artist%,%title%),
$get(text_artist)' - ',
$if(%artist%,$get(text_artist))))
//**************************************
// title
//**************************************
$puts(title,
$if(%title%,
$get(text_title),
$get(text_filename)))
//**************************************
// tracknumber
//**************************************
$puts(tracknumber,
$if(%tracknumber%,$get(symb_start)$get(text_tracknumber))
$if($or(%album%,%disc%),
$if(%tracknumber%,$get(symb_sep)),
$if(%tracknumber%,$get(symb_end))))
//**************************************
// album
//**************************************
$puts(album,
$if(%tracknumber%,,$if(%album%,$get(symb_start)))
$if(%album%,$get(text_album))
$if(%disc%,$if(%album%,$get(symb_sep)),$if(%album%,$get(symb_end))))
//**************************************
// disc
//**************************************
$puts(disc,
$if($or(%tracknumber%,%album%),
$if(%disc%,$get(text_disc)$get(symb_end)),
$if(%disc%,$get(symb_start)$get(text_disc)$get(symb_end))))
// Output
$get(artist)
$get(title)
$get(spacer)$get(tracknumber)
$get(album)
$get(disc)


RE: Foobar Now Playing V1.52! by wipey on 04-28-2004 at 10:39 PM

aww man lol I didn't see that option, I didn't know you could change the window title lol, oh well

for now my plugin will only work if you have the default window title format:

code:
[%artist% - ]$if(%title%,['['%album%[ #[%disc%/]$num(%tracknumber%,2)]'] ']%title%,%_filename_ext%)     '['%_foobar2000_version%']'

Pasting that into the main window title's box in preferences will give you the default back if you want to change it back for now.

I'll start updating my plugin as soon as I can but I can't promise anything:(
RE: RE: Foobar Now Playing V1.52! by Neksus on 04-28-2004 at 10:59 PM

quote:
Originally posted by wipey
aww man lol I didn't see that option, I didn't know you could change the window title lol, oh well

for now my plugin will only work if you have the default window title format:
code:
[%artist% - ]$if(%title%,['['%album%[ #[%disc%/]$num(%tracknumber%,2)]'] ']%title%,%_filename_ext%)     '['%_foobar2000_version%']'

Pasting that into the main window title's box in preferences will give you the default back if you want to change it back for now.

I'll start updating my plugin as soon as I can but I can't promise anything:(


Still doesn't work for me!
Maybe I am doing something wrong!

--
Neksus
RE: Foobar Now Playing V1.52! by Hidea on 06-06-2004 at 05:00 PM

maybe this willl work with


foobar's text writter plugin?

Compiled with 0.8.1 final sdk on 2004.04.14

A simple plugin to output a text file with info about current playing song

Example of uses:

    * Samurize
    * Coolmon
    * Making some sort of log
    * Some other odd things


RE: Foobar Now Playing V1.52! by Rev15ioN on 08-20-2004 at 07:59 AM

it seemed to stop working for me when i put on columsUI, so i had to go back to the crappy foo_winamp_spam, i really like this plugin so it would be nice for it to be fully working


RE: Foobar Now Playing V1.52! by wipey on 09-01-2004 at 10:15 PM

okay sorry it's been a long wait, my comp really badly broke down lol I had to buy a new one, athlon 64(h) anyways...I'll try and sort this plugin out sometime soon!  It looks like the diskwriter plugin's a good idea but really I'd like to make it work without it, but I'll have a look into it:)


RE: Foobar Now Playing V1.52! by Hidea on 09-12-2004 at 03:47 PM

any update on this one?


RE: Foobar Now Playing V1.52! by wouterwouter2 on 09-19-2004 at 08:16 PM

it still works for me but i have another request :P
my foobartext.txt file now looks like:
/nick [Woußer] -  %Artist, %Title, %Album
so when i say /xfbsong my nick changes to song and stuff.
but now people must manually say that if they want it in their nick. so i thought, maybe you can make a function that when foobar changes song (mayby through foobartextwriter) the plugin automatically says /xfbsong.

well, tia,

Woußer

ps. it's like Wouter's plugin for winamp..


RE: Foobar Now Playing V1.52! by Hidea on 09-19-2004 at 10:34 PM

do note that I am using Columns UI, so are many others.... I think the solution using textwriter plugin is the best way to make FNP to work properly with any Foobar UI extensions.


RE: Foobar Now Playing V1.52! by wipey on 09-21-2004 at 07:14 PM

okay lol, so basically you want a function which lets you put your current song in your name?:p
I'm going to have to completely rewrite this plugin lol sorry about the long wait (I really am lol) I've finally got my athlon64 and have everything back to normal (well sorta) so I'll start on this now!

Any other features people would like?
I'm thinking of adding a simple multi-user support thing, so depending on who signed in there could be different settings?


RE: Foobar Now Playing V1.52! by Hidea on 09-21-2004 at 07:25 PM

I still like the old feature... the classic old "/me is playing" or whatever...


but having current song in name would be nice....


RE: Foobar Now Playing V1.52! by wipey on 09-21-2004 at 08:45 PM

thing about puttin the current song in name is, I'm not sure how to do it*-)


RE: Foobar Now Playing V1.52! by Hidea on 09-22-2004 at 11:42 PM

THat's fine :D the original feature is good enough :D


RE: Foobar Now Playing V1.52! by Hidea on 09-26-2004 at 12:06 AM

any updates?


RE: Foobar Now Playing V1.52! by wipey on 09-26-2004 at 06:36 PM

having a few hitches lol, I'm recoding it again (it's only a small plugin to code so don't worry) and it's not loading for some reason:( will sort it soon, probs just me being dumb8-)


RE: Foobar Now Playing V1.52! by Hidea on 09-27-2004 at 09:02 PM

YAY! :) I hope you can work it around!! :D BTW, did you look at the text writter plugin?


RE: Foobar Now Playing V1.52! by wipey on 09-27-2004 at 09:20 PM

yea I'm going to use it instead of using the window title:)


RE: Foobar Now Playing V1.52! by Pr0xY on 09-28-2004 at 04:12 AM

I like it, thanks... and keep up the good work (which means dont forget to undate it). 


RE: Foobar Now Playing V1.52! by Hidea on 10-01-2004 at 04:49 PM

anything Wipey?


RE: Foobar Now Playing V1.52! by Hidea on 10-27-2004 at 06:49 PM

this ain't happening?


RE: Foobar Now Playing V1.52! by wouterwouter2 on 11-08-2004 at 04:10 PM

anything yet?


RE: Foobar Now Playing V1.52! by webwarp on 12-10-2004 at 03:59 PM

HTH is it that I Should use the plugin ..??? I have installed... an nothing more happens ??
where should I enable and config ??

What are the commands..
HOW DO I USE IT???