Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: [crashware] foo_popupplus (Read 503985 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[crashware] foo_popupplus

Reply #100
copy & paste of unicode symbols to the formatting field does not work.
if i add the star symbols from arial unicode ms to the editing field and press "save all" they are replaced by questionmarks.

i am using the latest version of everything....

[crashware] foo_popupplus

Reply #101
Quote
Reason: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem

For original popupplus (not for debug dll??) you need install vcredist_x86, then popupplus will work, but no warranty about avatars. This component no depend only from GDI... On clean install WinXP and clean install Foobar it don't work. Maybe it needs Miranda? I don't use Miranda...


Yes it is true, that you need Microsoft Visual C++ 2005 Redistributable Package (vcredist), but miranda does not instal any library to your system (i use zip package) so there is no dependency on miranda binary.

This two lines is used to load art images:

Code: [Select]
Bitmap bmp(artPath.c_str());
bmp.GetHBITMAP(Gdiplus::Color(0, 0, 0), &ppd.hbmAvatar);


As is written in msdn, Gdiplus.dll is included with Windows XP.
Then GDI function AlphaBlend is used to draw art bitmap. AlphaBlend function requirements are:

Windows NT/2000/XP: Included in Windows 2000 and later.
Windows 95/98/Me: Included in Windows 98 and later.
Header: Declared in Wingdi.h; include Windows.h.
Library: Included as a resource in Msimg32.dll.

So as you see there aren't any special requirements for avatar in popup+.

[crashware] foo_popupplus

Reply #102
copy & paste of unicode symbols to the formatting field does not work.
if i add the star symbols from arial unicode ms to the editing field and press "save all" they are replaced by questionmarks.

i am using the latest version of everything....


hi, formatting string is only saved as an ansi string, so unicode symbols doesn't work. This is because function used to create formated text is defined as bool compile (service_ptr_t< titleformat_object > &p_out, const char *p_spec) where p_spec is desired format stored in ansi string.

[crashware] foo_popupplus

Reply #103
hi, formatting string is only saved as an ansi string, so unicode symbols doesn't work. This is because function used to create formated text is defined as bool compile (service_ptr_t< titleformat_object > &p_out, const char *p_spec) where p_spec is desired format stored in ansi string.


So how can i use unicode symbols with your plugin?

[crashware] foo_popupplus

Reply #104

hi, formatting string is only saved as an ansi string, so unicode symbols doesn't work. This is because function used to create formated text is defined as bool compile (service_ptr_t< titleformat_object > &p_out, const char *p_spec) where p_spec is desired format stored in ansi string.


So how can i use unicode symbols with your plugin?

Unicode support mean, that if song title, artist (or anything else) is stored as an unicode string, it will be displayed correctly in popup window. In formatting field you can use foobar's script language described in titleformat_help.html in foobar directory.

[crashware] foo_popupplus

Reply #105
Unicode support mean, that if song title, artist (or anything else) is stored as an unicode string, it will be displayed correctly in popup window. In formatting field you can use foobar's script language described in titleformat_help.html in foobar directory.


ok.
so using rating symbols like stars provided by unicode fonts is not possible?

like that:
Code: [Select]
$if($stricmp(%song_rating%,5),$get(RC1)?????????,
$if($stricmp(%song_rating%,4),$get(RC1)????????$get(RC2)?,
$if($stricmp(%song_rating%,3),$get(RC1)??????$get(RC2)???,
$if($stricmp(%song_rating%,2),$get(RC1)????$get(RC2)?????,
$if($stricmp(%song_rating%,1),$get(RC1)??$get(RC2)???????,
$if($or($not(%song_rating%),$stricmp(%song_rating%,0)),$get(RC2)?????????,
))))))

[crashware] foo_popupplus

Reply #106
hi, formatting string is only saved as an ansi string, so unicode symbols doesn't work. This is because function used to create formated text is defined as bool compile (service_ptr_t< titleformat_object > &p_out, const char *p_spec) where p_spec is desired format stored in ansi string.

Sorry, but isn't p_spec UTF-8, like most other strings in foobar2000?  Just asking, I'm not sure about this.
But e.g. in the window title, status bar etc. it is possible to use unicode characters.

[crashware] foo_popupplus

Reply #107
hi, formatting string is only saved as an ansi string, so unicode symbols doesn't work. This is because function used to create formated text is defined as bool compile (service_ptr_t< titleformat_object > &p_out, const char *p_spec) where p_spec is desired format stored in ansi string.

Sorry, but isn't p_spec UTF-8, like most other strings in foobar2000?  Just asking, I'm not sure about this.
But e.g. in the window title, status bar etc. it is possible to use unicode characters.


it is possible, but why there is not used string_base ???? titleformat_compiler::compile function is not documented, and therefore parameter p_spec is defined as const char * I supposed it is pure ansi.

to cristox:
try to use you script in Display->Title Formatting option, if it works, then I will made a mistake, which will be repaired.

I tryed to copy & paste symbol U+2660 to Display->Title Formatting, 'Main window title' tab and it didn't work, but my ask for your question is no, you can't use unicode charactes in popup+ formatting string.

[crashware] foo_popupplus

Reply #108
[removed]

[crashware] foo_popupplus

Reply #109
to cristox:
try to use you script in Display->Title Formatting option, if it works, then I will made a mistake, which will be repaired.

I tryed to copy & paste symbol U+2660 to Display->Title Formatting, 'Main window title' tab and it didn't work, but my ask for your question is no, you can't use unicode charactes in popup+ formatting string.


Sorry, but it is working here.
The unicode characters are not replaced by '?' in the title formatting editor field like in 'your' editor field.
If you change the 'editor font' in the title formatting editor to "Arial Unicode MS" you can see the symbols.

In 'your' editor field they are replaced  with '?' when hitting 'apply'

[crashware] foo_popupplus

Reply #110

to cristox:
try to use you script in Display->Title Formatting option, if it works, then I will made a mistake, which will be repaired.

I tryed to copy & paste symbol U+2660 to Display->Title Formatting, 'Main window title' tab and it didn't work, but my ask for your question is no, you can't use unicode charactes in popup+ formatting string.


Sorry, but it is working here.
The unicode characters are not replaced by '?' in the title formatting editor field like in 'your' editor field.
If you change the 'editor font' in the title formatting editor to "Arial Unicode MS" you can see the symbols.

In 'your' editor field they are replaced  with '?' when hitting 'apply'


yes, you are right, i was warned that it works by halabund two days ago, it will be solved in next release.

[crashware] foo_popupplus

Reply #111
thank you, adamh!

Now i want present you my popup skin exclusively for foo_popupplus.



Transparent text background is optional.
Cover (cd box) stays opaque :-)
Gloss on cover is optional, too.

