Murph Posted February 15, 2023 Share Posted February 15, 2023 Hi, I'm having issues chrome casting Poweramp. I can chrome cast Spotify, Radioplayer just fine. It also works with VLC for local files on the cellphone. While using Poweramp I have the 2 following issues : 1) No Chromecast icon or 2) Chromecast icon is there, if I click on it to start chrome casting it seems to connect, song seems to play for 1-2 seconds without sound then stops. I have never used chrome cast before, so I cannot say if it's a bug of a particular Poweramp version, android related, etc. Poweramp build# 945 Poweramp build#945 Devices : Pixel 6a chrome casting to a Bose Smart Soundbar 900 (with built-in Chrome Cast) I can also reproduce with a PIxel 6 Android 13 (stock) I'm trying to send a log after I connect to my speaker however the chrome casting logo is gone so not sure if the log is still relevent now, will send one if I'm able to connect later. Link to comment https://forum.powerampapp.com/topic/25750-chrome-casting-not-working/ Share on other sites More sharing options...
andrewilley Posted February 15, 2023 Share Posted February 15, 2023 The log will still have recorded what happened previously, but you can also check the timestamps in the log to make sure it covers the relevant period. Andre Link to comment https://forum.powerampapp.com/topic/25750-chrome-casting-not-working/#findComment-118994 Share on other sites More sharing options...
Murph Posted February 15, 2023 Author Share Posted February 15, 2023 Unfortunately the log is stamped for today only (february 15th). I don't have the chrome cast icon this morning, I'm trying to replicate so I can get a log but no luck so far Link to comment https://forum.powerampapp.com/topic/25750-chrome-casting-not-working/#findComment-118995 Share on other sites More sharing options...
maxmp Posted February 15, 2023 Share Posted February 15, 2023 @Mathieu Grenier I would add that Poweramp casting works differently vs Spotify or other streaming/network radio players, as Poweramp commands Chromecast to stream from your device, while Spotify and others command Chromecast to connect to some internet server. VLC can do both, local playback is similar to Poweramp, but Poweramp uses custom Chromecast player "page" which supports non-compressed/hi-res audio. Basically this means: Chromecast should be able to connect to your device. Your #2 can be caused by connection issue if you have separate network for IoT and devices, appropriate firewall rules should be allowed if you have firewall set on the device, appropriate inbound connections should be enabled Chromecast should be able to access https://cc.powerampapp.com No Chromecast icon means Google Services do not detect Chromecast on the network (all the Chromecast devices discovery/detection/etc. happens in Google Services). Or it's just disabled in Poweramp ("Chromecast Button" option). Link to comment https://forum.powerampapp.com/topic/25750-chrome-casting-not-working/#findComment-118996 Share on other sites More sharing options...
Murph Posted February 15, 2023 Author Share Posted February 15, 2023 Sorry I'm not sure I understand, I have limited chrome cast / networking knowledge. Regarding connection issue, your saying that it's normal for VLC to access my local files while Poweramp is unable to chrome cast at all? (No chromecast Icon)? Both my apps are opened, VLC sees the chrome cast device, Poweramp doesn't. This would be because of the way VLC chrome casts? If so wouldn't the firewall rules apply to VLC as well? My network setup is a pair of Asus Zenwifi XD6. My 2.4 & 5Ghz band have the same SSID. Not sure I understand the firewall rules part either. Both my devices have a static IP reserved in my router. Link to comment https://forum.powerampapp.com/topic/25750-chrome-casting-not-working/#findComment-118998 Share on other sites More sharing options...
Squeller Posted February 15, 2023 Share Posted February 15, 2023 I'm also having issues with CC recently. Skipping to another place in tracks, it tends to do that after many seconds. Longpress play button makes a full stop and background wave disappears. If then I click Play, it does not start. Usually need to click play a second time. Upon play, it does not play the first ~0.5s. Cc output does not apply fading, so it should. Link to comment https://forum.powerampapp.com/topic/25750-chrome-casting-not-working/#findComment-119000 Share on other sites More sharing options...
Murph Posted February 16, 2023 Author Share Posted February 16, 2023 Update to the issue. I'm attaching the log. I've also tried using ethernet cable between my built-in chrome cast device and router without success. Not sure what else I can try. poweramp_log Link to comment https://forum.powerampapp.com/topic/25750-chrome-casting-not-working/#findComment-119027 Share on other sites More sharing options...
Murph Posted February 16, 2023 Author Share Posted February 16, 2023 Hi all, Just found something out. Tried to stream local media from my pc to chromecast without succes. I didn't notice I had my VPN's firewall active. I just closed it, now I can stream from my PC to my chromecast device. Will try to look if something in Android phone is acting as a firewall... Any clues anyone? Link to comment https://forum.powerampapp.com/topic/25750-chrome-casting-not-working/#findComment-119029 Share on other sites More sharing options...
maxmp Posted February 17, 2023 Share Posted February 17, 2023 @Murph thanks for the log, nothing wrong from Poweramp side of view (this is only Poweramp log, the complete developer options "Full Log" may contain more data, but please send that to gpmaxmpz@gmail.com if you do it). It's quite hard to diagnose based on other app, but is VLC plays your local phone media on Chromecast, then most probably phone to Chromecast connection is OK, and there is a problem with accessing https://cc.powerampapp.com from your Chromecast device. Thanks! Link to comment https://forum.powerampapp.com/topic/25750-chrome-casting-not-working/#findComment-119050 Share on other sites More sharing options...
Murph Posted February 17, 2023 Author Share Posted February 17, 2023 Where can I get this developer options <<full log>>. Is it within Poweramp? So if I understand correctly the chromecast device must be able to access https://cc.powerampapp.com. How can I make the device connect to that page? Is there a router parameter or else I can modify to change that? My computer and cellphone can access that website (I assume it' normal to only see Poweramp logo). Link to comment https://forum.powerampapp.com/topic/25750-chrome-casting-not-working/#findComment-119052 Share on other sites More sharing options...
andrewilley Posted February 17, 2023 Share Posted February 17, 2023 7 hours ago, Murph said: Where can I get this developer options <<full log>>. Is it within Poweramp? No, as Max said above, Poweramp's log isn't showing anything wrong so you need to get a log of what's going on in Android. First, if you don't see Developer Options at the bottom of your Android Settings menu, there's a magic sequence to activate the feature: Android Settings=>About Phone/Device=>Software Information=>tap on 'Build Number' seven times. Go through the normal listening process of getting the error to occur, and then go to Android Settings=>Developer Options=>Bug Report, select 'Full Report', and tap Report. You won't see anything immediately but a detailed report will be generated in the background which may take several minutes. Once it's done you'll get a Notification which you can use to send the log to gpmaxmpz@gmail.com. If the log file is too big for your email software (detailed logs tend to be tens of megabytes) you could instead upload it to somewhere like Dropbox or Google Drive and sent Max a share link to it. Once sent, it's helpful to post a note here and/or direct message @maxmp letting him know the email address that you sent if from so he can watch out for it specifically. Andre Link to comment https://forum.powerampapp.com/topic/25750-chrome-casting-not-working/#findComment-119058 Share on other sites More sharing options...
Murph Posted February 18, 2023 Author Share Posted February 18, 2023 (edited) I sent my android log a few minutes ago. Please let me know if it you receive it, the file was around 20-25mb. Thank you for the help! Edited February 18, 2023 by Murph Link to comment https://forum.powerampapp.com/topic/25750-chrome-casting-not-working/#findComment-119123 Share on other sites More sharing options...
maxmp Posted February 19, 2023 Share Posted February 19, 2023 @Murph thanks for the log. I analyzed about 2k entries related to Poweramp in the log and there are few errors:02-16 19:38:32.463 10143 2428 28974 I CastService: [instance-46] [com.maxmpz.audioplayer] onConnectionFailed: status = Cast socket status code 2283 2283 is undocumented, google search finds just that (related to Cast too)https://www.googlenestcommunity.com/t5/Speakers-and-Displays/Google-Hub-2-Trying-to-add-a-device-with-voice-match-but-app-reports-quot/m-p/196553 Most probably your Chromecast device can't connect to the phone. This is usually due to the network settings/firewall settings. Spoiler My comments/questions/recommendations: - do you see Poweramp UI on your Chromecast screen (if it's with the screen)? If yes, this means Chromecast device is able to access cc.powerampapp.com, otherwise the problem may lay in the access to https://cc.powerampapp.com - your log is from Feb-16, is your phone date correct? Invalid date/time will cause secure connections to fail - when you're connected to your Wifi, is it the same network as used for Chromecast? - when you're connected to your Wifi, go to the device settings / Network & internet / Internet / your wifi / and ensure network usage is not "Treat as metered"- may be try to disable "Adaptive connectivity" - at least for a test Link to comment https://forum.powerampapp.com/topic/25750-chrome-casting-not-working/#findComment-119161 Share on other sites More sharing options...
Murph Posted February 21, 2023 Author Share Posted February 21, 2023 Hi, 1) My device is a chromecast audio only device. I tried connecting it to my TV with the built-in HDMI port but the only image I get is the bose music logo. 2) My date & time are correct on router / cellphone 3) I tried network usage unmetered without success. 4) I also tried disabling adaptive connectivity without success. I did notice today that if I scroll down my android menu to find the casting option and start it, it makes the casting icon appear in Poweramp (because sometimes the casting icon doesn't appear immediately when I open Poweramp). I can then play music from Poweramp, but not from the casting icon in Poweramp, the android one... not sure if this affects quality somehow. Link to comment https://forum.powerampapp.com/topic/25750-chrome-casting-not-working/#findComment-119226 Share on other sites More sharing options...
Murph Posted February 25, 2023 Author Share Posted February 25, 2023 Would it be possible to have an option in Poweramp to use google default chromecasting settings? If I understand correctly Poweramp uses an alternatebl method to cast music. Link to comment https://forum.powerampapp.com/topic/25750-chrome-casting-not-working/#findComment-119444 Share on other sites More sharing options...
maxmp Posted February 27, 2023 Share Posted February 27, 2023 @Murph sorry what Android menu so you mean? Is the problem in the cast icon in Poweramp only? It’s google play services which handles the cast icon. Link to comment https://forum.powerampapp.com/topic/25750-chrome-casting-not-working/#findComment-119503 Share on other sites More sharing options...
andrewilley Posted February 27, 2023 Share Posted February 27, 2023 @maxmp I suspect he meant an option to avoid using cc.powerampapp.com and use whatever default Google method that VLC/etc use (which as I understand it, does display a Chromecast option when PA does not). I don't fully understand the technical requirements, but I assume that doing so would limit the ability to use things like uncompressed audio. Andre Link to comment https://forum.powerampapp.com/topic/25750-chrome-casting-not-working/#findComment-119504 Share on other sites More sharing options...
maxmp Posted February 27, 2023 Share Posted February 27, 2023 @andrewilley if you want to transcode all your casted music to mp3, yes I guess it's possible, but I don't think our users want this. Also cc.powerampapp.com is not an issue. From the user logs there is connection issue within chromecast libraries (==google play services). Link to comment https://forum.powerampapp.com/topic/25750-chrome-casting-not-working/#findComment-119505 Share on other sites More sharing options...
andrewilley Posted February 27, 2023 Share Posted February 27, 2023 Yes, I agree the current method is by far the better quality option as long as it works. But some users do seem to be experiencing issues were VLC/etc manages to allow Chromecasting (even if it's compressed) when PA doesn't even offer the option, making the quality comparison something of a moot point. Andre Link to comment https://forum.powerampapp.com/topic/25750-chrome-casting-not-working/#findComment-119510 Share on other sites More sharing options...
maxmp Posted February 27, 2023 Share Posted February 27, 2023 @andrewilley if I get this right: Quote I did notice today that if I scroll down my android menu to find the casting option and start it, it makes the casting icon appear in Poweramp (because sometimes the casting icon doesn't appear immediately when I open Poweramp). I can then play music from Poweramp, but not from the casting icon in Poweramp, the android one... not sure if this affects quality somehow. it actually works, I just need to decipher the part regarding the "Android menu" to understand that better. And if there is https connection issue (e.g. when date is off) it won't work for any source from internet, so this is not the case for the given user. Link to comment https://forum.powerampapp.com/topic/25750-chrome-casting-not-working/#findComment-119511 Share on other sites More sharing options...
MotleyG Posted February 27, 2023 Share Posted February 27, 2023 3 hours ago, maxmp said: @andrewilley if you want to transcode all your casted music to mp3, yes I guess it's possible, but I don't think our users want this. Also cc.powerampapp.com is not an issue. From the user logs there is connection issue within chromecast libraries (==google play services). @maxmp Is it possible to allow users a settings option for Chromecast between using the current preferred method with direct access for premium audio, or this alternative "transcoding" method that may improve stability for users while sacrificing fidelity? While I don't use CC myself that often, it does seem to be an ongoing concern for many others. IMO I believe in most cases the CC connected speakers aren't typically all that focused on audio quality, they are more about convenience. Link to comment https://forum.powerampapp.com/topic/25750-chrome-casting-not-working/#findComment-119514 Share on other sites More sharing options...
Murph Posted March 2, 2023 Author Share Posted March 2, 2023 (edited) Sorry for the delay, I've been away. Regarding the android menu, I'm refering to the screen casting option in the general android menu (see attached picture). Let me start over. If I reboot my phone and open Poweramp, I have no chromecasting icon in Poweramp. If I open my android menu, enable the screen casting option (see attached picture), the chromecasting icon appears in Poweramp. With the screen casting option enabled in the android menu, I can play music from whatever app is open on my phone to the chromecast device (Including Poweramp). If I disable the screen casting option from android menu, then go back to Poweramp, Chromecasting icon of the Poweramp app is there but it doesn't work. For whatever reason the step described above is not required by VLC to access local music on phone. I immediately see / can chromecast after a reboot. As mentionned above by Andre and Motley G, I would much prefer having the higher quality audio to chromecast. However I would prefer having transcoded quality from Poweramp then nothing at all, hence my request for an option to default back to the standard way to chromecast. Thank you for all the help you are providing me to solve the issue Edited March 2, 2023 by Murph clarify details Link to comment https://forum.powerampapp.com/topic/25750-chrome-casting-not-working/#findComment-119612 Share on other sites More sharing options...
Murph Posted March 16, 2023 Author Share Posted March 16, 2023 Hi, I would like to know if it's possible to have a follow-up on this thread regarding my 2 last posts. Thanks Link to comment https://forum.powerampapp.com/topic/25750-chrome-casting-not-working/#findComment-120301 Share on other sites More sharing options...
Jeffreydow Posted May 30, 2023 Share Posted May 30, 2023 On 2/27/2023 at 11:48 PM, maxmp said: @andrewilley if I get this right: it actually works, I just need to decipher the part regarding the "Android menu" to understand that better. And if there is https connection issue (e.g. when date is off) it won't work for any source from internet, so this is not the case for the given user. It's 💯 a Google issue at this point and is completely sporadic and most likely due to Play services updates or something of the sword on over the phone and or the Chromecast device in question although the audio only Chromecast built into Hi-Fi equipment I wouldn't imagine gets many upgrades not like a full-fledged Chromecast with Google TV and same with even the older style Chromecast that didn't have an interface only whatever the phone sent it so maybe it is a Play services problem or something of the like that Google updates somewhat frequently causing it to work then break then work then break repeat super infuriating and as the developer probably not much you can do about it except for maybe implement the lower quality interface fullback option the default sorta matically when Chromecast can't connect to that web interface proxy or whatever the case maybe I don't have full understanding of it either but I do understand a little. There was a time when if I reset everything to default in Poweramp that would sometimes make it work or uninstall and reinstall it changing nothing else or even a factory reset of my phone it would work for a period of time then suddenly stop for no reason leaving me to believe that perhaps some background update happen from Google breaking things. I'm no developer so I wouldn't begin to tell you how to do your job I love Poweramp it is an amazing piece of software but I do find it might go to even when casting at home over and above anything else even low VLC works everytime I don't like it the interface is crappy and not very easy to use also it's super laggy like it reload your entire library every time you open it it may be worth considering the other option mentioned by people if there is enough interest perhaps do a poll. I know I'd vote yes even though I do like high and lossless audio I can go without for the convenience. If I was that worried id probably be using a wired connection with high end dac in between it and my stereo system! 😉 Link to comment https://forum.powerampapp.com/topic/25750-chrome-casting-not-working/#findComment-122212 Share on other sites More sharing options...
AweStun Posted August 24, 2023 Share Posted August 24, 2023 I have had the exact same problem with my Note 10 and my s23 ultra phones whatever Power Amp is doing to cast has not worked on any device that I've installed it I cannot Chromecast to anything It prepares to be chromecasting when I change the volume on my Chromecast volume noise happens as if the phone is controlling the Chromecast there is no music coming out of any of my speakers this is a power amp issue and it did not happen when I first installed power amp 3 or 4 years ago. It appears like you have not debugged your software could one of you install it on an s23 Ultra or any Samsung device and see if you can get your power amp software to Chromecast because I don't think you'll be able to thank you Link to comment https://forum.powerampapp.com/topic/25750-chrome-casting-not-working/#findComment-124397 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now