INTERACT FORUM

Windows => Third Party Plug-ins, Programs, and Skins => Topic started by: danrien on September 27, 2009, 08:18:46 pm

Title: Windows 7 Taskbar Progress Plugin
Post by: danrien on September 27, 2009, 08:18:46 pm
Hello all.  Thanks to ChrisZ's excellent C# plugin template and the also excellent Windows 7 C# documentation and API, I have now created a plug-in that displays the current progress of a track as the "progress status" in the new Windows 7 taskbar, like so:

(http://www.devedcomputers.com/MediaCenterAddOns/progressbar.png)

View the full details of the newest release at http://davidvedvick.info/2012/06/13/coding/jr-mc-win7/
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: ThoBar on September 28, 2009, 02:31:06 am
Failing to add to plugins for me. (Using plugin manager)

[Edit] - it got added anyway...?
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on September 28, 2009, 10:27:49 am
Yes it needs to run the installer to work correctly.  Plugins don't install as nicely in the day of proper user privileges, unfortunately.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: morrison on September 29, 2009, 03:50:05 am
Looks nice, thank you

installed without problem on win7 x64
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: marko on September 29, 2009, 04:20:08 am
Neat piece of eye candy, working well on 7 x64 here too.

Only issue for me was that it installed the plugin in "active when visible" mode, requiring a registry edit to set it to 'always active'

Cheers,
-marko
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on September 29, 2009, 10:01:59 am
Neat piece of eye candy, working well on 7 x64 here too.

Only issue for me was that it installed the plugin in "active when visible" mode, requiring a registry edit to set it to 'always active'

Cheers,
-marko

Yeh, I haven't really figured out all the registry stuff yet.  For some reason though, it started starting on start up for me  ::) .
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: neFAST on September 29, 2009, 03:04:46 pm
Great idea!
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: StFeder on September 30, 2009, 03:39:47 am
I like it, too!

But it only works for one song for me :( And it only does if I manually go to Plugin Manager in MC to hide and unhide it.

May this be solved by Markos trick? And what registry key do I have to edit / create? I only see one key for this plugin which is called "active" and set to "1"...?!

Only issue for me was that it installed the plugin in "active when visible" mode, requiring a registry edit to set it to 'always active'

Thanks for any hint!

(Win7 x86)
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: marko on September 30, 2009, 07:28:39 am
I found it at "HKEY_LOCAL_MACHINE\SOFTWARE\JRiver\Media Jukebox\Plugins\Interface\MC_jumpbar" Set "PluginMode" to "1"

Another little 'issue-ette' I've found is that if I stop a track half way through, the taskbar progress indicator does not clear.

-marko
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on September 30, 2009, 09:45:15 am
Thanks StFeder.  I'm not sure what is causing that issue for you - I run Win7x64, which shouldn't cause a problem, but could somehow be it.

Anyways, I've fixed both of the bugs that Marko mentioned - the new install can be found on the link above.  Thanks for the feedback Marko and StFeder ;D .
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: neFAST on September 30, 2009, 12:49:10 pm
Any chance you release the source code?
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: StFeder on October 01, 2009, 05:12:33 am
Cool! Your update works well! No I'll never use the "minimize to tray" option again. I'm looking forward to MCs jumplist integration which is, as Matt stated

[...] on our list.

 :)

edit:
Still one bug: after hitting "Stop" the taskbar doesn't get updated any more.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on October 04, 2009, 03:08:52 pm
neFast, I was thinking about open sourcing this - the biggest problem is how to do it correctly (give myself the correct copyrights and whatnot).  i'm aware that someone has a sourceforge page up for mediacenter plugins, so i wouldn't mind putting it up there.  guess i dont really know how to and might not take the time to read up on that stuff (got a big engineering exam coming up), so any help in this area would be very appreciated.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: cncb on October 04, 2009, 05:27:18 pm
This looks cool but I hope it is something that JRiver can add built-in to the main program (at least since they are working on the "jump list" anyways).
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on October 05, 2009, 11:54:38 am
Truthfully, CNCB, I also hope that JR includes it in MC as well.  Until then, this little plug-in that was fairly easy to write does the trick.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: cncb on October 05, 2009, 02:17:52 pm
Until then, this little plug-in that was fairly easy to write does the trick.

Absolutely!  Nice work.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: Fex on January 13, 2010, 12:46:13 pm
Perfect. Thanks!
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: marko on August 02, 2010, 05:24:49 am
This has stopped working for me.

Is it working for everyone else?

Win7 x64, MC 15

-marko.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: Arbiter on August 02, 2010, 05:36:43 am
This has stopped working for me.

Is it working for everyone else?

Win7 x64, MC 15

-marko.

Still working here with no problem on win7 64bit with mc15 latest version. Tried re-installing the plugin?
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: tcman41 on August 03, 2010, 11:19:12 am
Just installed the plugin, using windows 7 64 bit and j.river media center 15, it works fine for me.  :)

