manuel-rw / jellyfin-discord-music-bot

A simple and leightweight Discord Bot, that integrates with your Jellyfin Media server and enables you to listen to your favourite music directly from discord.
MIT License
81 stars 9 forks source link

Search API not working #340

Open strykarwolf opened 1 month ago

strykarwolf commented 1 month ago

Describe the bug Unable to search for and play songs with Jellyfin version 10.9.11

To Reproduce Steps to reproduce the behavior:

  1. Open Logs
  2. Attempt to request song from discord /play command
  3. read: "ERROR [JellyfinSearchService] Failed to search on Jellyfin: Error: SearchHints were undefined" in the logs

Expected behavior Search for and play the song

manuel-rw commented 1 month ago

Please post your logs

strykarwolf commented 1 month ago

[Nest] 28 - 10/11/2024, 8:35:37 AM LOG [NestApplication] Nest application successfully started +448ms [Nest] 28 - 10/11/2024, 8:36:18 AM LOG [RegisterCommandService] All global commands are registered! [Nest] 28 - 10/11/2024, 8:36:30 AM ERROR [JellyfinSearchService] Failed to search on Jellyfin: Error: SearchHints were undefined [Nest] 28 - 10/11/2024, 8:36:32 AM ERROR [JellyfinSearchService] Failed to search on Jellyfin: Error: SearchHints were undefined

strykarwolf commented 1 month ago

I'm not sure what logs you want but this is what I'm seeing. I appreciate the help.

manuel-rw commented 1 month ago

I can not reproduce this issue. Search works for me. Can you post your environment variables but censor both Discord API token, Jellyfin username and Jellyfin password? Thank you.

strykarwolf commented 1 month ago

image

What version of Jellyfin are you using? I'm on the Docker container version from Binhex.

strykarwolf commented 1 month ago

I did install the official container for Jellyfin and had the same issue of search hints undefined.

manuel-rw commented 1 month ago

What Jellyfin version do you use? It doesn't matter which image you use. Do you have a reverse proxy in front? Any errors in Jellyfin?

strykarwolf commented 1 month ago

Version 10.9.11 No reverse proxy No errors in Jellyfin

These are hosted on the same machine. Both using bridge network.

strykarwolf commented 1 month ago

These are hosted on the same box with docker and both are using the bridge network. Could that be the issue?