Duplicate entries in recorded_files.json?DisplayGroupID=root

Want to write your own code to work with a HDHomeRun or work with the HDHomeRun DVR? We are happy to help with concepts, APIs, best practices.
Post Reply
djp952
Posts: 1245
Joined: Wed Oct 01, 2008 8:46 pm
Device ID: 131EB7F7;131ED0E0
Location: Elkridge, MD USA
x 1

Duplicate entries in recorded_files.json?DisplayGroupID=root

Post by djp952 »

Hi! I kinda mentioned this in another post but it may not have been noticed. Just wanted to report what looks like a bug in the RECORD engine that is returning duplicate entries when the StorageURL is queried with DisplayGroupID=root. As an example, here are the duplicates from my RECORD engine (version 20200225, WD EX4100).

Code: Select all

SeriesID | Title | UpdateID | EpisodesURL

11608511|Sofia the First|2997248929|http://192.168.0.220:50000/recorded_files.json?SeriesID=11608511
11608511|Sofia the First|2997248929|http://192.168.0.220:50000/recorded_files.json?SeriesID=11608511
12284184|The Lion Guard|2971853218|http://192.168.0.220:50000/recorded_files.json?SeriesID=12284184
12284184|The Lion Guard|2971853218|http://192.168.0.220:50000/recorded_files.json?SeriesID=12284184
C10289341EN7S27|Good Luck Jessie: NYC Christmas|3388387984|http://192.168.0.220:50000/recorded_files.json?SeriesID=C10289341EN7S27
C10289341EN7S27|Good Luck Jessie: NYC Christmas|3388387984|http://192.168.0.220:50000/recorded_files.json?SeriesID=C10289341EN7S27
C11899312EN4KCN|Shimmer and Shine|2314560703|http://192.168.0.220:50000/recorded_files.json?SeriesID=C11899312EN4KCN
C11899312EN4KCN|Shimmer and Shine|2314560703|http://192.168.0.220:50000/recorded_files.json?SeriesID=C11899312EN4KCN
C12371444ENKV3E|The Lion Guard|277611888|http://192.168.0.220:50000/recorded_files.json?SeriesID=C12371444ENKV3E
C12371444ENKV3E|The Lion Guard|277611888|http://192.168.0.220:50000/recorded_files.json?SeriesID=C12371444ENKV3E
C9248224ENC1D2|Gravity Falls|2937130814|http://192.168.0.220:50000/recorded_files.json?SeriesID=C9248224ENC1D2
C9248224ENC1D2|Gravity Falls|2937130814|http://192.168.0.220:50000/recorded_files.json?SeriesID=C9248224ENC1D2
MV004842230000|My Little Pony: Equestria Girls|1727260778|http://192.168.0.220:50000/recorded_files.json?SeriesID=MV004842230000
MV004842230000|My Little Pony: Equestria Girls|1727260778|http://192.168.0.220:50000/recorded_files.json?SeriesID=MV004842230000
MV006113720000|My Little Pony Equestria Girls: Rainbow Rocks|553036598|http://192.168.0.220:50000/recorded_files.json?SeriesID=MV006113720000
MV006113720000|My Little Pony Equestria Girls: Rainbow Rocks|553036598|http://192.168.0.220:50000/recorded_files.json?SeriesID=MV006113720000
It's not difficult to de-duplicate these, just wanted to bring it to your attention since it's probably not supposed to do this :) DeviceIDs are in my profile, please feel free to access my RECORD engine to have a look if you need to. Am also happy to provide any additional information you might need.

Thanks as always!

nickk
Silicondust
Posts: 16007
Joined: Tue Jan 13, 2004 9:39 am
x 2

Re: Duplicate entries in recorded_files.json?DisplayGroupID=root

Post by nickk »

Odd... I haven't been able to reproduce the problem here.

demonrik
Posts: 1319
Joined: Mon May 04, 2015 10:03 am
Device ID: 10736454, 1073A35A, 1075C377
x 4

Re: Duplicate entries in recorded_files.json?DisplayGroupID=root

Post by demonrik »

I see the same thing.
And I also see it on the Record Engine via the record_files.html (e.g.: http://192.168.0.21:59090/recorded_files.html)

Sometimes duplicated shows are side by side, other times there is a sequence that repeats.

Example on my Record Engine I see the following listed
...
Stumptown
Supergirl
Supergirl
The Blacklist
...
The Passage
The Purge
The Rookie
The Simpsons
The Purge
The Rookie
The Simpsons
The Tonight Show Starring Jimmy Fallon

I just put it down to one of those things

nickk
Silicondust
Posts: 16007
Joined: Tue Jan 13, 2004 9:39 am
x 2

Re: Duplicate entries in recorded_files.json?DisplayGroupID=root

Post by nickk »

Do you see the problem only in the root, or in the episodes list as well? (when SeriesID is specified in the URL)

Nick

djp952
Posts: 1245
Joined: Wed Oct 01, 2008 8:46 pm
Device ID: 131EB7F7;131ED0E0
Location: Elkridge, MD USA
x 1

Re: Duplicate entries in recorded_files.json?DisplayGroupID=root

Post by djp952 »

Only in DisplayGroupID=xxxx queries for me. DisplayGroup=movies, for example, also exhibits the behavior.

nickk
Silicondust
Posts: 16007
Joined: Tue Jan 13, 2004 9:39 am
x 2

Re: Duplicate entries in recorded_files.json?DisplayGroupID=root

Post by nickk »

If you restart the record engine does the problem temporarily fix itself or does it still immediately show the same duplicates?

demonrik
Posts: 1319
Joined: Mon May 04, 2015 10:03 am
Device ID: 10736454, 1073A35A, 1075C377
x 4

Re: Duplicate entries in recorded_files.json?DisplayGroupID=root

Post by demonrik »

Restart fixes for DisplayGroupID for me

Edit: Will monitor for when it happens again

djp952
Posts: 1245
Joined: Wed Oct 01, 2008 8:46 pm
Device ID: 131EB7F7;131ED0E0
Location: Elkridge, MD USA
x 1

Re: Duplicate entries in recorded_files.json?DisplayGroupID=root

Post by djp952 »

Same here. Restart makes the problem go away.

demonrik
Posts: 1319
Joined: Mon May 04, 2015 10:03 am
Device ID: 10736454, 1073A35A, 1075C377
x 4

Re: Duplicate entries in recorded_files.json?DisplayGroupID=root

Post by demonrik »

And it returns with a few recordings done

Post Reply