TC
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: marko on August 04, 2010, 01:47:18 pm
Thanks for the replies, I'll investigate some more...

The plugin appears to be installed and initiating correctly, but I am not getting any progress indicator in the taskbar icon....

Quote
Plugin Initiated OK
Position: 348/379
Position: 350/379
Position: 352/379
Position: 354/379
Position: 356/379
Position: 358/379
Position: 360/379
Position: 362/379
Position: 364/379
Position: 366/379
Position: 368/379
MJEvent type: MCCommand/MCC: NOTIFY_PLAYERSTATE_CHANGE/0
MJEvent type: MCCommand/MCC: NOTIFY_VOLUME_CHANGED/-1
MJEvent type: MCCommand/MCC: NOTIFY_PLAYERSTATE_CHANGE/0
Position: -5/266
MJEvent type: MCCommand/MCC: NOTIFY_TRACK_CHANGE/0
Position: 0/266
Position: 1/266
Position: 3/266
MJEvent type: MCCommand/MCC: NOTIFY_PLAYERSTATE_CHANGE/0
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: Arbiter on August 09, 2010, 11:59:04 am
Thanks for the replies, I'll investigate some more...

The plugin appears to be installed and initiating correctly, but I am not getting any progress indicator in the taskbar icon....


I Think i know what you mean, Marko. It stopped working since yesterday here:/ I didn't do anything other than messing with the DSP options.

I'll try to just reinstall the plugin.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: marko on August 10, 2010, 01:42:19 am
Are you running MC build .92?

Something is upsetting the plugin. As far as I can tell, it doesn't work at all with build .92, with a different build, it works again, but the "progress indicator not clearing when playback is stopped" bug is back again.

This could be down to a recent MC change, or perhaps a recent windows update change. I've not performed a system reboot here for 12 days or more either, so it's equally possible a reboot might shake things back into order.

-marko
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: Arbiter on August 10, 2010, 04:08:32 am
Are you running MC build .92?

Something is upsetting the plugin. As far as I can tell, it doesn't work at all with build .92, with a different build, it works again, but the "progress indicator not clearing when playback is stopped" bug is back again.

This could be down to a recent MC change, or perhaps a recent windows update change. I've not performed a system reboot here for 12 days or more either, so it's equally possible a reboot might shake things back into order.

-marko

Yes i am running Build .92. I also tried a reinstallation of the plugin but i still get the same behaviour. Hmm that's weird!
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: HTPC4ME on August 27, 2010, 06:44:12 pm
new here just downloaded and i dont see anything on my taskbar at all... once installed do we have to reboot pc? i shut down JRiver then restarted it. but taskbar looks the same on my end.

Thanks
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: marko on September 03, 2010, 12:41:57 am
Something, somewhere, has changed. This plugin no longer works reliably.

Sometimes, it works, but, if it does work, and I stop or pause a track, the progress in the taskbar icon does not clear.
Other times, it simply doesn't do anything.

A shame as it was a neat and simple plugin.

-marko
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: rick.ca on September 03, 2010, 03:31:03 pm
FWIW... It still works fine for me (on Win 7 x64).
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: sydlexius on October 01, 2010, 04:44:48 pm
Count me in among the ones who can't get this plugin to work reliably.  I'm running MC 15.0.122 on Win7 x64.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: zxsix on October 02, 2010, 09:22:32 am
I really wish I knew what the issue is for you folks.   I'm on Windows 7 x64 running MC15.0.125 and the taskbar progress is working for me as I type this.

The status area of the plugin reads like this:

Plugin Initiated OK
MJEvent type: MCCommand/MCC: NOTIFY_PLAYLIST_FILES_CHANGED/0
MJEvent type: MCCommand/MCC: NOTIFY_PLAYLIST_FILES_CHANGED/1025914166
MJEvent type: MCCommand/MCC: NOTIFY_PLAYERSTATE_CHANGE/0
MJEvent type: MCCommand/MCC: NOTIFY_VOLUME_CHANGED/0
MJEvent type: MCCommand/MCC: NOTIFY_PLAYERSTATE_CHANGE/0
MJEvent type: MCCommand/MCC: NOTIFY_TRACK_CHANGE/0
MJEvent type: MCCommand/MCC: NOTIFY_PLAYERSTATE_CHANGE/0
MJEvent type: MCCommand/MCC: NOTIFY_VOLUME_CHANGED/0
MJEvent type: MCCommand/MCC: NOTIFY_PLAYERSTATE_CHANGE/0
MJEvent type: MCCommand/MCC: NOTIFY_TRACK_CHANGE/0
Position: 0/341
Position: 2/341
Position: 4/341
Position: 6/341
Position: 8/341
Position: 10/341
Position: 12/341
Position: 14/341
Position: 16/341
Position: 18/341
Position: 20/341
Position: 22/341
Position: 24/341
Position: 26/341
Position: 28/341
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: marko on October 02, 2010, 10:16:16 am
My status area shows that too, but the taskbar icon either doesn't update, or, if it decides to do so, and I stop a track, the taskbar icon sticks there, half-full of progress indicator and it doesn't clear.

