Jump to content

Recommended Posts

Posted

Hmm that's odd, did you try the API directly in your beta server.

I get this when I crawl the api 

http://192.168.1.4:8097/emby/System/Info?api_key=xxxxxxxxxxxxxxxxx

{
  "SystemUpdateLevel": "Beta",
  "OperatingSystemDisplayName": "Unix",
  "HasPendingRestart": false,
  "IsShuttingDown": false,
  "OperatingSystem": "Linux",
  "SupportsLibraryMonitor": true,
  "SupportsLocalPortConfiguration": true,
  "SupportsWakeServer": false,
  "WebSocketPortNumber": 8096,
  "CompletedInstallations": [],
  "CanSelfRestart": true,
  "CanSelfUpdate": false,
  "CanLaunchWebBrowser": false,
  "ProgramDataPath": "/config",
  "ItemsByNamePath": "/config/metadata",
  "CachePath": "/config/cache",
  "LogPath": "/config/logs",
  "InternalMetadataPath": "/config/metadata",
  "TranscodingTempPath": "/config/transcoding-temp",
  "HttpServerPortNumber": 8096,
  "SupportsHttps": false,
  "HttpsPortNumber": 8920,
  "HasUpdateAvailable": false,
  "SupportsAutoRunAtStartup": false,
  "HardwareAccelerationRequiresPremiere": true,
  "LocalAddress": "http://172.17.0.8:8096",
  "LocalAddresses": [
    "http://172.17.0.8:8096"
  ],
  "WanAddress": "http://xxx.yyy.zzz.qqq:8096",
  "RemoteAddresses": [
    "http://xxx.yyy.zzz.qqq:8096"
  ],
  "ServerName": "Beta Server",
  "Version": "4.8.0.63",
  "Id": "XXXXXXXXXXXXXXXXXX"
}

Posted (edited)
{
   "SystemUpdateLevel":"Beta",
   "OperatingSystemDisplayName":"Unix",
   "HasPendingRestart":true,
   "IsShuttingDown":false,
   "OperatingSystem":"Linux",
   "SupportsLibraryMonitor":true,
   "SupportsLocalPortConfiguration":true,
   "SupportsWakeServer":false,
   "WebSocketPortNumber":8096,
   "CompletedInstallations":[
      
   ],
   "CanSelfRestart":true,
   "CanSelfUpdate":false,
   "CanLaunchWebBrowser":false,
   "HttpServerPortNumber":8096,
   "SupportsHttps":true,
   "HttpsPortNumber":8920,
   "HasUpdateAvailable":false,
   "SupportsAutoRunAtStartup":false,
   "HardwareAccelerationRequiresPremiere":true,
   "LocalAddresses":[
      
   ],
   "RemoteAddresses":[
      
   ],
   "ServerName":"Emby XXX",
   "Version":"4.8.0.63",
   "Id":"XXXX"
}

When I use a generated token, all I get is this

 

Edited by Bagul
Posted

Ok that not good.

Guess you will have to wait for @Luke

 

eduardopventura
Posted

Guys, I haven't even started, but just to understand.
I'm going to use docker on top of unraid and I wanted to know where to put the geoip.mmdb file in this case

Posted
2 minutes ago, eduardopventura said:

Guys, I haven't even started, but just to understand.
I'm going to use docker on top of unraid and I wanted to know where to put the geoip.mmdb file in this case

If you use docker with the basic created image, everything is included, you don't need to do anything.

  • Thanks 1
  • 1 month later...
Posted
On 12/26/2023 at 6:47 PM, Bagul said:

If you use docker with the basic created image, everything is included, you don't need to do anything.

Hello !

Have you solved the problem since?

I have the same problem myself 😕

Posted
8 hours ago, dylan62370 said:

Hello !

Have you solved the problem since?

I have the same problem myself 😕

Hello,

I've been so busy, I haven't had time to look again.

@LukeThe problem is still present on my side. With the generated token, I don't have access to the same information as with a token retrieved from the requests on my browser.

 

Personal token:

image.png.5850e63bf5347d4146361e59ab816006.png

 

Web token:

image.png.9acba75915c65b1350040a306b6c157e.png

Posted

It returns more data if the token is associated with an admin user.

