Re: Shows Not Recording

An evolving, supported alternative to Rovi
Forum rules
★ Download the latest EPG123 here: http://epg123.garyan2.net <> Setup guide here: http://epg123.garyan2.net/downloads/epg123_Guide.pdf
kkingsto

Posts: 65
Joined: Fri Oct 20, 2017 8:36 pm
Location:

HTPC Specs: Show details

#21

Post by kkingsto » Sun Jan 24, 2021 2:00 pm

Thanks! I just set mine for 100MB. We'll see how that goes.

User avatar
StinkyImp

Posts: 589
Joined: Thu May 11, 2017 7:53 pm
Location:

HTPC Specs: Show details

#22

Post by StinkyImp » Sun Jan 24, 2021 4:29 pm

I have some (back burner) ideas for enhancing this utility. When (if) I get time I may incorporate them.

Right now my ~50MB increase is 13MB and begins on 5/4/2018. It currently has a little over 7,000 entries. Based on my recording habits the increased file size should hold years worth of recording history... Yours? Maybe decades. ;)

kkingsto

Posts: 65
Joined: Fri Oct 20, 2017 8:36 pm
Location:

HTPC Specs: Show details

#23

Post by kkingsto » Sun Jan 24, 2021 7:58 pm

StinkyImp wrote:
Sun Jan 24, 2021 4:29 pm
I have some (back burner) ideas for enhancing this utility. When (if) I get time I may incorporate them.

Right now my ~50MB increase is 13MB and begins on 5/4/2018. It currently has a little over 7,000 entries. Based on my recording habits the increased file size should hold years worth of recording history... Yours? Maybe decades. ;)
I have under 6000 entries. And that was from the past year. I may have cleared the history without realizing what I'm doing last year.

Does WMC use the history to determine of something has been recorded or not? (I would think so or we'd get a LOT of repeats over time which does still happen). I might get 2 copies of Gold Rush on one night (the normal time, and then in the wee hours of the AM).

There's a lot of duplication in some of the recordings. But then this may be how WMC works.

Space

Posts: 2548
Joined: Sun Jun 02, 2013 9:44 pm
Location:

HTPC Specs: Show details

#24

Post by Space » Sun Jan 24, 2021 10:24 pm

WMC does keep a history of recorded episodes, but it is not the Event Viewer logs that is being discussed in this thread. Those are just logs and are not used for anything other than that.

For each Series, there is a list of recorded episodes maintained by that Series (there is no way in WMC to see this list). The purpose is so that no Series ever records the same episode more than once. As you have discovered, there is a bug that can cause it to sometimes record some episodes more than once. It appears that it sometimes happens when episodes are first in the guide as generic (so they are set to record) and then later, gets episode specific data through a guide update (although I'm not sure this is required for this bug to happen, it is just how I've noticed it). Generally this means that those episodes that were in the guide as generic at the time of the update, continue to be scheduled to record, even though they are all the same episode (and therefore only one of them should be scheduled to record).

Note that if you delete a Series and re-create it, the list of already recorded episodes is also deleted (for that Series only), so it will start recording episodes that were already recorded in the past (if you use New & Rerun setting). It is possible to have two separate Series that will record the same episode separately, therefore recording it twice. For instance if you have one Series that records "Friends" episodes, and another that records "Actor: Jennifer Aniston". Each Series maintains there own separate history of recorded episodes.

kkingsto

Posts: 65
Joined: Fri Oct 20, 2017 8:36 pm
Location:

HTPC Specs: Show details

#25

Post by kkingsto » Sun Jan 24, 2021 11:05 pm

Thanks, Space. What you say makes sense.

User avatar
StinkyImp

Posts: 589
Joined: Thu May 11, 2017 7:53 pm
Location:

HTPC Specs: Show details

#26

Post by StinkyImp » Mon Jan 25, 2021 3:42 pm

kkingsto wrote:
Sun Jan 24, 2021 11:05 pm
Thanks, Space. What you say makes sense.
My .02$ dollar cents...

Space and IT Troll have a much better grasp of the inner workings of WMC's recording history. I use a simple read of the event log. That's why if you clear the log, my utility appears to start at the clearing (or rollover) date while WMC still knows which episodes have been recorded.

Another "back burner" project of mine is to design a means to create a grandfather/father/son (or more) nightly backup of the Media Center event log and a means to restore one of them if needed. :think:

User avatar
Gripweed

Posts: 132
Joined: Sun Feb 03, 2013 6:35 pm
Location: Scranton,PA_USA

HTPC Specs: Show details

#27

Post by Gripweed » Sat Jan 30, 2021 1:02 am

StinkyImp wrote:
Sun Jan 24, 2021 4:29 pm
I have some (back burner) ideas for enhancing this utility. When (if) I get time I may incorporate them.
Hey StinkyImp,
Today I had occasion to use your recordings.exe program to look up an event. Thank you so much for creating it. I did notice one thing that was listed in the WMC History List that does not appear in your list. And that is an error code.

You had:
1/27/2021 10:00:03 PM - Warning - For Life: s02e06 354 was not recorded due to an unexpected failure.
1/27/2021 10:00:05 PM - Warning - For Life: s02e06 354 was not recorded due to an unexpected failure.

What was missing was the error code 0xC0040524 which told me that one of my tuners locked up. If you could list the Tuner name or address that would be really helpful, too. I haven't looked lately at the actual Events listing in awhile so I'm not sure whether that information is even there or not.

User avatar
StinkyImp

Posts: 589
Joined: Thu May 11, 2017 7:53 pm
Location:

HTPC Specs: Show details

#28

Post by StinkyImp » Sat Jan 30, 2021 3:56 pm

Gripweed wrote:
Sat Jan 30, 2021 1:02 am

Hey StinkyImp,
Today I had occasion to use your recordings.exe program to look up an event. Thank you so much for creating it. I did notice one thing that was listed in the WMC History List that does not appear in your list. And that is an error code.

You had:
1/27/2021 10:00:03 PM - Warning - For Life: s02e06 354 was not recorded due to an unexpected failure.
1/27/2021 10:00:05 PM - Warning - For Life: s02e06 354 was not recorded due to an unexpected failure.

What was missing was the error code 0xC0040524 which told me that one of my tuners locked up. If you could list the Tuner name or address that would be really helpful, too. I haven't looked lately at the actual Events listing in awhile so I'm not sure whether that information is even there or not.
Hi Gripweed! :wave:

Yeah... That's actually one of my back burner ideas. That utility started out as a quick and dirty "proof of concept" and that's pretty much where it ended. One of these days (when I get the time) I'll probably work on that and the other enhancements I have in mind.

Thank you for giving it a try and thanks for your feedback! ;)