EDIT: I wonder if this is dependent upon output mode settings? I can't test this atm as the man from OCUK still has my PC....

My output mode was set to use Creative ASIO.

-marko.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: zxsix on October 02, 2010, 10:41:27 am
That is a good theory worth testing.  I use wasapi.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on June 18, 2011, 03:57:16 pm
I have finally updated this plugin.  Use the link up top.

There is one new feature: displaying cover art in the thumbnail preview window!

This can be enabled/disabled by going to the plug-in's config screen. It's a little buggy; when enabled, Windows Peak won't work, as I couldn't figure out how to get MC's windows messages sent to my plug-in, and thus couldn't update the Peak at the correct time.

I've also hopefully made the status indicator a little less buggy; added in some custom exception handling for play status.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on June 18, 2011, 06:15:04 pm
Found a memory leak  :-[  Updated and uploaded.  Enjoy!
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on June 19, 2011, 10:32:12 am
Woo!  Got the peak working.  It's just a screenshot, not a live update, unfortunately, I don't know how to enable custom thumbnails but disable custom peeks  ?

Anyways, custom peaks is now enabled by default.

ENJOY!!
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on June 19, 2011, 12:07:26 pm
Talking to myself :S.  Still, had another bug fix that I snuck in.  Might have to start doing versioning on this bad boy. Will also submit to the plug-in guy later today....
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on June 23, 2011, 08:13:12 am
Updated again, now with options to display playlist progress or track progress in the taskbar, as well as an option to display the artist/trackname in the title of the peak.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: marko on June 23, 2011, 12:51:24 pm
Nice one danrien, thanks for the update. Working well here so far...
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on June 24, 2011, 08:18:47 am
Tnx dude.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: StFeder on June 24, 2011, 05:46:36 pm
an option to display the artist/trackname in the title of the peak.
Fantastic new feature! I also like the feature to show the cover art!

Fantastic work!
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: rick.ca on June 24, 2011, 07:36:40 pm
FWIW, the cover art option doesn't work for me. Maybe because my cover art location is "in the same folder as the file"? It shows a spinning disc for 10 seconds, then the MC icon. And then the caption doesn't appear either. With the cover art option off, everything else works fine.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: StFeder on June 25, 2011, 04:58:36 am
For me both options working together fine. I have cover art located in a separated folder.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: phytio on June 25, 2011, 08:29:31 am
Just to let you know I tried using the latest version of this but it makes MC crash. I'm currently using MC15 build 174 on Win7 x64, if it needs MC16. I've gone back to an earlier version that does work :)
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on June 25, 2011, 02:40:21 pm
Thanks for the feedback all.  @phytio, what options do you have enabled in the new version?  @rick.ca, I have my cover art location set to the same as the file, so that's a very interesting bug....
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: Fex on June 29, 2011, 01:42:22 pm
FWIW, the cover art option doesn't work for me. Maybe because my cover art location is "in the same folder as the file"? It shows a spinning disc for 10 seconds, then the MC icon. And then the caption doesn't appear either. With the cover art option off, everything else works fine.
The same here (Win 7 64bit, MC 16).

Thanks for your work!
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: phytio on July 02, 2011, 10:16:14 am
I re-installed and found that everything worked pretty smoothly until I tried to enable album artwork. When I did that and hovered over my MC taskbar icon the aeropeak thought about it for a while, but never showed anything. When I moved my mouse onto where the picture of MC should have been the programme then crashed and I had to force close it. Hope that helps!
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on July 04, 2011, 11:38:57 am
Sorry, this is very mysterious for me.  I am running with the same setting as all of you experiencing crashes, and am unable to reproduce.  One thing that is worth mentioning is that if you downloaded it before June 23rd, the exact issue everyone is having would have occurred, due to some poor logic on my part.  However, recently, I have corrected those issues, so if you are still experiencing them, I am even more intrigued.  I encourage everyone to re-download and re-install, and if that still doesn't fix everything, PM me some basic system info, i.e. permissions level, error logs, etc.  I can help you with finding this information if you need it.

