Jump to content

Emby Statistics problem


Go to solution Solved by seanbuff,

Recommended Posts

Eigeplackter
Posted

I'm running Emby Server (Synology) beta 4.8.0.21 amd somehow statistics are screwed up.

As you can see the media qualities aren't correct, where is the data stored that makes appearing "Deutsch" and others

in the list ?

I checked the *.nfo Files, but there it's not. And I habe no idea how to check .bif files

 

image.thumb.png.8ac16b6be7745fd86ac81d761e9b84f3.png

GrimReaper
Posted

Since you're running beta server it is likely plugin dev haven't updated it yet (or maybe he ain't keeping with the beta versions at all and only focusing on stable and you were just getting lucky on previous beta versions as there were no affecting api changes). @hackthis02

  • Thanks 1
Eigeplackter
Posted

Ah might be, will just have to wait for the next stable I guess.

  • Agree 1
Posted (edited)

@EigeplackterI can't help with resolving your issue. But I thought I would chime in to say that I updated to Emby Beta 4.8.0.21 on my Synology DS918+ NAS, and I'm not having an issue with the Statistics plug-in. Specifically, there are no unexpected entries in the Media Qualities summary under General Statistics. 

Edited by DarWun
  • Confused 1
Happy2Play
Posted

I don't see this on either beta server either.  But dev may need to see a server log after task has run.

  • Solution
seanbuff
Posted
8 hours ago, Eigeplackter said:

As you can see the media qualities aren't correct, where is the data stored that makes appearing "Deutsch" and others

@Eigeplackter in your case, "Deutsch" is coming from an embedded title in the video file itself.

See this as an example...
image.png.95b8c2950121f89a5b9bc1dfd5386202.png

image.png.9dd86e945fae72ab63eda26a85f118bf.png

Media Info:
image.png.33d0d88fc64f19673238ce4355e5accf.png

Using something like MKVtoolnix to remove the embedded title, refresh metadata, and run Statistics calculation again - you'll find it will be cleared.

I think the problem you will have is locating exactly which media file has "Deutsch" embedded in the title (unlike the above example which is easy)

  • Thanks 1
Eigeplackter
Posted

Ahhh I see.

Okay, solution sounds like fun for an evening 🤣

At least I know where it‘s comming from. 

seanbuff
Posted

For that second one, open up one of your Die Hard's and scroll down to the media info section to see if one of them has an embedded title. 😁

Eigeplackter
Posted

Possible, but „Die“ is one german translation for „the“ …. 
 

The Untouchables - Die Unbestechlichen

The Incredibles - Die Unglaublichen

and so on 😑

seanbuff
Posted
1 minute ago, Eigeplackter said:

Possible, but „Die“ is one german translation for „the“ …. 
 

The Untouchables - Die Unbestechlichen

The Incredibles - Die Unglaublichen

and so on 😑

Haha there was only 1 so I was hoping that wasn't the case. Good luck!

  • Haha 1
Eigeplackter
Posted

Is there any way to remove those data by batch ?

I did those for like 20 files manually with MKVToolnix, it's tiresome.

seanbuff
Posted
3 minutes ago, Eigeplackter said:

Is there any way to remove those data by batch ?

I did those for like 20 files manually with MKVToolnix, it's tiresome.

Create a batch file, insert the following:

for /R %%f in (*.mkv) do "mkvpropedit" "%%f" --edit track:v1 --set name=""
pause

Either explicitly supply the path to 'mkvpropedit' or alternatively add the MKVtoolnix dir to your $PATH environment variable

It's recursive, so will go into subfolders.

  • Thanks 1
seanbuff
Posted

Might also want to clear out audio track titles while you're at it

for /R %%f in (*.mkv) do "mkvpropedit" "%%f" --edit track:v1 --set name="" --edit track:a1 --set name=""
pause

 

Happy2Play
Posted

@hackthis02why would track titles option affect this?

image.png.fe4d032203175e00942bc43ddbf1f051.png

But yes enabling this option and running task will show OP results.

Setting to Friendly and scanning removes them.

image.png.604a64cea3a06fda73d9da64f00a307e.png

  • Like 1
Eigeplackter
Posted

Ok I'll try that overnight, rescan might take a while.

hackthis02
Posted
1 hour ago, Happy2Play said:

@hackthis02why would track titles option affect this?

image.png.fe4d032203175e00942bc43ddbf1f051.png

But yes enabling this option and running task will show OP results.

Setting to Friendly and scanning removes them.

image.png.604a64cea3a06fda73d9da64f00a307e.png

I don't know. I've never used this option. I'll check it out after the 1st.
As for @Eigeplackter If you turn on debug logging. It will list all your shows/movies and what quality they are reporting.

Eigeplackter
Posted
9 hours ago, Happy2Play said:

@hackthis02why would track titles option affect this?

image.png.fe4d032203175e00942bc43ddbf1f051.png

But yes enabling this option and running task will show OP results.

Setting to Friendly and scanning removes them.

image.png.604a64cea3a06fda73d9da64f00a307e.png

I changed settings to user friendly and did a library scan overnight, this morning I did a calculate statistics.

No change.

Right now im running the batch @seanbufforovided, will report after it's done.

Happy2Play
Posted (edited)
17 minutes ago, Eigeplackter said:

I changed settings to user friendly and did a library scan overnight, this morning I did a calculate statistics.

No change.

Right now im running the batch @seanbufforovided, will report after it's done.

All I did was run the task and it corrected the list.

Edited by Happy2Play
Eigeplackter
Posted
13 hours ago, seanbuff said:

Create a batch file, insert the following:

for /R %%f in (*.mkv) do "mkvpropedit" "%%f" --edit track:v1 --set name=""
pause

Either explicitly supply the path to 'mkvpropedit' or alternatively add the MKVtoolnix dir to your $PATH environment variable

It's recursive, so will go into subfolders.

That has done the job !

image.png.0ec54a1385cee754196e2373d6cba76b.png

No more "Deutsch" the rest seems to be in the other library, running batch there too.

Thanks @seanbuff

  • 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...