config for apikey, basic readme
This commit is contained in:
parent
deaf57caf9
commit
6ae3446347
|
@ -0,0 +1,2 @@
|
|||
venv/
|
||||
.vscode
|
15
README.md
15
README.md
|
@ -1 +1,16 @@
|
|||
# Limnoria Playlists plugin
|
||||
|
||||
Provides the ability for a user to save media links as a playlist with custom categories.
|
||||
|
||||
## Installation
|
||||
|
||||
* This requires the latest Limnoria release
|
||||
|
||||
|
||||
## Targetted Features:
|
||||
|
||||
* Association to the bot account for cross network communications
|
||||
* Optional argument (with a default) that can be used to name a category
|
||||
* Second argument being a link (currently only Youtube is the goal)
|
||||
* Ability to generate playlist links from your saved music.
|
||||
* Import/Export Playlist file.
|
||||
|
|
13
config.py
13
config.py
|
@ -16,18 +16,15 @@ except:
|
|||
|
||||
|
||||
def configure(advanced):
|
||||
# This will be called by supybot to configure this module. advanced is
|
||||
# a bool that specifies whether the user identified themself as an advanced
|
||||
# user or not. You should effect your configuration by manipulating the
|
||||
# registry as appropriate.
|
||||
from supybot.questions import expect, anything, something, yn
|
||||
conf.registerPlugin('Playlists', True)
|
||||
|
||||
|
||||
Playlists = conf.registerPlugin('Playlists')
|
||||
# This is where your configuration variables (if any) should go. For example:
|
||||
# conf.registerGlobalValue(Playlists, 'someConfigVariableName',
|
||||
# registry.Boolean(False, _("""Help for someConfigVariableName.""")))
|
||||
|
||||
|
||||
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79:
|
||||
conf.registerGlobalValue(
|
||||
Playlists,
|
||||
"youtubeDeveloperKey",
|
||||
registry.String("", _("""Google YT Data V3 API key. Required."""), private=True),
|
||||
)
|
Loading…
Reference in New Issue