Thanks,
David

**EDIT: To be clear: if you downloaded after June 23rd, you should not experience the crashes.  Thanks again.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: Fabricio on July 21, 2011, 05:15:24 pm
I found it at "HKEY_LOCAL_MACHINE\SOFTWARE\JRiver\Media Jukebox\Plugins\Interface\MC_jumpbar" Set "PluginMode" to "1"

Another little 'issue-ette' I've found is that if I stop a track half way through, the taskbar progress indicator does not clear.

-marko

I install the plugin, but not show cover art, not show in HKEY_LOCAL_MACHINE\SOFTWARE\JRiver\Media Jukebox\Plugins\Interface\ ....

In HKEY_LOCAL_MACHINE\SOFTWARE\JRiver\Media Jukebox\Plugins\Interface\TiVo Sever (only).

In Media Center show plugin: plug-in manager > interface > MC_Jumpbar.

Now?

Not show cover art.

Help-me

Thanks,

Fabricio, from Brazil.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: rick.ca on July 21, 2011, 07:01:42 pm
The option settings are reset to default every time a new build of MC is installed. This is rather annoying, particularly since the default includes "enable cover art" which doesn't work for me, and not "display artist and track name" which does. I see these settings are in MC_jumpbar.dll.config, but changing them there does nothing. How can I change the defaults, or otherwise make my preferred settings "stick"?
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on July 22, 2011, 09:03:11 am
@rick.ca:

I'm not sure of a way to fix this.

Everyone else: I'm working on a solution to the cover art problem, which is a bit difficult since I can't reproduce it on a Win 32 or Win 64 machine, but I'll try somethings and maybe have you all be my test monkeys ;)

Thanks,
David
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: rick.ca on July 22, 2011, 01:00:59 pm
Quote
I'm not sure of a way to fix this.

Where are the settings saved?
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: instigator on July 24, 2011, 09:29:15 pm
Great initiative!!!!
In my case, the cover art works OK (I have the cover image in the same folder as the file), but "display artist and track name" not. Also, I have noticed that a crash occurs when I try to use the Aero Peek. I'm using the last version of MC 16.
Regards.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on July 25, 2011, 10:08:16 am
They get saved in a default configuration file that the C# compiler creates.  It is possible that on re-install of MC16, this configuration file gets removed, and thus, a new one is created with what I decided were appropriate defaults (although perhaps I should uncheck the default for thumbnails until I have time to solve that little mystery).  The possible solution to this would be to make my own config file, but I need time :S  I'm busy on a work project creating legal documents in PDF format on the fly from HTML pages, so my time is very precious these days :)   After the 60 hour weeks subside, I'll maybe have some time again to look into this.

Thanks for all the feedback guys!
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on August 14, 2011, 02:01:52 pm
Question for all suffering crashes on cover art: is your taskbar in a position other than the default bottom position?  This seemed to cause crashes for me!  Which is good, since I haven't been able to reproduce crashes!

If this is indeed the problem, then this problem may take some more research, in which case I recommend disabling the cover art option until i can figure out the solution.  Thanks all. I will also release a new executable that has cover art disabled by default again, and will look into the changed settings  not showing up.

Thanks everybody!
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: StFeder on August 15, 2011, 04:57:37 am
I had some crashing with your plugin and cover art. I have my taskbar docked at the left (so: no default position).

Moving it to default position indeed solves the crashing!
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on August 15, 2011, 01:37:08 pm
I had some crashing with your plugin and cover art. I have my taskbar docked at the left (so: no default position).

Moving it to default position indeed solves the crashing!

Great!  Well, not so great, because you can't use your computer like you want to, but great because it helps confirm my suspicions as to what's causing the problem from a high level perspective.   Now I just need to figure out how Windows handles it and why it blows up on this....

Thanks StFeder!
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: instigator on August 15, 2011, 08:59:48 pm
Hi danrien.
In my case it crashes when I close with the mouse to the CoverArt (Aero Peek), and when I change between windows with ALT + TAB, when I select the JRiver thumbnail preview, it crashes.
PD:I'm using the taskbar in default position(bottom).
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on December 12, 2011, 08:39:43 pm
Welp, it appears I'm not dead yet!  I've got a major banking project knocked out and so now I have a little time to devote to my own interests.... in the meantime I've learned a lot about Version Control, learned a little bit about organizing my code better, etc., and so I have some major news on this stuff:

First of all, a new release, that doesn't exhibit the bug we last had.  Yes, I finally found the source of the bug, it was related to the library I was using screenshots for on request for a window Preview by Media Center.

