oddluck / limnoria-plugins

Limnoria plugins I wrote or forked.
Do What The F*ck You Want To Public License
39 stars 17 forks source link

Spiffy Titles - IMDB Set omdbAPI key #51

Closed DasClarky closed 1 year ago

DasClarky commented 1 year ago

Youtube was a doddle to set up using your guide but IMDB manual seems a bit vague to me, how do i set my API key for the imdb part of the plugin? A full command please as i am very new to this bot.

oddluck commented 1 year ago

It's right there in the readme https://github.com/oddluck/limnoria-plugins/blob/master/IMDb/README.md#L5

DasClarky commented 1 year ago

Well this is the odd thing, i have done that after figuring out the configuration system but it still reports no key when there is one, if i run that command without a key i get my key back as your would expect but i got the following error in terminal.

ERROR 2023-01-29T19:05:48 SpiffyTitles OMDB API 401 - {"Response":"False","Error":"No API key provided."}

So they key is 8 bits long, it works when i use the URL omdb gave me in the email.

oddluck commented 1 year ago

Well this is the odd thing, i have done that after figuring out the configuration system but it still reports no key when there is one, if i run that command without a key i get my key back as your would expect but i got the following error in terminal.

ERROR 2023-01-29T19:05:48 SpiffyTitles OMDB API 401 - {"Response":"False","Error":"No API key provided."}

So they key is 8 bits long, it works when i use the URL omdb gave me in the email.

Ok, that's a different plugin, the command you want is: config plugins.spiffytitles.imdb.omdbAPI your_key_here

DasClarky commented 1 year ago

Error: 'supybot.plugins.spiffytitles.imdb.omdbAPI' is not a valid configuration variable.

DasClarky commented 1 year ago

It would help if i was running the version from here wouldn't it... Apologies for the waste of your time

oddluck commented 1 year ago

Error: 'supybot.plugins.spiffytitles.imdb.omdbAPI' is not a valid configuration variable.

Are you sure you are running my spiffytitles fork? Are you on irc? I'm on libera.chat nick oddluck

DasClarky commented 1 year ago

I noticed that the variable being missing was a big issue, updated and now it is all good, thanks

oddluck commented 1 year ago

I noticed that the variable being missing was a big issue, updated and now it is all good, thanks

Glad to hear, thanks for the update