How does a developer specify what preferences they want to store? Been searching the documentation and found how to set the defaults using the JSON preferences file. But the plug-ins I'm working with do not use a preferences file yet have their own custom preferences. I can see in the code where those plug-ins read the preferences but not where they define them.
There is an older forum entry that said to use Prefs.add(....) but I don't see that in the current documentation nor do the plug-ins I'm using as examples use that.
Feel like I'm missing something very basic. Any help is appreciated.
Thanks. So a follow up question... I'm making some changes to the YouTube plugin. It does not have a DefaultPrefs.json file nor a ServicePrefs.json file as part of the bundle. Yet it has preferences for region, a user ID and password. What am I missing? I can create a DefaultPrefs.json file but I'm thinking there must be something I need to do to undo about the current preferences setup.
Thanks. So a follow up question... I'm making some changes to the YouTube plugin. It does not have a DefaultPrefs.json file nor a ServicePrefs.json file as part of the bundle. Yet it has preferences for region, a user ID and password. What am I missing? I can create a DefaultPrefs.json file but I'm thinking there must be something I need to do to undo about the current preferences setup.
URL Services can be included in a channel bundle, but they can also be placed inside Services.bundle. The services in the Services.bundle can be used outside of channels, for example with the Plex It! bookmarklet.