# Dev/API Corner

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

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

**Page:** 14

---

## [PHP Plex Library Viewer](https://forums.plex.tv/t/php-plex-library-viewer/131856)

<div class="topic-metadata">

**Author:** [@causefx](https://forums.plex.tv/u/causefx)\
**Replies:** 4\
**Last updated:** [August 27, 2018, 8:19am UTC](https://forums.plex.tv/t/php-plex-library-viewer/131856 "2018-08-27T08:19:07Z")

</div>

Movies only for now… So I wanted to be able to show people my library online so I decided just to write something in php… I used the Blocks Dashboard Theme for the css portion. I’m kind of done and wanted to show it you…

---

## [\[REQ\] Develop New Custom Plugin - Paid](https://forums.plex.tv/t/req-develop-new-custom-plugin-paid/300753)

<div class="topic-metadata">

**Author:** [@j666gak](https://forums.plex.tv/u/j666gak)\
**Replies:** 0\
**Last updated:** [August 25, 2018, 5:47pm UTC](https://forums.plex.tv/t/req-develop-new-custom-plugin-paid/300753 "2018-08-25T17:47:10Z")

</div>

Hello, Currently, I use a pay-per-view website to watch my team home games; which also stores games so I can go back and watch them later. The same company who provide the platform also provide the same services for mos…

---

## [How many devices on a subscription](https://forums.plex.tv/t/how-many-devices-on-a-subscription/129649)

<div class="topic-metadata">

**Author:** [@Carlstedts](https://forums.plex.tv/u/Carlstedts)\
**Replies:** 9\
**Last updated:** [August 22, 2018, 11:09pm UTC](https://forums.plex.tv/t/how-many-devices-on-a-subscription/129649 "2018-08-22T23:09:24Z")

</div>

---

## [Movies metadata not updating after editing on The Movie Database](https://forums.plex.tv/t/movies-metadata-not-updating-after-editing-on-the-movie-database/185433)

<div class="topic-metadata">

**Author:** [@Delfinen](https://forums.plex.tv/u/Delfinen)\
**Replies:** 6\
**Last updated:** [August 22, 2018, 1:21am UTC](https://forums.plex.tv/t/movies-metadata-not-updating-after-editing-on-the-movie-database/185433 "2018-08-22T01:21:04Z")

</div>

---

## [Plex Event Handler - Kick off users who pause or play from multiple devices](https://forums.plex.tv/t/plex-event-handler-kick-off-users-who-pause-or-play-from-multiple-devices/295945)

<div class="topic-metadata">

**Author:** [@mr3rown](https://forums.plex.tv/u/mr3rown)\
**Replies:** 4\
**Last updated:** [August 15, 2018, 5:52pm UTC](https://forums.plex.tv/t/plex-event-handler-kick-off-users-who-pause-or-play-from-multiple-devices/295945 "2018-08-15T17:52:54Z")

</div>

Been running my plex server for a number of years, a lot of my friends, family and randoms tend to pause content for longer then necessary, along with sharing their accounts with other friends and so forth, so I decided …

---

## [Populating database with data from webscraper](https://forums.plex.tv/t/populating-database-with-data-from-webscraper/290204)

<div class="topic-metadata">

**Author:** [@plexomat\_svm](https://forums.plex.tv/u/plexomat_svm)\
**Replies:** 10\
**Last updated:** [August 11, 2018, 7:29am UTC](https://forums.plex.tv/t/populating-database-with-data-from-webscraper/290204 "2018-08-11T07:29:12Z")

</div>

Hi, I’ve built a webscraper to get metadata like title, tags etc from the web. I couldn’t find documentation on how to get this data into the plex database. Is there a documentation somewhere on for example which table…

---

## [Deleted recordings not being moved to Trash, "File xx didn't exist, can't skip" error](https://forums.plex.tv/t/deleted-recordings-not-being-moved-to-trash-file-xx-didnt-exist-cant-skip-error/291908)

<div class="topic-metadata">

**Author:** [@stevec](https://forums.plex.tv/u/stevec)\
**Replies:** 0\
**Last updated:** [August 4, 2018, 3:27pm UTC](https://forums.plex.tv/t/deleted-recordings-not-being-moved-to-trash-file-xx-didnt-exist-cant-skip-error/291908 "2018-08-04T15:27:46Z")

</div>

I am using a scanner based on Plex-EyeTV-Tools - my fork is here - GitHub - steco/Plex-EyeTV-Tools: Plex EyeTV Tools: Scanner and Agent (information) Bundle. The scanner works perfectly, there’s just one problem with it…

---

## [Music Scanner: Use the genre of original files.](https://forums.plex.tv/t/music-scanner-use-the-genre-of-original-files/16460)

<div class="topic-metadata">

**Author:** [@r3n](https://forums.plex.tv/u/r3n)\
**Replies:** 29\
**Last updated:** [August 3, 2018, 4:21pm UTC](https://forums.plex.tv/t/music-scanner-use-the-genre-of-original-files/16460 "2018-08-03T16:21:21Z")

</div>

---

## [API: set viewOffset & CLI client prototype](https://forums.plex.tv/t/api-set-viewoffset-cli-client-prototype/287507)

<div class="topic-metadata">

**Author:** [@Aanok](https://forums.plex.tv/u/Aanok)\
**Replies:** 1\
**Last updated:** [July 26, 2018, 9:59am UTC](https://forums.plex.tv/t/api-set-viewoffset-cli-client-prototype/287507 "2018-07-26T09:59:44Z")

</div>

Hello! I am aware of the /:/scrobble and /:/unscrobble RESTful API endpoints to mark an item as fully viewed and unviewed (I will add them to the unofficial wiki later btw, as they are not listed there). However, is the…

---

## [Scaling Plex Media Server (multiple instances, one db and datastore)](https://forums.plex.tv/t/scaling-plex-media-server-multiple-instances-one-db-and-datastore/107743)

<div class="topic-metadata">

**Author:** [@munnerz](https://forums.plex.tv/u/munnerz)\
**Replies:** 9\
**Last updated:** [July 24, 2018, 2:20pm UTC](https://forums.plex.tv/t/scaling-plex-media-server-multiple-instances-one-db-and-datastore/107743 "2018-07-24T14:20:43Z")

</div>

---

## [Accessing data (library, stats) for Plex (server on iMac) from Power BI (separate machine: Windows)](https://forums.plex.tv/t/accessing-data-library-stats-for-plex-server-on-imac-from-power-bi-separate-machine-windows/235982)

<div class="topic-metadata">

**Author:** [@blhughey](https://forums.plex.tv/u/blhughey)\
**Replies:** 0\
**Last updated:** [May 17, 2018, 11:26pm UTC](https://forums.plex.tv/t/accessing-data-library-stats-for-plex-server-on-imac-from-power-bi-separate-machine-windows/235982 "2018-05-17T23:26:11Z")

</div>

---

## [Play and rewind the mp3 file from the stream](https://forums.plex.tv/t/play-and-rewind-the-mp3-file-from-the-stream/286157)

<div class="topic-metadata">

**Author:** [@DFOFANOV](https://forums.plex.tv/u/DFOFANOV)\
**Replies:** 0\
**Last updated:** [July 21, 2018, 6:13pm UTC](https://forums.plex.tv/t/play-and-rewind-the-mp3-file-from-the-stream/286157 "2018-07-21T18:13:31Z")

</div>

Colleagues, I have files on a remote server in mp3 format. I learned how to reproduce them. What code should I add to install the slider in the middle of the file and continue listening? Perhaps you need to specify th…

---

## [PHP cast help](https://forums.plex.tv/t/php-cast-help/284261)

<div class="topic-metadata">

**Author:** [@sachaw](https://forums.plex.tv/u/sachaw)\
**Replies:** 1\
**Last updated:** [July 19, 2018, 3:03am UTC](https://forums.plex.tv/t/php-cast-help/284261 "2018-07-19T03:03:46Z")

</div>

I am currently in the process of integrating Plex and Chromecast into my home automation platform, I am using the following library: https://github.com/ChrisRidings/CastV2inPHP Which works great for control, But now I wi…

---

## [Is there a way to use folders names and path and use them for metadatas ?](https://forums.plex.tv/t/is-there-a-way-to-use-folders-names-and-path-and-use-them-for-metadatas/176338)

<div class="topic-metadata">

**Author:** [@DavidL](https://forums.plex.tv/u/DavidL)\
**Replies:** 10\
**Last updated:** [July 15, 2018, 12:20am UTC](https://forums.plex.tv/t/is-there-a-way-to-use-folders-names-and-path-and-use-them-for-metadatas/176338 "2018-07-15T00:20:49Z")

</div>

Hi, To be frank I’ve a somewhat big library, with no homogenous names. This is like custom videos and there is no way to fetch datas from the internet about theses videos. Whatever, my library is quite good organised p…

---

## [A media section for e-books?](https://forums.plex.tv/t/a-media-section-for-e-books/69805)

<div class="topic-metadata">

**Author:** [@Littlebigaj](https://forums.plex.tv/u/Littlebigaj)\
**Replies:** 109\
**Last updated:** [July 13, 2018, 9:42pm UTC](https://forums.plex.tv/t/a-media-section-for-e-books/69805 "2018-07-13T21:42:06Z")

</div>

---

## [Media.stop event being sent continuously](https://forums.plex.tv/t/media-stop-event-being-sent-continuously/281902)

<div class="topic-metadata">

**Author:** [@dbzoo](https://forums.plex.tv/u/dbzoo)\
**Replies:** 0\
**Last updated:** [July 12, 2018, 12:38am UTC](https://forums.plex.tv/t/media-stop-event-being-sent-continuously/281902 "2018-07-12T00:38:54Z")

</div>

Here the thing. I wrote a webhook and it was working perfectly then one day the plex server started to continuously sending a media.stop event every 20-30s 2018-07-11 20:21:35,269 - INFO - plex\_webhook: Event: media.st…

---

## [Plex Movie Requests](https://forums.plex.tv/t/plex-movie-requests/96059)

<div class="topic-metadata">

**Author:** [@mdelport](https://forums.plex.tv/u/mdelport)\
**Replies:** 1408\
**Last updated:** [July 11, 2018, 3:13am UTC](https://forums.plex.tv/t/plex-movie-requests/96059 "2018-07-11T03:13:54Z")

</div>

---

## [Looking for some one to develop / bring back to life a plugin that was made](https://forums.plex.tv/t/looking-for-some-one-to-develop-bring-back-to-life-a-plugin-that-was-made/227046)

<div class="topic-metadata">

**Author:** [@EP-S1](https://forums.plex.tv/u/EP-S1)\
**Replies:** 1\
**Last updated:** [July 10, 2018, 5:17am UTC](https://forums.plex.tv/t/looking-for-some-one-to-develop-bring-back-to-life-a-plugin-that-was-made/227046 "2018-07-10T05:17:46Z")

</div>

---

## [\[API\] Is there a way to use /pms/servers and get a JSON response?](https://forums.plex.tv/t/api-is-there-a-way-to-use-pms-servers-and-get-a-json-response/281134)

<div class="topic-metadata">

**Author:** [@ryaninbinary](https://forums.plex.tv/u/ryaninbinary)\
**Replies:** 10\
**Last updated:** [July 9, 2018, 11:11pm UTC](https://forums.plex.tv/t/api-is-there-a-way-to-use-pms-servers-and-get-a-json-response/281134 "2018-07-09T23:11:28Z")

</div>

I’m trying to develop using the web API documentation. For whatever reason, only 1 request (and one that’s REQUIRED) will only return responses in XML format. https://plex.tv/pms/servers Even if I add the header, "Ac…

---

## [.opus scanner?](https://forums.plex.tv/t/opus-scanner/103429)

<div class="topic-metadata">

**Author:** [@atomicxblue](https://forums.plex.tv/u/atomicxblue)\
**Replies:** 1\
**Last updated:** [December 12, 2016, 7:29am UTC](https://forums.plex.tv/t/opus-scanner/103429 "2016-12-12T07:29:34Z")

</div>

---

## [Update collection folders within an agent script](https://forums.plex.tv/t/update-collection-folders-within-an-agent-script/275296)

<div class="topic-metadata">

**Author:** [@djmixman](https://forums.plex.tv/u/djmixman)\
**Replies:** 2\
**Last updated:** [July 7, 2018, 1:45pm UTC](https://forums.plex.tv/t/update-collection-folders-within-an-agent-script/275296 "2018-07-07T13:45:17Z")

</div>

Is it possible to update a collection poster from a custom agent script?

---

## [Database user\_thumb\_url local file link](https://forums.plex.tv/t/database-user-thumb-url-local-file-link/279250)

<div class="topic-metadata">

**Author:** [@Xazeaotr](https://forums.plex.tv/u/Xazeaotr)\
**Replies:** 0\
**Last updated:** [July 4, 2018, 7:12pm UTC](https://forums.plex.tv/t/database-user-thumb-url-local-file-link/279250 "2018-07-04T19:12:20Z")

</div>

I do not know why the developers make it so hard to change some thumbs, Using SQLite, When opening: ~\\Plex Media Server\\Plug-in Support\\Databases\\com.plexapp.plugins.library.db In the Tags table, I can change any tag’…

---

## [Exist already an API who allows to invite a user through a HTTP POST?](https://forums.plex.tv/t/exist-already-an-api-who-allows-to-invite-a-user-through-a-http-post/275446)

<div class="topic-metadata">

**Author:** [@Theredzerg](https://forums.plex.tv/u/Theredzerg)\
**Replies:** 1\
**Last updated:** [July 6, 2018, 9:08pm UTC](https://forums.plex.tv/t/exist-already-an-api-who-allows-to-invite-a-user-through-a-http-post/275446 "2018-07-06T21:08:33Z")

</div>

I’m just wondering about that. Exist already an API who allows to invite a user through a HTTP POST?

---

## [Image Crop and Resize](https://forums.plex.tv/t/image-crop-and-resize/29681)

<div class="topic-metadata">

**Author:** [@pipieye](https://forums.plex.tv/u/pipieye)\
**Replies:** 1\
**Last updated:** [July 1, 2018, 10:18pm UTC](https://forums.plex.tv/t/image-crop-and-resize/29681 "2018-07-01T22:18:47Z")

</div>

---

## [ValidatePrefs issue](https://forums.plex.tv/t/validateprefs-issue/276847)

<div class="topic-metadata">

**Author:** [@coder-alpha](https://forums.plex.tv/u/coder-alpha)\
**Replies:** 6\
**Last updated:** [June 28, 2018, 8:52pm UTC](https://forums.plex.tv/t/validateprefs-issue/276847 "2018-06-28T20:52:06Z")

</div>

So I’m trying to use the ValidatePrefs function to propagate the Preferences to my library (python code library). For this it is essential to have this function run anytime the user changes their Preferences. However, th…

---

## [Storm chasers plugin?](https://forums.plex.tv/t/storm-chasers-plugin/15393)

<div class="topic-metadata">

**Author:** [@Beaker](https://forums.plex.tv/u/Beaker)\
**Replies:** 3\
**Last updated:** [June 26, 2018, 12:04am UTC](https://forums.plex.tv/t/storm-chasers-plugin/15393 "2018-06-26T00:04:45Z")

</div>

---

## [\[PHP\] PlexAuth - Authentication for your domain using Plex](https://forums.plex.tv/t/php-plexauth-authentication-for-your-domain-using-plex/147238)

<div class="topic-metadata">

**Author:** [@hjone72](https://forums.plex.tv/u/hjone72)\
**Replies:** 180\
**Last updated:** [June 24, 2018, 2:29am UTC](https://forums.plex.tv/t/php-plexauth-authentication-for-your-domain-using-plex/147238 "2018-06-24T02:29:25Z")

</div>

---

## [\[REL\]PLEX - PHP Web Class Beta 1.0](https://forums.plex.tv/t/rel-plex-php-web-class-beta-1-0/274996)

<div class="topic-metadata">

**Author:** [@lexus232](https://forums.plex.tv/u/lexus232)\
**Replies:** 0\
**Last updated:** [June 23, 2018, 12:47pm UTC](https://forums.plex.tv/t/rel-plex-php-web-class-beta-1-0/274996 "2018-06-23T12:47:50Z")

</div>

The Plex Web Class allows developers and users with basic PHP Knowledge to showcase and interact with their Movie Library. It currently supports movies list , as well as movie metadata(in depth). The whole purpose is t…

---

## [What MP4 tags can be read into Plex with local assets agent?](https://forums.plex.tv/t/what-mp4-tags-can-be-read-into-plex-with-local-assets-agent/131506)

<div class="topic-metadata">

**Author:** [@gbkillen](https://forums.plex.tv/u/gbkillen)\
**Replies:** 28\
**Last updated:** [June 23, 2018, 5:28pm UTC](https://forums.plex.tv/t/what-mp4-tags-can-be-read-into-plex-with-local-assets-agent/131506 "2018-06-23T17:28:52Z")

</div>

---

## [\[DISCONTINUED\]\[REL\] PHP - webDash v2.5 -  Plex Media Server Landing Page\[UPDATED\]](https://forums.plex.tv/t/discontinued-rel-php-webdash-v2-5-plex-media-server-landing-page-updated/149609)

<div class="topic-metadata">

**Author:** [@lexus232](https://forums.plex.tv/u/lexus232)\
**Replies:** 89\
**Last updated:** [June 23, 2018, 12:50pm UTC](https://forums.plex.tv/t/discontinued-rel-php-webdash-v2-5-plex-media-server-landing-page-updated/149609 "2018-06-23T12:50:37Z")

</div>

Hello, not so long ago I started working on PlexDash , which eventually became PlexDash v1.7. Now, I have discontinued the development and rewrote the code. Features: Recent Movies(no need for third party software lik…

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

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