Toaster for Fb2k, The port of the Winamp Toaster plugin |
![]() ![]() |
Toaster for Fb2k, The port of the Winamp Toaster plugin |
Mar 15 2005, 02:08
Post
#101
|
|
|
Group: Members Posts: 93 Joined: 11-November 04 Member No.: 18068 |
Yes it would require quite a lot of effort. gdiplus on my system is already loaded by explorer.exe, msnmsgr.exe and outlook.exe so it doesnt actually use any extra memory or diskspace. This is using XP however. You can use listdlls -d gdiplus.dll from sysinternals or some other process explorer to see.
If I were to not use gdiplus.dll, I would have to write my own .jpg/.gif/.png loading and alpha belnding code etc, which would be just re-inventing gdiplus.dll. The difference being it probably wouldnt be as good, and wouldnt be shared in memory amongst other applications. So it makes a lot of sense to use gdiplus actually. This post has been edited by shaneh: Mar 15 2005, 03:20 -------------------- [url=http://www.myplugins.info/]Music Plugins[/url]
|
|
|
|
Mar 16 2005, 04:04
Post
#102
|
|
![]() Group: Members Posts: 271 Joined: 26-October 03 From: Seattle, WA, USA Member No.: 9461 |
It seems toaster is stripping off a leading ' and tailing ' from one of my lines when I close foobar, resulting in a syntax error.
here is what I was using: '['$progress(%_time_elapsed_seconds%, %_time_total_seconds%, 20,'|','.')']' $muldiv(%_time_elapsed_seconds%,100,%_time_total_seconds%)'%' |
|
|
|
Mar 16 2005, 06:22
Post
#103
|
|
|
Group: Members Posts: 93 Joined: 11-November 04 Member No.: 18068 |
Yes I think this has been covered before in this thread. (or maybe another)
Anyway, its to do with the .ini loading/saving. Prefix and suffix your strings with [] to avoid the problem. ie. []'('%year%')'[] -------------------- [url=http://www.myplugins.info/]Music Plugins[/url]
|
|
|
|
Mar 16 2005, 07:31
Post
#104
|
|
|
Group: Members Posts: 101 Joined: 23-November 04 Member No.: 18278 |
QUOTE (shaneh @ Mar 16 2005, 01:22 PM) Yes I think this has been covered before in this thread. (or maybe another) Anyway, its to do with the .ini loading/saving. Prefix and suffix your strings with [] to avoid the problem. ie. []'('%year%')'[] @shaneh: What's the different between the string in formatting and MSN Title/Artist? The code works in the formatting not working in the MSN Title/Artist field. Besides. If I use more than 3 $if(*,*,*) in the MSN Title/Artist, it always return syntax error on MSN messenger. Would you able to make the MSN Title/Artist field works as display formatting? Thanks. |
|
|
|
Mar 16 2005, 09:13
Post
#105
|
|
![]() Group: Members Posts: 271 Joined: 26-October 03 From: Seattle, WA, USA Member No.: 9461 |
|
|
|
|
Mar 17 2005, 02:21
Post
#106
|
|
|
Group: Members Posts: 93 Joined: 11-November 04 Member No.: 18068 |
@waileongyeo:
The MSN formatting doesnt use the playlist to do the formatting, so things like %elapsed_time% etc wont work. This is to be expected, as you dont want this changing every second. The reason you are having trouble with the $if's is because you are probably going over the 100 char limit. -------------------- [url=http://www.myplugins.info/]Music Plugins[/url]
|
|
|
|
Mar 17 2005, 04:39
Post
#107
|
|
|
Group: Members Posts: 101 Joined: 23-November 04 Member No.: 18278 |
QUOTE (shaneh @ Mar 17 2005, 09:21 AM) @waileongyeo: The MSN formatting doesnt use the playlist to do the formatting, so things like %elapsed_time% etc wont work. This is to be expected, as you dont want this changing every second. The reason you are having trouble with the $if's is because you are probably going over the 100 char limit. Thanks for your reply. I didn't use %elapsed_time% and I did notice that MSN will only be updated when there is change of now playing song (may be pause and resume also). Texts I get are the general (static) expression of %artist% %date% %title%... 100 chars limit for the "format strings" for MSN title/artist? Or it's the limit if MSN to display 100 chars. If the limit is the "format strings", it then make sense if my formatting string is more that 100 char and that's why a syntax error returned in MSN messenger. However, this doesn't occur in the display of toaster. So I guess the limitation of 100 chars is the limit for the display of MSN title. Right? |
|
|
|
Mar 19 2005, 20:21
Post
#108
|
|
![]() Group: Members Posts: 153 Joined: 5-March 05 Member No.: 20385 |
The plugin is great, but it does not remember the settings for me. I have to import my preset each time I run foobar2000 and that"s not too convenient. The preset combo box on the first tab of configuration dialog seems to be broken completely, only Export / Import seem to be working.. I guess that's simply because it's not finished yet, but nobody complained about needing to re-import the preset each time, so it might be just my problem...
So does toaster support storing the settings across sessions? Where does it store it, so I could have a look and maybe figure out what's wrong ? |
|
|
|
Mar 20 2005, 01:54
Post
#109
|
|
|
Group: Members Posts: 93 Joined: 11-November 04 Member No.: 18068 |
@waileongyeo: Yes the 100 char limit is the limit for the msn text box, not what gets sent to messenger. ie, %title% could expand to 200 characters and it should still be ok. I will make it a bit bigger later on. Unfortuantly there needs to be some kind of limit, because the .ini loading/saving requires a fixed buffer. If/When I eventually use fb2ks config saving/loading this problem will probably be resolved.
@Quiark: The settings should save across sessions fine. Perhaps you are loading the presets incorrectly, it is admittedly a bit of an awkward process. Choose the preset you want from the drop down list, then click "Load Preset", then click "Apply". You can then configure it how you want, and click "Apply" to save the setting to that named preset. Clicking "Apply" will always overwrite the named preset with the current settings, so be sure to click "Load preset" first, unless you want to overwrite it with whatever the current settings are. The settings are stored in "Toaster.ini" in whatever directory Fb2k specifies is the profile directory (typically just the main application directory). Perhaps you are running as non-admin and dont have permissions to that file? There should be some means to specify the profile directory in fb2k if thats the problem. This post has been edited by shaneh: Mar 20 2005, 01:55 -------------------- [url=http://www.myplugins.info/]Music Plugins[/url]
|
|
|
|
Mar 20 2005, 13:02
Post
#110
|
|
![]() Group: Members Posts: 153 Joined: 5-March 05 Member No.: 20385 |
Hmm.. it does not work... My user account has the all administrator priviledges (I'm a member of the Administrators group) and I've checked that I'm able to create a file both in foobar's directory and the Profile\Application Data\foobar2000 directory. However the plugin is for some reason unable to create the file, I haven't found a file called toaster.ini anywhere on my disk drive. I was trying everything to get more than one thing into the combo box, but there is always only one preset. And each time I click the Load preset button, some default preset (Winamp skin, small letters, centered, fading slowly and such) is loaded even if I had imported a preset before and said that I want the current preset to be overwritten... It may be caused by the fact that I haven't installed foobar, but just copied it from another computer.. If you are planning to store the settings using foobar's internal routines soon it would be probably better solution... |
|
|
|
Mar 20 2005, 20:56
Post
#111
|
|
![]() Group: Members Posts: 118 Joined: 4-March 05 Member No.: 20344 |
I had that problem because foobar was located in a directory using Spanish caracters (ñ, etc.), I removed it (turned the ñ to n, etc.) and everything works well now.
|
|
|
|
Mar 20 2005, 21:24
Post
#112
|
|
![]() Group: Members Posts: 153 Joined: 5-March 05 Member No.: 20385 |
QUOTE (Superunknown @ Mar 20 2005, 08:56 PM) I had that problem because foobar was located in a directory using Spanish caracters (ñ, etc.), I removed it (turned the ñ to n, etc.) and everything works well now. Well I've got a Czech version of WinXP so the name of the Application Data directory in Czech is Data Aplikací so this might be the problem... Now whose problem this is? foobar's or toaster's ? |
|
|
|
Mar 20 2005, 23:06
Post
#113
|
|
|
Group: Members Posts: 12 Joined: 18-April 04 Member No.: 13589 |
Ok i feel kinda stupid asking this, but I can't install the Toaster.exe... I copied the foobar plugin to components folder, but I just can't click on the 'Install' button... Do I have to install Winamp for this?
Thanx |
|
|
|
Mar 21 2005, 00:53
Post
#114
|
|
|
Group: Members Posts: 93 Joined: 11-November 04 Member No.: 18068 |
@Quiark: I suspected that may be the case. This is an issue with Toaster not handling unicode characters in the config path. I assumed Windows wouldnt be that silly in having the Program Files directory or other standard directories have unicode characters, as its just asking to break programs that don't support unicode properly. I will try fix it up, I kinda suspected it would be a problem for someone eventually
@sOid: No, you need to get the foobar2000 version. It is a .rar file with a foo_toaster.dll file in it. Place hte dll in your components directory. You are trying to install the winamp version. Visit http://www.myplugins.info and get the fb2k version. This post has been edited by shaneh: Mar 21 2005, 00:53 -------------------- [url=http://www.myplugins.info/]Music Plugins[/url]
|
|
|
|
Mar 26 2005, 07:32
Post
#115
|
|
|
Group: Members Posts: 1 Joined: 26-March 05 Member No.: 20952 |
i can't save settings cause my foobar is in D:\工具软件\媒体工具\foobar2000
Can it support chinese characters next vertion? |
|
|
|
Mar 26 2005, 11:33
Post
#116
|
|
![]() Group: Members Posts: 118 Joined: 4-March 05 Member No.: 20344 |
right, it don't support special caracters in foobar directory
|
|
|
|
Mar 29 2005, 19:12
Post
#117
|
|
|
Group: Members Posts: 11 Joined: 16-December 04 Member No.: 18707 |
Is it possible to change the color of the text? I have been playing around and haven't figured that out yet. Change color of text shadow/outline, yes, but not the text itself.
|
|
|
|
Mar 29 2005, 19:24
Post
#118
|
|
![]() Group: Members Posts: 599 Joined: 9-October 03 From: ZZ 9 Plural Z Alpha Member No.: 9230 |
Hit "Forecolour" on the "Skins" tab in the Toaster configs.
-------------------- Life is Real...
(But not in audio :) ) |
|
|
|
Mar 30 2005, 04:21
Post
#119
|
|
|
Group: Members Posts: 11 Joined: 16-December 04 Member No.: 18707 |
Silly me, I thought that was coloring for the skin. Thanks.
|
|
|
|
Apr 8 2005, 18:18
Post
#120
|
|
|
Group: Members Posts: 24 Joined: 19-March 02 Member No.: 1564 |
If there is any Unicode character in "MSN Format" field, the whole thing doesn't show up in MSN at all. (But if the file tags themselves contain Unicode characters, they display correctly, so this should be a foo_toaster problem not a MSN problem.)
|
|
|
|
Apr 13 2005, 18:15
Post
#121
|
|
![]() Group: Members Posts: 31 Joined: 31-January 05 Member No.: 19497 |
how to configure this plugin ?
works ok, but I want to configure it. thanks |
|
|
|
Apr 13 2005, 18:51
Post
#122
|
|
![]() Group: Members Posts: 60 Joined: 7-December 03 From: France Member No.: 10258 |
Components menu->Toater->configure Toaster.
|
|
|
|
Apr 13 2005, 20:50
Post
#123
|
|
![]() Group: Members Posts: 31 Joined: 31-January 05 Member No.: 19497 |
|
|
|
|
Apr 13 2005, 21:41
Post
#124
|
|
![]() Group: Members Posts: 271 Joined: 26-October 03 From: Seattle, WA, USA Member No.: 9461 |
This config is here:
|
|
|
|
Apr 13 2005, 23:17
Post
#125
|
|
![]() Group: Members Posts: 31 Joined: 31-January 05 Member No.: 19497 |
ohh cool.. thanks..
i can see now! |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 18th May 2013 - 14:23 |