Secondly, I've created a Google Code project for this.  Since I'm a little groggy coming off the coffee and such, I didn't mess with ignoring the binaries and all that stuff, and there's a bunch of backup copies from when I had to do a restore from a backup. So in other words, in spite of all I've learned of Source Control, the source is still a complete mess.

Anyways, the new version is available at: http://code.google.com/p/j-river-media-center-windows-7-shell-integration/downloads/detail?name=MC_Taskbar_Plugin_0_8.exe

The source code is available as well, of course.

Thanks!
David
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: Fabricio on December 12, 2011, 09:10:36 pm
Perfect. Excellent work.

Very good.

Thanks,

Fabricio, from Brazil.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on December 13, 2011, 07:35:45 am
thnx.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: instigator on December 14, 2011, 09:58:27 am
Nice work. It works!!
But, far as I remember, this plugin add some extra features like cover art instead of thumbnail, track title, track artist,etc. This doesn't work anymore?
Any plan to add this features?
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on December 14, 2011, 08:40:23 pm
It should still work.  You need to enable it in the plug-in settings.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: Fabricio on December 15, 2011, 04:09:25 am
It should still work.  You need to enable it in the plug-in settings.

Sorry, but only taskbar progress. Not show track title, track artist,etc. Why?

Regards,

Fabricio, from Brazil.

Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on December 15, 2011, 10:09:48 am
Sorry, but only taskbar progress. Not show track title, track artist,etc. Why?

Regards,

Fabricio, from Brazil.



Have you enabled those features in the plug-in settings?
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: Fabricio on December 15, 2011, 11:37:07 am
Have you enabled those features in the plug-in settings?

When enable cover art thumbnail not show cover art and not show progress indicator type.

Not problem: display artist and track name in the title bar and show progress indicator type.

Cover art not show, only show icon media center. Why?

Fabricio, from Brazil.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on December 15, 2011, 01:54:39 pm
I'm sure it's nothing you're doing Fabricio, I'll continue looking into it but it's a little frustrating since I can't see it happening and it works fine for me on my 3 computers :-/.  Can you send me a screen shot of this occurring?
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: Fabricio on December 15, 2011, 04:29:01 pm
I'm sure it's nothing you're doing Fabricio, I'll continue looking into it but it's a little frustrating since I can't see it happening and it works fine for me on my 3 computers :-/.  Can you send me a screen shot of this occurring?

Look:

