naman14 / TimberX

Material theme music player that works across all form factors (phones, wear, auto, cast, assistant) and uses latest tools (Kotlin, Architecture components, Room, Databinding)
https://namand.in
1.53k stars 357 forks source link

Google Cast not working at all #35

Open shmykelsa opened 5 years ago

shmykelsa commented 5 years ago

App Version:

1.3

Affected Device(s):

LG V10 with Android 7.0

Describe the Bug:

Whenever I hit the "cast" button, app shows as connected, but in fact music still plays in the loudspeaker and TimberX is not connected at all

To Reproduce:

  1. Open app
  2. Start playing song
  3. Start casting

Expected Behavior:

Audio should be played through Google Cast devices. It does not work on 2 Google Home minis and 1 Chromecast. All other music apps work.

afollestad commented 5 years ago

Did this work in previous versions?

shmykelsa commented 5 years ago

I've just downgraded and no. It does not work on version 1.1

naman14 commented 5 years ago

@shmykelsa Can you check if cast is working on the latest release.

shmykelsa commented 5 years ago

Unfortunately no, it does not.

But, I discovered that if I start casting, if I adjust the volume from the casting menu

Then my Google Home reacts to volume changes showing the dots and making the sound of volume adjusting.

Worst of all, casting to Chromecast completely breaks the now playing

It shows that nothing is playing, while I can still hear musing from phone's loudspeaker. Selecting another song will make now playing show that song (still not casted, though) while the old song still plays

costular commented 5 years ago

I have found the issue (it's related to castSession and its state across the application). I'm gonna work on it today. Maybe I will be able to push a pull request soon.

shmykelsa commented 5 years ago

I have to update this issue: I've somehow made Chromecast working but with absolutely no control on playback.

Casting on Google Home is broken.