Hacking Windows 7 Media Center

Adjusting the AlbumArt Waterfall Background Animation

by Michael Healy @ 9:00 am on July 2nd, 2009 in music library, programs, themes with 16 Comments and Permalink

albumart If you’ve participated in the Windows 7 program for some time now you may have noticed in more recent versions that the animated waterfall album art background that is displayed while playing music has slowed down considerably. Almost to a “glacial rate” as one user put it. This was done to accommodate lower performance PCs that were having trouble rendering the background at the proper speed and keeping up with the other tasks such as actually playing the music.

Now that’s fantastic but they left out any option to increase or decrease the speed through a simple settings interface. Instead the rate was locked down in the trusty old ehres.dll file. This is bad because it makes it somewhat more difficult to change but it’s good because when opening up this file we find there are a great many possibilities to create custom animated backgrounds with this same file.

albumart waterfall

For those not interested in the how-to of this, simply download this prefab patch to double the rate at which the album art waterfall scrolls. For the rest of you interested in how this is done and maybe curious about creating your own animated backgrounds you’ll need a resource editor such as Restorator and an XML or plain text editor, preferably XML Notepad which is free from Microsoft download.

Once you’ve got your tools, create a copy of the ehres.dll file from C:\Windows\ehome\. Next, open up Restorator (or your resource editor of choice) and load that copy of the ehres.dll file. At this point you should probably create a backup of this file as well, just in case something should go awry later on.

albumartbackground xml

Now, with ehres.dll open in the resource editor locate the html folder and find the file named albumartbackground.xml. This is the file that contains all the information for use in the album art waterfall background. Extract this file by simply dragging and dropping the file from the resource pane onto your desktop.

xml notepad timer

Next, open this albumartbackground.xml file in XML Notepad. You should see something similar to the image above. Under the tree view, open up the first UI folder, then the Locals folder and finally the second Timer folder.

The name of this Timer should read TimerForScrolling and by default is set to 2000 (milliseconds). To increase the speed of the scrolling effect you will need to decrease the Interval at which this timer “ticks”. For instance, to double the speed of the scrolling effect set the Interval to 1000. Be aware, however, that at a certain lower interval the animation will not be able to maintain it’s rate and will likely not render properly.

Once you have set your new timer interval, save the XML file and reload it into the resource editor. You should be able to simply drag the file back onto it’s original location in the resource tree. Afterwards, save the new ehres.dll file you’ve created and copy it back into it’s original location in C:\Windows\ehome\ (you will need ownership of the original ehres.dll file).

Now, you may be wondering how you can create your own custom animations using this file. That is something that is indeed possible but somewhat beyond the range of this particular guide. Using the tools above and a little bit of trial and error, however, you should be able to work out some fairly nice effects through this XML.

You can find even more details on editing animation effects for Windows 7 Media Center on MSDN’s guide to editing MCML (Media Center Markup Language). If you do create some nice effects that you’d like to share with the community send them in! Email your custom XML files as attachments to mhealy@hack7mc.com or use this special form.

16 Comments

Comment #1976 from ryaninc [Reply]

Nice instructions here! I would love to know how to turn the waterfall off completely, though. When I use MC for playing music, especially when we have company over, I don’t necessarily want them all knowing all the albums I have in my library. VistaMC had no waterfall, and while I like it sometimes, I’d also like to be able to turn it off when I don’t want it.

Comment left July 3, 2009 at 7:06 am with Permalink
@Reply #1978 from Michael Healy [Reply]

There is a registry settings at HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Media Center\Settings\Audio called mosaicAnimationMode that will turn off the waterfall when set to a value of 2. Settings this value to 1 disabled the animation of the waterfall. The default value is 0.

Somewhat of a hassle without a program to change the value but it will get the job done.

Comment left July 3, 2009 at 8:02 am with Permalink
@Reply #1986 from AlexStevens [Reply]

You can turn the album art wall off in media center by going to settings -> Music -> Now playing > and set the now playing backgroud to none.

Comment left July 3, 2009 at 2:28 pm with Permalink
Comment #1987 from AlexStevens [Reply]