(http://i639.photobucket.com/albums/uu119/zen2005/PLUGINJMEDIACENTER.jpg)

When enable cover art thumbnail not show cover art and not show progress indicator type.

Do you understand?

Fabricio, from Brazil.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on December 15, 2011, 07:24:05 pm
Hm does it have something to do with that other plug-in ("DFX9 JRiver") you have running?  Have you tried disabling that? 
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: rick.ca on December 15, 2011, 07:38:13 pm
The plugin has never displayed cover art for me. I assume that's why the option is labelled "buggy." I'd be happy if I could just disable it, but my settings are still lost with every update of the program.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: Fabricio on December 15, 2011, 07:44:35 pm
Hm does it have something to do with that other plug-in ("DFX9 JRiver") you have running?  Have you tried disabling that?  

Disable DFX, but not work cover art thumbnail.

Sorry ... and now?
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on December 15, 2011, 08:19:15 pm
The plugin has never displayed cover art for me. I assume that's why the option is labelled "buggy." I'd be happy if I could just disable it, but my settings are still lost with every update of the program.

I assume you mean when you install a new version of Media Center?  I'm going to chalk this up to something that gets reset on their end, and so consider this minor, I have much more major issues to focus on.  The important part to me is that the new version isn't causing crashes for you anymore.  Is this correct?

Disable DFX, but not work cover art thumbnail.

Sorry ... and now?

Not sure, let's keep working through it... send me a new screenshot, and if you can, bigger this time.  Also, if you want to chat about it more quickly, let me know I can send you my gmail.

Also, I'm going to create a new thread, just put out a new release, it has major enough release notes that it merits is own thread, so this one will be discontinued (if I can do that?).
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: rick.ca on December 15, 2011, 08:49:10 pm
I assume you mean when you install a new version of Media Center?  I'm going to chalk this up to something that gets reset on their end, and so consider this minor, I have much more major issues to focus on.  The important part to me is that the new version isn't causing crashes for you anymore.  Is this correct?

What's important to you, of course, is your business. I'm a beta tester, so program is updated about four times a week. A plugin that reverts to defaults that don't work is a PITA. If displaying cover art is "buggy" and it's going to stay that way, maybe it shouldn't be the default.

But it doesn't really matter. The main purpose of my comment was to point out what Fabrico is experiencing is something that hasn't changed since the beginning for me. That may be a clue as to what his problem is, although I don't know if it worked for him before.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on December 15, 2011, 09:01:27 pm
What's important to you, of course, is your business. I'm a beta tester, so program is updated about four times a week. A plugin that reverts to defaults that don't work is a PITA. If displaying cover art is "buggy" and it's going to stay that way, maybe it shouldn't be the default.

But it doesn't really matter. The main purpose of my comment was to point out what Fabrico is experiencing is something that hasn't changed since the beginning for me. That may be a clue as to what his problem is, although I don't know if it worked for him before.

Errr... okay.  I'm developing this in my free time, when I'm not working 60-70 hour weeks, so priorities must be made.

Is it still crashing for you though, even though it doesn't display the cover art?
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: rick.ca on December 15, 2011, 09:54:56 pm
Quote
Is it still crashing for you though, even though it doesn't display the cover art?

No, it doesn't crash. Just a spinning disk when it's selected. Selecting and deselecting the option will switch between a spinning disc (on) and a normal peek image (off) while something is playing. Conversely, switching the setting before or after play or before or after restarting the program has no impact on the behaviour. In other words, it seems like it can't find the cover, not that anything else is wrong.

Would the cover art location make any difference? Mine are saved in the same folder as the file, and embedded.

I'm testing this, BTW, with the just posted 0.8.1 version. I haven't yet noticed in differences. I did, however, just try changing MC versions (to the previous one, then back to the current), and my settings (cover off, track name on) were retained. Although I wasn't paying attention, I'm pretty sure the last update (with version 0.8.0 installed) a few hours ago resulted in the settings changing. Did you change something in 0.8.1 that might affect this?
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on December 15, 2011, 10:35:37 pm
No, it doesn't crash. Just a spinning disk when it's selected. Selecting and deselecting the option will switch between a spinning disc (on) and a normal peek image (off) while something is playing. Conversely, switching the setting before or after play or before or after restarting the program has no impact on the behaviour. In other words, it seems like it can't find the cover, not that anything else is wrong.

Would the cover art location make any difference? Mine are saved in the same folder as the file, and embedded.

I'm testing this, BTW, with the just posted 0.8.1 version. I haven't yet noticed in differences. I did, however, just try changing MC versions (to the previous one, then back to the current), and my settings (cover off, track name on) were retained. Although I wasn't paying attention, I'm pretty sure the last update (with version 0.8.0 installed) a few hours ago resulted in the settings changing. Did you change something in 0.8.1 that might affect this?

Nope, but I'm happy to hear it's working :).  While your hypothesis is a good one about the cover art, I'm simply making a call API provided by MC, which is supposed to actually generate an image of a certain resolution (I'm trying not to get to technical here) for me based off the cover art image provided to MC irregardless of location, so it is out of my control.  My best guess is that you don't store images in the media file, which I always have, and that could be the one difference. I'm gonna switch the type of Image call I make to MC, are you willing to test an executable if I PM it to you?  I would like to know if it works before bragging about fixing it ;)
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: rick.ca on December 15, 2011, 10:49:08 pm
Quote
My best guess is that you don't store images in the media file, which I always have, and that could be the one difference.

I do. That's what I meant by "embedded."

Quote
I'm gonna switch the type of Image call I make to MC, are you willing to test an executable if I PM it to you?

I'm happy to try it, if you think it might make a difference.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on December 15, 2011, 11:00:50 pm
Hmm. Well your settings are the same exact as mine.  Since I can't send attachments with this BB, I just uploaded it via FTP to my server.  Download it from here: http://www.devedcomputers.com/MediaCenterAddOns/MC_Aero_Taskbar_Plugin.exe

Let me know how it works, and if it's a positive result then I'll post a new release.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: rick.ca on December 16, 2011, 12:01:17 am
Quote
Let me know how it works...

As Thomas Edison might say, "There's one more way it doesn't work." ;)

Instead of spinning disc, the peek image flickers. The flickering appears to be caused by another peek image about 1/4 the the size of the original appearing for a split second (i.e., too fast to see clearly). Even after play is stopped and the cover art option deselected, the peek window remains and the taskbar doesn't respond.

Another possibility: I believe I've used a registry-hack to make my peek images larger than standard. Could that be causing the problem? I'll try to figure out how I did that, and set it back to the default...

Another unrelated and minor comment: Consider changing the name of the registry key from MC_Aero_Taskbar_Plugin to "Aero Taskbar" so that (or some other) friendly name appears in the tree and on it's tab.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on December 16, 2011, 12:26:04 am
As Thomas Edison might say, "There's one more way it doesn't work." ;)

