Open nopoz opened 3 years ago
Issues that don't provide the information requested in the troubleshooting docs may not get a reply and may be closed until the info is provided. Please, include as much of the requested info as possible so that I can replicate and investigate your issue.
When pasting in your config/code/errors always place 3 backticks ```
above the first line and after the last line. Doing this will format it correctly.
Okay after some more troubleshooting it does seem possible. I had created the plex music playlist after I had installed the plex assistant integration in home assistant. I deleted the integration and re-added it, then the playlist command works. I assume this is due to some sort of caching being done? When I add the plex assistant for the first time there is this line in the logs:
2021-06-25 22:15:53 DEBUG (SyncWorker_6) [custom_components.plex_assistant.const] Media titles: 34175
Is there anyway to refresh the cache so the integration doesn't have to be removed and re-added?
There is no cache (edit: only partially true), Plex Assistant searches all current media reported by HA's Plex integration for the best match. I'm not sure what the original issue might have been. That debug line is there to let me know how many media items exist when issues pertaining to speed are posted.
Actually, thinking about it more I think I know what the issue is. Plex Assistant looks at the time the last item was added to update the list of media items, I imagine playlists aren't included in that list. Will try to get a fix in soon. So I guess it is a caching issue of sorts.
I'm trying to play a music playlist called "Jazz". However when I ask "Tell Plex to play jazz playlist on Office Display", it starts playing a video playlist. Is it currently possible to play music playlists? I've tried variations with the same results, "Tell Plex to play playlist jazz on Office Display", "Tell Plex to play music playlist Jazz on Office Display".
Debug output: