tryffel / jellycli

Jellyfin terminal client
GNU General Public License v3.0
206 stars 8 forks source link

JellyCLI eventually disappears from the list of "Play on" in the webui #34

Open cmsimike opened 2 years ago

cmsimike commented 2 years ago

Hi,

I have a long-running JellyCLI client on a raspberry pi that I use to cast music to when I am around that area. What I have noticed is that on first startup of the JellyCLI, the entry for it appears on the "Play On" drop down for a while days to the span of a week or two. But eventually it disappears and won't come back until I restart JellyCLI.

Here is a screen shot of JellyCLI running but not in the entry for "Play On": image

After restarting JellyCLI:

image

Any thoughts?

cmsimike commented 2 years ago

Running v0.9.1

tryffel commented 2 years ago

Do you have anything showing on Jellycli's logs?

cmsimike commented 2 years ago

@tryffel Here you go - nothing jumped out at me but maybe you're seeing something: https://pastebin.com/v46Uq9rm FYI jellycli is still available in the drop down. I restarted jellycli when I made this post.

tryffel commented 2 years ago

The logs don't really show anything special. Did they behavior change recently, e.g. after upgrading Jellyfin version, or has it been the same? You could try to see if Jellyfin server's logs contain anything related to this?

cmsimike commented 2 years ago

It has been the same. I first experienced it using .8x and upgraded to .91 but still experiencing the same thing. Just noticed it has disappeared from my list again.

tomsimmons78 commented 2 years ago

@cmsimike do you have JellyCLI running as a service on the Pi? I created a systemd unit for it, but found that it always failed to start, so created a systemd timer to run the service 1 minute after boot, which seems to work reliably.

I haven't had it running long enough yet to see the issue you're reporting. I guess if it does happen, then scheduling a restart of the service every x days at a safe time would be a work around?

cmsimike commented 2 years ago

@tomsimmons78 No, I am running JellyCLI in a screen instance hides I could most definitely do that, but I guess I'm hoping we can get to the core of the problem, where ever it is. Seems weird for it to drop out like that but still have it be functional.