Coder Social home page Coder Social logo

Comments (24)

SamDel avatar SamDel commented on July 24, 2024

Can you try if you can get the device information with these links:

192.168.1.32
192.168.1.33
192.168.1.34
192.168.1.35
192.168.1.36

Let me know!

from chromecast-desktop-audio-streamer.

c64droid avatar c64droid commented on July 24, 2024

Hi. Thanks for the quick response. I can get the device information response in a browser ok, and the software does too. I've actually installed VS to try and debug this and attach the details of where it's going wrong below. Appears to be the JsonConvert.DeserializeObject function isn't pulling all the values from the response into the required structure.

DesktopAudioStreamer debug.txt

Don't know why it managed it for 2 devices before, but now it's failing here on all 5 of my devices.

from chromecast-desktop-audio-streamer.

SamDel avatar SamDel commented on July 24, 2024

Thanks, good info!

It's looks like the chromecast devices are updating right now to a newer version.
I have a couple of devices that are on version=8 that are still appearing in the application.
And a couple have version=10 that don't appear anymore.

I'll have a look if I can add support for version=10!

from chromecast-desktop-audio-streamer.

c64droid avatar c64droid commented on July 24, 2024

Ah that makes sense now. I had turned off the 2 devices that were found to see if any of the others appeared, and when I turned them back on they no longer appeared. They must have updated to v10 when I restarted them. So I assume the v10 ones are returning extra/different info that your code doesn't expect. I look forward to the updated version.
Thanks again.

from chromecast-desktop-audio-streamer.

SamDel avatar SamDel commented on July 24, 2024

Version 2.3.2 has support for version=10 devices. There's no groups support yet!

Can you try?

from chromecast-desktop-audio-streamer.

c64droid avatar c64droid commented on July 24, 2024

Yes, it has found all my devices and I can cast to them all, thanks. Obviously without the Groups support I can only sensibly cast to one at a time as they're all out of sync. :-)
Are you planning to include Groups support at some point?

from chromecast-desktop-audio-streamer.

SamDel avatar SamDel commented on July 24, 2024

Thanks! Yes, it looks like I can add it later on.

Group information is removed from the version=10 device information so I have to change some things.

from chromecast-desktop-audio-streamer.

SamDel avatar SamDel commented on July 24, 2024

Can you try if groups work for you in Setup 2.3.3.zip?

from chromecast-desktop-audio-streamer.

FA-Bubba avatar FA-Bubba commented on July 24, 2024

