Jump to content

emby next gen and the json rpc api -----> problems over problems


Pimp1310

Recommended Posts

Pimp1310
8 minutes ago, quickmic said:

ok, then use the pattern of my (native) link, adapt it and try. Probably you need your API-Key/token, and NO it cannot help you with that. It's unique. Probably grab it from the Emby server UI when you play a video.

btw, I'm afk now,

based in Europe, and must work tomorrow 😉

 

maybe I heard myself wrong.

I called the Kodi Json Rpc, this also works with items such as title rating etc. without problems.

with fanart I get the path 127.0.0.1/XXXXXX from the kodi Json rpc.

now i just have to have a working path for the fanart so that i can access it from my openhab.

Edited by Pimp1310
Link to comment
Share on other sites

quickmic

That's not that easy.

If you query the images via Kodi json, you must manipulate the pathes"manually" e.g. via script.

You cannot just drop the URL. It will also not work for with nfs network pathes.

patter is:

http(s)://myserverIP:PORTNUMBER/emby/Items/944665/Images/Backdrop/0?EnableImageEnhancers=True&Tag=d7b780f0ed288afcf1767b4ac5a28718

 

 

Edited by quickmic
Link to comment
Share on other sites

Pimp1310
9 hours ago, quickmic said:

That's not that easy.

If you query the images via Kodi json, you must manipulate the pathes"manually" e.g. via script.

You cannot just drop the URL. It will also not work for with nfs network pathes.

patter is:

http(s)://myserverIP:PORTNUMBER/emby/Items/944665/Images/Backdrop/0?EnableImageEnhancers=True&Tag=d7b780f0ed288afcf1767b4ac5a28718

 

 

yeah, i fall back to the kodi DB without Emby and it works perfekt. of course i must manupulate the path.

 

from

image://https://image.tmdb.org/t/p/original/mGVrXeIjyecj6TKmwPVpHlscEmw.jpg/

to

https://image.tmdb.org/t/p/original/mGVrXeIjyecj6TKmwPVpHlscEmw.jpg

 

i removed the "image://" and the "/" at the end.

 

i try it with emby again.

  • Agree 1
Link to comment
Share on other sites

quickmic

Yes, cause the data are coming from the internet. This link is accessible everywhere (and no login required).

Emby server is a local Webserver (unless you expose Embyserver to the internet as well)

Link to comment
Share on other sites

Pimp1310
15 minutes ago, quickmic said:

Yes, cause the data are coming from the internet. This link is accessible everywhere (and no login required).

Emby server is a local Webserver (unless you expose Embyserver to the internet as well)

Yes this example. But i had path with smb:// too, and they work the same way. 

 

I can open it in my openhab. Lauter i give you a example. 

 

Iam not at home. 

 

Edited by Pimp1310
Link to comment
Share on other sites

quickmic

smb -> Yes, if you have access via network share (and login credentials)

Anyway I know it works. It also works with Emby server, but also mentioned. It's not that easy with Emby server. This is not a drag and drop thingy if you wanna access Emby server via links from Kodi.

 

Edited by quickmic
  • Thanks 1
Link to comment
Share on other sites

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