Recently Yatse mostly fails to properly connect and cast to Chromecast. It may connect and play a video, but after stopping playback and disconnecting it will fail for many, many further attempts on the same video.
I’ve made no configuration changes that I recall. For safety’s sake I’ve imported working settings saved earlier but no luck with that. I’ve also cleared the app’s cache and storage from the Android Settings menu without improvement. Rebooting the phone and the Chromecast didn’t help.
The same happens with Yatse on a second phone where it used to work fine before.
VLC connects to the same Chromecast and plays the same video fine.
Connecting to Chromecast
There are no error messages after turning on casting, but when the Available players dialog is opened again afterwards, it looks the same as before. In other words, it expects a player to be selected, instead of showing the active player (Chromecast) with a STOP CASTING button.
In some cases when opening the Available players dialog again afterwards, Local device is shown as the active player.
However, the big ‘Y’ screen is still displayed by Chromecast in all cases.
Casting a video
When not properly connected, playback does not work correctly, I suppose for obvious reasons. In some cases the playback bar progresses without any other sign of playback. In other cases Yatse would initiate playback to Local device even if it doesn’t show as active under Available players.
kodi/stable,now 2:17.6-3~stretch on Raspberry Pi 3B with latest Raspbian
Yatse 8.5.0a on Nexus 5X with Android 8.1.0
Please find attached debug.log (230.0 KB)
Let me know if there’s any further information you need from me.
Well logs shows that everything did work and that file did correctly play and you paused / unpaused it.
Please make a video about your issue because your description is totally not clear.
Apologies for the description not being clear.
Steps to reproduce (shown in video):
- Press Cast button
- In Available players dialog, select Chromecast device: Chromecast display shows connected to Yatse
- Press Cast button
- Available players dialog comes up instead of Chromecast dialog with volume control, STOP CASTING button etc.
- Select video to play
- Press play button: playback bar at bottom shows video playing
- Press playback bar: playback screen shows progress bar moving, but no video on Chromecast or locally
- Pause and stop playback
- Press Cast button
- Available players dialog still comes up instead of Chromecast dialog with volume control, STOP CASTING button etc.
- Open Google Home app: Home shows Chromecast as connected to Yatse
- Disconnect casting session: Chromecast display shows disconnected from Yatse
I hope this is clearer. Let me know if you need anything else.
Ok this is a lot more clear
You have the option automatic offline turned on, and version 8.5.0a use a version of a library with a small issue, meaning that Yatse in some cases can generate quick false offline status. So Yatse automatically revert to local device player as it’s what the option does.
You can disable that option until next version is out.
Only thing strange is that changing the player in that case should stop Yatse on Chromecast, I’ll try to find why it did not happened.
So my initial description was as confusing as Yatse’s behaviour ;-).
But the main thing is my Yatse is now casting again! Thanks for spotting the role of the Automatic offline setting.
Perhaps the scope of the offline indication isn’t just limited to the media server/Kodi connection, but also includes at least the Chromecast connection. I.e. the Chromecast connection reacts to the same indication?
Good luck anyway.
Well Yatse behavior is perfectly logical as it does what the option says it should do
Only issue is the library that triggered the false offline status.
For Chromecast not stopping it’s just a basic race condition will be fixed too.
Hi; this same issue seems to be back. It was working fine only last night but now seems to be behaving exactly as OP mentions in his step by step. I’ve disabled automatic offline as mentioned. Is anyone else having this issues also?
I’ve rebooted my phone, Chromecast, NAS and access point to no avail. Thanks in advance
@Jason_P please open your own issue with logs and details.
This issue is 1 year old …