Help - Search - Members - Calendar
Full Version: foo_prettypop
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
alphaex32
I like to rate my songs on-the-fly using global hotkeys, and it would be nice if pretty popup would be activated automatically when changing a song tag. I tried setting the hotkeys for showing the popup to be the same as my rating hotkeys, but it doesn't seem to update tags until a song is restarted. Can this be fixed? It would be really nice if I could see my rating changes as I make them in the pretty popup itself.
castaway
Hi there,
I really like this component, but there's something that's annoying the s*** out of me. I can't manage to get album cover to show on the popup...
I had the same problem with the albumart panel, but a good soul offered the solution, hope I'm lucky again wink.gif
My albums are compressed (zip), one file per album, and both the zip and the jpg are in the same folder.

Here's the tagz I use for the albumar panel (works):

match:$replace(%_path%,%_filename_ext%,)*
-$substr(%_path%,1,$strrchr(%_path%,'\'))folder.jpg
-match:$replace(%_path%,%_filename_ext%,)..\*
-components\folder.jpg

And here's what I tried for prettypopup (does not work):
match:$replace(%_path%,%_filename_ext%,)*;$substr(%_path%,1,$strrchr(%_path%,'\'))folder.jpg;match:$replace(%_path%,%_filename_ext%,)..\*;components\folder.jpg;;|E:\Folder;*

It just shows the jpg I have in E: intended for those albums for which I don't have the cover image.

Any ideas how to work this out?

Thanks a lot
Duble0Syx
QUOTE(castaway @ Jun 8 2006, 10:44) *

Hi there,
I really like this component, but there's something that's annoying the s*** out of me. I can't manage to get album cover to show on the popup...
I had the same problem with the albumart panel, but a good soul offered the solution, hope I'm lucky again wink.gif
My albums are compressed (zip), one file per album, and both the zip and the jpg are in the same folder.

Here's the tagz I use for the albumar panel (works):

match:$replace(%_path%,%_filename_ext%,)*
-$substr(%_path%,1,$strrchr(%_path%,'\'))folder.jpg
-match:$replace(%_path%,%_filename_ext%,)..\*
-components\folder.jpg

And here's what I tried for prettypopup (does not work):
match:$replace(%_path%,%_filename_ext%,)*;$substr(%_path%,1,$strrchr(%_path%,'\'))folder.jpg;match:$replace(%_path%,%_filename_ext%,)..\*;components\folder.jpg;;|E:\Folder;*

It just shows the jpg I have in E: intended for those albums for which I don't have the cover image.

Any ideas how to work this out?

Thanks a lot

Prettypopup doesn't us match: and command like that. I also don't think things like starting with - work either.
For example mine looks like this:
*;..\*;|C:\Program Files\foobar2000\components\*
I believe | should be followed be an absolute path. No file extentions. Bascially it looks for any image in the directory with the audio, then one directory above that, and then in the components directory for my "No Cover" image.
castaway
QUOTE

Prettypopup doesn't us match: and command like that. I also don't think things like starting with - work either.
For example mine looks like this:
*;..\*;|C:\Program Files\foobar2000\components\*
I believe | should be followed be an absolute path. No file extentions. Bascially it looks for any image in the directory with the audio, then one directory above that, and then in the components directory for my "No Cover" image.


Hi Duble0Syx

this does not seem to work for me. Maybe there's an issue with compressed files...
I tried adding the image to the zip file. I assumed the * would work on this one, but didn't.
If I understand what you're saying this would be the thing for me to try:
*;..\*;|E:\Folder
but it doesn't. I'll show you an example of my files structure to make myself clearer:
c:/Carla Bruni/2002 - Quelq'un m'a dit/2002 - Quelq'un m'a dit.zip
c:/Carla Bruni/2002 - Quelq'un m'a dit/Folder.jpg

Any ideas on how to reach the Folder.jpg when playing a file that is in the zip file?

Tx
Duble0Syx
QUOTE(castaway @ Jun 8 2006, 11:54) *

QUOTE

Prettypopup doesn't us match: and command like that. I also don't think things like starting with - work either.
For example mine looks like this:
*;..\*;|C:\Program Files\foobar2000\components\*
I believe | should be followed be an absolute path. No file extentions. Bascially it looks for any image in the directory with the audio, then one directory above that, and then in the components directory for my "No Cover" image.


Hi Duble0Syx

this does not seem to work for me. Maybe there's an issue with compressed files...
I tried adding the image to the zip file. I assumed the * would work on this one, but didn't.
If I understand what you're saying this would be the thing for me to try:
*;..\*;|E:\Folder
but it doesn't. I'll show you an example of my files structure to make myself clearer:
c:/Carla Bruni/2002 - Quelq'un m'a dit/2002 - Quelq'un m'a dit.zip
c:/Carla Bruni/2002 - Quelq'un m'a dit/Folder.jpg

Any ideas on how to reach the Folder.jpg when playing a file that is in the zip file?

Tx

Not sure how example zip files are handled by foobar, but if it show like a directory, you'd simply have to tell it to look one directory up.
..\*
For example, ..\* looks one directory up from the file, so *;..\* looks in the same dir, for any image and the next directory up.
*;..\*;|C:\Program Files\foobar2000\components\*
does all of that and also looks for any image in my foobar's components directory.
So If something like ..\Folder* or just ..\* doesn't work perhaps someone else has an answer.
castaway
QUOTE(Duble0Syx @ Jun 8 2006, 14:12) *

QUOTE(castaway @ Jun 8 2006, 11:54) *

QUOTE

Prettypopup doesn't us match: and command like that. I also don't think things like starting with - work either.
For example mine looks like this:
*;..\*;|C:\Program Files\foobar2000\components\*
I believe | should be followed be an absolute path. No file extentions. Bascially it looks for any image in the directory with the audio, then one directory above that, and then in the components directory for my "No Cover" image.


Hi Duble0Syx

this does not seem to work for me. Maybe there's an issue with compressed files...
I tried adding the image to the zip file. I assumed the * would work on this one, but didn't.
If I understand what you're saying this would be the thing for me to try:
*;..\*;|E:\Folder
but it doesn't. I'll show you an example of my files structure to make myself clearer:
c:/Carla Bruni/2002 - Quelq'un m'a dit/2002 - Quelq'un m'a dit.zip
c:/Carla Bruni/2002 - Quelq'un m'a dit/Folder.jpg

Any ideas on how to reach the Folder.jpg when playing a file that is in the zip file?

Tx

Not sure how example zip files are handled by foobar, but if it show like a directory, you'd simply have to tell it to look one directory up.
..\*
For example, ..\* looks one directory up from the file, so *;..\* looks in the same dir, for any image and the next directory up.
*;..\*;|C:\Program Files\foobar2000\components\*
does all of that and also looks for any image in my foobar's components directory.
So If something like ..\Folder* or just ..\* doesn't work perhaps someone else has an answer.


Theory makes perfect sense to me, but it does not work at all for zipped files. I tried it with some songs that were not zipped and worked just fine. I'll try getting in touch with whoever made the component to see if prettypop can handle zip files at all. Tx anyway.
gfngfgf
QUOTE(castaway @ Jun 8 2006, 11:44) *

Any ideas how to work this out?


Alright, let's see if this works:

CODE
|$replace(%_path%,%_filename_ext%,)*;|$substr(%_path%,1,$strrchr(%_path%,'\'))folder;|
$replace(%_path%,%_filename_ext%,)..\*;|C:\Program Files\foobar2000\components\folder;|E:\Folder;*

"$replace(%_path%,%_filename_ext%,)*" will give you a full path (e.g. "E:\Music\etc..."), so you should put a | in front of it. Same thing with "$substr(%_path%,1,$strrchr(%_path%,'\'))folder". As Duble0Syx stated, you should leave the file extensions off.

edit: added an arbitrary line break to the code so the forum would look nicer smile.gif
electricmonk500
Great plug-in. Is there any way to resize the album art to make it larger, or to adjust the height of the popup? I'd just like to make it a bit larger. Sorry if this is something obvious.
FrozenSpoon
QUOTE(Duble0Syx @ Jun 1 2006, 18:31) *
However, unless "Automatic" is selected, "Show PrettyPopup" does nothing.
Indeed there is still a quirk or two there it seems. It is suppose to be popable without it being automatic. I'll fix it thanks.

QUOTE(rodan321 @ Jun 4 2006, 23:41) *
I didn't see an option though to have the album art on the right side of the text. Is this possible in foo_prettypop? If not, any possibility of it being added?
Currently not possible, but maybe in the future.

QUOTE(alphaex32 @ Jun 8 2006, 01:27) *
I like to rate my songs on-the-fly using global hotkeys, and it would be nice if pretty popup would be activated automatically when changing a song tag.
The latest beta will update on a tag change, but won't popup. This is an easy option to add once the config pages get redone so there is room!

QUOTE(electricmonk500 @ Jun 10 2006, 00:57) *
Great plug-in. Is there any way to resize the album art to make it larger, or to adjust the height of the popup? I'd just like to make it a bit larger. Sorry if this is something obvious.
The art height will always be the same height of the text. You can either increase the size of a font on a line or two, or add a $crlf() at the beginning of line 1 and at the end of line 4. Specifing a minimum height for the art is something on my todo list at some point.

As mentioned already, art filenames should not specify extentions and are relative to the song's directory unless you put a | as the first character. Art in ZIPs won't work unless someone has a slick work around.

Really hoping to get that new version out soon lalala.gif
electricmonk500
QUOTE(FrozenSpoon @ Jun 10 2006, 10:29) *


QUOTE(electricmonk500 @ Jun 10 2006, 00:57) *
Great plug-in. Is there any way to resize the album art to make it larger, or to adjust the height of the popup? I'd just like to make it a bit larger. Sorry if this is something obvious.
The art height will always be the same height of the text. You can either increase the size of a font on a line or two, or add a $crlf() at the beginning of line 1 and at the end of line 4. Specifing a minimum height for the art is something on my todo list at some point.

Awesome, looking forward to the minimum height setting.
zachastrife
QUOTE(kalen3285 @ Apr 5 2006, 04:31) *

Hi, first, I just want to say I love this plugin. Now to my question: Is there a way to make part of a line italic while the rest isn't? For example, here is what I have currently:

IPB Image

On the third line, I would like to have the word "from" be non-italicized while having the album title italicized. Is there a way to do this?

How do you have spaces between the lines?(I've tried $crlf() but the spaces get too large)
And which font is it that?


Just realized that if you are using $crlf() and $tab() you may have to use the $crlf() after the $tab() to bring it down to the same line as the other text. But it's maybe intended behaviour.
kalen3285
QUOTE(zachastrife @ Jun 10 2006, 15:32) *

How do you have spaces between the lines?(I've tried $crlf() but the spaces get too large)
And which font is it that?


Just realized that if you are using $crlf() and $tab() you may have to use the $crlf() after the $tab() to bring it down to the same line as the other text. But it's maybe intended behaviour.


I actually don't have any spaces between the lines, those are just the natural spaces that occur between the lines. And, the font is calibri.
drake
Failed to load DLL: foo_prettypop.dll
Reason: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
electricmonk500
QUOTE(drake @ Jun 11 2006, 18:30) *

Failed to load DLL: foo_prettypop.dll
Reason: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.

Do you have .NET 2.0 installed?
FrozenSpoon
QUOTE(drake @ Jun 11 2006, 19:30) *
Failed to load DLL: foo_prettypop.dll
Reason: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
Make sure you haven't placed any msvcr80.dll, msvcp80.dll or msvcm80.dll file on to your system manually. You will get this error if you've downloaded one of these DLLs manually and stuck them somewhere.
drake
QUOTE(FrozenSpoon @ Jun 11 2006, 19:39) *

QUOTE(drake @ Jun 11 2006, 19:30) *
Failed to load DLL: foo_prettypop.dll
Reason: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
Make sure you haven't placed any msvcr80.dll, msvcp80.dll or msvcm80.dll file on to your system manually. You will get this error if you've downloaded one of these DLLs manually and stuck them somewhere.

i have those with 71, 60, 32, 40, 20, 70, 50... but none with 80

QUOTE(electricmonk500 @ Jun 11 2006, 17:55) *

QUOTE(drake @ Jun 11 2006, 18:30) *

Failed to load DLL: foo_prettypop.dll
Reason: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.

Do you have .NET 2.0 installed?

i have Microsoft .NET framework 1.1 installed (along with the hotfix KB886903)
$ergi0
Microsoft .NET framework 1.1 - 71
Microsoft .NET framework 2.0 - 80

FrozenSpoon
QUOTE(drake @ Jun 11 2006, 21:54) *
i have Microsoft .NET framework 1.1 installed (along with the hotfix KB886903)
Yep, looks like you need to download 2.0 (don't worry about uninstalling 1.1, they're designed to work side-by-side fine)
drake
alright... i'm DLing now
bojo
*;%ALBUM%;|C:\*;

show me default on C:\ if no picture avaiblable.

*;%ALBUM%;|C:\Program Files (x86)\foobar2000\components\*;

shows me nuthing

also tried

*;%ALBUM%;|"C:\Program Files (x86)\foobar2000\components\*";

but still nothing...

why the hell dont it work from components folder?
FrozenSpoon
Those strings are evaluated as tagz script and ()s have special meaning. So you will want something of the sort:
CODE
*;%ALBUM%;|C:\Program Files '(x86)'\foobar2000\components\*

Hope that helps!
filpee
Great plugin. can i make a suggestion though.
a test button would be great. that way we can play with the settings, press the test button and see our changes.
miranda's popup+ plugin has a similar feature.
roentgen
QUOTE(filpee @ Jun 19 2006, 09:52) *

Great plugin. can i make a suggestion though.
a test button would be great. that way we can play with the settings, press the test button and see our changes.
miranda's popup+ plugin has a similar feature.

you should add a keyboard shortcut for 'Show PrettyPopup' (and for Hide ... too maybe)
KarnEvil9
Great plugin!

One thing, sometimes it decides to start hiding behind windows. Other times, it's AOT. Anything you can do about that?

Thanks. smile.gif
FrozenSpoon
QUOTE(roentgen @ Jun 19 2006, 15:04) *

you should add a keyboard shortcut for 'Show PrettyPopup' (and for Hide ... too maybe)
You already can smile.gif Any menu item in Foobar can be a keyboard shortcut.

QUOTE(KarnEvil9 @ Jun 19 2006, 17:22) *

One thing, sometimes it decides to start hiding behind windows. Other times, it's AOT. Anything you can do about that?
Yeah that really annoys me. Every time I pop the window I ask to always be on top. But for whatever reason, sometimes it isn't. I look at it every so often but haven't found a fix (or what the problem is!)
neomcnasty
Hi,
I would appreciate to see an option to set an minimal height, so that my album art isn't so tiny.
Thanks in advance.
Shorty2k6
Hi there,
first posting here smile.gif

Is it possible to fix the window so it's always on top? If Firefox is started and I change the song by hotkey the popup window isn't always shown.

Is there any way to get this on top of the screen, no matter if theres a fullscreen program or something?

Thanks + regards

Shorty2k6
FrozenSpoon
Updated to 1.2.3. This should have happened about 3 weeks ago (not any different than the last beta other than fixed menus). You can get it over on my site.

Notable changes from 1.2.2:
  • New placement system. When dragging the popup you will see the edges from which the popup will “grow from.” This will allow you to center the popup and just works better in general.
  • Can update on any dynamic data (VBR bitrate, etc). Disabled by default.
  • Menu commands changed a little.
  • Art border can be disabled.
  • You can set a minimum width for the popup.
  • Updates when song data is changed from a tagging operation.
  • Fixed the . in filename bug for art filenames. Remember: Do not specify extensions for album art.
  • Adds center and right alignment. How to use:
    CODE
    Left text$tab()Right text$tab()CenterText
    Not exactly typical Foobar2000 style (sorry). The popup will try to size itself to fit all left and right text. If that’s not possible, right text always will get cut first. Center text could get plastered on top of other text if the size isn’t big enough. You can mix $crlf() in there as well, but it has to be in the form:
    CODE
    Left line 1$crlf()Left line 2$tab()Right Line 1 etc
    Hopefully it works okay.
Known problems/issues:
  • You may have trouble getting a very large popup to anchor where you want it. Trying placing it when it’s small and then increasing the size. Will be improved next version.
  • A character of right aligned text could overlap left text if there is simply no room for right text at all.
  • When the popup resizes, it typically looks ugly (hard to describe, but I’m sure you’ve seen it at least once). I’ve traced this back to what I believe to be a limitation in Windows. I really want to fix this, so the next version may no longer have the option to show a title bar.
  • There are always-on-top issues. I will try to fix this for the next release.
Thanks for the help with testing this version.
$ergi0
QUOTE(FrozenSpoon @ Jun 21 2006, 15:37) *

[*]Can update on any dynamic data (VBR bitrate, etc). Disabled by default.

How to disable VBR updating? I have checked off "Show on dynamic title..." and "Update on all dynamic.." but it keeps updating sad.gif

I'm using this format line
CODE
%codec% %bitrate%kbps %samplerate%Hz %channels%

FrozenSpoon
Strange. Do you have the time displayed somewhere too? (that would cause it to update)
gfngfgf
QUOTE($ergi0 @ Jun 21 2006, 17:37) *

QUOTE(FrozenSpoon @ Jun 21 2006, 15:37) *

[*]Can update on any dynamic data (VBR bitrate, etc). Disabled by default.

How to disable VBR updating? I have checked off "Show on dynamic title..." and "Update on all dynamic.." but it keeps updating sad.gif

I'm using this format line
CODE
%codec% %bitrate%kbps %samplerate%Hz %channels%


Replace "%bitrate%" with "$info(bitrate)". See Field Remappings.
$ergi0
QUOTE(FrozenSpoon @ Jun 21 2006, 16:45) *

Strange. Do you have the time displayed somewhere too? (that would cause it to update)

yeah, i have time displayed.
FrozenSpoon
Yep that would do it. The popup updates all of its text every second when you're using a time variable. You'll have to use gfngfgf's tip if you don't want %bitrate% to change each second too.
$ergi0
thanks, that works.
alphaex32
"Show on dynamic title change" doesnt seem to work. If I do any kind of tag update, the popup doesnt automatically show.
FrozenSpoon
There is currently no way to show the popup on a tag update. The changes in this release make the popup update it self if it is already displayed and you update tags.
The 'dynamic title change' is for showing on a new title in an HTTP stream, etc.
alphaex32
QUOTE(FrozenSpoon @ Jun 22 2006, 12:00) *

There is currently no way to show the popup on a tag update. The changes in this release make the popup update it self if it is already displayed and you update tags.
The 'dynamic title change' is for showing on a new title in an HTTP stream, etc.

Oh, ok. It'd be nice if you made that an option, though. Thanks for your hard work
LTourist
That's a great plugin, thanks smile.gif
But it seems it's still 1.2.2 on your webpage.. sad.gif Does that a mistake, or have you forgotten to update it?
Ran Sagy
has 1.2.3 here.. Cache issues?
Duble0Syx
Nice to see the "Show PrettyPopup" function works properly now, even when it's no in automatic mode. smile.gif Nice work.
EDIT: Nevermind, forgot you could already do what I was asking originally.

EDIT2:
Maybe I am just doing something wrong, but I am trying to get it to show "Paused" on a line when it's the music is paused and "Now Playing" when it's playing, but when playback is paused PrettyPopup does not seem to update. If it does I am using the wrong formatting, and perhaps someone could help me with that? smile.gif
lextune
QUOTE(LTourist @ Jun 22 2006, 17:38) *

That's a great plugin, thanks smile.gif
But it seems it's still 1.2.2 on your webpage.. sad.gif Does that a mistake, or have you forgotten to update it?



QUOTE(ChaosBladE @ Jun 22 2006, 18:16) *

has 1.2.3 here.. Cache issues?

I've got 1.2.3 here too.
MoeRL
Is there a list of possible variables that can be used in the formatting pages? I need a new-line expression to drop the file info on a new line so that I have a blank line between the album title and that tech info. Also.. is there a list of those variables anywhere in general so I can make further adjustments? Works very well otherwise with Foobar 0.9.2 smile.gif
gfngfgf
QUOTE(MoeRL @ Jun 23 2006, 14:55) *

Is there a list of possible variables that can be used in the formatting pages? I need a new-line expression to drop the file info on a new line so that I have a blank line between the album title and that tech info. Also.. is there a list of those variables anywhere in general so I can make further adjustments? Works very well otherwise with Foobar 0.9.2 smile.gif

http://wiki.hydrogenaudio.org/index.php?ti...ormat_Reference

There's also a "titleformat_help.html" file in your foobar2000 program directory. I don't think PrettyPop has any of its own titleformatting functions aside from the ones you see in the reference. To get a blank line, you should use "$crlf()".
Stuart60611
Dumb question. I have read the above post, but I simply am not understanding the string to center text, such as %artist%. How do you center %artist%? I am just not geting it.
c0utta
Centre: $tab()$tab()%artist%
Right: $tab()%artist%

Cheers,

c0utta
cingularrrr
hey, wana say bravo for a really nice plugin.

however, it totally stops working after about 8-10 hours after foobar is open. i set everything back to default, click on show prettypopup, click on everything, but it just refuses to show! the only way is to close and open foobar again. does this only happen to me? what can i do about it?

thanks!
roentgen
QUOTE(cingularrrr @ Jun 28 2006, 09:33) *
however, it totally stops working after about 8-10 hours after foobar is open. i set everything back to default, click on show prettypopup, click on everything, but it just refuses to show! the only way is to close and open foobar again. does this only happen to me? what can i do about it?

same here
FrozenSpoon
QUOTE(Duble0Syx @ Jun 22 2006, 19:55) *

Maybe I am just doing something wrong, but I am trying to get it to show "Paused" on a line when it's the music is paused and "Now Playing" when it's playing, but when playback is paused PrettyPopup does not seem to update.
naaa you're not doing anything wrong. It doesn't update on pause. I should probably fix that since that's useful.


I haven't seen the long term usage causing the popup to vanish problem. Are you all doing stuff like running a game or other resolution-changing activities? Kinda wonder if the popup is just being moved off screen. Does it come back in the correct spot when you restart or does it reset its position to default? I'll look to see if I can get the problem too.
Blitzmeister
I have the same problem as the 2 posts above Frozenspoon's smile.gif
It disappears & only returns when you restart foobar smile.gif
Cheers.
jon.schaffer
Sorry if this has been discussed before, I confess not having time to read the 15 pages before.
I have a small issue with the fade-out option: the pop-up window fades away but just before disappearing, it briefly pops-up again at 100%-opacity then disappear. I have the impression it didn't do it when I first install it, but I may be wrong.
Already saw this? (kill me if the answer has already been asked)
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-2009 Invision Power Services, Inc.