User avatar
StinkyImp

Posts: 589
Joined: Thu May 11, 2017 7:53 pm
Location:

HTPC Specs: Show details

#29

Post by StinkyImp » Sat Apr 03, 2021 4:40 pm

For anyone interested, I've made a minor change that I feel makes it a little more useful. I've found that I don't have easy access to error codes, but I do have access to EventID's so I've added them to the output file along with a legend.

Code: Select all

Recording List for Young Sheldon
Created 2021:04:03:09:06:46
================================================================
   5/10/2018 8:01:00 PM - 1 - Information - Young Sheldon: Vanilla Ice Cream, Gentleman Callers, and a Dinette Set started recording on 5/10/2018 7:31:02 PM and stopped on 5/10/2018 8:01:00 PM as scheduled.
   9/24/2018 8:00:00 PM - 1 - Information - Young Sheldon: A High-Pitched Buzz and Training Wheels started recording on 9/24/2018 7:31:02 PM and stopped on 9/24/2018 8:00:00 PM as scheduled.
   9/27/2018 8:01:00 PM - 1 - Information - Young Sheldon: A Rival Prodigy and Sir Isaac Neutron started recording on 9/27/2018 7:31:02 PM and stopped on 9/27/2018 8:01:00 PM as scheduled.
   10/4/2018 8:01:00 PM - 1 - Information - Young Sheldon: A Crisis of Faith and Octopus Aliens started recording on 10/4/2018 7:31:02 PM and stopped on 10/4/2018 8:01:00 PM as scheduled.
  10/11/2018 8:01:00 PM - 1 - Information - Young Sheldon: A Financial Secret and Fish Sauce started recording on 10/11/2018 7:31:02 PM and stopped on 10/11/2018 8:01:00 PM as scheduled.
  10/18/2018 8:01:00 PM - 1 - Information - Young Sheldon: A Research Study and Czechoslovakian Wedding Pastries started recording on 10/18/2018 7:31:02 PM and stopped on 10/18/2018 8:01:00 PM as scheduled.
  10/25/2018 8:01:00 PM - 1 - Information - Young Sheldon: Seven Deadly Sins and a Small Carl Sagan started recording on 10/25/2018 7:31:02 PM and stopped on 10/25/2018 8:01:00 PM as scheduled.
   11/1/2018 8:01:00 PM - 1 - Information - Young Sheldon: Carbon Dating and a Stuffed Raccoon started recording on 11/1/2018 7:31:02 PM and stopped on 11/1/2018 8:01:00 PM as scheduled.
   11/8/2018 8:01:00 PM - 1 - Information - Young Sheldon: An 8-Bit Princess and a Flat Tire Genius started recording on 11/8/2018 7:31:02 PM and stopped on 11/8/2018 8:01:00 PM as scheduled.
  11/15/2018 8:01:00 PM - 1 - Information - Young Sheldon: Family Dynamics and a Red Fiero started recording on 11/15/2018 7:31:02 PM and stopped on 11/15/2018 8:01:00 PM as scheduled.
   12/6/2018 8:01:00 PM - 1 - Information - Young Sheldon: A Stunted Childhood and a Can of Fancy Mixed Nuts started recording on 12/6/2018 7:31:02 PM and stopped on 12/6/2018 8:01:00 PM as scheduled.
    1/3/2019 8:04:00 PM - 1 - Information - Young Sheldon: A Race of Superhumans and a Letter to Alf started recording on 1/3/2019 7:31:02 PM and stopped on 1/3/2019 8:04:00 PM as scheduled.
   1/10/2019 7:49:44 PM - 8 - Warning     - Young Sheldon: A Tummy Ache and a Whale of a Metaphor was not recorded due to an unexpected failure.
   1/17/2019 8:01:00 PM - 1 - Information - Young Sheldon: A Nuclear Reactor and a Boy Called Lovey started recording on 1/17/2019 7:31:02 PM and stopped on 1/17/2019 8:01:00 PM as scheduled.
   1/26/2019 8:25:58 PM - 17 - Informatio - Young Sheldon: A Race of Superhumans and a Letter to Alf was manually deleted on 1/26/2019 8:25:58 PM by HTPC.
   1/31/2019 8:01:00 PM - 1 - Information - Young Sheldon: David, Goliath and a Yoo-Hoo From the Back started recording on 1/31/2019 7:31:02 PM and stopped on 1/31/2019 8:01:00 PM as scheduled.
    2/7/2019 8:03:00 PM - 1 - Information - Young Sheldon: A Math Emergency and Perky Palms started recording on 2/7/2019 7:31:03 PM and stopped on 2/7/2019 8:03:00 PM as scheduled.
   2/21/2019 8:01:00 PM - 1 - Information - Young Sheldon: A Loaf of Bread and a Grand Old Flag started recording on 2/21/2019 7:31:02 PM and stopped on 2/21/2019 8:01:00 PM as scheduled.
    3/7/2019 8:01:00 PM - 1 - Information - Young Sheldon: Albert Einstein and the Story of Another Mary started recording on 3/7/2019 7:31:03 PM and stopped on 3/7/2019 8:01:00 PM as scheduled.
    4/4/2019 8:01:00 PM - 1 - Information - Young Sheldon: A Perfect Score and a Bunsen Burner Marshmallow started recording on 4/4/2019 7:31:03 PM and stopped on 4/4/2019 8:01:00 PM as scheduled.
   4/25/2019 8:01:00 PM - 1 - Information - Young Sheldon: A Political Campaign and a Candy Land Cheater started recording on 4/25/2019 7:31:02 PM and stopped on 4/25/2019 8:01:00 PM as scheduled.
    5/2/2019 8:01:00 PM - 1 - Information - Young Sheldon: A Proposal and a Popsicle Stick Cross started recording on 5/2/2019 7:31:02 PM and stopped on 5/2/2019 8:01:00 PM as scheduled.
    5/9/2019 8:01:00 PM - 1 - Information - Young Sheldon: A Broken Heart and a Crock Monster started recording on 5/9/2019 7:31:02 PM and stopped on 5/9/2019 8:01:00 PM as scheduled.
   5/16/2019 8:41:00 PM - 1 - Information - Young Sheldon: A Swedish Science Thing and the Equation for Toast started recording on 5/16/2019 8:01:02 PM and stopped on 5/16/2019 8:41:00 PM as scheduled.
   9/26/2019 7:31:00 PM - 1 - Information - Young Sheldon: Quirky Eggheads and Texas Snow Globes started recording on 9/26/2019 6:57:02 PM and stopped on 9/26/2019 7:31:00 PM as scheduled.
   10/3/2019 7:31:00 PM - 1 - Information - Young Sheldon: A Broom Closet and Satan's Monopoly Board started recording on 10/3/2019 6:57:02 PM and stopped on 10/3/2019 7:31:00 PM as scheduled.
  10/10/2019 7:31:00 PM - 1 - Information - Young Sheldon: An Entrepreneurialist and a Swat on the Bottom started recording on 10/10/2019 6:57:02 PM and stopped on 10/10/2019 7:31:00 PM as scheduled.
  10/17/2019 7:31:00 PM - 1 - Information - Young Sheldon: Hobbitses, Physicses and a Ball With Zip started recording on 10/17/2019 6:57:02 PM and stopped on 10/17/2019 7:31:00 PM as scheduled.
  10/24/2019 7:31:00 PM - 1 - Information - Young Sheldon: A Pineapple and the Bosom of Male Friendship started recording on 10/24/2019 6:57:02 PM and stopped on 10/24/2019 7:31:00 PM as scheduled.
   11/7/2019 7:31:00 PM - 1 - Information - Young Sheldon: A Parasol and a heck of an Arm started recording on 11/7/2019 6:57:02 PM and stopped on 11/7/2019 7:31:00 PM as scheduled.
  11/14/2019 7:31:00 PM - 1 - Information - Young Sheldon: Pongo Pygmaeus and a Culture That Encourages Spitting started recording on 11/14/2019 6:57:02 PM and stopped on 11/14/2019 7:31:00 PM as scheduled.
  11/21/2019 7:31:00 PM - 1 - Information - Young Sheldon: The Sin of Greed and a Chimichanga From Chi-Chi's started recording on 11/21/2019 6:57:02 PM and stopped on 11/21/2019 7:31:00 PM as scheduled.
   12/5/2019 7:31:00 PM - 1 - Information - Young Sheldon: A Party Invitation, Football Grapes and an Earth Chicken started recording on 12/5/2019 6:57:02 PM and stopped on 12/5/2019 7:31:00 PM as scheduled.
  12/12/2019 7:31:00 PM - 1 - Information - Young Sheldon: Teenager Soup and a Little Ball of Fib started recording on 12/12/2019 6:57:02 PM and stopped on 12/12/2019 7:31:00 PM as scheduled.
    1/9/2020 7:31:00 PM - 1 - Information - Young Sheldon: A Live Chicken, a Fried Chicken and Holy Matrimony started recording on 1/9/2020 6:57:02 PM and stopped on 1/9/2020 7:31:00 PM as scheduled.
   1/16/2020 7:31:00 PM - 1 - Information - Young Sheldon: Body Glitter and a Mall Safety Kit started recording on 1/16/2020 6:57:02 PM and stopped on 1/16/2020 7:31:00 PM as scheduled.
   1/30/2020 7:31:00 PM - 1 - Information - Young Sheldon: Contracts, Rules and a Little Bit of Pig Brains started recording on 1/30/2020 6:57:02 PM and stopped on 1/30/2020 7:31:00 PM as scheduled.
    2/6/2020 7:31:00 PM - 1 - Information - Young Sheldon: A Slump, a Cross and Roadside Gravel started recording on 2/6/2020 6:57:02 PM and stopped on 2/6/2020 7:31:00 PM as scheduled.
   2/13/2020 7:31:00 PM - 1 - Information - Young Sheldon: A Boyfriend's Ex-Wife and a Good Luck Head Rub started recording on 2/13/2020 6:57:02 PM and stopped on 2/13/2020 7:31:00 PM as scheduled.
   2/20/2020 7:31:00 PM - 1 - Information - Young Sheldon: Pasadena started recording on 2/20/2020 6:57:02 PM and stopped on 2/20/2020 7:31:00 PM as scheduled.
    3/5/2020 7:31:00 PM - 1 - Information - Young Sheldon: An Academic Crime and a More Romantic Taco Bell started recording on 3/5/2020 6:57:02 PM and stopped on 3/5/2020 7:31:00 PM as scheduled.
   3/12/2020 7:31:00 PM - 1 - Information - Young Sheldon: A Couple Bruised Ribs and a Cereal Box Ghost Detector started recording on 3/12/2020 6:57:02 PM and stopped on 3/12/2020 7:31:00 PM as scheduled.
    4/2/2020 7:31:00 PM - 1 - Information - Young Sheldon: A House for Sale and Serious Woman Stuff started recording on 4/2/2020 6:57:12 PM and stopped on 4/2/2020 7:31:00 PM as scheduled.
   4/16/2020 7:31:00 PM - 1 - Information - Young Sheldon: A Baby Tooth and the Egyptian God of Knowledge started recording on 4/16/2020 6:57:02 PM and stopped on 4/16/2020 7:31:00 PM as scheduled.
   4/30/2020 7:31:00 PM - 1 - Information - Young Sheldon: A Secret Letter and a Lowly Disc of Processed Meat started recording on 4/30/2020 6:57:02 PM and stopped on 4/30/2020 7:31:00 PM as scheduled.
   11/5/2020 7:30:00 PM - 1 - Information - Young Sheldon: Graduation started recording on 11/5/2020 6:57:02 PM and stopped on 11/5/2020 7:30:00 PM as scheduled.
  11/12/2020 7:30:00 PM - 1 - Information - Young Sheldon: A Docent, A Little Lady and a Bouncer Named Dalton started recording on 11/12/2020 6:57:02 PM and stopped on 11/12/2020 7:30:00 PM as scheduled.
  11/19/2020 7:31:00 PM - 1 - Information - Young Sheldon: Training Wheels and an Unleashed Chicken started recording on 11/19/2020 6:57:02 PM and stopped on 11/19/2020 7:31:00 PM as scheduled.
   12/3/2020 7:31:00 PM - 1 - Information - Young Sheldon: Bible Camp and a Chariot of Love started recording on 12/3/2020 6:57:02 PM and stopped on 12/3/2020 7:31:00 PM as scheduled.
  12/17/2020 7:31:00 PM - 1 - Information - Young Sheldon: A Musty Crypt and a Stick to Pee On started recording on 12/17/2020 6:57:02 PM and stopped on 12/17/2020 7:31:00 PM as scheduled.
   1/21/2021 7:31:00 PM - 1 - Information - Young Sheldon: Freshman Orientation and the Inventor of the Zipper started recording on 1/21/2021 6:57:03 PM and stopped on 1/21/2021 7:31:00 PM as scheduled.
   2/11/2021 7:31:00 PM - 1 - Information - Young Sheldon: A Philosophy Class and Worms That Can Chase You started recording on 2/11/2021 6:57:03 PM and stopped on 2/11/2021 7:31:00 PM as scheduled.
   2/18/2021 7:31:00 PM - 1 - Information - Young Sheldon: An Existential Crisis and a Bear That Makes Bubbles started recording on 2/18/2021 6:57:02 PM and stopped on 2/18/2021 7:31:00 PM as scheduled.
   2/25/2021 7:31:00 PM - 1 - Information - Young Sheldon: Crappy Frozen Ice Cream and an Organ Grinder's Monkey started recording on 2/25/2021 6:57:02 PM and stopped on 2/25/2021 7:31:00 PM as scheduled.
    3/4/2021 7:31:00 PM - 1 - Information - Young Sheldon: Cowboy Aerobics and 473 Grease-Free Bolts started recording on 3/4/2021 6:57:02 PM and stopped on 3/4/2021 7:31:00 PM as scheduled.
   3/11/2021 7:31:00 PM - 1 - Information - Young Sheldon: A Pager, a Club and a Cranky Bag of Wrinkles started recording on 3/11/2021 6:57:02 PM and stopped on 3/11/2021 7:31:00 PM as scheduled.
    4/1/2021 7:31:00 PM - 1 - Information - Young Sheldon: A Box of Treasure and the Meemaw of Science started recording on 4/1/2021 6:57:03 PM and stopped on 4/1/2021 7:31:00 PM as scheduled.

