Jump to content

New Statistics plugin


Recommended Posts

DarkStar1977
Posted

Same here :

image.thumb.png.ab1bacf129a34125165aff87685d213c.png

hackthis02
Posted
11 hours ago, DarkStar1977 said:

Same here :

image.thumb.png.ab1bacf129a34125165aff87685d213c.png

What is Australia: Faraway Downs? I can only find a Faraway Downs with Kidman and Jackman.
Also I'm not sure how you're getting a listing with zero collected AND zero aired. Is that just and empty folder?

hackthis02
Posted
On 3/2/2025 at 2:17 AM, crossfire13148 said:

sick of putting things in the REAL aired order, including from the official site, and having to fight TVDB who says "no, the ones that produced it are wrong"

Yeah I'm not particularly happy with TVDB either but it's what emby uses and I can almost guarantee something better like IMDB has a crazy pricing to use their API. 

crossfire13148
Posted
On 3/2/2025 at 7:03 PM, hackthis02 said:

Also I'm not sure how you're getting a listing with zero collected AND zero aired. Is that just and empty folder?

Captain Caveman and son: i have all of them
image.png.681ae321d12967f82d4ecdaac9e1cdd3.png

Doctor who: the celestial toymaker: i have all of them
image.png.93e2184e34939fa92043d9383c997fa8.png

 

Posted
On 3/2/2025 at 2:47 AM, crossfire13148 said:

this looking good:
 

This not so much! lol (dont worry about the AHL and NHL, those are in my DVR folder)
 

noticing, it seems to be a lot of the same ones not detecting. could still be a time out/scans per min API limitation, who knows...
sadly server again is in heavy use, so logs are insane to try to filter through. i will try again later when i have no users to get a good debug log.

I think for at least a few of the items in your list, the number of episodes to be collected is "0" because there are no official entries for them as a series in TVDB or episodes haven't actually aired yet. The Fear the Walking Dead episodes are on TVDB as specials under the parent series. Same with the Celestial Toymaker and Is It Cake. According to TVDB, episodes for A Cruel Love don't start airing until March 5 on ITV1. So there are no episodes to be collected until that date. Great Battles of the Great War has no episodes to be collected because there are no air dates identified for the three Season 1 episodes on TVDB.

Money Heist and Captain Caveman and Son...I'm not sure why they have "0" episodes to be collected as they both have official entries as series at TVDB with air dates entered for each episode. I'll add them to my library when I get home tonight to see what Statistics shows for them. 

  • Like 1
Posted

Minor correction on what I posted above about Doctor Who - The Celestial Toymaker (2024). It is not a special under the parent series on TVDB. I think TVDB considers it to be an animated recreation of lost episodes of the fourth serial in Season 3 (S03E30-E033). So a separate entry is not provided for it.

TMDB lists it as a movie.

Posted
9 hours ago, DarWun said:

Money Heist and Captain Caveman and Son...I'm not sure why they have "0" episodes to be collected as they both have official entries as series at TVDB with air dates entered for each episode. I'll add them to my library when I get home tonight to see what Statistics shows for them. 

I added these both to my library. Statistics shows that there are episodes to be collected for both.

image.png.bfa5401d26dba2528837c1b0f965b58b.png

So I have no insight as to why that might not be the case for others.

Junglejim
Posted (edited)

A few strange entries have started to show up for me too, only a hand full but they all seem the same..

Screenshot_2025-03-06_17-21-49.png.f5557d332bac0f64cc3267e1831a791c.png

They are all shows that have ended and I have collected all of the episodes. 🤔

EDIT: I think I know what the problem could be for me at least. All the shows affected are using DVD order.

Edited by Junglejim
crossfire13148
Posted (edited)
22 hours ago, DarWun said:

I think for at least a few of the items in your list, the number of episodes to be collected is "0" because there are no official entries for them as a series in TVDB or episodes haven't actually aired yet. The Fear the Walking Dead episodes are on TVDB as specials under the parent series. Same with the Celestial Toymaker and Is It Cake. According to TVDB, episodes for A Cruel Love don't start airing until March 5 on ITV1. So there are no episodes to be collected until that date. Great Battles of the Great War has no episodes to be collected because there are no air dates identified for the three Season 1 episodes on TVDB.

Money Heist and Captain Caveman and Son...I'm not sure why they have "0" episodes to be collected as they both have official entries as series at TVDB with air dates entered for each episode. I'll add them to my library when I get home tonight to see what Statistics shows for them. 

FTWD-Dead in the water and flight 462 used to show up fine before, they HAD their own listing...means they removed them to make them "specials"
both were seperate mini series
https://www.imdb.com/title/tt5095238
https://www.imdb.com/title/tt18926116
so i am guessing more fuck fuck games on tvdb

******************EDIT (added)********************
AND moviedb still has them as their own shows!!!
****************************************************

A cruel love WAS also on there, as they HAVE already aired....hence why and how i have them
image.png.2224a2ab2ec692bf40553ff33f9cdb07.png

