jose197506 1 Posted December 28, 2020 Posted December 28, 2020 Hi, I want to send new media added via telegram, and let the user click on the movie/ episode to add it to his queue or favourites list. I´m testing with an node app that makes the relation between the telegram id (unique for that phone numebr) and the id of the user (with the id of the item). I take this and when the user log in emby, it´s send to an endpoint with the sessionid and the device id. With all of this stuff, i cant see a method to add the item to favourites or queue list, can you help me?. Thanks. PD- Excuse my poor english.
Luke 42077 Posted December 29, 2020 Posted December 29, 2020 Hi, hopefully this will help you: https://github.com/MediaBrowser/Emby.ApiClient.Javascript/blob/master/apiclient.js#L4148
jose197506 1 Posted December 29, 2020 Author Posted December 29, 2020 Hi Luke, that was exactly what i need; there is a documentation about endpoints? in swagger i cant see this method. Thanks!
jose197506 1 Posted January 1, 2021 Author Posted January 1, 2021 Hi, it´s posible to take the jpeg cover via web? I want to send by telegram, but with api (http://XXXXXXXXX:8096/emby/Items/1062176/Images/Primary?maxHeight=249&maxWidth=180&tag=87d4ab0cd0b98046af3d1faada42033f&quality=90) Telegram dont accept (it´s need to be .jpg extension). Thanks!
PenkethBoy 2068 Posted January 1, 2021 Posted January 1, 2021 go look in swagger you can pull back the file via that
jose197506 1 Posted January 1, 2021 Author Posted January 1, 2021 (edited) Hi PenkethBoy, i can take the image path of an item, but i cant acces it via web server to share with telegram: "ImageType": "Primary", "Path": "/home/Accion/Action- Honest Thief (2020)/poster.jpg", "Height": 1950, "Width": 1300, "Size": 440498 Can you help me?. Thanks! Edited January 1, 2021 by jose197506
Luke 42077 Posted January 1, 2021 Posted January 1, 2021 If you check the apiclienr js that I linked you to, you'll find image examples in there.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now