================================================================
Search String:		Young Sheldon
Total results found:	57
Total recordings:	7445

EVENT ID LEGEND:
----------------
 1 - Recorded as scheduled. No errors.
 3 - Recording began as scheduled and was manually stopped.
 4 - While recording a scheduled program the computer lost power or experienced a temporary failure.
 6 - Scheduled program was not recorded due to a conflict with other scheduled programs. All tuners in use.
 8 - Scheduled program was not recorded. There was no TV signal when the show was scheduled to record.
15 - Individual recording was automatically deleted by the system to create disk space to record current program. Of the disk quota, XXXX are now in use.
17 - Individual recording was manually deleted.
21 - The series recording was removed from the recording schedule.
23 - The Keyword recording was removed from the recording schedule.
24 - The scheduled recording was manually set to "Do Not Record".
The new (v1.2) "Recordings.exe" file can replace/overwrite the old one. The download is in the WMC Recording History - Version 1.2 folder

User avatar
StinkyImp

Posts: 589
Joined: Thu May 11, 2017 7:53 pm
Location:

HTPC Specs: Show details

#30

Post by StinkyImp » Sun Jun 13, 2021 9:22 pm

For anyone that's interested... I made a few changes. The two major changes are:
  1. When first opened it takes a little longer but it extracts the list of shows from your history to present in a drop down box. You can also start typing in the box to filter the list or even type a search term of your choosing.
  2. Since day one It has created search files which accumulate in the folder it's run from. I created the means to "Delete all previous search history" if desired.
