Triggering Media Center to refresh the media library metadata

G

Guest

First, let me apologize if this question belongs in a different forum. This
is my first venture into the MC SDK, so I'll try my best to phrase my
question appropriately.

I've built a windows forms application that essentially removes commercials
from all (*.dvr-ms) files in MC's watched directories.

After a show has had it's commercials removed, the show metadata is updated
- the text " No Commercials." is appended to the show description. This is
useful so you can tell which shows are commercial-less. This metadata update
is utilizing some DVR-MS editing libraries authored by Stephen Toub
(http://blogs.msdn.com/toub/archive/2005/05/12/416874.aspx)

All of the above works great. The only problem I am having is that Media
Center still uses the old metadata. Even though the metadata has changed
(Note - it shows correctly in Vista Windows Explorer), Media Center does not
seem to know it has changed. This is evident because when commercial-less
show is selected in Media Center, it displays the old description and
duration.

The only way I've found to force a library/metadata refresh in MC is to stop
the ehRecvr service. Stopping this service will kill any currently recording
shows so it's not really a viable solution.

Ideally, I'd like to trigger this refresh to happen without restarting any
services or killing any applications.

Any thoughts?

Cheers,
Bobby
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top