I am running v2.3.1 of the Streamer, and after a PC reboot, the Streamer only sees 1 (the Home Hub) of my 9 devices (1 Home Hub, 2 Minis, and 6 Chromecast Audios... Prior to the reboot, the Streamer was streaming to ALL of them via an audio Group that has all of the devices in it. The Hub, Minis and All of the Chromecast devices are at Cast Firmware version 1.40.156414.

What could have caused this? (Log & Screenshot attached)

Log-2019-06-29-v2-3-1-SpeakersNotFound.zip

from chromecast-desktop-audio-streamer.

SamDel avatar SamDel commented on July 24, 2024

That's probably the same issue. The Chromecasts are updating to a new version, the device information the application receives changed completely.
Setup 2.3.3 (see above) has support for the new version. Can you try?

from chromecast-desktop-audio-streamer.

FA-Bubba avatar FA-Bubba commented on July 24, 2024

I saw your v2.3.3 post after I posted my previous comment. I've installed v2.3.3, and it is finding ALL devices & Groups.

Thank you!

This raises a question, though, the previous comments above reference "Chromecast version 10" -- when I view the device details on the Google Home App, it shows my Chromecast devices are at "Cast firmware version 1.40.156414".... What is the relationship of this to "Version 10"?

from chromecast-desktop-audio-streamer.

SamDel avatar SamDel commented on July 24, 2024

The previous version was (for me, from the device information):

"version": 8
"cast_build_revision": "1.28.102057"

The one that installed today is:

"version": 10
"cast_build_revision": "1.40.156414"

So it looks like version 10 (friendly version?) is the same as 1.40.156414 (build version?)

from chromecast-desktop-audio-streamer.

FA-Bubba avatar FA-Bubba commented on July 24, 2024

OK... I haven't found a reference to "version 10" anywhere, but I may not be looking in the right place. Two of my Chromecast Audio devices are about 6 months old, purchased just after Google announced they were discontinuing the product. I have since purchased 8 more, from various sources. I noticed at the beginning of this week that they mostly had different Cast versions (1.37.... 1.39.... & 1,40....). Yesterday, I powered them Off, then On to force the updates, and as of last night, all were on version 1.40.156414

Interesting to note from your observation that these were then on "Version 10", but still working with Streamer version 2.3.1 (until my PC rebooted this morning)... Now all working fine with Streamer Version 2.3.3.

It isn't clear if the Chromecast Audios will update on their own, or if they need to be powered Off/On to force the update. (The setup instructions mention that at power-up, they will be in "update mode" for 3 to 10 minutes.) Also, it isn't clear if Google will continue to issue updates, but my gut feeling is "yes", because the Google Home Hubs, and the Minis are using this same Cast version, and if they update the firmware for those devices, then the Chromecast Audios should be able to update as well (unless Google writes code that inadvertently 'bricks' the Chromecast Audio)...

from chromecast-desktop-audio-streamer.

c64droid avatar c64droid commented on July 24, 2024

Groups are working for me now thanks. Is it normal that there's a massive delay (~15s from starting/stopping music on PC before it starts/stops on speakers)?

from chromecast-desktop-audio-streamer.

FA-Bubba avatar FA-Bubba commented on July 24, 2024

That seems to be typical of what I have experienced from when I first started using this in January...

from chromecast-desktop-audio-streamer.

SamDel avatar SamDel commented on July 24, 2024

Indeed, the delay is normal behaviour. It's the buffer on the device, and dependent on the stream format you choose on the options tab.
From the wiki:

Mp3 320 kbps is default. Wav is lossless but takes a lot of network bandwidth. Mp3 128 kbps takes the least network bandwidth.

Select Wav for the least delay!

from chromecast-desktop-audio-streamer.

c64droid avatar c64droid commented on July 24, 2024

Great thanks, just a short delay using WAV. Many thanks for your prompt fixes, much appreciated. Keep up the good work. :-)

from chromecast-desktop-audio-streamer.

FA-Bubba avatar FA-Bubba commented on July 24, 2024

For what it is worth, I am less concerned about the delay between the PC and the speakers than I would be if the various speakers get out of sync.

Your tip to use Groups to ensure all speakers are in sync has been working very well for me...

from chromecast-desktop-audio-streamer.

FA-Bubba avatar FA-Bubba commented on July 24, 2024

If the source is from local MP3 files, what would be the benefits (if any) of using WAV as the stream format?

from chromecast-desktop-audio-streamer.

SamDel avatar SamDel commented on July 24, 2024

Reopening this one, there are probably other people with the same issue. Please upgrade to 2.4 if so!

from chromecast-desktop-audio-streamer.

FA-Bubba avatar FA-Bubba commented on July 24, 2024

I posted this elsewhere: My PC is complaining about invalid file dates on the 2.4 files (they are in the future).

from chromecast-desktop-audio-streamer.

SamDel avatar SamDel commented on July 24, 2024

When you're playing an MP3 file it's decoded first when you play it. When you have WAV selected it's not encoded again to MP3 before streaming to the devices, with MP3 as stream format it is encoded again.

I don't know if the quality decreases in this scenario if the stream is encode again!

from chromecast-desktop-audio-streamer.

SamDel avatar SamDel commented on July 24, 2024

Is the firewall complaining about it? I think it's due to different time zones!

from chromecast-desktop-audio-streamer.

FA-Bubba avatar FA-Bubba commented on July 24, 2024

Actually, the Date-Time of the ZIP file was NOT in the future, but the files inside the ZIP were...
Both files: 06/29/2019 5:29 PM
ZIP: 06/29/2019 12:30 PM

I don't believe it is a time-zone issue, though, this usually happens when a file creation tool is out of sync with Universal Time.

Sometime this evening, after 5:29 PM, it won't be an issue...

The 'future' date was flagged by a Peer-2-Peer program I use to sync files across 4 PCs (Resilio Sync) -- it a great utility to duplicate folder contents in real time.

from chromecast-desktop-audio-streamer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.