...and some minor interface changes and code optimization and cleanup.

Image

This version is located in the WMC Recording History folder, Version 1.3.

As usual... this version is fully backward, forward, sideways, past, and future compatible with every other version. Just drop this "Recordings.exe" over your existing one. If you want to go back a version, simply overwrite this with a previous version!

If you run into any issues, please let me know.

Enjoy! :thumbup:

technodevotee

Posts: 834
Joined: Thu Sep 10, 2015 4:10 pm
Location: West Midlands

HTPC Specs: Show details

#31

Post by technodevotee » Thu Jul 08, 2021 6:35 pm

I'm trying to use this but I don't get the GUI come up. There are a bunch of files created in the folder and there's an event in event viewer.

Code: Select all

Faulting application name: Recordings.exe, version: 1.3.0.0, time stamp: 0x5c35214f
Faulting module name: KERNELBASE.dll, version: 10.0.19041.1082, time stamp: 0xca3356a4
Exception code: 0xc0000005
Fault offset: 0x00151403
Faulting process ID: 0x19e0
Faulting application start time: 0x01d7742737ad8dad
Faulting application path: C:\temp\Recording History Viewer\Recordings.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report ID: 6f73932d-c296-4a1e-9caa-a4cdc30a2f8c
Faulting package full name: 
Faulting package-relative application ID: 
I'm on Windows 10 v 21H1 build 19043.1083

