Jump to content

Search the Community

Showing results for tags 'API'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements
    • Emby Premiere Purchase/Subscription Support
    • Feature Requests
    • Tutorials and Guides
  • Emby Server
    • General/Windows
    • Android Server
    • Asustor
    • FreeBSD
    • Linux
    • NetGear ReadyNAS
    • MacOS
    • QNAP
    • Synology
    • TerraMaster NAS
    • Thecus
    • Western Digital
    • DLNA
    • Live TV
  • Emby Apps
    • Amazon Alexa
    • Android
    • Android TV / Fire TV
    • Windows & Xbox
    • Apple iOS / macOS
    • Apple TV
    • Kodi
    • LG Smart TV
    • Linux & Raspberry Pi
    • Roku
    • Samsung Smart TV
    • Sony PlayStation
    • Web App
    • Windows Media Center
    • Plugins
  • Language-specific support
    • Arabic
    • Dutch
    • French
    • German
    • Italian
    • Portuguese
    • Russian
    • Spanish
    • Swedish
  • Community Contributions
    • Ember for Emby
    • Fan Art & Videos
    • Tools and Utilities
    • Web App CSS
  • Testing Area
    • WMC UI (Beta)
  • Other
    • Non-Emby General Discussion
    • Developer API
    • Hardware
    • Media Clubs

