Help - Search - Members - Calendar
Full Version: WMC Recordings panel
Desktop Sidebar Forums > Customizations > Panel Announcements
DaSH
Here's a screenshot of a Windows Media Center Recordings panel I'm working on. It shows you what programs your Windows Media Center pc is scheduled to record (Windows XP MCE required obviously). I made this primarily because I don't leave my pc on all the time and don't like to wait for MCE to start just so I can see what's going to be recorded next so I know when to ensure my pc is on.

First Release (6-22-06): Click to view attachment
It currently requires the mce recordings file to be located at:
C:\Documents and Settings\All Users\Application Data\Microsoft\eHome\Recording\Recordings.xml

Second Release (6-25-06): Click to view attachment
Filename is a panel proprety now and added a "Reload" option to the context menu.

You'll notice from the screenshot that I don't discard duplicate entries yet (i.e. movies that won't record if the previous showing does). For whatever reason, MS doesn't filter entries like those very well (i.e. they'll list multiple showings of the same movie as "WillRecord" even though the 2nd won't if the first one does...)

Thoughts?

Click to view attachment

- DaSH
Indian_Mayhem
whoa, then there seems to be little difference it sounds like in the XML file between BTV4 and MCE. I'm actually now wondering if we could check to see if the formats of the XML data are nearly the same. If so, then we could merge the two ideas, and create a property to point to the location of the xml file. If I'm not being to presumptuous.

DaSH
That'd be cool. Apparently the schema for it isn't available anywhere, so it'd be pretty strange if it was the same unless the data provider in each case was the same. Here are some snippets from my recordings.xml file...

The top level elements are "RecordingObjects", then "RecordingRequests", then specific recording information (see below).

CODE

<OneTimeRecordingRequest AnyChannel="true" ScheduleID="<SEID SrvID="28457769" SourceId="0" PrID="cQwQtpuVOfBp5gMX+Dx+Wg==" Start="2006-02-09T04:00:00" Duration="PT2H" ChID="39" />" ProgramID="cQwQtpuVOfBp5gMX+Dx+Wg==" ID="539" Title="Duplex" ServiceID="" Resource="00000000-0000-0000-0000-000000000000" PrePadding="-120" PostPadding="180" HardPrePadding="0" HardPostPadding="0" KeepUntil="-1" Quality="3" UniquePriority="0" Guaranteed="true" Complete="false" ChannelNum="39" CreationTime="2006-02-03T05:07:49.6804787-07:00" AnyLangauage="false" PrototypicalLanguage="en" SourceName="" />

<WishListRecordingRequest Keywords="Catch Me If You Can" TitleTemplate="{0} ({2})" CategoryName="Movies" SubCategoryName="All" KeywordType="3" ExactKeywordMatch="true" ScheduleLimit="100" ScheduleLimitPerDay="-1" TooManyScheduled="false" NumRecordings="0" EpTitle="" Year="2002" DaysOfWeek="127" AnyTime="true" PrototypicalStartTime="-P10675199DT2H48M5.4775808S" EarliestToSchedule="0001-01-01T00:00:00.0000000-07:00" MaxEpisodes="1" AllowedShowTypes="1" AnyChannel="true" Repeating="false" OncePerDay="false" ID="1408" Title="Catch Me If You Can (2002)" ServiceID="" Resource="00000000-0000-0000-0000-000000000000" PrePadding="-120" PostPadding="180" HardPrePadding="0" HardPostPadding="0" KeepUntil="-1" Quality="2" UniquePriority="29" Guaranteed="true" Complete="false" ChannelNum="0" CreationTime="2006-05-08T02:26:25.4218750-06:00" AnyLangauage="false" PrototypicalLanguage="" SourceName="" />

<RecordingScheduleItem ID="1349" ServiceID="28459908" RecordingRequestID="83" ScheduleEntryID="<SEID SrvID="28459908" SourceId="0" PrID="hESviYOgdSKqvV2SJY5jcA==" Start="2006-05-03T01:30:00" Duration="PT30M" ChID="4" />" Title="Scrubs" Description="J.D.'s mistaken impression leads an elderly woman to choose Dr. Cox for her treatment; a patient's excruciating pain stymies Turk and Elliot; Carla tries to organize the uncooperative staff for the annual group photo." EpisodeTitle="My Missed Perception" Genre="Comedy,Series" Credits="Zach Braff/Sarah Chalke/Donald Faison/John C. McGinley/Judy Reyes/Ken Jenkins/Neil Flynn;;;Michael Learned/Travis Schuldt/Aloma Wright/Robert Maschio" Rating="TV-14" RatingReason="" StarRating="" Year="0001-01-01T00:00:00.0000000-07:00" Language="en" StationName="KOB" NetworkAffiliation="NBC Affiliate" OriginalAir="2006-01-17T00:00:00.0000000-07:00" Attributes="7" KeepUntil="-1" FileName="" ProgramID="hESviYOgdSKqvV2SJY5jcA==" Resource="e16f0d62-3ea3-4022-bf36-10160dddf281" Quality="3" StartTime="2006-05-03T01:28:01.4687500-06:00" EndTime="2006-05-03T02:00:00.0000000-06:00" Prepadding="-120" PostPadding="180" ActualPrepadding="-120" ActualPostPadding="0" HardPrepadding="0" HardPostPadding="0" EligibleTime="2006-05-03T02:00:00.0000000-06:00" State="128" TuningNumber="4" TuningSpace="{8A674B4D-1F63-11D3-B64C-00C04F79498E}" CallSign="KOB" RunTime="PT30M" Watched="true" SportEvent="false" Movie="false" Errorcode="0" Filesize="0" Reference="false" HRErrorcode="0" PendingCookie="-1" StartCookie="-1" StopCookie="-1" StopReason="1" BeganLateReason="0" rrTitle="" IBRatingSystem="255" IBRatingLevel="255" IBRatingAttrib="0" SignalLoss="false" ContentProtected="0" ContentLicenseExpiration="9999-12-31T23:59:59.9999999-07:00" ExpectedDeleteDate="9999-12-31T23:59:59.9999999-07:00" WillRecord="true" ThumbnailFrame="0" ATSCCONTENT="false" DTV="false" Bitrate="6.384">
  <Bookmarks />
  <SceneItems />
  </RecordingScheduleItem>
Indian_Mayhem
Oh well, mine has some of the fields you have, but my provider seems to include alot more information. Different field names as well.

I've just had a difficult time doing the time conversions in the scripting panel.
GoMa
DaSH - it's great to see more script panels. smile.gif I don't use MCE though so I can't test your panel. Regarding the FIXME in your panel's code, this format is supported since build 108. smile.gif
I_M, you mean conversion of time to a certain timezone? That can be achieved using the Date class in JScript.
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.