User avatar
StinkyImp

Posts: 589
Joined: Thu May 11, 2017 7:53 pm
Location:

HTPC Specs: Show details

#32

Post by StinkyImp » Fri Jul 09, 2021 1:21 am

technodevotee wrote:
Thu Jul 08, 2021 6:35 pm
I'm trying to use this but I don't get the GUI come up. There are a bunch of files created in the folder and there's an event in event viewer.

I'm on Windows 10 v 21H1 build 19043.1083
On some of my other utilities I have it check for the Windows edition and then have it pop up a message saying it won't run on Win10. I don't have a Win10 WMC system so I really can't do any testing.

Can you post an image showing the contents of the folder?

It's not really doing anything complex. It's "reading" the Media Center event log and creating a text file to work from. I wonder if Win10 does something different with that event log since it's not authorized?

User avatar
StinkyImp

Posts: 589
Joined: Thu May 11, 2017 7:53 pm
Location:

HTPC Specs: Show details

#33

Post by StinkyImp » Fri Jul 09, 2021 1:29 am

technodevotee wrote:
Thu Jul 08, 2021 6:35 pm
Exception code: 0xc0000005
I looked up this code and of all the reasons listed it's most likely a DEP issue.

Note: I don't sign my code and I always set them to run "AsInvoker". Win 7 & 8 are pretty lenient about that.

Random thought -> Did you "unblock" the executable after you downloaded it?

Another random thought -> Using Win 7 compatibility mode might help.

technodevotee

Posts: 834
Joined: Thu Sep 10, 2015 4:10 pm
Location: West Midlands

HTPC Specs: Show details

#34

Post by technodevotee » Sat Jul 10, 2021 5:19 pm

Yes, I unblocked the file. Unfortunately, using compatibility modes (and running as administrator) don't help.

Never mind, I was just curious as to how useful it was.
Untitled.png

User avatar
StinkyImp

Posts: 589
Joined: Thu May 11, 2017 7:53 pm
Location:

HTPC Specs: Show details

#35

Post by StinkyImp » Sat Jul 10, 2021 8:43 pm

Interesting... Here are the steps it performs:
  1. Reads the contents of the Media Center event log and writes it to RawRecordings.txt. It appears this was successful. If you open that file in Notepad it should be a line-for-line duplicate (albeit in raw format) of the recording history in WMC (Recorded TV -> View Scheduled -> History)
  2. After a slight pause it goes through that raw file and extracts the show names, removes duplicates, sorts them, and finally writes them to NewLine Output.txt. I wonder if this is where it failed?
  3. At that point it loads the show names and the GUI opens. That's pretty much it.
The reason I think it failed at the show collection (step 2) is that upon a graceful exit those two files are deleted in preparation for the next execution.

EDIT: One of the reasons given for that exception code was a memory error. I disregarded it because I didn't think that could be the cause.

In Step 1 I create a binary buffer (allocated memory) to create that file and then release that buffer.

In Step 2 I create a much larger binary buffer to do the heavy lifting of that process. If there was a buffer overflow I would have thought there would be an onscreen warning.

Would you be so kind as to DM me your RawRecordings.txt file? I'll insert it between step 1 and 2 and see if it hangs on my system.

User avatar
StinkyImp

Posts: 589
Joined: Thu May 11, 2017 7:53 pm
Location:

HTPC Specs: Show details

#36

Post by StinkyImp » Mon Jul 12, 2021 5:17 pm

Interesting... I couldn't replicate your error. I set up a test environment on my Windows 10 system and stepping through line-by-line and then at full throttle I couldn't get it to fail.

For some reason the forum blows my images up to gargantuan proportions so... See the image here.

It also generated reports as it was designed.

Code: Select all

