Recorded TV HD Addin

User avatar
IT Troll

Posts: 912
Joined: Sun Nov 27, 2011 9:42 am
Location: Edinburgh, UK

HTPC Specs: Show details

Re: Recorded TV HD Addin

#301

Post by IT Troll » Sun Jan 24, 2021 12:29 am

Hmmm, v2.1.1 is still identifying new shows for me, so I don’t think it is a general problem. First step is to look at the log file for clues:

[Service] Added background service logging. Defaults to INFO level and logs to C:\Users\Public\RecordedTVHD\Logs, DEBUG and OFF levels can be configured through GlobalSettings.ini, [Settings] section; e.g. LogLevel=DEBUG
Are you a Recorded TV HD user or want to give it a try? Check out the new community-made update; Recorded TV HD v2.1.1

Hotfart

Posts: 10
Joined: Tue Aug 20, 2013 12:24 am
Location:

HTPC Specs: Show details

#302

Post by Hotfart » Sun Jan 24, 2021 2:33 am

Unfortunately I know just about enough of this kind of thing to get myself into trouble. I checked the RTVHDServiceLog.txt and don't see anything obvious to my untrained eyes. I also checked the GlobalSettings.ini file and didn't find anything about debug.

Seems like all the unidentified episodes show up in the log as follows:

2021-01-23 15:03:46,416 INFO - << File already in unidentified list... returning
2021-01-23 15:03:46,429 INFO - Not a recorded file... Checking other filetype and adding metadata...
2021-01-23 15:03:46,429 INFO - >> CheckOtherFileAndAddMetadata: D:\Recorded TV\Schitt's Creek\Season 3\Schitt's Creek S03E04 - Driving Test.mkv

Then after all of the same, but repeated for the other unidentified episodes, it shows the following:

2021-01-23 15:03:46,484 INFO - Deleting all episodes and series where SeriesName is empty...
2021-01-23 15:03:46,486 INFO - << Leaving ScanAllFiles...
2021-01-23 15:08:48,358 INFO - >> CheckMoveToRecycleBin...
2021-01-23 15:08:48,358 INFO - << CheckMoveToRecycleBin...
2021-01-23 15:08:48,358 INFO - >> Entering ScanAllFiles...

I can PM you a copy/paste of the full log and/or settings file if you think that may be of help, but I fear much of this is beyond my amateur skillset and I may just be out of luck...

Thanks again!

User avatar
IT Troll

Posts: 912
Joined: Sun Nov 27, 2011 9:42 am
Location: Edinburgh, UK

HTPC Specs: Show details

#303

Post by IT Troll » Sun Jan 24, 2021 8:38 am

From the Shchitt’s example it may just be a filename issue. TV shows need to use a naming convention which separates the series title and episode.

TV Shows
Series Title.S01E01.Optional Episode Title or could be blank or ignorable text.mkv
Series Title - S01E01 - Optional Episode Title or could be blank or ignorable text.mkv (alternate naming convention)
ID=12345.S01E01.mkv (use TheTVDB.com Show ID)

Movies
Movie Title (2021).mkv
Are you a Recorded TV HD user or want to give it a try? Check out the new community-made update; Recorded TV HD v2.1.1

Hotfart

Posts: 10
Joined: Tue Aug 20, 2013 12:24 am
Location:

HTPC Specs: Show details

#304

Post by Hotfart » Mon Jan 25, 2021 5:08 pm

Thanks, just saw your reply. I'll give that a shot today and update the file names. Previously I never used a dash between the series title and the episode number, and it always worked, but maybe I was just getting lucky before without using the dash. Thanks again!

Hotfart

Posts: 10
Joined: Tue Aug 20, 2013 12:24 am
Location:

HTPC Specs: Show details

#305

Post by Hotfart » Tue Jan 26, 2021 1:01 am

Interesting...when I use the either of the naming conventions "Series Title.S01E01.Optional Episode Title" or "Series Title - S01E01 - Optional Episode Title", the episodes aren't found. Again, these are only for series which haven't been on the machine yet, as new episodes for series which I've previously had on the machine *are* found. Examples I tried were "A Perfect Planet - S01E04 - Oceans.mkv" and "A Perfect Planet.S01E04.Oceans.mkv", and I also tried both of those naming conventions without the optional episode title with no luck.

However, luckily I did get it to work using the show ID from TheTVDB. So, "ID=359365.S01E04.mkv" is found. Just for my own benefit, I tried listing the series/episode#/title after the ID, so "ID=359365.S01E04 - A Perfect Planet S01E04 - Oceans.mkv" also is found. This helps me a bit with my file organization.

