# Dev/API Corner

**URL:** https://forums.plex.tv/c/dev-community/dev-api-corner/61.md?page=5

[Latest](https://forums.plex.tv/latest.md) · [Categories](https://forums.plex.tv/categories.md) · [Tags](https://forums.plex.tv/tags.md)

**Page:** 6

---

## [Plex API search by parentTitle="Greatest Hits"](https://forums.plex.tv/t/plex-api-search-by-parenttitle-greatest-hits/743094)

<div class="topic-metadata">

**Author:** [@ibasaw](https://forums.plex.tv/u/ibasaw)\
**Replies:** 0\
**Last updated:** [September 14, 2021, 2:26am UTC](https://forums.plex.tv/t/plex-api-search-by-parenttitle-greatest-hits/743094 "2021-09-14T02:26:29Z")

</div>

hi, how to search by title and parent title same time ? this query result X results http://192.168.1.11:32400/search?query=under%20the%20bridge&type=10&X-Plex-Token=xxx i nedd this to result only one media http://19…

---

## [Lock for Plex Media Server](https://forums.plex.tv/t/lock-for-plex-media-server/738717)

<div class="topic-metadata">

**Author:** [@r\_e\_d](https://forums.plex.tv/u/r_e_d)\
**Replies:** 2\
**Last updated:** [September 13, 2021, 11:19am UTC](https://forums.plex.tv/t/lock-for-plex-media-server/738717 "2021-09-13T11:19:23Z")

</div>

Ever want to lock some sections of your Plex Media Server and didn’t have PlexPass or don’t login to Plex and use it locally only? Well check it out. https://lock-plex-media-server.github.io/ Have fun!

---

## [Client development: Universal Transcode API help](https://forums.plex.tv/t/client-development-universal-transcode-api-help/735388)

<div class="topic-metadata">

**Author:** [@timusus](https://forums.plex.tv/u/timusus)\
**Replies:** 0\
**Last updated:** [August 10, 2021, 11:29pm UTC](https://forums.plex.tv/t/client-development-universal-transcode-api-help/735388 "2021-08-10T23:29:02Z")

</div>

Hi all, I’m developing an Android client that supports Plex. Hoping there’s someone here familiar with the universal transcoding API. The media playback engine I’m using (ExoPlayer), requires the MIME type ahead of tim…

---

## [Music transcoding API](https://forums.plex.tv/t/music-transcoding-api/696895)

<div class="topic-metadata">

**Author:** [@timusus](https://forums.plex.tv/u/timusus)\
**Replies:** 2\
**Last updated:** [August 10, 2021, 11:07pm UTC](https://forums.plex.tv/t/music-transcoding-api/696895 "2021-08-10T23:07:59Z")

</div>

Hi all, I’m developing an Android music player with a Plex integration. I’m struggling to get audio transcoding working with the universal transcode API. When I hit the following endpoint, I get a 400 Bad Request. ht…

---

## [Plex events without webhooks: PlexAPI eventstream? python plex log parser?](https://forums.plex.tv/t/plex-events-without-webhooks-plexapi-eventstream-python-plex-log-parser/735152)

<div class="topic-metadata">

**Author:** [@phoop](https://forums.plex.tv/u/phoop)\
**Replies:** 0\
**Last updated:** [August 9, 2021, 10:55pm UTC](https://forums.plex.tv/t/plex-events-without-webhooks-plexapi-eventstream-python-plex-log-parser/735152 "2021-08-09T22:55:41Z")

</div>

I’m doing some preliminary pre-coding research and wanted to ask the forum if there are wheels that I don’t need to reinvent. – Does the PlexAPI somehow provide access to pause/resume events? – Is there a python librar…

---

## [Cannot Get List of Servers](https://forums.plex.tv/t/cannot-get-list-of-servers/734156)

<div class="topic-metadata">

**Author:** [@alsotacit](https://forums.plex.tv/u/alsotacit)\
**Replies:** 8\
**Last updated:** [August 8, 2021, 9:30pm UTC](https://forums.plex.tv/t/cannot-get-list-of-servers/734156 "2021-08-08T21:30:42Z")

</div>

Hi, I have just started developing a new service and the first thing I need to do is get a list of servers. Starting with the simplest thing, I get a token by following this guide; assume this token is {token}. I then …

---

## [API Endpoint for Finding Media by File Path](https://forums.plex.tv/t/api-endpoint-for-finding-media-by-file-path/734537)

<div class="topic-metadata">

**Author:** [@alsotacit](https://forums.plex.tv/u/alsotacit)\
**Replies:** 0\
**Last updated:** [August 7, 2021, 1:46pm UTC](https://forums.plex.tv/t/api-endpoint-for-finding-media-by-file-path/734537 "2021-08-07T13:46:22Z")

</div>

Does anyone know if there are any endpoints in the Plex API that will allow me to find media by providing the full path to the file in question? At the moment I am left searching all libraries for all media and then que…

---

## [Set "lock" fields via sqlite?](https://forums.plex.tv/t/set-lock-fields-via-sqlite/734117)

<div class="topic-metadata">

**Author:** [@LegendaryLass](https://forums.plex.tv/u/LegendaryLass)\
**Replies:** 6\
**Last updated:** [August 5, 2021, 8:21pm UTC](https://forums.plex.tv/t/set-lock-fields-via-sqlite/734117 "2021-08-05T20:21:10Z")

</div>

Hi I wrote a small python script to pull some additional genres and write them onto my tv shows. However, I don’t see a way to “lock” the genre field via the options in sqlite and it seems that whenever a new episode is…

---

## [Developing custom scanner, when does Scan() recursion happen?](https://forums.plex.tv/t/developing-custom-scanner-when-does-scan-recursion-happen/728067)

<div class="topic-metadata">

**Author:** [@waldosax](https://forums.plex.tv/u/waldosax)\
**Replies:** 2\
**Last updated:** [July 27, 2021, 4:37pm UTC](https://forums.plex.tv/t/developing-custom-scanner-when-does-scan-recursion-happen/728067 "2021-07-27T16:37:29Z")

</div>

Developing custom scanner, when does Scan() recursion happen? I’m developing a custom scanner/metadata agent as kind of an exercise to teach myself Python. I’ve found a handful of resources floating around the web, but …

---

## [Fanart with XML epg?](https://forums.plex.tv/t/fanart-with-xml-epg/671217)

<div class="topic-metadata">

**Author:** [@ReenigneArcher](https://forums.plex.tv/u/ReenigneArcher)\
**Replies:** 2\
**Last updated:** [July 13, 2021, 11:52pm UTC](https://forums.plex.tv/t/fanart-with-xml-epg/671217 "2021-07-13T23:52:25Z")

</div>

Server Version#: n/a Player Version#: n/a Tuner Make/Model: n/a Guide/Lineup name: custom xml Using XMLTV?: yes Channel number/Name: n/a I have created some scripts which generate epg data for me automatically. I…

---

## [Plex API not returning added metadata](https://forums.plex.tv/t/plex-api-not-returning-added-metadata/719669)

<div class="topic-metadata">

**Author:** [@petersem](https://forums.plex.tv/u/petersem)\
**Replies:** 18\
**Last updated:** [June 2, 2021, 5:03am UTC](https://forums.plex.tv/t/plex-api-not-returning-added-metadata/719669 "2021-06-02T05:03:32Z")

</div>

When I get media details from a url-based API call, it is not showing any metadata that I have manually added. In this case, I added a genre tag to a title, via the UI. I can filter by this in the UI fine. But when I ge…

---

## [Unusual Malformed Webhooks](https://forums.plex.tv/t/unusual-malformed-webhooks/714990)

<div class="topic-metadata">

**Author:** [@rnodern](https://forums.plex.tv/u/rnodern)\
**Replies:** 0\
**Last updated:** [May 10, 2021, 3:45am UTC](https://forums.plex.tv/t/unusual-malformed-webhooks/714990 "2021-05-10T03:45:28Z")

</div>

Hi there. I am getting some weird behaviour with my webhooks. 12+ months ago, I set up a trakt webhook and it was working perfectly for the longest time. Around 6 months ago, it stopped working. It appears as though it…

---

## [\[Release\] MyAnimeList.net Metadata Agent](https://forums.plex.tv/t/release-myanimelist-net-metadata-agent/62743)

<div class="topic-metadata">

**Author:** [@Fribbtastic](https://forums.plex.tv/u/Fribbtastic)\
**Replies:** 577\
**Last updated:** [May 6, 2021, 4:22am UTC](https://forums.plex.tv/t/release-myanimelist-net-metadata-agent/62743 "2021-05-06T04:22:05Z")

</div>

Hello everyone finally it's here and I think some of you waited for this to happen quite a while and I'm sorry for that. After the last few weeks I dedicated most of my time to finish the backend and reworked and improve…

---

## [Auth Rate Limit](https://forums.plex.tv/t/auth-rate-limit/708625)

<div class="topic-metadata">

**Author:** [@preditechs](https://forums.plex.tv/u/preditechs)\
**Replies:** 3\
**Last updated:** [April 11, 2021, 4:07pm UTC](https://forums.plex.tv/t/auth-rate-limit/708625 "2021-04-11T16:07:40Z")

</div>

I am trying to develop a personal application that uses plex’s authentication. I accidently (didn’t even think) used a while loop without a wait/sleep to check a Polling flow pin. I have now gotten an “api rate limit e…

---

## [Local TV Extras Agent](https://forums.plex.tv/t/local-tv-extras-agent/226648)

<div class="topic-metadata">

**Author:** [@contrary\_cat](https://forums.plex.tv/u/contrary_cat)\
**Replies:** 224\
**Last updated:** [April 7, 2021, 11:43pm UTC](https://forums.plex.tv/t/local-tv-extras-agent/226648 "2021-04-07T23:43:48Z")

</div>

This agent detects local extras in a TV Show directory, and adds them to Plex. It’s quite a basic agent as it only supplies TV Extras, and nothing else. It can contribute to Personal Media Shows, TheTVDB and The Movie Da…

---

## [Oauth "We were unable to complete this request."](https://forums.plex.tv/t/oauth-we-were-unable-to-complete-this-request/669901)

<div class="topic-metadata">

**Author:** [@zgibson](https://forums.plex.tv/u/zgibson)\
**Replies:** 5\
**Last updated:** [April 4, 2021, 3:04am UTC](https://forums.plex.tv/t/oauth-we-were-unable-to-complete-this-request/669901 "2021-04-04T03:04:29Z")

</div>

I made an app that uses OAuth to authenticate and then later use the Plex API, it worked well until pretty recently. I was already authenticated in my app but requests weren’t working. I’ll figure out why local API reque…

---

## [PlexAPI Playlists: Can you determine when item added to playlist?](https://forums.plex.tv/t/plexapi-playlists-can-you-determine-when-item-added-to-playlist/705713)

<div class="topic-metadata">

**Author:** [@edank](https://forums.plex.tv/u/edank)\
**Replies:** 1\
**Last updated:** [March 30, 2021, 5:51pm UTC](https://forums.plex.tv/t/plexapi-playlists-can-you-determine-when-item-added-to-playlist/705713 "2021-03-30T17:51:21Z")

</div>

I am using the PlexAPI to process and analyze a playlist, and I was hoping to be able to sort my results by when the items were added to the playlist. However, each item in the playlist is just the TV episode, which does…

---

## [Chances of seeing Tubi in Plex Is the question](https://forums.plex.tv/t/chances-of-seeing-tubi-in-plex-is-the-question/673410)

<div class="topic-metadata">

**Author:** [@jim\_cavett\_outlook\_com](https://forums.plex.tv/u/jim_cavett_outlook_com)\
**Replies:** 1\
**Last updated:** [March 21, 2021, 11:47am UTC](https://forums.plex.tv/t/chances-of-seeing-tubi-in-plex-is-the-question/673410 "2021-03-21T11:47:04Z")

</div>

Seeing the advancements in PLEX the last few years, will we see other platforms like TUBI and such enter their way into PLEX?

---

## [Looking for Newsletter help tautulli](https://forums.plex.tv/t/looking-for-newsletter-help-tautulli/699297)

<div class="topic-metadata">

**Author:** [@gec5741](https://forums.plex.tv/u/gec5741)\
**Replies:** 2\
**Last updated:** [March 11, 2021, 7:27pm UTC](https://forums.plex.tv/t/looking-for-newsletter-help-tautulli/699297 "2021-03-11T19:27:17Z")

</div>

I have been running tautulli for some now and have created an email notification that emails my friends when I add new content. I just started looking into setting up the newsletter feature instead but I’m confused on h…

---

## [Plex data base move](https://forums.plex.tv/t/plex-data-base-move/698288)

<div class="topic-metadata">

**Author:** [@Anonymous-Entertainment](https://forums.plex.tv/u/Anonymous-Entertainment)\
**Replies:** 2\
**Last updated:** [March 8, 2021, 8:25pm UTC](https://forums.plex.tv/t/plex-data-base-move/698288 "2021-03-08T20:25:21Z")

</div>

Hello new to this group looking for some advice and help if possible. I have my plex on a seedbox but i want to move it to dedicated server. I have taken databases off my seedbox is there anyway i can just add this dir…

---

## [\[Release\]PowerShell: Generate Popular Music Playlists & Share playlists with Friends](https://forums.plex.tv/t/release-powershell-generate-popular-music-playlists-share-playlists-with-friends/602646)

<div class="topic-metadata">

**Author:** [@nathanstorms](https://forums.plex.tv/u/nathanstorms)\
**Replies:** 6\
**Last updated:** [March 7, 2021, 9:59pm UTC](https://forums.plex.tv/t/release-powershell-generate-popular-music-playlists-share-playlists-with-friends/602646 "2021-03-07T21:59:23Z")

</div>

Overview: Builds the popular music playlists, then shares them with your friends Details: Using popular music track data in plex Generates top playlists for each genre where the tracks represent the #1 ranked recently…

---

## [Still unable to set Original Title through an agent](https://forums.plex.tv/t/still-unable-to-set-original-title-through-an-agent/655214)

<div class="topic-metadata">

**Author:** [@Soitora](https://forums.plex.tv/u/Soitora)\
**Replies:** 3\
**Last updated:** [March 6, 2021, 11:11am UTC](https://forums.plex.tv/t/still-unable-to-set-original-title-through-an-agent/655214 "2021-03-06T11:11:51Z")

</div>

You’re still unable to set the original\_title field through the API. This has been an issue for almost 10 years now. This has also been reported several times: Bug Report: Unable to update original title in TV show an…

---

## [Force Thumb update for episodes](https://forums.plex.tv/t/force-thumb-update-for-episodes/666997)

<div class="topic-metadata">

**Author:** [@Aaron\_Rn](https://forums.plex.tv/u/Aaron_Rn)\
**Replies:** 1\
**Last updated:** [February 12, 2021, 8:03pm UTC](https://forums.plex.tv/t/force-thumb-update-for-episodes/666997 "2021-02-12T20:03:51Z")

</div>

Hey All… I have been working on a Scanner/Agent set to use in a special library. This library holds Shows with Episodes that are listed old to new by release. Episodes are not necessarily watched in order, are deleted a…

---

## [Trying to add a collection to a movie via PUT ends in 'bad lexical cast: source type value could not be interpreted as target' error](https://forums.plex.tv/t/trying-to-add-a-collection-to-a-movie-via-put-ends-in-bad-lexical-cast-source-type-value-could-not-be-interpreted-as-target-error/678359)

<div class="topic-metadata">

**Author:** [@plissk3n](https://forums.plex.tv/u/plissk3n)\
**Replies:** 2\
**Last updated:** [February 8, 2021, 11:35pm UTC](https://forums.plex.tv/t/trying-to-add-a-collection-to-a-movie-via-put-ends-in-bad-lexical-cast-source-type-value-could-not-be-interpreted-as-target-error/678359 "2021-02-08T23:35:42Z")

</div>

I am trying to get this script to work: https://github.com/mza921/Plex-Auto-Collections It adds collections to movies for you. The script crashes at the very first movie with a BadRequest: (500) error. It tries to add t…

---

## [Is there no official documented Plex API?](https://forums.plex.tv/t/is-there-no-official-documented-plex-api/647488)

<div class="topic-metadata">

**Author:** [@Kairei](https://forums.plex.tv/u/Kairei)\
**Replies:** 3\
**Last updated:** [February 3, 2021, 7:59am UTC](https://forums.plex.tv/t/is-there-no-official-documented-plex-api/647488 "2021-02-03T07:59:16Z")

</div>

I want to make a web app that allows me to view and play my music library from my Plex server. I figured there would be a simple, well documented API and this would be a no brainer. The best thing I found was this: ……

---

## [DVR channel enable-disable via API](https://forums.plex.tv/t/dvr-channel-enable-disable-via-api/683217)

<div class="topic-metadata">

**Author:** [@mxm1234](https://forums.plex.tv/u/mxm1234)\
**Replies:** 1\
**Last updated:** [January 27, 2021, 2:00pm UTC](https://forums.plex.tv/t/dvr-channel-enable-disable-via-api/683217 "2021-01-27T14:00:19Z")

</div>

Good evening, Pretty simple question. Im looking for a way to disable a specific dvr channel via API. Is this possible?

---

## [Dropinambour - Requests manager for Plex, Sonarr & Radarr](https://forums.plex.tv/t/dropinambour-requests-manager-for-plex-sonarr-radarr/677312)

<div class="topic-metadata">

**Author:** [@gboudreau](https://forums.plex.tv/u/gboudreau)\
**Replies:** 3\
**Last updated:** [January 18, 2021, 4:00am UTC](https://forums.plex.tv/t/dropinambour-requests-manager-for-plex-sonarr-radarr/677312 "2021-01-18T04:00:36Z")

</div>

Hi, I played with Ombi (v4) for a while, but didn’t really like many small things, but mostly that it was pretty difficult for me to play with the code, to fix or add/change features. So I created my own Plex requests …

---

## [Share Preferences between two plugins](https://forums.plex.tv/t/share-preferences-between-two-plugins/636802)

<div class="topic-metadata">

**Author:** [@ReenigneArcher](https://forums.plex.tv/u/ReenigneArcher)\
**Replies:** 1\
**Last updated:** [January 11, 2021, 10:47pm UTC](https://forums.plex.tv/t/share-preferences-between-two-plugins/636802 "2021-01-11T22:47:43Z")

</div>

I am developing two plugins that are intended to be used together. Plugin1 will be a daemon that scans a directory for files, then creates a symbolic link to a video file in another directory. (This isn’t important to m…

---

## [Plex Auto Genres - Easily sort Anime/Movies/TV to Genre Collections](https://forums.plex.tv/t/plex-auto-genres-easily-sort-anime-movies-tv-to-genre-collections/675660)

<div class="topic-metadata">

**Author:** [@Shane75776](https://forums.plex.tv/u/Shane75776)\
**Replies:** 0\
**Last updated:** [January 7, 2021, 11:06pm UTC](https://forums.plex.tv/t/plex-auto-genres-easily-sort-anime-movies-tv-to-genre-collections/675660 "2021-01-07T23:06:41Z")

</div>

Recently I’ve been working on a tool that you can run against your Plex libraries to create and add all the media within to various genre named collections. I have a fairly large Anime and Movie library and I primarily …

---

## [Having problems implementing the /player/playback/playMedia control (Failed to lock up subscriber)](https://forums.plex.tv/t/having-problems-implementing-the-player-playback-playmedia-control-failed-to-lock-up-subscriber/675616)

<div class="topic-metadata">

**Author:** [@lanthade](https://forums.plex.tv/u/lanthade)\
**Replies:** 0\
**Last updated:** [January 7, 2021, 8:32pm UTC](https://forums.plex.tv/t/having-problems-implementing-the-player-playback-playmedia-control-failed-to-lock-up-subscriber/675616 "2021-01-07T20:32:41Z")

</div>

I have a project where I’m trying to implement a pure LUA version of plex control. Unfortunately LUA without any plugins other than XML and JSON parsers and some platform specific extensions is my only option so I can’t…

[Previous page](https://forums.plex.tv/c/dev-community/dev-api-corner/61.md?page=4)

[Next page](https://forums.plex.tv/c/dev-community/dev-api-corner/61.md?page=6)