Recording List for S.W.A.T.
Created 2021:07:12:09:44:05
================================================================
  5/10/2018 10:03:00 PM - 1 - Information - S.W.A.T.: Hunted started recording on 5/10/2018 9:00:02 PM and stopped on 5/10/2018 10:03:00 PM as scheduled.
  5/17/2018 10:03:00 PM - 1 - Information - S.W.A.T.: Hoax started recording on 5/17/2018 8:58:02 PM and stopped on 5/17/2018 10:03:00 PM as scheduled.
  9/27/2018 10:08:00 PM - 1 - Information - S.W.A.T.: Shaky Town started recording on 9/27/2018 9:03:01 PM and stopped on 9/27/2018 10:08:00 PM as scheduled.
  10/4/2018 10:03:00 PM - 1 - Information - S.W.A.T.: Gasoline Drum started recording on 10/4/2018 8:58:01 PM and stopped on 10/4/2018 10:03:00 PM as scheduled.
 10/11/2018 10:03:00 PM - 1 - Information - S.W.A.T.: Fire and Smoke started recording on 10/11/2018 8:58:02 PM and stopped on 10/11/2018 10:03:00 PM as scheduled.
 10/18/2018 10:03:00 PM - 1 - Information - S.W.A.T.: Saving Face started recording on 10/18/2018 8:58:01 PM and stopped on 10/18/2018 10:03:00 PM as scheduled.
 10/25/2018 10:03:00 PM - 1 - Information - S.W.A.T.: S.O.S. started recording on 10/25/2018 8:58:01 PM and stopped on 10/25/2018 10:03:00 PM as scheduled.
  11/1/2018 10:03:00 PM - 1 - Information - S.W.A.T.: Never Again started recording on 11/1/2018 8:58:02 PM and stopped on 11/1/2018 10:03:00 PM as scheduled.
  11/8/2018 10:00:00 PM - 1 - Information - S.W.A.T.: Inheritance started recording on 11/8/2018 8:58:01 PM and stopped on 11/8/2018 10:00:00 PM as scheduled.
 11/15/2018 10:03:00 PM - 1 - Information - S.W.A.T.: The Tiffany Experience started recording on 11/15/2018 8:58:02 PM and stopped on 11/15/2018 10:03:00 PM as scheduled.
 11/29/2018 10:03:00 PM - 1 - Information - S.W.A.T.: Day Off started recording on 11/29/2018 8:58:02 PM and stopped on 11/29/2018 10:03:00 PM as scheduled.
  12/6/2018 10:03:00 PM - 1 - Information - S.W.A.T.: 1000 Joules started recording on 12/6/2018 9:00:02 PM and stopped on 12/6/2018 10:03:00 PM as scheduled.
   1/3/2019 10:03:00 PM - 1 - Information - S.W.A.T.: School started recording on 1/3/2019 8:58:01 PM and stopped on 1/3/2019 10:03:00 PM as scheduled.
  1/10/2019 10:03:00 PM - 1 - Information - S.W.A.T.: Los Huesos started recording on 1/10/2019 9:00:02 PM and stopped on 1/10/2019 10:03:00 PM as scheduled.
   1/28/2019 2:53:51 PM - 17 - Informatio - S.W.A.T.: School was manually deleted on 1/28/2019 2:53:51 PM by HTPC.
  1/31/2019 10:03:00 PM - 1 - Information - S.W.A.T.: Encore started recording on 1/31/2019 9:00:02 PM and stopped on 1/31/2019 10:03:00 PM as scheduled.
   2/7/2019 10:03:00 PM - 1 - Information - S.W.A.T.: The B-Team started recording on 2/7/2019 8:58:02 PM and stopped on 2/7/2019 10:03:00 PM as scheduled.
  2/14/2019 10:03:00 PM - 1 - Information - S.W.A.T.: Fallen started recording on 2/14/2019 9:00:02 PM and stopped on 2/14/2019 10:03:00 PM as scheduled.
  2/21/2019 10:03:00 PM - 1 - Information - S.W.A.T.: Pride started recording on 2/21/2019 9:00:02 PM and stopped on 2/21/2019 10:03:00 PM as scheduled.
   3/7/2019 10:03:00 PM - 1 - Information - S.W.A.T.: Jack started recording on 3/7/2019 9:00:03 PM and stopped on 3/7/2019 10:03:00 PM as scheduled.
   4/4/2019 10:03:00 PM - 1 - Information - S.W.A.T.: Cash Flow started recording on 4/4/2019 9:00:03 PM and stopped on 4/4/2019 10:03:00 PM as scheduled.
  4/18/2019 10:10:00 PM - 1 - Information - S.W.A.T.: Invisible started recording on 4/18/2019 8:58:01 PM and stopped on 4/18/2019 10:10:00 PM as scheduled.
  4/25/2019 10:10:00 PM - 1 - Information - S.W.A.T.: Rocket Fuel started recording on 4/25/2019 8:58:01 PM and stopped on 4/25/2019 10:10:00 PM as scheduled.
   5/2/2019 10:10:01 PM - 1 - Information - S.W.A.T.: Day of Dread started recording on 5/2/2019 8:58:02 PM and stopped on 5/2/2019 10:10:01 PM as scheduled.
   5/9/2019 10:10:01 PM - 1 - Information - S.W.A.T.: Trigger Creep started recording on 5/9/2019 8:58:02 PM and stopped on 5/9/2019 10:10:01 PM as scheduled.
  5/16/2019 10:10:01 PM - 1 - Information - S.W.A.T.: Kangaroo started recording on 5/16/2019 9:00:03 PM and stopped on 5/16/2019 10:10:01 PM as scheduled.
  10/2/2019 10:03:00 PM - 1 - Information - S.W.A.T.: Fire in the Sky started recording on 10/2/2019 9:00:03 PM and stopped on 10/2/2019 10:03:00 PM as scheduled.
  10/9/2019 10:03:00 PM - 1 - Information - S.W.A.T.: Bad Faith started recording on 10/9/2019 9:00:05 PM and stopped on 10/9/2019 10:03:00 PM as scheduled.
 10/16/2019 10:03:00 PM - 1 - Information - S.W.A.T.: Funny Money started recording on 10/16/2019 9:00:04 PM and stopped on 10/16/2019 10:03:00 PM as scheduled.
 10/23/2019 10:03:01 PM - 1 - Information - S.W.A.T.: Immunity started recording on 10/23/2019 9:00:03 PM and stopped on 10/23/2019 10:03:01 PM as scheduled.
 10/30/2019 10:03:01 PM - 1 - Information - S.W.A.T.: The LBC started recording on 10/30/2019 9:00:05 PM and stopped on 10/30/2019 10:03:01 PM as scheduled.
  11/6/2019 10:03:01 PM - 1 - Information - S.W.A.T.: Kingdom started recording on 11/6/2019 9:00:06 PM and stopped on 11/6/2019 10:03:01 PM as scheduled.
 11/13/2019 10:03:00 PM - 1 - Information - S.W.A.T.: Track started recording on 11/13/2019 9:00:03 PM and stopped on 11/13/2019 10:03:00 PM as scheduled.
 11/20/2019 10:03:00 PM - 1 - Information - S.W.A.T.: Lion's Den started recording on 11/20/2019 9:00:04 PM and stopped on 11/20/2019 10:03:00 PM as scheduled.
 11/27/2019 10:03:00 PM - 1 - Information - S.W.A.T.: Sea Legs started recording on 11/27/2019 9:00:03 PM and stopped on 11/27/2019 10:03:00 PM as scheduled.
 12/11/2019 10:03:01 PM - 1 - Information - S.W.A.T.: Monster started recording on 12/11/2019 9:00:05 PM and stopped on 12/11/2019 10:03:01 PM as scheduled.
  1/15/2020 10:03:00 PM - 1 - Information - S.W.A.T.: Bad Cop started recording on 1/15/2020 9:00:03 PM and stopped on 1/15/2020 10:03:00 PM as scheduled.
  1/22/2020 10:03:00 PM - 1 - Information - S.W.A.T.: Good Cop started recording on 1/22/2020 9:00:04 PM and stopped on 1/22/2020 10:03:00 PM as scheduled.
  1/29/2020 10:03:00 PM - 1 - Information - S.W.A.T.: Ekitai Rashku started recording on 1/29/2020 9:00:04 PM and stopped on 1/29/2020 10:03:00 PM as scheduled.
   3/4/2020 10:03:01 PM - 1 - Information - S.W.A.T.: Animus started recording on 3/4/2020 9:00:04 PM and stopped on 3/4/2020 10:03:01 PM as scheduled.
  3/11/2020 10:03:00 PM - 1 - Information - S.W.A.T.: Knockout started recording on 3/11/2020 9:00:02 PM and stopped on 3/11/2020 10:03:00 PM as scheduled.
  3/18/2020 10:03:01 PM - 1 - Information - S.W.A.T.: Gunpowder Treason started recording on 3/18/2020 9:00:03 PM and stopped on 3/18/2020 10:03:01 PM as scheduled.
  3/25/2020 10:03:01 PM - 1 - Information - S.W.A.T.: Hotel L.A. started recording on 3/25/2020 9:00:02 PM and stopped on 3/25/2020 10:03:01 PM as scheduled.
   4/8/2020 10:03:00 PM - 1 - Information - S.W.A.T.: Stigma started recording on 4/8/2020 9:00:03 PM and stopped on 4/8/2020 10:03:00 PM as scheduled.
  4/22/2020 10:03:00 PM - 1 - Information - S.W.A.T.: Vice started recording on 4/22/2020 9:00:02 PM and stopped on 4/22/2020 10:03:00 PM as scheduled.
  4/29/2020 10:03:00 PM - 1 - Information - S.W.A.T.: Wild Ones started recording on 4/29/2020 9:00:02 PM and stopped on 4/29/2020 10:03:00 PM as scheduled.
  5/20/2020 10:03:00 PM - 1 - Information - S.W.A.T.: Diablo started recording on 5/20/2020 8:57:02 PM and stopped on 5/20/2020 10:03:00 PM as scheduled.
  11/11/2020 9:00:00 PM - 1 - Information - S.W.A.T.: 3 Seventeen Year Olds started recording on 11/11/2020 8:00:03 PM and stopped on 11/11/2020 9:00:00 PM as scheduled.
 11/11/2020 10:03:00 PM - 1 - Information - S.W.A.T.: Stakeout started recording on 11/11/2020 9:00:02 PM and stopped on 11/11/2020 10:03:00 PM as scheduled.
 11/18/2020 10:03:01 PM - 1 - Information - S.W.A.T.: The Black Hand Man started recording on 11/18/2020 9:00:02 PM and stopped on 11/18/2020 10:03:01 PM as scheduled.
 11/25/2020 10:03:00 PM - 1 - Information - S.W.A.T.: Memento Mori started recording on 11/25/2020 9:00:02 PM and stopped on 11/25/2020 10:03:00 PM as scheduled.
  12/9/2020 10:03:00 PM - 1 - Information - S.W.A.T.: Fracture started recording on 12/9/2020 9:00:03 PM and stopped on 12/9/2020 10:03:00 PM as scheduled.
 12/16/2020 10:03:00 PM - 1 - Information - S.W.A.T.: Hopeless Sinner started recording on 12/16/2020 9:00:03 PM and stopped on 12/16/2020 10:03:00 PM as scheduled.
  1/13/2021 10:03:01 PM - 1 - Information - S.W.A.T.: Under Fire started recording on 1/13/2021 9:00:04 PM and stopped on 1/13/2021 10:03:00 PM as scheduled.
  1/27/2021 10:03:01 PM - 1 - Information - S.W.A.T.: Crusade started recording on 1/27/2021 9:00:04 PM and stopped on 1/27/2021 10:03:01 PM as scheduled.
  2/17/2021 10:03:00 PM - 1 - Information - S.W.A.T.: Next of Kin started recording on 2/17/2021 9:00:04 PM and stopped on 2/17/2021 10:03:00 PM as scheduled.
   3/3/2021 10:03:00 PM - 1 - Information - S.W.A.T.: Buried started recording on 3/3/2021 9:00:07 PM and stopped on 3/3/2021 10:03:00 PM as scheduled.
  3/10/2021 10:03:00 PM - 1 - Information - S.W.A.T.: Positive Thinking started recording on 3/10/2021 9:00:04 PM and stopped on 3/10/2021 10:03:00 PM as scheduled.
  3/24/2021 10:03:00 PM - 1 - Information - S.W.A.T.: U-Turn started recording on 3/24/2021 9:00:03 PM and stopped on 3/24/2021 10:03:00 PM as scheduled.
   4/7/2021 10:03:01 PM - 1 - Information - S.W.A.T.: Sins of the Fathers started recording on 4/7/2021 9:00:09 PM and stopped on 4/7/2021 10:03:01 PM as scheduled.
  4/21/2021 10:03:01 PM - 1 - Information - S.W.A.T.: Reckoning started recording on 4/21/2021 9:00:10 PM and stopped on 4/21/2021 10:03:01 PM as scheduled.
   5/5/2021 10:03:01 PM - 1 - Information - S.W.A.T.: Local Heroes started recording on 5/5/2021 9:00:04 PM and stopped on 5/5/2021 10:03:01 PM as scheduled.
  5/12/2021 10:03:00 PM - 1 - Information - S.W.A.T.: Lockdown started recording on 5/12/2021 9:00:04 PM and stopped on 5/12/2021 10:03:00 PM as scheduled.
  5/19/2021 10:03:00 PM - 1 - Information - S.W.A.T.: Whistleblower started recording on 5/19/2021 9:00:03 PM and stopped on 5/19/2021 10:03:00 PM as scheduled.
  5/26/2021 10:03:01 PM - 1 - Information - S.W.A.T.: Veritas Vincint started recording on 5/26/2021 9:00:04 PM and stopped on 5/26/2021 10:03:01 PM as scheduled.