This problem may be a one-off issue assuming nobody else is experiencing it, but at least I've found a way to make it work. It may not be the most elegant solution, but at least it works now, so I'm happy. I'm just keeping my fingers crossed that the upcoming TheTVDB v4 API doesn't completely nuke everything. It's going to be a very sad day if so, as I'm a bit stuck in my ways and am really not looking forward to finding a new solution!

Appreciate all of your help!

User avatar
StinkyImp

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

HTPC Specs: Show details

#306

Post by StinkyImp » Tue Jan 26, 2021 4:32 pm

My purely anecdotal experience.

I purchased RTVHD many years ago. In all these years I've used the "Series Title S01E01.mkv" naming convention and have never had a failure.

User avatar
IT Troll

Posts: 912
Joined: Sun Nov 27, 2011 9:42 am
Location: Edinburgh, UK

HTPC Specs: Show details

#307

Post by IT Troll » Tue Jan 26, 2021 5:20 pm

The naming conventions I listed are the "officially supported" ones (whatever that means now). Others may indeed work, depending on pattern matching. I've always used the dot separators. The ID= convention is useful for series which contain problematic characters in their name. So it is odd that this is the only method that is working for you. It is not particularly convenient for everyday use.

I made the below dummy files and added these to my watched folder. All were correctly identified as new series.

A Perfect Planet - S01E04 - Oceans.mkv
A Perfect Planet S01E05.mkv
Schitt's Creek.S03E04.mkv

Code: Select all

2021-01-26 16:47:38,660 INFO  - >> CheckOtherFileAndAddMetadata:  D:\Downloads\A Perfect Planet - S01E04 - Oceans.mkv
2021-01-26 16:47:38,660 INFO  - Calling SearchSeriesByNameAsync 2:  A Perfect Planet
2021-01-26 16:47:38,707 INFO  - Getting the TVDBID using MCID:  'A Perfect Planet' and SeriesName: A Perfect Planet
2021-01-26 16:47:38,707 INFO  - >> GetTVDBID for MCID: A Perfect Planet, SeriesName: A Perfect Planet
2021-01-26 16:47:38,707 INFO  - Returned 1 row(s)...
2021-01-26 16:47:38,707 INFO  - Added Series...  Checking for Episode Details... TVDBID:  '359365'
2021-01-26 16:47:38,738 INFO  - Searching Page 1 of available Episodes
2021-01-26 16:47:38,770 INFO  - Enumerating episodes...

2021-01-26 16:47:44,453 INFO  - >> CheckOtherFileAndAddMetadata:  D:\Downloads\A Perfect Planet S01E05.mkv
2021-01-26 16:47:44,453 INFO  - Calling SearchSeriesByNameAsync 2:  A Perfect Planet
2021-01-26 16:47:44,500 INFO  - Getting the TVDBID using MCID:  'A Perfect Planet' and SeriesName: A Perfect Planet
2021-01-26 16:47:44,500 INFO  - >> GetTVDBID for MCID: A Perfect Planet, SeriesName: A Perfect Planet
2021-01-26 16:47:44,500 INFO  - Returned 1 row(s)...
2021-01-26 16:47:44,500 INFO  - Added Series...  Checking for Episode Details... TVDBID:  '359365'
2021-01-26 16:47:44,563 INFO  - Searching Page 1 of available Episodes
2021-01-26 16:47:44,594 INFO  - Enumerating episodes...
This is with the default INFO level of logging. I'd be interested to see what you are getting.
If that doesn't reveal the problem you can go into GlobalSettings.ini and add LogLevel=DEBUG to the [Settings] section. This really goes into the detail of the processing.

Code: Select all

