# Pref types

**URL:** <https://forums.plex.tv/t/pref-types/6100>\
**Category:** Dev/API Corner\
**Tags:** plugin-dev\
**Created:** [October 24, 2010, 6:01pm UTC](https://forums.plex.tv/t/pref-types/6100 "2010-10-24T18:01:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikedm139](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/mikedm139/32/96909_2.png) [@mikedm139](https://forums.plex.tv/u/mikedm139)\
**Post date:** [October 24, 2010, 6:01pm UTC](https://forums.plex.tv/t/pref-types/6100/1 "2010-10-24T18:01:54Z")

</div>

only text, boolean, or enum?
After reading the plugin development [documentation](http://dev.plexapp.com/docs/Bundle.html#the-defaultprefs-json-file), I'm lead to believe that there are only the 3 pref types which can also be modified with a 'hidden' option. Is that true or are there perhaps more which don't get used very much?  
  
What I'm hoping for is a pref type which accepts/requires a filepath and when modified will bring up a file-browser like the one used to add sources. Is this just wishful thinking? Should I just resign myself to forcing the user to type in the filepath or is there another way?

---

<div class="post-metadata">

**Author:** ![sander1](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@sander1](https://forums.plex.tv/u/sander1)\
**Post date:** [October 25, 2010, 5:59pm UTC](https://forums.plex.tv/t/pref-types/6100/2 "2010-10-25T17:59:47Z")

</div>

> [@](#):
>
> After reading the plugin development [documentation](http://dev.plexapp.com/docs/Bundle.html#the-defaultprefs-json-file), I'm lead to believe that there are only the 3 pref types which can also be modified with a 'hidden' option. Is that true or are there perhaps more which don't get used very much?

  
No, you are right, there's only \*text\*, \*boolean\* and \*enum\*.

---

<div class="post-metadata">

**Author:** ![mikedm139](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/mikedm139/32/96909_2.png) [@mikedm139](https://forums.plex.tv/u/mikedm139)\
**Post date:** [October 25, 2010, 6:48pm UTC](https://forums.plex.tv/t/pref-types/6100/3 "2010-10-25T18:48:09Z")

</div>

Thanks sander. Guess manual entry it is.

---

<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/pref-types/6100/4 "2019-12-20T20:50:17Z")

</div>

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