================================================================
Search String:		S.W.A.T.
Total results found:	65
Total recordings:	8184

EVENT ID LEGEND:
----------------
 1 - Recorded as scheduled. No errors.
 3 - Recording began as scheduled and was manually stopped.
 4 - While recording a scheduled program the computer lost power or experienced a temporary failure.
 6 - Scheduled program was not recorded due to a conflict with other scheduled programs. All tuners in use.
 8 - Scheduled program was not recorded. There was no TV signal when the show was scheduled to record.
15 - Individual recording was automatically deleted by the system to create disk space to record current program. Of the disk quota, XXXX are now in use.
17 - Individual recording was manually deleted.
21 - The series recording was removed from the recording schedule.
23 - The Keyword recording was removed from the recording schedule.
24 - The scheduled recording was manually set to "Do Not Record".
I've had my Win10 system locked down against updates for years so... :problem:

User avatar
StinkyImp

Posts: 589
Joined: Thu May 11, 2017 7:53 pm
Location:

HTPC Specs: Show details

#37

Post by StinkyImp » Tue Jul 13, 2021 9:31 pm

technodevotee wrote:
Thu Jul 08, 2021 6:35 pm
I'm trying to use this but I don't get the GUI come up. There are a bunch of files created in the folder and there's an event in event viewer.