Blogs

  • Emby Blog

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

  1. I'm trying to get the SpongeBob series correctly into my libary. I have all Episodes in "joined" format (so 2 episodes in one file). This ordering is available on TVDB as "Alternate" order for the API and is also used on IMDB. BUT it seems it's neither possible to set "Alternate" for the TVDB Order Settings in the Series metadata options (only aired, dvd and absolute order are available there) nor is it possible to use IMDBs order for series in general. So whatever I select it just puts the names of the first half of all episodes in and just says the other half is missing... How can I fix this problem? It would be cool if an "Alternate" order setting for TVDB Metadata could be added. See https://www.thetvdb.com/series/spongebob-squarepants#seasons -> joined order for more information. They explicitly state "Usable as "Alternate Order" in API-connected systems" under the joined order format. Regards
  2. I have created some custom integrations between emby and trakt such that my playlists are managed exclusively in trakt and then automatically added to emby, with media added in emby if it exists in my library. Currently it's a one way street, where changes to the playlists in emby are lost, with trakt as the only source of truth. My request is to have two new webhooks added. 1. Media added to playlist 2. Media removed from playlist Ideally the body would include the media and playlist IDs so that I can find the necessary data to then push changes from emby playlists back to trakt. I could grab and parse emby playlists directly, however that's messy without adding a db in the middle, which I very much want to avoid. Fwiw, the existing webhooks for added to / removed from favourites achieve the same goal perfectly for my favourites syncs.
  3. kingy444

    Python API Client

    I have followed the instructions layed out here: https://dev.emby.media/home/sdk/apiclients/Python/README.html I have also tried the pre-packed pip version: https://pypi.org/project/embyclient/ I cant seem to get either of these to work. while i know embyclient is not supported here, i suspect given the automated nature the issue lays in the parent sdk library from embyclient.EmbyClient.Python.activity_log_service_api import ActivityLogServiceApi ModuleNotFoundError: No module named 'embyclient.EmbyClient' I actually cant even get the SDK version to import because of the hyphen in its name Python 3.11.0 (main, Oct 24 2022, 18:26:48) [MSC v.1933 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import embyclient-python File "<stdin>", line 1 import embyclient-python During packaging there were a couple of deprecated warnings but it seemed to complete and generate the folders fine PS C:\Users\king\Downloads\Emby.SDK-master\SampleCode\RestApi\Clients\Python> python setup.py install --user running install C:\Users\king\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( C:\Users\king\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\command\easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( running bdist_egg running egg_info creating embyclient_python.egg-info I was wondering if the pre-packaged perhaps was not working because of the below (Essentially EmbyClient.Python can resolve to two different paths) The embyclient (again by 3rd party) does not even have the EmbyClient folder. I dont think something is working as it should.
  4. Hello all! This form post is more to take the temperature of an Emby-related open source project that I haven't been updating very much due to just life getting in the way and an upcoming move, but I've been doing a lot more freelance coding lately, and I'd like to try another push to complete an MVP if there might be even a hint of interest. In short, my project aims to extend Emby's API with Subsonic-compatible endpoints to allow for various Subsonic-compatible clients to leverage it, thus diversifying the clients that one can use to interface with Emby for audio. However, for all intents and purposes, Subsonic seems like a dead project. It appears that the last version of the Subsonic server came out over four years ago, and although arguably the Subsonic API has become a de facto standard, it isn't being updated at all either. Still, even though Subsonic may be "dead", it doesn't mean that the API isn't stable, even it has been neglected :) I currently use Navidrome for local audio although I'd rather just use Emby for everything. That said, I've been quite pleased using Symfonium (Android platform) with Navidrome - Symfonium even supports Emby native APIs. But of course that is just me. This post is an attempt to gauge if there may even be a smidge of some interest in having a stable Subsonic extension to Emby's API. So if you have any opinion on the matter, I'd love to hear it. Many thanks!
  5. EatSleepCodeDel

    Get all TV Show ID's in Library?

    Hi all! I am looking for an API endpoint where I can list all IDs of TV Shows or Movies in a library. I have looked at the docs, swagger.emby.media, and Googled and can't find anything to enumerate this data. For context, I want to develop a small companion tool to dynamically manage collections based on metadata of TV shows and movies. For this to work, I need to iterate over each show or movie in a library, parse the data and add matching items to collections. Apologies in advance if this is an `ID10T` error. Thanks!
  6. The ASK - It would be outstanding if we could add a LastAccessedDate to the API calls for EMBY. One possible location could be GetItems, FIelds=LastAccessedDate. I do see that there is a Last Played Date that is recorded per an individual playing the content. This should make this a relatively "trivial" addition by defaulting the field to False and writing the Last Played Date to it anytime anyone plays the content. If you want to take it a step further, anytime anyone plays the content continuously for longer than X minutes. The distinction here is a global last accessed date independent of each user's current Last Played Date. The WHY - One of the staples of content management is the ability to determine an item's last access date as it determines the relevance of an item. Most of us do not have unlimited storage, which means if something has never been accessed or played in two years, it is evident that no one cares to have it on there; as such, it should be removed. This could also be helpful data to display internally for those not leveraging API calls. While PLEX did not have this data natively, the ability to pipe Tautulli into the system did allow you to have the data accessible in a programmatic way. The WORKAROUND - The only way I can see to accomplish this today (natively) would be to pull a list of all users. All of their individual last played data, combine, clean up the data, restrict to a date/time window of interest, compare with the entire list, and remove the difference. This, unfortunately, will likely be the path I head down as my need is more immediate. But what could essentially be a single line or two of code to accomplish has now become a multi-series set of loops to build a dataset that can be used for this purpose. I appreciate your consideration, and if I am missing something blatant, please let me know.
  7. This might be the wrong place, but I have a script written post Playlist API changes in 4.8.x. This script worked until I upgraded from beta 4.8.0.66 to 4.8.0.69. Testing via REST client I am getting the following: Exception of type &#39;SQLitePCL.pretty.SQLiteException&#39; was thrown. Has anything in the API changed for playlists between these versions? API call being used for testing: {{baseUrl}}/Playlists/:Id/Items?Ids=2862576 API Key is OK as it works for other API calls and Playlist ID is fine as a query to get all items from the playlist is successful.
  8. Salut, je cherche à créer des utilisateurs à partir de leurs comptes google, ou bien autoriser les connexions à partir d'un compte google. Cette fonctionnalité est possible à mettre en place sur une page .html basique : Et est même déjà intégré sur d'autres applications à travers un plugin additionnel. Voici la page d'administration du plugin social login installé sur le serveur nextcloud : Et le résultat pour les utilisateurs une fois configuré avec les différents api de google facebook etc... :
  9. ShadowKindjal

    Swagger API Help

    I'm not sure if I have something configured incorrectly on my server but I've never been able to use the API button on the bottom of my dashboard to test API calls via swagger. I always have to open a command prompt or use postman to test my scripts for what seems to be simple issue. For some reason the web address under Servers on my swagger page begins with http instead of https. This means all my API calls done from that page fail but when I populate the command with https and use the same variables it works just fine. Is there a simple way for me to fix this?
  10. Hey guys, I stumbled upon your awesome piece of software about a month ago. Since then I am working my way up to a complete automated build. Right now I would like to understand how the POST request works. I am trying my hardest since two days to be able to update the whitelisted IP-Addresses using nodejs. When I copy the complete json using Postman everything works just fine. But when I try to get the json from the server and just reupload it (for testing purposes) it resets my settings on the server (success code 204). It may be a simple http error that I am unable to see. Here is my nodejs playground so far. const request = require('request'); var obj request('http://localhost:8096/emby/System/Configuration?api_key=5058514e6c2443a9b03cbcbcf308f06f', (err, res, body) => { if (err) { return console.log(err); } var inbetween = JSON.parse(body); obj = inbetween; }); JSON.stringify(obj); var options = { uri: 'http://localhost:8096/emby/System/Configuration?api_key=5058514e6c2443a9b03cbcbcf308f06f', method: 'POST', json : obj }; console.log(obj); request(options, function (error, response, body) { if (!error && response.statusCode == 204) { console.log(body.id) // Print the shortened url. } console.log(response.statusCode); // console.log(body); }); If you need some server logs just say so. Eltonmaster
  11. softworkz

    Presenting the new Emby SDK

    Background Plugins, extensions and integrations make an important part of the Emby ecosystem. Plugin development is open to everybody and many great plugins have been created by Emby community members. To show our appreciation for the great work and achievements of community developers, we took steps in order to improve in an area where we haven't done that well in the recent past: Developer Support. When talking about support, there are several different facets to evaluate and consider. We probably did fairly well when it was about responding to user questions - but not that much when it came to providing accurate and up-to-date information, documentation and code examples. Emby SDK It has been just about time to make a change to that and over the past months we have intensively worked on improving that situation. Eventually, we have ended up with a fully loaded package of information, resources, tools and sample code - exclusively for all of you developers, so today we're proud to present: The EMBY SDK https://github.com/MediaBrowser/Emby.SDK Website - emby dev In parallel to the SDK, we are launching: the new emby developer site https://dev.emby.media Introduction Video For a comprehensive introduction to the Emby SDK, watch the video, either by installing the Plugin for The Emby Show Or watch it on YouTube: The Emby Show Episode 3 - Emby SDK - or below Questions? Please ask questions in the developer forum: https://emby.media/community/index.php?/forum/47-developer-api/ Watch
  12. HemTark

    Understanding Developer API

    I am new to Emby Developer API. While going through the Developer API Wiki on GitHub I got following doubts. Please help me in understanding these topics. The API key authentication is not linked to a specific user. So when using API key authentication how can I browse the whole library of the Emby server as all the APIs related to browsing library requires a user id? I can get list of all users on the server using /Users API. But then how to decide which user id to use for browsing library? This is crucial as every user might not have access to every type of media. How to connect to server as a client and create a session? As my application is sending API requests to Emby server, as per the terminology my application becomes a client. But how can I create a session for my application so that other clients know about it? What is Emby Server DLNA client? When I fetch sessions controllable by a specific user I get two sessions. First is of my browser from which I am accessing Emby server hosted in my machine. And second one is Emby Server DLNA Client. I would like to know what is this second session for? I have Emby server hosted in my local machine and I am using API key authentication for making API requests. Thanks for help in advance.
  13. Hi, all. So, I've been just slowing chipping away at this PowerShell script I run every night to sync my server with some other drives and want to make an API request to scan the Emby library and call two other requests as well (Timelord Plugins). Has anyone does this that has some code they'd be willing to share (privately or publicly) as examples? Here is my barebones script, without any of my server's info in there. Thanks! server_sync (1).ps1
  14. Hello Folks, After the success of getting a count of the current NowPlayingItem entries in the Sessions API, I am now trying to get a list of the Users and what they are currently playing - then send that to my InfluxDB to show in my Grafana server. I am nearly there with this command line, but cannot quite get it so that JQ only shows those session users who are actually playing something... wget -q -O - "http://localhost:8096/emby/Sessions?api_key=3469exxxxxxxxxxxxxxx201ef3f" | jq -M '.[].UserName, .[].NowPlayingItem.Name' will show me the following... null "Paul" "Tracey" "Sam" "Tom" "Katie" null "The Secret of the Unicorn (1)" null null null null ...which is every possible user. In the above example, only user "Paul" is actually playing ""The Secret of the Unicorn (1)". If I add the JQ options to now show 'nulls'... wget -q -O - "http://localhost:8096/emby/Sessions?api_key=3469exxxxxxxxxxxxxxx201ef3f" | jq -M '.[].UserName, .[].NowPlayingItem.Name | select(. != null)' then I can get it to this output... "Paul" "Tracey" "Sam" "Tom" "Katie" "The Secret of the Unicorn (1)" ...which is correct but still shows me users that are not playing anything at that time! Does anyone have knowledge of JSON and JQ or the API so that I can just get a list of those users that are playing an item now. I would be happy with this output... "Paul" "The Secret of the Unicorn (1)" ...or even better - turn it in to a key + value pair like this... { "Paul": "The Secret of the Unicorn (1)" } ...so that I can send that to a bash script and then to my InfluxDB. Thanks in advance! Regards, Paully
  15. VernoxVernax

    List of servers for a user empty?

    Hello, I'm currently trying to get the list of servers from a users account. Wiki The authentication part is working successfully and I get the required user_id and access_token, but the following get request just doesn't reply anything. header = { "X-Application": "blah/1", "X-Connect-UserToken": access_token } response = requests.get("https://connect.emby.media/service/servers?userId={}".format(user_id), headers=header) print(response.status_code) print(response.text) >> 200 >> [] I tried switching user_id and access_token and other stuff as well, but I'm pretty sure everything is fine on my side. Please, help. What am I missing?
  16. Hey @Erb or @Luke, Quick question. Would it be that big a deal to add the release level (Stable or Beta) to the public API at /System/Info/Public? I'm doing a MAJOR overhaul of my EmbyUpdate auto updater/installer for linux and realized if for some reason when I release my new update I fail to be able to convert from from the old config based settings to my new database based settings, that I could end up installing Stable over someone running Beta. (Very small chance, I've tested thoroughly. But you know how it is with 1000 flavors of linux) So I'm having to just fail the app if I can't convert their settings, which will break the automation for everyone affected if there's a bug. I know this is a really niche request, and I'm likely the only person who's interested in this feature. What I do is allow my users to install your latest "pre-release" or "release" versions off github. My app just automatically does what your process is for linux on your linux download page. If I can query the sever (something I'm already doing to know the version #) and find out if it's release (Stable) or pre-release (Beta) it would just make it safer. Then I can also confirm what they are doing if they change it. While ~I~ may be the only person ever to care, my users (aka your users) may benefit from it by me being able to build a better and smarter updater. Only reason I'm asking. Thanks, long time lifetime subscriber, nowhere near first time caller.
  17. Skyobliwind

    Pictures from Fanart just grey

    Starting a few days ago all pictures from fanart ar just shown in grey. Updating the FreeNas plugin to the newest available version didn't change anything. It happened from one day to the other without changes on the system. Did fanart make changes on their api side or something? Other sources work fine. Problem seems to only occur with different series. No problem with films. (See attached Screenshot).
  18. Hello. I been running some custom scripts to pull a listing of nextup episodes via the Emby Server API and it seem to no longer be working. In the Emby Dashboard on the server I go to the bottom of the screen and click "Api" This bring up the Swagger UI Go to TvShowsService the click Get on the /Shows/NextUp Click Try It out Fill in the UserID String (which can be found when you run the UserService Get /Users/Query) , scroll down and click This used to give me a listing of all the next up episodes that are shown in the Next up in emby. I noticed Next up was missing and I had to turn it back on in Emby. But now it's only give me this for output. See Response body. I'm showing the code that normally gives me the listing. Notice the TotalRecordCount : 0 Normally it spits out all the next up showings. I tried the /Shows/Upcoming command and it seems to work. As shown below Is anyone else having this issue with the Nextup command? Is there a new ContinueWatching Command but it's not listing in the Emby API/Swagger UI? More information I'm running Emby server on Unraid and have been for a few years now. I'm not entirely sure when this stopped working for me. I haven't installed any new plugins lately except for the Addicted.com and Open Subtitles. Please let me know if your having this issue as well or have a solution for me. Thank you so much Best regards Indy
  19. Hi everyone. My first post in this forum. I hope someone with some experience on emby API can help me figuring out how to call this endpoint. (https://app.swaggerhub.com/apis/vdts/jellyfin-server_api/1.0.0#/default/ResetTuner) The background is.. I use a 'virtual M3U tuner' on Jellyfin server that connects to a remote m3u file. This gets only updated if I do so on the admin panel at the EPG Data Refresh. By resetting the tuner, I suppose this would basically reload the remote m3u file but I don't know how to use it. I know it is a POST request, I've tried the payload using {'operationId':'RefreshItem','Id':'38d682202ec8345f5b7381f656f921e9c '} but I cant quite understand what does the Id refer to. That number there is what I can read on the browser address ..../livetvtuner.html?id=8d682202ec8345f5b7381f656f921e9c when getting into the tuner settings page. Any clue? Thanks in advance,
  20. ohmadruga

    Emby Serializer / API

    About A serialization layer for your Emby server's database, allowing information about movies, tv series and episodes to be retrieved in JSON format via GET requests. Project URL <URL redacted> Why? I wanted to build some custom Python scripts to feed my Superset dashboards with relevant information about my Emby library and I could not find all the information I needed using the native API, so I ended up building this "intermediate app" that sits between my scripts/dashboards and my Emby server's database. Due to to database access restrictions, it is a little bit slow, but that's something I'm going to tackle next. Ideas and feedback are welcome! Screenshots 1. Movie endpoint response 2. Genre & studios detail 3. Providers detail: 4. Media streams detail (audio tracks and subtitles included)
  21. Hello, long time user of emby but new to the forums, sorry if it's breaking any rules! I'm trying to use the embypy search function after initializing the connection between the system and the API server (i think?) however i am getting a 403 forbidden error when i search anything. for example: import embypy emby = embypy.Emby(url="http://HIDDEN FOR PRIVACY", username="HIDDEN", password="HIDDEN") # Initialises Successfully res = emby.search("Nobody") // Errors here the error is: RuntimeError: Unexpected JSON output (status: 403): "Forbidden" how would i go about troubleshooting this?
  22. Would it be straightforward for the /items api to be extended to return library name and library id in the response using &Fields=Library (eg). A couple of times when writing scripts i have wanted to know what library each item is in, and working it out myself is a bit painful. was wondering if asking emby api to provide this info was worthwhile request.
  23. Hello, I've been using emby for a couple of months now it's everything that i expected and more. (only missing a subtitles edit option) The only real issue i have with emby is that i'm very quickly hitting my API limit of Gdrive and i've been struggling with this since day 1. I have: - Gsuite unlimited (exclusively being used for emby) - 40TB Split over all Library's (11 library's in total) - ~80% of my media = Hevc 10 bit MKV - ~275GB Media uploading to Gdrive every 24 hours true rclone with encryption - PC Server is running on : Intel Core i7 6700K @ 4.00GHz 48.0GB Ram Dual-Channel @ 1066MHz GeForce GTX 1070 I know buying hard drives and streaming emby locally would be much better but i wont be able to buy 40TB+ of hard drives anytime soon but will eventually. Is there anything i could do to lower the API usage, could it be possible emby is doing unnecessary scans of my library or is there anything else i should be aware of using the api limit? I attached some older logs the most recent ones where to big to upload. embyserver-63733651213.txt embyserver-63733564811.txt
  24. develguebil

    Can't reach the Emby API Swagger

    Whenever I click the API link I get the following error message: -------------------------------------------------------------------------------------------------------------------------------------- Failed to load API definition. Errors Fetch error NetworkError when attempting to fetch resource. http://<ipaddress:port>/emby/openapi Fetch error Possible mixed-content issue? The page was loaded over https:// but a http:// URL was specified. Check that you are not attempting to load mixed content. -------------------------------------------------------------------------------------------------------------------------------------- Am I missing something?? Thanks
  25. kmsonic023

    Search User API

    Hello people !!! In my system, I need to search for a user to find out if he exists or not and in the API I didn't find a way to do that. Thank's for now!
×
×
  • Create New...