****************ADDED************
AND here shows how they are playing fuck fuck games too!

image.png.1aec8332c608ea940807b0e8402b3a16.png

i rescanned, and both wrong, and both different, and both are different to what even tvdb says now!

and they were released and aired in USA on britbox

meaning this is the month after airing in the UK on ITV (free to air)
to me, that would count as a rebroadcast, not an airing!

**************************************************************************************************


and same with "is it cake holiday" was also a stand alone....

REALLY hating thetvdb now....
especially because auto organize did all the sorting BASED on tvdb....

still doesnt explain the others or the NEW issues that i found....
see next post

Edited by crossfire13148
crossfire13148
Posted

ok so on top of the "normal issues" i have found here is where i am really thinking there is a few issues:
1) that tvdb api is timing out when there is too many queries too fast
2) that somewhere the "mathing" is still broken
Chicago series (pd med and fire) all air at the same time, same day....
So this is right:
image.png.987dc077d98d12e0313a2ed0fd580214.png

This is NOT!
image.png.fecf79c64821caecad130e1332cc6fd7.png

fire scan, then med, then PD: scan starts at 0100 EST
so all three should show missing from previous day`s airing
on top of that,
266 of 267 is not 100%
235 of 236 is not 100%
some of the other shows are showing 99%, 98% etc when missing 1 show missing as expected
BUT some shows are still not reading as missing an episode when they are
making me believe that the scan isnt receiving the data from tvdb, just as the 0 of 0 ones

metadata manager IS showing what is missing, but i have to be a day after before it shows up
where stats pluging used to show missing the day it was airing

i could post the results of the 1440 TV shows, but figured this would suffice!

crossfire13148
Posted
12 hours ago, DarWun said:

I added these both to my library. Statistics shows that there are episodes to be collected for both.

image.png.bfa5401d26dba2528837c1b0f965b58b.png

So I have no insight as to why that might not be the case for others.

i am really guessing there is a query limit in place
just like the rust server i am staff on.
a plug in polls umod for updates, but after x number in x time, it returns 404, where it is doing DDoS protection.
i am really thinking if @hackthis02puts some kind of delay between polls, like maybe 1-5 seconds this may satisfy the tvdb api and get uninterrupted pulls
or even a pause between like every 5 polls, no idea to what tvdb does at this point...
depending on the setting from tvdb, might have to do up to 30-60 seconds between polls
granted in my cause with 1440 tv shows, a 1 second time out between polls would take the scan from the 16 min and add 24 min to it
if a 30 second delay is added, it would add 12 hours to my scan!
and if 1 min between polls, it would add 24 hours to my scan!

Posted
1 hour ago, crossfire13148 said:


A cruel love WAS also on there, as they HAVE already aired....hence why and how i have them
 

****************ADDED************
AND here shows how they are playing fuck fuck games too!

 

i rescanned, and both wrong, and both different, and both are different to what even tvdb says now!

and they were released and aired in USA on britbox

meaning this is the month after airing in the UK on ITV (free to air)
to me, that would count as a rebroadcast, not an airing!
 

TVDB seems to respect the airdates on the "network of origin" if a series airs elsewhere earlier. I saw something similar for Orphan Black: Echoes. It aired on Stan in Australia six months before it officially aired on AMC in the US. Users kept trying to update the episode dates to match the Australian air dates, but TVDB (or other users) kept deleting the dates since it hadn't aired on AMC yet. I think TVDB eventually locked the series to prevent users from making changes until it "officially" aired on AMC.

Very frustrating.

  • Agree 1
hackthis02
Posted
3 hours ago, crossfire13148 said:

i am really guessing there is a query limit in place
just like the rust server i am staff on.
a plug in polls umod for updates, but after x number in x time, it returns 404, where it is doing DDoS protection.
i am really thinking if @hackthis02puts some kind of delay between polls, like maybe 1-5 seconds this may satisfy the tvdb api and get uninterrupted pulls
or even a pause between like every 5 polls, no idea to what tvdb does at this point...
depending on the setting from tvdb, might have to do up to 30-60 seconds between polls
granted in my cause with 1440 tv shows, a 1 second time out between polls would take the scan from the 16 min and add 24 min to it
if a 30 second delay is added, it would add 12 hours to my scan!
and if 1 min between polls, it would add 24 hours to my scan!

I no longer, in anyway, pull from TVDB. I'm querying the local DB from Emby. Emby now handles all interactions with TVDB.
I think I have tracked down the same day airing issue.
Before I would filter out episodes by

e.PremiereDate <= DateTime.Now || e.PremiereDate != null

But now I'm trying to use the internal query system so I have it doing the filter

var query = new InternalItemsQuery(User)
{
    IncludeItemTypes = new[] { typeof(Episode).Name },
    Recursive = true,
    Parent = show,
    IsSpecialSeason = false,
    ***MaxPremiereDate = DateTime.Now,***
    IsVirtualItem = false,
    IsPlayed = true
};

I'll need to look into this more. 

4 hours ago, crossfire13148 said:

on top of that,
266 of 267 is not 100%
235 of 236 is not 100%

This maybe do to the fact I'm rounding the the next whole number. 235 of 346 is 99.58%

  • Agree 1
crossfire13148
Posted
6 hours ago, hackthis02 said:

I think I have tracked down the same day airing issue.

i actually loved that part of it!
basically it gave me the list of what i had to get today to be current!
almost like a "here is what to watch for today" :D
in the words of google (when they were defending the DEI AI Art stuff)
"Thas not a bug, it is a feature" lol

  • Like 1
  • Haha 1
Posted (edited)

Hi everybody,

Trying to solve my issue, I have a quick question.
If I take example with My serie La casa de Papel ( Money Heist ) If I go in DBTV, i have this :
image.png.f4a5d60757769f2105a879725e7644f9.png

My collection is based on Netflix order, but If I tried to change in my metadata seems it's not working.

image.png.ff6188730519109c7329d7d53c98613a.png

Here I have only 3 choise. Aired for sure, absolute or DVD.
There is no Netflix, or "Alternate Order".
Do you know how I can match my collection with Netflix Order in DBTV ?
There is maybe other setting to do ?

Because for sure if i'm not compliant here, in the statistics plugin it will be not good....

Thanks

 

Edited by remid12
Neminem
Posted

@remid12This is not a plugin problem, but a lag in Emby metadata fetcher.

You can add your support here, remember to like first post.

 

  • Like 3
DarkStar1977
Posted
On 3/8/2025 at 11:17 AM, remid12 said:

Hi everybody,

Trying to solve my issue, I have a quick question.
If I take example with My serie La casa de Papel ( Money Heist ) If I go in DBTV, i have this :
image.png.f4a5d60757769f2105a879725e7644f9.png

My collection is based on Netflix order, but If I tried to change in my metadata seems it's not working.

image.png.ff6188730519109c7329d7d53c98613a.png

Here I have only 3 choise. Aired for sure, absolute or DVD.
There is no Netflix, or "Alternate Order".
Do you know how I can match my collection with Netflix Order in DBTV ?
There is maybe other setting to do ?

Because for sure if i'm not compliant here, in the statistics plugin it will be not good....

Thanks

 

In fact will be "Alternate Order" that is currently not supported by emby:

image.png.be83c6b1ca6ba426a0c1463c79830097.png

Posted

Hi guy :)

Thanks a lot for your explanation :)
So now I understand some "issue". That normal :)

Hope that on the future it will be available !

Have a good week-end,

Best regards,

  • Like 1
Posted (edited)

Hello, I have an error with the plugin for Calculate statistics all users and all library media. Do you know why ? 

embyserver.txt

Edited by MAX92
hackthis02
Posted
4 hours ago, MAX92 said:

Hello, I have an error with the plugin for Calculate statistics all users and all library media. Do you know why ? 

embyserver.txt 5.61 kB · 0 downloads

I don't know why, but I know where. I'll check it out.

  • Thanks 1
Posted
On 3/18/2025 at 9:49 AM, MAX92 said:

Hello, I have an error with the plugin for Calculate statistics all users and all library media. Do you know why ? 

embyserver.txt 5.61 kB · 1 download

New version 3.4.1.1 and no more error 

  • Like 1
  • 5 months later...
Posted

I just noticed something with Emby Beta 4.9.1.25. I'm not sure if this occurred with previous versions.

image.png.39cf0e3890910ade19e07939395c66a8.png

undefined...I don't recall what was displayed before. But I definitely don't remember seeing "undefined". Is this a bug introduced with newer Beta versions?

hackthis02
Posted
13 minutes ago, DarWun said:

I just noticed something with Emby Beta 4.9.1.25. I'm not sure if this occurred with previous versions.

image.png.39cf0e3890910ade19e07939395c66a8.png

undefined...I don't recall what was displayed before. But I definitely don't remember seeing "undefined". Is this a bug introduced with newer Beta versions?

No, I'm seeing that on my server too. I'll check it out.

  • Thanks 1
Posted
16 minutes ago, hackthis02 said:

No, I'm seeing that on my server too. I'll check it out.

Thanks for confirming @hackthis02! I'll spend some time tomorrow rolling back to previous versions to see if I can pinpoint when this started happening.

Posted
8 hours ago, DarWun said:

I just noticed something with Emby Beta 4.9.1.25. I'm not sure if this occurred with previous versions.

image.png.39cf0e3890910ade19e07939395c66a8.png

undefined...I don't recall what was displayed before. But I definitely don't remember seeing "undefined". Is this a bug introduced with newer Beta versions?

I am on EMBY 4.8.11.0

and I have the same :

image.png.ee5aecdf4e679df56d49d647c9acc979.png

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...