Posted

@LukeIsen't that, when its created in the api keys section of the server, with that admin login ?

Posted

Actually currently no user is assigned to them. It's one thing that needs to be updated is to let you pick the user when you create it.

Posted

Ok so how do we get around this at the moment ?

Can @Bagul use the web api to resolve it, or do we wait.

Posted

I looked at the swagger a bit. Can I authenticate with username and password to get an administrator token?

Posted

@BagulI just updated to 4.8.0.80

And It all works, besides Lan and Wan adresses.

But its not at all a problem 👍

Its only a NICE to have feature 😉

Posted
On 2/3/2024 at 3:45 AM, dylan62370 said:

Hello !

Have you solved the problem since?

I have the same problem myself 😕

What problem are you talking about?

 

3 hours ago, jaycedk said:

@BagulI just updated to 4.8.0.80

And It all works, besides Lan and Wan adresses.

But its not at all a problem 👍

Its only a NICE to have feature 😉

I must admit I'm not too keen on asking for the user's username and password.

I'm going to assign default values for the lan and wan addresses to avoid breaking the display.

  • Like 1
Posted
7 minutes ago, Bagul said:

I must admit I'm not too keen on asking for the user's username and password.

I fully agree with you 😉 that might be a slippery slope.

9 minutes ago, Bagul said:

I'm going to assign default values for the lan and wan addresses to avoid breaking the display.

If that's is possible or just remove it for the time being.

Posted
9 minutes ago, jaycedk said:

I fully agree with you 😉 that might be a slippery slope.

exact 😂

10 minutes ago, jaycedk said:

If that's is possible or just remove it for the time being.

The default value is in case it ever works again, so I don't have to make any changes on my side  :)

  • Like 1
Posted
11 hours ago, Bagul said:

What problem are you talking about?

 

I must admit I'm not too keen on asking for the user's username and password.

I'm going to assign default values for the lan and wan addresses to avoid breaking the display.

In the grafana page I have the same problem as you, I have no info for LAN and WAN since update 4.8.


But it's not that big a deal, I just wanted to let you know about the problem, which I see is being resolved.

Posted
10 hours ago, dylan62370 said:

In the grafana page I have the same problem as you, I have no info for LAN and WAN since update 4.8.


But it's not that big a deal, I just wanted to let you know about the problem, which I see is being resolved.

Oh, right. 

So I'm going to put something in place that won't solve the problem, but rather mask it.

  • Like 1
  • 2 weeks later...
Posted

@BagulI have a problem, and when I install all,l the wan address and the lan address, its in blank. Can you say me to fix this? Thanks

image.png.208593de15003334afc7751fdeaac17d.png

Posted (edited)

@loliperoIts a known issue with Emby server 4.8.

For some reason , we can no longer see this info via api key.

 

Edited by jaycedk
  • Thanks 1
Posted

The devs needs to do some work on the API, for us to get that back.

But right now with all that's going on with the new release and all.

It will take a while.

 

Posted (edited)
10 hours ago, lolipero said:

@BagulI have a problem, and when I install all,l the wan address and the lan address, its in blank. Can you say me to fix this? Thanks

image.png.208593de15003334afc7751fdeaac17d.png

Yes, as @jaycedk said, there is a limitation on the data returned with the generated token.
I'm working on exporter because I've noticed some quirks with the memory, but I'll be releasing a version soon to fix the problem.

 

edit:  To mask the problem****

Edited by Bagul
  • 5 months later...
MrLinford
Posted

Thank you, just thank you.

  • 4 months later...
Posted

I have noticed sth strange with the exporter output and thought you guys could help @Bagul@Neminem

Sometimes (rather more often now) when exporting emby_sessions metrics to Grafana into the table I get the strange result that when someone is playing a series with Show name and Episode name and there is another row when someone is playing a movie with just a Movie name, the table gets filled with the nearby Show name as well. Don't know how to explain it well but the picture shows what I mean. Any idea how to make it blank where it should stay blank?

 image.thumb.jpeg.ca4ff351b33e65c0df5c9d6b94898f97.jpeg

Posted

You need to read this

TOomaAh/emby_exporter_go

I short, he is no longer using Emby, and have discontinued this exporter.

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