Page 1 of 1

Problem with Chromecast Audio

PostPosted: Fri Sep 15, 2017 12:12 pm
by HiPhil

I'm having troubles using subsonic with chromecast audio. I think I've set everything up correctly, but I can't find any documentation anywhere. Somwhere I read Subsonic has native chromecast support from version 5.0beta (I run 6.0.0 currently). I read you need a address, so i did that. I've opened port 4040 through the firewall, web player, subsonic android app, everything works as intended from inside and outside of my LAN, but I have no "cast" icon in the web player anywhere. Chromecast Audio works when using Spotify etc.

What am I missing? Any help is greatly appreciated.

Edit: Sorry this should probably be in the "Help" section.

Re: Problem with Chromecast Audio

PostPosted: Fri Sep 15, 2017 12:20 pm
by HiPhil
License Subsonic Premium
Version 6.0 (build 830afc) – April 30, 2016
Server jetty-6.1.x, java 1.8.0_31, Windows 7 (80.5 MB / 145.0 MB)
Media collection 666 artists
1,342 albums
14,786 songs
276.37 GB
1,107 hours

Tried Using
Chrome Version 60.0.3112.113 (Official Build) (64-bit)
Opera Version: 47.0.2631.80 (PGO)
Subsonic for Android

Re: Problem with Chromecast Audio

PostPosted: Thu Nov 23, 2017 7:05 pm
by srobison13
I've got the same issue. Glad to hear I'm not just missing something obvious. Please post if you find a solution.

Re: Problem with Chromecast Audio

PostPosted: Fri Nov 24, 2017 10:40 pm
by acroyear
6.0 has a bug in it caused by a change in the chromecast API that was out of the maintainer's control. 6.1 fixed it.

Re: Problem with Chromecast Audio

PostPosted: Mon Dec 04, 2017 5:46 am
by srobison13
@acroyear I'm on 6.1.3 and still have the issue:

License Subsonic Premium
Version 6.1.3 (build e408c9) – October 31, 2017
Server jetty-6.1.x, java 1.8.0_31, HSQLDB, Windows 8 (320.3 MB / 484.9 MB)

Tried a fresh install of the latest and no change.
@HiPhil What license scheme are you on? I've got a lifetime license that's been active since before Chromecast was around...wondering if that could be a problem?

Re: Problem with Chromecast Audio

PostPosted: Mon Dec 04, 2017 12:04 pm
by toolman
Allthough I'm not using Chromecst I can tell you that the licensing scheme has nothing to do with your issues on Chromecast.
But did you check your logfiles to see if there's any errors? You can view your log on the bottom of the "About Subsonic" tab while logged into your server.

Re: Problem with Chromecast Audio

PostPosted: Mon Dec 04, 2017 4:29 pm
by acroyear
Ok, I found something funny when fidgeting with it, and I'm guessing it has to do with the fact that the chromecast code is embedded in one of the frames rather than the main window (which just has a frameset - rather legacy stuff here ;-) ).

If I just flip on casting while on Subsonic, I get a mirror of the window, frames and all. Playback is, of course, sluggish because it is relaying from my box. This is what I presume you're seeing.

If I then reload the webapp (just control-r it) while the casting is still on, then the chromecast code in subsonic re-initializes from scratch and it correctly turns on for the tv device.

so that's a workaround that hopefully might work for you. It was very consistent this way for both my windows laptop and a chromebook.