This is good, but I can’t stop my Xbox extender from messing up all my album art :-(

Comment left July 3, 2009 at 2:30 pm with Permalink

Cool Water
Comment #2010 from Cool Water [Reply]

I am in the process of cleaning up my music (adding cover art, tags etc.) before putting it on my Windows 7 RC box. For testing purposes, I have added only two albums to the music section with all meta data. But when I play any song from those two albums, the drifting cover art area in the background shows the cover art for all the other files/albums I have ever played or even added to Media Center. Is there a way to reset the drifting cover art so it picks up the cover art only from the albums I’ve added through the Tasks -> Media Libraries option?

Thanks.

Comment left July 5, 2009 at 3:54 pm with Permalink
@Reply #2015 from Michael Healy [Reply]

If your Media Player database is already emptied I would try to clear out any of the cache directories in C:\Users\USERNAME\AppData\Local\Microsoft\Media Player. It’s a hidden directory so you’ll need to enable hidden folders in folder options or type the location into the explorer bar.

Comment left July 5, 2009 at 10:43 pm with Permalink
@Reply #6903 from Tiny Turtle [Reply]

I have the same problem a few other here have mentioned with the patch refusing to overwrite the ehress.dll file even after I’ve right-clicked on it in Windows Explorer and chosen “Take Ownership”. Chosing this opens a cmd window for a second before it closes (too fast for me to see what it says – is this what’s supposed to happen?

(Win7 Ultimate 32bit Swedish)

Comment left January 22, 2010 at 11:34 am with Permalink

Brandon
Comment #2148 from Brandon [Reply]

I want to know if I can have MCE turn off my monitor while playing music. I like to set my music and let it play, but I don’t want to have to keep shutting my TV off and then turn it back on. Why can’t it just turn off the monitor after a couple minutes and turn it back on when I push a button on the remote?

Comment left July 15, 2009 at 10:16 pm with Permalink

Jimmy
Comment #3790 from Jimmy [Reply]

I tried to use the prefab patch and i get an error that says “Could not overwrite C:\Windows\ehome\ehres.dll(while writing C:\Windows\ehome\ehres.dll…)” I ran hte take ownership registry andlready and it seemed to work fine. What else could be worng? Thanks!

Comment left October 4, 2009 at 9:20 pm with Permalink
Comment #3975 from Everton [Reply]

I have the same problem as Jimmy with the exe file

Comment left October 13, 2009 at 10:04 am with Permalink

boldor
@Reply #3978 from boldor [Reply]

You have to right click the ehres.dll file and select “take ownership”

Comment left October 13, 2009 at 11:33 am with Permalink

stefano
Comment #5097 from stefano [Reply]

You have to right click the ehres.dll file and select “take ownership”

don’t work!!! don’t work!!!
this post are useless!!!

Comment left November 24, 2009 at 6:55 pm with Permalink

Omar
Comment #5640 from Omar [Reply]

I have an odd problem. I have one album cover in the background and I have no clue where it came from. I actually see it in the pic above too (“Mr. Scruff Ninja Tuna”). Any clue where this could be located so I can delete it or how I can get rid of it?

Comment left December 12, 2009 at 2:52 pm with Permalink

Butterball
@Reply #6314 from Butterball [Reply]

I got rid of it by searching for all jpg files in the c: drive, and sure enough it turned up. Delete the Ninja Tuna pic files and you should have no more Ninja Tuna.

Comment left January 4, 2010 at 7:04 pm with Permalink

amoll
Comment #7346 from amoll [Reply]

Can editing this file also disable the shifting of the album info from side to side when music is playing?

When hearing music I prefer to have no movements on the screen, so I have the waterfall turned off, but still there is this annoying thing where the album art and info every minute or so change position from one side to the other.

Does anyone know how to turn this off? I suppose editing the above file could do this trick?

Thanks for any hints.

Comment left February 2, 2010 at 6:01 am with Permalink

Leave A Comment

Post Anonymously, Fill in your details or Use one of the Social Networks below to login and post a comment!