v0idp / Mellow

Mellow can communicate with several APIs like Ombi, Sonarr, Radarr and Tautulli which are related to home streaming to use those services directly in your Discord client.
GNU General Public License v3.0
204 stars 41 forks source link

Unable to add shows or movies #117

Open bulfinch opened 4 years ago

bulfinch commented 4 years ago

A) If $movie in the "Channel To Monitor" mellow always returns "Something went wrong..." I've tried disabling or specifying a channel with no change.

B) When selecting Mellow bot and "movie ", if movie already exists in library, then that movie will return options, however selecting any of the options, 0, 1, 2, etc.. always returns "Something went wrong..." If movie is NOT in library "Somthing went wrong..." is immediately displayed.

C) Using $ombi movie in a channel returns "Something went wrong..." Using the same command with the bot directly gets to a selection dialogue for movies that are or are not in the library, this is different than above, however any selection 0, 1, 2, etc returns "somthing went wrong..."

D) other commands such as HELP, LIBRARIES, REFRESHLIBRARIES return expected values.

From .jason file with API keys shortened....

{"general":{"username":"mellow","password":"$2a$10$hKxfwH5lKDxogjIPKR.9mOJi/HuqVjSHw8"},"bot":{"token":"Njg1MDE3MjE3NzQ5ODc2NzUx.XmUc9w.V","ownerid":"68501721","commandprefix":"$","channelname":"","deletecommandmessages":"false","unknowncommandresponse":"false","defaultservice":"ombi","requesttv":"plex users","requestmovie":"plex users","admin":"owner","selection":"emoji"}, "ombi":{"host":"192.168.1.100","port":"3579","baseurl":"","apikey":"0e91ddff287649b0","ssl":"false","username":"bulfinch"}, "tautulli":{"host":"192.168.1.100","port":"8181","baseurl":"","apikey":"bd558b6e1b854","ssl":"false"}, "sonarr":{"host":"","port":"","baseurl":"","apikey":"","ssl":"false","profile":"0","profileanime":"0","rootfolder":"","rootfolderanime":"","languageprofile":"0","seasonfolders":"false","v3":"false","searchonrequest":"false"}, "radarr":{"host":"","port":"","baseurl":"","apikey":"","ssl":"false","profile":"0","rootfolder":"","minimumavailability":"Announced","searchonrequest":"false"}}

This is running in Docker on Synology DSM . Pulling the latest voidp/mellow

I've tried removing the bot from discord Stopping the container, cleared it, deleting the settings.jason and restarting the container, Setting up and inviting again the bot in Discord Resetting the settings in the Mellow web gui edit: It had been working with over 30 movies added via direct bot selection. entering a request in a channel has never worked.

bulfinch commented 4 years ago

It happens with all that I have tested. TV and movies behave the same.

bulfinch commented 4 years ago

I found the issue for me. Its in the Mellow configuration. If I have any values in the BOT>DIscord Roll Names the bug occurs. Leaving these blank allows me to make requests with the bot but I still can not make requests in the chat area.

v0idp commented 4 years ago

Can you show me the roles on discord settings you have set

bulfinch commented 4 years ago

Here it is https://imgur.com/a/krtEZuY