Thanks to br3tt for his cd box art.

Edit:

Updated to version 2
Some rethinking was done and that is what happens when i start thinking.
Things are getting bigger... ;-)

Size of Albumart is now fix at 120 pxl
You can change it in the config file but you may have to fiddle with the other position variables to align everything right.
Empty cd case without cover and without cd is shown when there is no albumart.
Hope you enjoy it.

Edit2:

Updated to Ver3.
Some optimisations in filesize and some minor corrections.

Edit3:

Updated to Ver4.
Now with "hardcoded" dropshadow inside images (way better than the dropshadow popupplus provides)
And dont forget to disable popupplus' own shadow...

Fixed some glitches in V3, so please update...




Get V1 here

Get V2 here

Get V3 here (without Dropshadow)

Get V4 here (WITH Dropshadow)

[crashware] foo_popupplus

Reply #112
A bug:
1. Restart foobar2000.  Set "Show popup only if fb2k is minimized". Make sure that popupplus is set to show popups on pause/unpause
2. Start playback.
3. Minimize foobar2000.
4. Pause playback using a global shortcut key.  The popup should appear.  Wait for it to disappear.
5. Restore foobar2000.
6. Start playing another track by double clicking on it (not next/previous).
7. Minimize foobar2000.
9. Pause it again with a global shortcut key.  The popup will appear, but it will show info about the previous track!

Another bug:
I was trying to figure out how actions work.  (I would like to restore a minimized fb2k by clicking the popup.)  I created a new action using the Add button, but could not figure out what the "Command" field was for (are there any docs for this?).  So I thought that I'd delete this custom action, but whenever I click the Del button, foobar2000 crashes.  (On a related note:  "Build in" should be "Built-in".)

EDIT:  This is with version 20070926

And a feature request  :

Would it be possible to make the popup disappear instantly when using the built-in "close popup" action, even with a long fade delay?  When the popup gets in the way, I'd like to be able to close it instantly with a mouse click.

[crashware] foo_popupplus

Reply #113
1) thanks for your bugs report, I will try to repair them as soon as possible.
2) And a feature request ...
yes it is possible
3) action buttons
you should execute another program with some parameters (like: notepad read.txt) but in this time built-in actions are quite unusable, i'm planning to add support for some variables like title, atrist, etc. so you should use google to find information about item or author ... (like: firefox www.google.com/search?q=%artist%+%title%)