Code: Select all

Faulting application name: Recordings.exe, version: 1.3.0.0, time stamp: 0x5c35214f
Faulting module name: KERNELBASE.dll, version: 10.0.19041.1082, time stamp: 0xca3356a4
Exception code: 0xc0000005
Using your "RawRecordings.txt" file I was able to reproduce this entire string of events. I'll have to dig in deeper but a cursory inspection indicates the Unicode characters in your file are being converted to high ANSI characters.

It appears that Microsoft changed the behavior (in Win10) of the underlying Win32 function used by my "remove duplicates and sort" functions and added new key/value pairs which are causing the failure when trying to process high ANSI characters. This exception is consistently reproducible using your file. For some reason the file created by my system (Win 10 Home x64 1709) doesn't exhibit this quirk? :think:

That's also why Win7 can process your "RawRecordings.txt" file without failing. There are other ways to perform those remove/sort processes but they aren't as fast or efficient as the method I selected. :(

You could try version 1.2 until I find a way around this. It's more manual (i.e. you have to actually type the show name or copy/paste it into the search box) but it doesn't include any of the functions that are causing this fault.

technodevotee

Posts: 834
Joined: Thu Sep 10, 2015 4:10 pm
Location: West Midlands

HTPC Specs: Show details

#38

Post by technodevotee » Wed Jul 14, 2021 9:03 am

THX for the info

User avatar
StinkyImp

Posts: 589
Joined: Thu May 11, 2017 7:53 pm
Location:

HTPC Specs: Show details

#39

Post by StinkyImp » Wed Jul 14, 2021 2:44 pm

As I've mentioned previously, this started out as a "proof of concept". In the meantime it became a fidget spinner (fun, but of no practical use).

The latest iteration (v1.3) was the result of nothing more than laziness. UGH... I have to actually type a show name! How pedestrian! :wtf:

The majority All of my utilities are designed for Win7 since that's the platform I personally use. Some of them have been tested on Win10 and work famously. This is one of those cases where a core feature in Win10 has changed the operation. Kind of like the hoops needed to get WMC working on Win10.

technodevotee

Posts: 834
Joined: Thu Sep 10, 2015 4:10 pm
Location: West Midlands

HTPC Specs: Show details

#40

Post by technodevotee » Wed Jul 14, 2021 4:46 pm

In fact, the error I'm encountering is very similar to one of the issues that had to be overcome with WMC on later versions of Windows 10.

I'm grateful that there folks like you out there that freely give others access to their projects. That is what makes the world go round IMHO.

Post Reply