go-chromecast icon indicating copy to clipboard operation
go-chromecast copied to clipboard

Unable to Load Files

Open madorian opened this issue 2 years ago • 4 comments

Is there any way I can debug why it's not loading any of my files?

I'm using the -v flag, but it stops after "listening on port X"

I've tried flac, mp3 and webm.

It does make a pling sound when I issue the command, but doesn't actually play anything.

If I have started playing anything on the Google Home device using my voice, then I'm able to see what's playing with the ui command. I'm also able to pause it.

Any pointers?;)

I'm on NixOS and I have the latest release version.

madorian avatar Feb 19 '23 20:02 madorian

Hmm, I would think that should give you debug information. Would you be able to run the load command with go-chromecast load --debug --verbose </path/to/file> and post the results here? I can't think of anything off the top of my head that would cause this.

vishen avatar Feb 19 '23 21:02 vishen

Could this be a netfilter issue? I see

INFO[0005] starting streaming server...                  package=application
INFO[0005] trying to find available port to start streaming server on  package=application
INFO[0005] found available port :45381                   package=application
INFO[0005] started streaming server                      package=application
INFO[0005] media server listening on 45381               package=application

EDIT: ok, it's a netfilter issue. I opened a port for it;) Thanks.

madorian avatar Mar 19 '23 12:03 madorian

Could you please show your config that solved the issue?

peterablehmann avatar Oct 28 '23 22:10 peterablehmann