HydrogenAudio

Hosted Forums => foobar2000 => 3rd Party Plugins - (fb2k) => Topic started by: lightsun on 2012-06-11 10:24:56

Title: Taskbar Progress Bar
Post by: lightsun on 2012-06-11 10:24:56
Shows progress bar for being currently played or paused song.

(https://sites.google.com/site/gmlite/foobar2000_v1_taskbar_progress_bar.png)

Download binary or sources (http://liiw.blogspot.com/2012/06/taskbar-progress-bar-plugin-for.html).
Title: Taskbar Progress Bar
Post by: Ryoma on 2012-06-11 12:59:47
Where I have to put this dll?
Title: Taskbar Progress Bar
Post by: db1989 on 2012-06-11 13:08:39
The same place you install any other components. http://www.foobar2000.org/FAQ (http://www.foobar2000.org/FAQ) – fourth question
Title: Taskbar Progress Bar
Post by: Dexter_prog on 2012-06-11 13:13:44
Fantastic! Thanks
Title: Taskbar Progress Bar
Post by: wolterstorff on 2012-06-12 07:56:16
looks pretty good, well done. But is it possible to change the color (maybe blue) of the progress of the playing song? - If foobar converts something or another refresh is running, the color of this progress is also green (actual this "overwrites" the progress of the playing song).
Title: Taskbar Progress Bar
Post by: lightsun on 2012-06-12 11:21:59
looks pretty good, well done.

Thanks

But is it possible to change the color (maybe blue) of the progress of the playing song? - If foobar converts something or another refresh is running, the color of this progress is also green (actual this "overwrites" the progress of the playing song).

It's not possible to change color using the standard way 'cos it is being determined by windows depending on the indicator flag that has only 5 states (no progress, indeterminate, normal, error, paused (http://msdn.microsoft.com/en-us/library/windows/desktop/dd391697%28v=vs.85%29.aspx)).
And even if it would be possible to set different color, currently there's only the one (http://msdn.microsoft.com/en-us/library/windows/desktop/dd391698%28v=vs.85%29.aspx#How_the_Taskbar_Button_Chooses_the_Progress_Indicator_for_a_Group) progress bar can be shown for group of windows.
Title: Taskbar Progress Bar
Post by: mjb2006 on 2012-06-12 11:29:14
foobar2000 can read .zip files but not .7z files. If you distributed it in a regular .zip instead of .7z, people wouldn't have to download a 7-Zip unzipper just to get the DLL.
Title: Taskbar Progress Bar
Post by: lightsun on 2012-06-12 12:00:16
foobar2000 can read .zip files but not .7z files. If you distributed it in a regular .zip instead of .7z, people wouldn't have to download a 7-Zip unzipper just to get the DLL.

Maybe... Replaced binary with .zip
Title: Taskbar Progress Bar
Post by: wolterstorff on 2012-06-12 20:43:32
It's not possible to change color using the standard way 'cos it is being determined by windows depending on the indicator flag that has only 5 states (no progress, indeterminate, normal, error, paused (http://msdn.microsoft.com/en-us/library/windows/desktop/dd391697%28v=vs.85%29.aspx)).
And even if it would be possible to set different color, currently there's only the one (http://msdn.microsoft.com/en-us/library/windows/desktop/dd391698%28v=vs.85%29.aspx#How_the_Taskbar_Button_Chooses_the_Progress_Indicator_for_a_Group) progress bar can be shown for group of windows.


that's a pity. Anyway, if the refrsh (or convert) ended, the playing-ar will appear again
Title: Taskbar Progress Bar
Post by: wolterstorff on 2012-06-13 18:53:00
@lightsun: the yellow-paused-indicator doesn't work if fb2k is minimized (with the '-' in the title bar).
Title: Taskbar Progress Bar
Post by: lightsun on 2012-06-13 19:03:41
@lightsun: the yellow-paused-indicator doesn't work if fb2k is minimized (with the '-' in the title bar).

I've tested with Default User Interface and with Columns UI - progress bar works when f2k is minimized into taskbar. And there's no fb2k's window at all when it minimized into tray, so it's nowhere to show progress bar (if f2k is pinned and it's icon is still being shown).
I have f2k v1.1.13 release and windows 7 sp1 with all updates.
Title: Taskbar Progress Bar
Post by: wolterstorff on 2012-06-13 20:40:01
strange, exactly the same here (fb2k 1.1.13, win7 sp1 with latest updates).

actual i can't reproduce this behaviour.

next edit: can reproduce. by hitting the 'pause'-key on my keyboard then sometimes fb2k is paused und the taskbar is green...
Title: Taskbar Progress Bar
Post by: lightsun on 2012-06-14 18:55:26
strange, exactly the same here (fb2k 1.1.13, win7 sp1 with latest updates).

actual i can't reproduce this behaviour.

next edit: can reproduce. by hitting the 'pause'-key on my keyboard then sometimes fb2k is paused und the taskbar is green...

It seems that I fixed this issue.
Download v1.1.2 (https://sites.google.com/site/gmlite/foo_taskbar_playback_progress_bar_v112.zip?attredirects=0&d=1)
Title: Taskbar Progress Bar
Post by: wolterstorff on 2012-06-14 20:35:36
thx, I'll try it

edit:
It seems that I fixed this issue.


looks good, while tracks are paused the indicator ist always yellow
Title: Taskbar Progress Bar
Post by: wolterstorff on 2012-06-15 08:36:55
It seems that I fixed this issue.
Download v1.1.2 (https://sites.google.com/site/gmlite/foo_taskbar_playback_progress_bar_v112.zip?attredirects=0&d=1)

forget it, you did it in your blog ;-) you should update your first post (in this thread) with this update so that other poeple don't have to read alle posts to get the latest build
Title: Taskbar Progress Bar
Post by: lightsun on 2012-06-15 15:38:02
It seems that I fixed this issue.
Download v1.1.2 (https://sites.google.com/site/gmlite/foo_taskbar_playback_progress_bar_v112.zip?attredirects=0&d=1)


forget it, you did it in your blog ;-)

It's specially for you to download quicker
Title: Taskbar Progress Bar
Post by: wolterstorff on 2012-06-15 18:34:17
;-)
Title: Taskbar Progress Bar
Post by: Duny on 2012-06-16 03:39:05
http://foobar2000.org.ru/forum/viewtopic.php?f=2&t=1694 (http://foobar2000.org.ru/forum/viewtopic.php?f=2&t=1694)
Title: Taskbar Progress Bar
Post by: lightsun on 2012-06-17 13:17:44
http://foobar2000.org.ru/forum/viewtopic.php?f=2&t=1694 (http://foobar2000.org.ru/forum/viewtopic.php?f=2&t=1694)

Do you wanna say that it's possible to show blue indicator or just to say that progress bar already had been implemented? If first, then tell what should I press to see blue indicator 'cos I only can make it green (played) or yellow (paused). And it's simply to fix by the author of w7shell but currently it doesn't change progress bar while paused .
Title: Taskbar Progress Bar
Post by: fuflo on 2012-06-17 13:31:02
just a suggestion, right now if a stream is playing, the whole bar is green. like before finishing a song.
It would be better if there would be no coloring for streams, like on that w7shell component.
Title: Taskbar Progress Bar
Post by: Ryoma on 2012-06-17 14:23:30
Quote from: lightsun link=msg=0 date=
Do you wanna say that it's possible to show blue indicator or just to say that progress bar already had been implemented? If first, then tell what should I press to see blue indicator 'cos I only can make it green (played) or yellow (paused). And it's simply to fix by the author of w7shell but currently it doesn't change progress bar while paused .


The progress bar color(s) depend(s) only on Win7 settings. There are procedures to replace the green one at least with blue, violet, red or black, procedures which involve Win7, as I stated before.
Mine is blue, for instance, while the others color (as red for storage devices almost or completely full, yellow for paused tasks etc.) are by default.
Title: Taskbar Progress Bar
Post by: lightsun on 2012-06-17 15:07:06
just a suggestion, right now if a stream is playing, the whole bar is green. like before finishing a song.
It would be better if there would be no coloring for streams, like on that w7shell component.

Fixed. Now it's being shown with 50% indeterminate state (it looks green with default windows settings).
Download v1.1.3 (https://sites.google.com/site/gmlite/foo_taskbar_playback_progress_bar_v113.zip?attredirects=0&d=1)