2021-01-26 16:52:13,295 INFO  - >> CheckOtherFileAndAddMetadata:  D:\Downloads\Schitt's Creek.S03E04.mkv
2021-01-26 16:52:13,295 INFO  - Calling SearchSeriesByNameAsync 2:  Schitt's Creek
2021-01-26 16:52:13,482 DEBUG - Getting artwork from: http://thetvdb.com/banners/posters/77398-2.jpg
2021-01-26 16:52:13,622 DEBUG - Getting artwork from: http://thetvdb.com/banners/posters/284073-3.jpg
2021-01-26 16:52:13,669 INFO  - Calling FindSeriesAndWrite #1.  MCID:  SeriesName: Schitt's Creek EpisodeName: No episode name
2021-01-26 16:52:13,669 INFO  - >> FindSeriesAndWrite...
2021-01-26 16:52:13,669 DEBUG -  -- MCID: 
2021-01-26 16:52:13,669 DEBUG -  -- SeriesName: Schitt's Creek
2021-01-26 16:52:13,669 DEBUG -  -- EpisodeName: No episode name
2021-01-26 16:52:13,669 DEBUG -  -- OriginalAirDate: 1/26/1921 4:52:13 PM
2021-01-26 16:52:13,669 DEBUG -  -- Sport: False
2021-01-26 16:52:13,669 DEBUG -  -- Movie: False
2021-01-26 16:52:13,669 DEBUG -  -- TVDBIDOverride: 
2021-01-26 16:52:13,669 DEBUG -  -- isOtherFileType: True
2021-01-26 16:52:13,669 INFO  - isOtherFileType = true, Converting SeriesName: 'Schitt's Creek' to: 'Schitt's Creek'
2021-01-26 16:52:13,669 DEBUG - Not Movie or Sport, searching TVDB...
2021-01-26 16:52:13,778 DEBUG - Searching TVDB for SeriesByName: Schitt's Creek
2021-01-26 16:52:13,794 DEBUG - Getting artwork from: http://thetvdb.com/banners/posters/77398-2.jpg
2021-01-26 16:52:13,809 DEBUG - Only one matching series found... Using: Schitt's Creek TVDBID: 
2021-01-26 16:52:13,809 DEBUG - Found TVDBID:  287247... Getting artwork
2021-01-26 16:52:13,934 DEBUG - Getting artwork from: http://thetvdb.com/banners/posters/77398-2.jpg
2021-01-26 16:52:14,215 DEBUG - Getting artwork from: http://thetvdb.com/banners/posters/80375-1.jpg
2021-01-26 16:52:14,231 DEBUG - Getting artwork from: http://thetvdb.com/banners/fanart/original/287247-9.jpg
2021-01-26 16:52:14,870 DEBUG - Getting artwork from: http://thetvdb.com/banners/posters/287247-2.jpg
Unfortunately, if TheTVDB do go ahead with their v4 API plans, it will have major implications for RTVHD. We will need a new REST client (doesn't exist yet) and users will need to buy (or earn) a subscription. :(
Are you a Recorded TV HD user or want to give it a try? Check out the new community-made update; Recorded TV HD v2.1.1

Hotfart

Posts: 10
Joined: Tue Aug 20, 2013 12:24 am
Location:

HTPC Specs: Show details

#308

Post by Hotfart » Thu Jan 28, 2021 3:45 am

I added LogLevel=DEBUG to the [Settings] section in the GlobalSettings.ini file like you mentioned. Then I created dummy files for Pennyworth, a series I'm sure I've never had on this machine. I named the files as follows:

Pennyworth - S01E01 - Pilot.mkv
Pennyworth.S01E01.Pilot.mkv

I didn't create a dummy file using the naming format which includes the series ID from TheTVDB, since I already know that method works. The following is what came up in the RTVHDServiceLog.txt file after adding the dummy files to my recorded TV folder. Hopefully this is the snippet you're looking for. If not, I can grab whatever other info you need.

2021-01-27 21:30:11,557 INFO - Not a recorded file... Checking other filetype and adding metadata...
2021-01-27 21:30:11,558 INFO - >> CheckOtherFileAndAddMetadata: D:\Recorded TV\Pennyworth - S01E01 - Pilot.mkv
2021-01-27 21:30:11,559 INFO - Calling SearchSeriesByNameAsync 2: Pennyworth
2021-01-27 21:30:11,872 INFO - Calling FindSeriesAndWrite #1. MCID: SeriesName: Pennyworth EpisodeName: Pilot
2021-01-27 21:30:11,872 INFO - >> FindSeriesAndWrite...
2021-01-27 21:30:11,873 INFO - isOtherFileType = true, Converting SeriesName: 'Pennyworth' to: 'Pennyworth'
2021-01-27 21:30:12,261 INFO - Skipping Inserting because isOtherFileType and TVDBID could not be found...
2021-01-27 21:30:12,262 INFO - << FindSeriesAndWrite...
2021-01-27 21:30:12,282 INFO - Getting the TVDBID using MCID: 'Pennyworth' and SeriesName: Pennyworth
2021-01-27 21:30:12,283 INFO - >> GetTVDBID for MCID: Pennyworth, SeriesName: Pennyworth
2021-01-27 21:30:12,286 INFO - Returned 0 row(s)...
2021-01-27 21:30:12,286 INFO - Added Series... Checking for Episode Details... TVDBID: ''
2021-01-27 21:30:12,287 INFO - Failed to find episode details on theTVDB... Checking for .properties file
2021-01-27 21:30:12,287 INFO - Could not identify file: D:\Recorded TV\Pennyworth - S01E01 - Pilot.mkv-- - Adding to the unidentified list. (after searching tv)
2021-01-27 21:30:17,305 INFO - Not a recorded file... Checking other filetype and adding metadata...
2021-01-27 21:30:17,305 INFO - >> CheckOtherFileAndAddMetadata: D:\Recorded TV\Pennyworth.S01E01.Pilot.mkv
2021-01-27 21:30:17,306 INFO - Calling SearchSeriesByNameAsync 2: Pennyworth
2021-01-27 21:30:17,418 INFO - Calling FindSeriesAndWrite #1. MCID: SeriesName: Pennyworth EpisodeName: Pilot
2021-01-27 21:30:17,418 INFO - >> FindSeriesAndWrite...
2021-01-27 21:30:17,419 INFO - isOtherFileType = true, Converting SeriesName: 'Pennyworth' to: 'Pennyworth'
2021-01-27 21:30:17,615 INFO - Skipping Inserting because isOtherFileType and TVDBID could not be found...
2021-01-27 21:30:17,616 INFO - << FindSeriesAndWrite...
2021-01-27 21:30:17,633 INFO - Getting the TVDBID using MCID: 'Pennyworth' and SeriesName: Pennyworth
2021-01-27 21:30:17,634 INFO - >> GetTVDBID for MCID: Pennyworth, SeriesName: Pennyworth
2021-01-27 21:30:17,637 INFO - Returned 0 row(s)...
2021-01-27 21:30:17,637 INFO - Added Series... Checking for Episode Details... TVDBID: ''
2021-01-27 21:30:17,637 INFO - Failed to find episode details on theTVDB... Checking for .properties file
2021-01-27 21:30:17,638 INFO - Could not identify file: D:\Recorded TV\Pennyworth.S01E01.Pilot.mkv-- - Adding to the unidentified list. (after searching tv)

IT Troll wrote:
Tue Jan 26, 2021 5:20 pm
Unfortunately, if TheTVDB do go ahead with their v4 API plans, it will have major implications for RTVHD. We will need a new REST client (doesn't exist yet) and users will need to buy (or earn) a subscription. :(
I would GLADLY pay for a subsciption! Of course, that's assuming they don't want an insane amount for a subscription. But even then, like you said, it sounds like RTVHD would need a pretty thorough reworking, and not sure if anyone would be up for that this late in the game.

Side note, I thought I set notifications for this topic, but apparently I failed to do so. It's showing in my subscriptions now though, so I should be quicker with replies from here on.

Thanks again!

User avatar
IT Troll

Posts: 912
Joined: Sun Nov 27, 2011 9:42 am
Location: Edinburgh, UK

HTPC Specs: Show details

#309

Post by IT Troll » Thu Jan 28, 2021 9:56 am

You don't seem to be getting the DEBUG level logging. I think you probably need to stop and restart the RecordedTVHD service for this setting to take effect.

Here is my Pennyworth.

Code: Select all

2021-01-28 09:18:26,094 DEBUG - >> CheckFileAndAddMetadata:  D:\Downloads\Pennyworth.S01E01.Pilot.mkv
2021-01-28 09:18:26,094 INFO  - Not a recorded file... Checking other filetype and adding metadata...
2021-01-28 09:18:26,094 INFO  - >> CheckOtherFileAndAddMetadata:  D:\Downloads\Pennyworth.S01E01.Pilot.mkv
2021-01-28 09:18:26,094 INFO  - Calling SearchSeriesByNameAsync 2:  Pennyworth
2021-01-28 09:18:26,468 INFO  - Calling FindSeriesAndWrite #1.  MCID:  SeriesName: Pennyworth EpisodeName: Pilot
2021-01-28 09:18:26,484 INFO  - >> FindSeriesAndWrite...
2021-01-28 09:18:26,484 DEBUG -  -- MCID: 
2021-01-28 09:18:26,484 DEBUG -  -- SeriesName: Pennyworth
2021-01-28 09:18:26,484 DEBUG -  -- EpisodeName: Pilot
2021-01-28 09:18:26,484 DEBUG -  -- OriginalAirDate: 1/28/1921 9:18:26 AM
2021-01-28 09:18:26,484 DEBUG -  -- Sport: False
2021-01-28 09:18:26,484 DEBUG -  -- Movie: False
2021-01-28 09:18:26,484 DEBUG -  -- TVDBIDOverride: 
2021-01-28 09:18:26,484 DEBUG -  -- isOtherFileType: True
2021-01-28 09:18:26,484 INFO  - isOtherFileType = true, Converting SeriesName: 'Pennyworth' to: 'Pennyworth'
2021-01-28 09:18:26,484 DEBUG - Not Movie or Sport, searching TVDB...
2021-01-28 09:18:26,593 DEBUG - Searching TVDB for SeriesByName: Pennyworth
2021-01-28 09:18:26,624 DEBUG - Only one matching series found... Using: Pennyworth TVDBID: 
2021-01-28 09:18:26,624 DEBUG - Found TVDBID:  363008... Getting artwork
2021-01-28 09:18:26,999 DEBUG - Getting artwork from: http://thetvdb.com/banners/fanart/original/5d160b86193d1.jpg
2021-01-28 09:18:27,607 DEBUG - Getting artwork from: http://thetvdb.com/banners/posters/5d02808c4cb36.jpg
2021-01-28 09:18:27,763 INFO  - Inserting #2...
2021-01-28 09:18:27,763 INFO  - << FindSeriesAndWrite...
2021-01-28 09:18:27,872 INFO  - Getting the TVDBID using MCID:  'Pennyworth' and SeriesName: Pennyworth
2021-01-28 09:18:27,872 INFO  - >> GetTVDBID for MCID: Pennyworth, SeriesName: Pennyworth
2021-01-28 09:18:27,872 INFO  - Returned 1 row(s)...
2021-01-28 09:18:27,888 INFO  - Added Series...  Checking for Episode Details... TVDBID:  '363008'
2021-01-28 09:18:27,904 INFO  - Searching Page 1 of available Episodes
2021-01-28 09:18:27,966 INFO  - Enumerating episodes...
2021-01-28 09:18:27,966 INFO  - Current EpisodeName: Pilot
2021-01-28 09:18:27,982 INFO  - Current FirstAired: 2019-07-28 Extracted FirstAired: 
2021-01-28 09:18:27,982 INFO  - Extracted from FileName... Season: 1 Episode No: 1 Current Episode Season: 1 Episode No: 1
2021-01-28 09:18:27,982 INFO  - Found Episode, writing Episode table...
2021-01-28 09:18:27,982 INFO  - Inserting: D:\Downloads\Pennyworth.S01E01.Pilot.mkv into Episodes table.  MCID = Pennyworth, SeriesName = Pennyworth, EpisodeName = Pilot
2021-01-28 09:18:28,356 DEBUG - Getting artwork from: http://thetvdb.com/banners/episodes/363008/7151622.jpg
It is bizarre that you get:

2021-01-27 21:30:12,283 INFO - >> GetTVDBID for MCID: Pennyworth, SeriesName: Pennyworth
2021-01-27 21:30:12,286 INFO - Returned 0 row(s)...

But I get:

2021-01-28 09:18:27,872 INFO - >> GetTVDBID for MCID: Pennyworth, SeriesName: Pennyworth
2021-01-28 09:18:27,872 INFO - Returned 1 row(s)...

You don't run your system in another language do you? Just wondering if regional settings could be a factor.

If I create a file with a completely made up series name, I get a log which fails similarly to yours.

Might be worth just double-checking the RecordedTVHD program files. RecordedTVHDService.exe and RecordedTVHDSettings.exe should both dated 20 August 2020 and show file version 2.1.1.0. There should also be a bunch of SQLite files from May 2020.
Are you a Recorded TV HD user or want to give it a try? Check out the new community-made update; Recorded TV HD v2.1.1

hotfart77

Posts: 10
Joined: Sat Jan 23, 2021 10:44 pm
Location:

HTPC Specs: Show details

#310

Post by hotfart77 » Thu Jan 28, 2021 3:57 pm

I rebooted to make sure the service restarted, then added dummy files of "Krypton.S01E01.Pilot.mkv" and "Krypton - S01E01 - Pilot.mkv". The log then shows as follows:

Code: Select all

2021-01-28 09:39:03,340 DEBUG - >> CheckFileAndAddMetadata:  D:\Recorded TV\Krypton.S01E01.Pilot.mkv
2021-01-28 09:39:03,342 INFO  - Not a recorded file... Checking other filetype and adding metadata...
2021-01-28 09:39:03,357 INFO  - >> CheckOtherFileAndAddMetadata:  D:\Recorded TV\Krypton.S01E01.Pilot.mkv
2021-01-28 09:39:03,359 INFO  - Calling SearchSeriesByNameAsync 2:  Krypton
2021-01-28 09:39:03,815 INFO  - Calling FindSeriesAndWrite #1.  MCID:  SeriesName: Krypton EpisodeName: Pilot
2021-01-28 09:39:03,834 INFO  - >> FindSeriesAndWrite...
2021-01-28 09:39:03,835 DEBUG -  -- MCID: 
2021-01-28 09:39:03,836 DEBUG -  -- SeriesName: Krypton
2021-01-28 09:39:03,836 DEBUG -  -- EpisodeName: Pilot
2021-01-28 09:39:03,836 DEBUG -  -- OriginalAirDate: 1/28/1921 9:39:03 AM
2021-01-28 09:39:03,836 DEBUG -  -- Sport: False
2021-01-28 09:39:03,836 DEBUG -  -- Movie: False
2021-01-28 09:39:03,837 DEBUG -  -- TVDBIDOverride: 
2021-01-28 09:39:03,837 DEBUG -  -- isOtherFileType: True
2021-01-28 09:39:03,837 INFO  - isOtherFileType = true, Converting SeriesName: 'Krypton' to: 'Krypton'
2021-01-28 09:39:03,837 DEBUG - Not Movie or Sport, searching TVDB...
2021-01-28 09:39:04,023 DEBUG - Searching TVDB for SeriesByName: Krypton
2021-01-28 09:39:04,233 DEBUG - Failed to find SeriesByName
2021-01-28 09:39:04,234 INFO  - Skipping Inserting because isOtherFileType and TVDBID could not be found...
2021-01-28 09:39:04,234 INFO  - << FindSeriesAndWrite...
2021-01-28 09:39:04,309 INFO  - Getting the TVDBID using MCID:  'Krypton' and SeriesName: Krypton
2021-01-28 09:39:04,310 INFO  - >> GetTVDBID for MCID: Krypton, SeriesName: Krypton
2021-01-28 09:39:04,313 INFO  - Returned 0 row(s)...
2021-01-28 09:39:04,313 INFO  - Added Series...  Checking for Episode Details... TVDBID:  ''
2021-01-28 09:39:04,313 INFO  - Failed to find episode details on theTVDB... Checking for .properties file
2021-01-28 09:39:04,314 INFO  - Could not identify file: D:\Recorded TV\Krypton.S01E01.Pilot.mkv-- - Adding to the unidentified list. (after searching tv)
2021-01-28 09:39:04,332 DEBUG - << CheckFileAndAddMetadata...
2021-01-28 09:39:09,339 DEBUG - >> CheckFileAndAddMetadata:  D:\Recorded TV\Krypton - S01E01 - Pilot.mkv
2021-01-28 09:39:09,340 INFO  - Not a recorded file... Checking other filetype and adding metadata...
2021-01-28 09:39:09,340 INFO  - >> CheckOtherFileAndAddMetadata:  D:\Recorded TV\Krypton - S01E01 - Pilot.mkv
2021-01-28 09:39:09,341 INFO  - Calling SearchSeriesByNameAsync 2:  Krypton
2021-01-28 09:39:09,551 INFO  - Calling FindSeriesAndWrite #1.  MCID:  SeriesName: Krypton EpisodeName: Pilot
2021-01-28 09:39:09,551 INFO  - >> FindSeriesAndWrite...
2021-01-28 09:39:09,551 DEBUG -  -- MCID: 
2021-01-28 09:39:09,552 DEBUG -  -- SeriesName: Krypton
2021-01-28 09:39:09,552 DEBUG -  -- EpisodeName: Pilot
2021-01-28 09:39:09,552 DEBUG -  -- OriginalAirDate: 1/28/1921 9:39:09 AM
2021-01-28 09:39:09,552 DEBUG -  -- Sport: False
2021-01-28 09:39:09,552 DEBUG -  -- Movie: False
2021-01-28 09:39:09,553 DEBUG -  -- TVDBIDOverride: 
2021-01-28 09:39:09,553 DEBUG -  -- isOtherFileType: True
2021-01-28 09:39:09,553 INFO  - isOtherFileType = true, Converting SeriesName: 'Krypton' to: 'Krypton'
2021-01-28 09:39:09,553 DEBUG - Not Movie or Sport, searching TVDB...
2021-01-28 09:39:09,669 DEBUG - Searching TVDB for SeriesByName: Krypton
2021-01-28 09:39:09,811 DEBUG - Failed to find SeriesByName
2021-01-28 09:39:09,812 INFO  - Skipping Inserting because isOtherFileType and TVDBID could not be found...
2021-01-28 09:39:09,812 INFO  - << FindSeriesAndWrite...
2021-01-28 09:39:09,817 INFO  - Getting the TVDBID using MCID:  'Krypton' and SeriesName: Krypton
2021-01-28 09:39:09,817 INFO  - >> GetTVDBID for MCID: Krypton, SeriesName: Krypton
2021-01-28 09:39:09,820 INFO  - Returned 0 row(s)...
2021-01-28 09:39:09,820 INFO  - Added Series...  Checking for Episode Details... TVDBID:  ''
2021-01-28 09:39:09,820 INFO  - Failed to find episode details on theTVDB... Checking for .properties file
2021-01-28 09:39:09,820 INFO  - Could not identify file: D:\Recorded TV\Krypton - S01E01 - Pilot.mkv-- - Adding to the unidentified list. (after searching tv)
2021-01-28 09:39:09,831 DEBUG - << CheckFileAndAddMetadata...
2021-01-28 09:39:11,160 INFO  - Re-setting scanartwork.txt Timer for: 720 seconds...
IT Troll wrote:
Thu Jan 28, 2021 9:56 am
You don't run your system in another language do you? Just wondering if regional settings could be a factor.

If I create a file with a completely made up series name, I get a log which fails similarly to yours.

Might be worth just double-checking the RecordedTVHD program files. RecordedTVHDService.exe and RecordedTVHDSettings.exe should both dated 20 August 2020 and show file version 2.1.1.0. There should also be a bunch of SQLite files from May 2020.
I definitely run the system with U.S. English. I checked the recordedtvhdservice.exe and recordedtvhdsettings.ext, and both show 2.1.1.0 with August 20 2020 dates. I do see 6 SQLite files in my RecordedTVHD folder as follows:

SQLite.Interop.dll 1.0.113.0 May 30, 2020
System.Data.SQLite.dll 1.0.113.0 May 30, 2020
System.Data.SQLite.dll.config (no version # shown) March 12, 2020
System.Data.SQLite.EF6.dll 1.0.113.0 May 30, 2020
System.Data.SQLite.Linq.dll 1.0.113.0 May 30, 2020
System.Data.SQLite.xml (no version # shown) May 30, 2020

User avatar
IT Troll

Posts: 912
Joined: Sun Nov 27, 2011 9:42 am
Location: Edinburgh, UK

HTPC Specs: Show details

#311

Post by IT Troll » Thu Jan 28, 2021 4:46 pm

Well I'm a bit baffled by that. I get the exact same log entries as that if I make up a random title. However, you are getting it with valid series titles. You don't appear to be getting any other errors or issues. TheTVDB server is simply saying there is no match. But IDs work OK. It is as if search is broken just for you. :crazy:

Can I ask what region you are in?

There is not much else we can try with RecordedTVHD other than a full database reset (after taking a backup). However, the log isn't indicating a database problem, so this is a long shot. Doing this would force a redetection of all your content.
Are you a Recorded TV HD user or want to give it a try? Check out the new community-made update; Recorded TV HD v2.1.1

hotfart77

Posts: 10
Joined: Sat Jan 23, 2021 10:44 pm
Location:

HTPC Specs: Show details

#312

Post by hotfart77 » Thu Jan 28, 2021 4:58 pm

Yeah it's strange. Running a VPN wouldn't affect it, would it? I run PIA most of the time, but not 100% of the time, so if that was the issue you'd think it'd update correctly when PIA isn't running. I'm near Kansas City on the KS side.

One machine is on an install about 5 years old, and was planning on reinstalling windows soon anyways. The other machine has a pretty fresh windows installation at about 3 months old. Both started having the issues at the same time, about 2 months ago, which is what initially led me to believe it may be a global issue instead of just for me.

User avatar
IT Troll

Posts: 912
Joined: Sun Nov 27, 2011 9:42 am
Location: Edinburgh, UK

HTPC Specs: Show details

#313

Post by IT Troll » Thu Jan 28, 2021 5:48 pm

VPN could well affect it. TheTVDB server may limit how many requests can be made from a specific IP range, prompt for a captcha code, or even block it all together.
https://forums.thetvdb.com/viewtopic.php?t=30224

As you said, running without VPN would fix this. However, once a file has already been marked as unidentified it will not try again.

Code: Select all

2021-01-28 16:42:22,489 INFO  - >> CheckOtherFileAndAddMetadata:  D:\Downloads\Made Up Title Not A Real Show.S01E01.mkv
2021-01-28 16:42:22,489 INFO  - << File already in unidentified list... returning
A good test would be to disable the VPN and then add new series.
Are you a Recorded TV HD user or want to give it a try? Check out the new community-made update; Recorded TV HD v2.1.1

hotfart77

Posts: 10
Joined: Sat Jan 23, 2021 10:44 pm
Location:

HTPC Specs: Show details

#314

Post by hotfart77 » Thu Jan 28, 2021 7:02 pm

Unfortunately, no luck after disabling the VPN. Tried rebooting too, just for good measure. Sounds like we're starting to approach the limit of my skillset , so I guess I'll probably just chalk the issue up to a weird gremlin with my machines, and from here on out will just use the series ID...unless you have any other relatively easy suggestions. Using the series ID is a tad bit of a hassle, but ultimately really isn't a big deal at all, and I can definitely live with using that method since it seems to works for now. At this point, I should probably focus my energy on hoping that TheTVDB doesn't go through with the changes that are possibly coming in a couple months!

Thanks again for all of your help!

User avatar
IT Troll

Posts: 912
Joined: Sun Nov 27, 2011 9:42 am
Location: Edinburgh, UK

HTPC Specs: Show details

#315

Post by IT Troll » Thu Jan 28, 2021 7:22 pm

I really thought that might be the issue as the post I linked was someone experiencing something similar when using PIA. I found a few reports of similar issues when using VPN with API services protected by Cloudflare.

If you do reinstall that PC, perhaps do so without installing the VPN. Just so you can try it with a fresh, standard setup.
Are you a Recorded TV HD user or want to give it a try? Check out the new community-made update; Recorded TV HD v2.1.1

hotfart77

Posts: 10
Joined: Sat Jan 23, 2021 10:44 pm
Location:

HTPC Specs: Show details

#316

Post by hotfart77 » Thu Jan 28, 2021 8:07 pm

Might be a few weeks until I get around to reinstalling Windows, but I'll give that a shot. With the VPN running, I can view TheTVDB website just fine, same as if the VPN is disabled. Not sure if maybe RecordedTVDB uses a different way to access their database though, rather than like when using a browser. In any case, I'll follow up as to whether there's any improvement after the reinstall.
IT Troll wrote:
Thu Jan 28, 2021 7:22 pm
I really thought that might be the issue as the post I linked was someone experiencing something similar when using PIA. I found a few reports of similar issues when using VPN with API services protected by Cloudflare.

If you do reinstall that PC, perhaps do so without installing the VPN. Just so you can try it with a fresh, standard setup.

User avatar
IT Troll

Posts: 912
Joined: Sun Nov 27, 2011 9:42 am
Location: Edinburgh, UK

HTPC Specs: Show details

#317

Post by IT Troll » Thu Jan 28, 2021 9:00 pm

RTVHD uses the API which gives backend access to the database. This allows automated access and so such systems often have extra protection against potential abuse. Many requests coming from different users who have the same IP (of a VPN provider) can look suspicious.
Are you a Recorded TV HD user or want to give it a try? Check out the new community-made update; Recorded TV HD v2.1.1

User avatar
StinkyImp

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

HTPC Specs: Show details

#318

Post by StinkyImp » Fri Jan 29, 2021 4:55 pm

hotfart77 wrote:
Thu Jan 28, 2021 4:58 pm
Running a VPN wouldn't affect it, would it? I run PIA most of the time, but not 100% of the time...
Once again, purely anecdotal.

I run PIA 100% of the time and have done so for years. I've never had any issues with RTVHD being able to update (except during the time it was abandoned).

hotfart77

Posts: 10
Joined: Sat Jan 23, 2021 10:44 pm
Location:

HTPC Specs: Show details

#319

Post by hotfart77 » Fri Jan 29, 2021 5:02 pm

That's been my experience as well, and it looks like my recent issues aren't being caused by PIA. For the time being, I'm just happy RTVHD works for me again, even if I do have to use the series ID from TheTVDB. Seems to be a one-off gremlin in my setup somewhere, but at this point I won't stress about it. In my eyes, it's a small price to pay!

User avatar
IT Troll

Posts: 912
Joined: Sun Nov 27, 2011 9:42 am
Location: Edinburgh, UK

HTPC Specs: Show details

#320

Post by IT Troll » Fri Jan 29, 2021 5:55 pm

Interesting, I guess that's not it then. I am really struggling to explain why you are getting an empty response back from TheTVDB when everything appears fine. The fact that you have two machines doing this makes it unlikely this is a local database corruption.

Can you think of anything you changed around two months ago?

Failing that, my only suggestion is that fresh install when you get to it.
Are you a Recorded TV HD user or want to give it a try? Check out the new community-made update; Recorded TV HD v2.1.1

Post Reply