# Dynamic preferences

**URL:** <https://forums.plex.tv/t/dynamic-preferences/6226>\
**Category:** Dev/API Corner\
**Tags:** plugin-dev\
**Created:** [October 30, 2010, 1:37pm UTC](https://forums.plex.tv/t/dynamic-preferences/6226 "2010-10-30T13:37:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![n90](https://avatars.discourse-cdn.com/v4/letter/n/439d5e/32.png) [@n90](https://forums.plex.tv/u/n90)\
**Post date:** [October 30, 2010, 1:37pm UTC](https://forums.plex.tv/t/dynamic-preferences/6226/1 "2010-10-30T13:37:05Z")

</div>

With the new version of the plug-in framework, came the change to preferences: defaults are now set via the DefaultPrefs.json file.  
  
  
  
I’m currently trying to create a plug-in which streams anime off a website. In the preferences, which I’d like to build up dynamically, I would like to set the possibility to disable showing certain series. Is there any way I can set up the preferences dynamically? With the previous version I guess I would have done a Prefs.Add(…) for each series. Now that the prefs are fixed in a static file, I guess I have no such options anymore?

---

<div class="post-metadata">

**Author:** ![n90](https://avatars.discourse-cdn.com/v4/letter/n/439d5e/32.png) [@n90](https://forums.plex.tv/u/n90)\
**Post date:** [November 5, 2010, 3:54pm UTC](https://forums.plex.tv/t/dynamic-preferences/6226/2 "2010-11-05T15:54:52Z")

</div>

Does this mean I can safely assume that the Prefs.Add() possibility is gone and that preferences only work via the DefaultPrefs file now? 🙂

---

<div class="post-metadata">

**Author:** ![jam](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jam/32/186050_2.png) [@jam](https://forums.plex.tv/u/jam)\
**Post date:** [November 15, 2010, 1:11pm UTC](https://forums.plex.tv/t/dynamic-preferences/6226/3 "2010-11-15T13:11:53Z")

</div>

For now, yes - DefaultPrefs.json is the only way of creating preferences. We may revisit this in future, as we intend to overhaul & improve the preferences system at some point 🙂

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 20, 2019, 8:50pm UTC](https://forums.plex.tv/t/dynamic-preferences/6226/4 "2019-12-20T20:50:58Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