Instead of spinning disc, the peek image flickers. The flickering appears to be caused by another peek image about 1/4 the the size of the original appearing for a split second (i.e., too fast to see clearly). Even after play is stopped and the cover art option deselected, the peek window remains and the taskbar doesn't respond.

Another possibility: I believe I've used a registry-hack to make my peek images larger than standard. Could that be causing the problem? I'll try to figure out how I did that, and set it back to the default...

Another unrelated and minor comment: Consider changing the name of the registry key from MC_Aero_Taskbar_Plugin to "Aero Taskbar" so that (or some other) friendly name appears in the tree and on it's tab.

haha well my whiskey is too empty for me to answer this with a clear mind tonight, but let me know if that is the issue.  if you find the registry hack, i would be interested to know what it is so that i can try it myself.  obviously i can't test for all users, but the more types of exotic cases i can get in the better.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: rick.ca on December 16, 2011, 12:46:57 am
The answer is "yes and no." Yes, it seems it was the cause of the flickering. But no, it's not the cause of the original problem. With the taskbar thumbnail size reset to default, I still get the spinning disc (which eventually becomes the MC icon) with both 0.8.1 and the test version of the plugin.

The "hack" is actually a tool: Increase the size of Taskbar Preview Thumbnails in Windows 7 (http://www.howtogeek.com/howto/14442/increase-the-size-of-taskbar-preview-thumbnails-in-windows-7/).
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on December 16, 2011, 07:30:26 am
hm.  well i ran your tool and was still able to display clip art in the preview window without issue.  at this point, i don't really know how much more i can do, it comes down to MC sending me the right image back.  the only thing i can suggest is uninstalling/disabling all other plug-ins and/or resetting all of your MC settings back to default and see if one of those causes the conflict.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: marko on March 05, 2012, 11:43:16 am
danrien,

I've discovered a problem with your plugin. If MC is runing for an extended period of time, more than eight hours, it causes slowdowns. For example, it can take up to 5 seconds for the program to minimise, or up to seven seconds to display an image file full screen, then another seven seconds to get back to standard view.

Restarting MC restores things to normal. Maybe I'm not your typical case, leaving MC running all the time, but thought you might be interested none the less.

-marko
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on June 10, 2012, 02:11:15 pm
Hey Marko, thanks for the feedback! You know I appreciate it even when my job is taking away all my time. Finally got around to fixing a couple of major bugs, so I updated the version to .91.

Here's the link to download:
http://j-river-media-center-windows-7-shell-integration.googlecode.com/files/MC_Aero_Taskbar_Plugin_0_9_1.exe

I'm not sure if this will fix your issue, but I would guess that it could have been caused my a memory leak that I finally found and fixed in this version.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: Fabricio on June 10, 2012, 03:33:38 pm
Hey Marko, thanks for the feedback! You know I appreciate it even when my job is taking away all my time. Finally got around to fixing a couple of major bugs, so I updated the version to .91.

Here's the link to download:
http://j-river-media-center-windows-7-shell-integration.googlecode.com/files/MC_Aero_Taskbar_Plugin_0_9_1.exe

I'm not sure if this will fix your issue, but I would guess that it could have been caused my a memory leak that I finally found and fixed in this version.

Thanks, but when "Enable Cover Art Thumbnail", NOT SHOW COVER ART. See msm:

The Stack Trace Follows:
   em Windows7.DesktopIntegration.Windows7Taskbar.SetIconicThumbnail(IntPtr hwnd, Bitmap bitmap) na D:\JRiver-Media-Center-Windows-7-Shell-Integration\Windows7.DesktopIntegration\Windows7Taskbar.cs:linha 181
   em MC_Aero_Taskbar_Plugin.JrMainWindow.SetThumbnailPreview(Bitmap thumbBmp) na D:\JRiver-Media-Center-Windows-7-Shell-Integration\MC_Aero_Taskbar_Plugin\MainInterface.cs:linha 749
   em MC_Aero_Taskbar_Plugin.MainInterface.setThumbnail(String currentFile, Size thumbnailSize) na D:\JRiver-Media-Center-Windows-7-Shell-Integration\MC_Aero_Taskbar_Plugin\MainInterface.cs:linha 539
The following Inner Exception was caused
when calling Method Void SetIconicThumbnail(IntPtr, System.Drawing.Bitmap)
The Failure Occured In Class Object: Windows7.DesktopIntegration
A Fatal error has occured: O valor não recai no intervalo esperado.
Plugin Initiated OK


And now? I use MC 17.0.170.

Regards,

Fabricio, from Brazil.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on June 10, 2012, 03:37:40 pm
I don't know man, you have an odd way of having issues no one else does. Hard to tell you what's going on.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: Fabricio on June 10, 2012, 04:03:59 pm
you have an odd way of having issues.

heheheheh :D :D :D :D :D

Ok, thanks,

Fabricio, from Brazil.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on June 10, 2012, 04:05:58 pm
Keep your eyes open though, you never know when the next release might come out and fix it by some miracle ;). I do look through the errors though. I just don't like to code ALL THE TIME :).
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on June 10, 2012, 04:10:24 pm
And of course, now that I push the code to Google Code, you always have the option of fixing it yourself. I actually feel like I have the code in a solid enough state where it should be fairly easy to change yourself if you have a lot of (or some, in my case) experience programming for WinForms/Win32 :).
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: Fabricio on June 10, 2012, 04:30:39 pm
And of course, now that I push the code to Google Code, you always have the option of fixing it yourself. I actually feel like I have the code in a solid enough state where it should be fairly easy to change yourself if you have a lot of (or some, in my case) experience programming for WinForms/Win32 :).