A bug:
1. Restart foobar2000.  Set "Show popup only if fb2k is minimized". Make sure that popupplus is set to show popups on pause/unpause
2. Start playback.
3. Minimize foobar2000.
4. Pause playback using a global shortcut key.  The popup should appear.  Wait for it to disappear.
5. Restore foobar2000.
6. Start playing another track by double clicking on it (not next/previous).
7. Minimize foobar2000.
9. Pause it again with a global shortcut key.  The popup will appear, but it will show info about the previous track!

Another bug:
I was trying to figure out how actions work.  (I would like to restore a minimized fb2k by clicking the popup.)  I created a new action using the Add button, but could not figure out what the "Command" field was for (are there any docs for this?).  So I thought that I'd delete this custom action, but whenever I click the Del button, foobar2000 crashes.  (On a related note:  "Build in" should be "Built-in".)

EDIT:  This is with version 20070926

And a feature request  :

Would it be possible to make the popup disappear instantly when using the built-in "close popup" action, even with a long fade delay?  When the popup gets in the way, I'd like to be able to close it instantly with a mouse click.

[crashware] foo_popupplus

Reply #114
Thanks for the reply!

3) action buttons
you should execute another program with some parameters (like: notepad read.txt) but in this time built-in actions are quite unusable, i'm planning to add support for some variables like title, atrist, etc. so you should use google to find information about item or author ... (like: firefox www.google.com/search?q=%artist%+%title%)

Oh, I understand now!  I assumed that Command refers to some internal command in foobar2000, such as context menu commands.  But starting external programs is more flexible, and it allows for running foobar2000's internal commands too, through use of Foosions foo_runcmd component.


[crashware] foo_popupplus

Reply #116
I don't have any suggestions or requests as this does everything I could ask of it. So thanks

[crashware] foo_popupplus

Reply #117
I don't know much about Miranda's plugin structures... does this work with YAPP as well?
audiophile // flac & wavpack, mostly // using too many audio players

[crashware] foo_popupplus

Reply #118
I don't know much about Miranda's plugin structures... does this work with YAPP as well?


i'm not sure i understand, but foo_popup+ is based on popup+ (not only) source code. foo_popup+ plugin does not call any funcion from popupplus.dll from miranda. It should be possible to make a YAPP port for foobar (but this is another story).

[crashware] foo_popupplus

Reply #119
Two minor bugs:

1.  The show popup menu item does not work when "Show popup only when fb2k is minimized" is set, and foobar2000 is not minimised.  One could argue that this menu item should always work.

2.  When the Actions pref page is shown, the group "Size & position" is always enabled.  When I uncheck "Enable popup actions", it gets disabled, but only until I navigate to another pref page and back.  The "Size & position" group should always be disabled when "Enable popup actions" is not checked.

And a minor feature request, if possible (but don't bother if it is not simple to implement):
Would it be possible to only show the popup on unpause, but not on pause?

[crashware] foo_popupplus

Reply #120
thanks for your bugs report
1) yes, it will be repaired
2) i know about this
request) i will look at it

new version with all discovered bugs repaired will be released this week (i promise)


Two minor bugs:

1.  The show popup menu item does not work when "Show popup only when fb2k is minimized" is set, and foobar2000 is not minimised.  One could argue that this menu item should always work.

2.  When the Actions pref page is shown, the group "Size & position" is always enabled.  When I uncheck "Enable popup actions", it gets disabled, but only until I navigate to another pref page and back.  The "Size & position" group should always be disabled when "Enable popup actions" is not checked.

And a minor feature request, if possible (but don't bother if it is not simple to implement):
Would it be possible to only show the popup on unpause, but not on pause?

[crashware] foo_popupplus

Reply #121
new build (20071025) released (see first page for more info)

[crashware] foo_popupplus

Reply #122
I updated my "carbon" skin for foo_popupplus to Ver4.
Now it provides a Dropshadow...

Fixed some glitches in V3, so please update...

See post #112 (scroll up) for details and download.

[crashware] foo_popupplus

Reply #123
I just wanted to drop in and thank you, Adam, this is a great plugin  And while I'm here, could someone explain what difference should the "Enable Aero Glass" checkbox make? I have Vista, and I have yet to spot a difference...
Life is Real...
(But not in audio :) )

[crashware] foo_popupplus

Reply #124
hi, first i don't have widows vista, so i can't check that it works, but if you check this option win32 api DwmEnableBlurBehindWindow function si called, that function enables the blur effect on the provided window.

I just wanted to drop in and thank you, Adam, this is a great plugin  And while I'm here, could someone explain what difference should the "Enable Aero Glass" checkbox make? I have Vista, and I have yet to spot a difference...