Sorry, I dont have experience programming for WinForms/Win32.  :'( :'( :'( :'(

When being intalled the plugin v. 0.9.1 and run the MC for the first time displayed the album cover. After not.  :'( :'( :'( :'(

Regards,

Fabricio, from Brazil.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: marko on June 13, 2012, 01:52:43 am
Hey Marko, thanks for the feedback! You know I appreciate it even when my job is taking away all my time. Finally got around to fixing a couple of major bugs, so I updated the version to .91.

Here's the link to download:
http://j-river-media-center-windows-7-shell-integration.googlecode.com/files/MC_Aero_Taskbar_Plugin_0_9_1.exe

I'm not sure if this will fix your issue, but I would guess that it could have been caused my a memory leak that I finally found and fixed in this version.
Morning danrien,
I finally got around to reinstalling today. Will let you know how it fairs.
I uninstalled version .8 prior to installing .91, but plugin manager still thinks that I have version .8 installed. Both MC and server were closed during the uninstall and update.

-marko
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: Fabricio on June 13, 2012, 05:40:14 am
Morning danrien,
I uninstalled version .8 prior to installing .91, but plugin manager still thinks that I have version .8 installed. Both MC and server were closed during the uninstall and update.

-marko

+1
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on June 13, 2012, 11:47:03 am
Morning danrien,
I finally got around to reinstalling today. Will let you know how it fairs.
I uninstalled version .8 prior to installing .91, but plugin manager still thinks that I have version .8 installed. Both MC and server were closed during the uninstall and update.

-marko

Marko, this one is easy: I forgot to update the version number in the installer! I'll get around to that tonight and release a new version with the correct version number.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on June 13, 2012, 03:51:03 pm
Alright, a new version is out, with some other fixes, which include:


Get it here, as usual. http://machine.devedcomputers.com/category/coding/jr-mc-win7/
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: Fabricio on June 13, 2012, 06:21:25 pm
Alright, a new version is out, with some other fixes, which include:

  • Regression: Pause now changes progress to yellow as before
  • Regression: Waiting status now changes progress to indeterminate (cycling progress bar without begin or end)
  • Correct Version Number in installer

Get it here, as usual. http://machine.devedcomputers.com/category/coding/jr-mc-win7/

My friend,

Now is working correctly. Show cover art. I'm happy.

Excellent work.

Thanks,

Fabricio, from Brazil.
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: Fabricio on June 20, 2012, 01:53:21 pm
Hello,

Sometimes, the cover art thumbnail for me:

(http://i639.photobucket.com/albums/uu119/zen2005/MCsuperbarCoverArt.jpg)

Why?

Regards,

Fabricio, from Brazil.

Title: Re: Windows 7 Taskbar Progress Plugin
Post by: danrien on June 22, 2012, 02:38:59 pm
Hello,

Sometimes, the cover art thumbnail for me:

(http://i639.photobucket.com/albums/uu119/zen2005/MCsuperbarCoverArt.jpg)

Why?

Regards,

Fabricio, from Brazil.



It's just some odd Windows behavior.... I'll keep it as a low-ticket item to look at, since I've noticed it too (specifically when using DisplayFusion for multi-monitor systems). Thanks for bringing it up or I might have forgotten about it, Fabricio....
Title: Re: Windows 7 Taskbar Progress Plugin
Post by: Fabricio on June 22, 2012, 03:19:55 pm
It's just some odd Windows behavior.... I'll keep it as a low-ticket item to look at, since I've noticed it too (specifically when using DisplayFusion for multi-monitor systems). Thanks for bringing it up or I might have forgotten about it, Fabricio....

Ok.

Fabricio, from Brazil.