music-assistant / hass-music-assistant

Turn your Home Assistant instance into a jukebox, hassle free streaming of your favorite media to Home Assistant media players.
Apache License 2.0
1.32k stars 48 forks source link

WFAN audio stops, possibly related to commercial breaks. #2810

Closed dovy6 closed 2 weeks ago

dovy6 commented 3 weeks ago

What version of Music Assistant has the issue?

2.3.0b3

What version of the Home Assistant Integration have you got installed?

2024.8.1

Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

The problem

TuneIn radio WFAN stops playing. It seems to happen just before going to or returning from commercial, although it is possible that it's coincidental. The station is https://tunein.com/wfan660/

How to reproduce

In Music Assistant, go to radio, select "WFAN Sports Radio 101.9 FM / 66AM New York," and play over any media player. After some time, usually when they cut to commercial, or when they return from commercial, audio just stops.

Music Providers

TuneIn

Player Providers

Snapcast media_players

Full log output

music-assistant.log

Additional information

I'm using pfsense with pfblockerng to block ads at DNS level, but I don't see any alerts for 10.1.1.12 (home assistant) nor for 10.1.75.20-22 (the satellite players)

What version of Home Assistant Core are your running

2024.8.2

What type of installation are you running?

Home Assistant OS

On what type of hardware are you running?

Generic x86-64 (e.g. Intel NUC)

dovy6 commented 3 weeks ago

I should add. When playing on my laptop directly on the TuneIn website, I do not experience these audio drop outs mentioned above.

marcelveldt commented 3 weeks ago

Please test this again with 2.3.0 beta 8

dovy6 commented 3 weeks ago

I updated and it still seems to be stopping. I'm restarti g home assistant now I'll let you know of that fixes it

Thanks very much

On Wed, Aug 28, 2024, 6:50 PM Marcel van der Veldt @.***> wrote:

Please test this again with 2.3.0 beta 8

— Reply to this email directly, view it on GitHub https://github.com/music-assistant/hass-music-assistant/issues/2810#issuecomment-2316371236, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASH62CBZU4UIUXWNS3QLRVDZTZH3JAVCNFSM6AAAAABNCZ33IWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJWGM3TCMRTGY . You are receiving this because you authored the thread.Message ID: @.***>

dovy6 commented 3 weeks ago

Please test this again with 2.3.0 beta 8

Unfortunately does not seem to have fixed the problem. Listening to the Yankees game I had to keep restarting the feed every half inning as it would stop, sometimes when the game went to commercial and sometimes when it returned from commercials.

marcelveldt commented 3 weeks ago

Can you send me a link to the stream so I can test this myself ? Nevermind: I see the streams are region locked

dovy6 commented 3 weeks ago

Yes it's https://tunein.com/wfan660/ In the MA logs there's another stream link that includes my Lat and Lon as well as birthyear, so it seems that MA is getting a correctly encoded link.

marcelveldt commented 3 weeks ago

I have published beta17 with a special HLS streams handler to fix an issue with BBC streams but this might also fix your issue. Can you give it a try?

OzGav commented 2 weeks ago

@dovy6 please confirm if this has been fixed.

dovy6 commented 2 weeks ago

I gave it a quick test this morning, seems to be working so far. I'm hoping to give a longer test this afternoon in about 2 hours so so during the Yankees game.

Thanks so much!

On Sun, Sep 1, 2024, 8:36 AM OzGav @.***> wrote:

@dovy6 https://github.com/dovy6 please confirm if this has been fixed.

— Reply to this email directly, view it on GitHub https://github.com/music-assistant/hass-music-assistant/issues/2810#issuecomment-2323321867, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASH62CANJ4X4WMKAR53MCHDZUMC3TAVCNFSM6AAAAABNCZ33IWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRTGMZDCOBWG4 . You are receiving this because you were mentioned.Message ID: @.***>

OzGav commented 2 weeks ago

Please close this if it is fixed

dovy6 commented 2 weeks ago

Appears to be fixed, thank you guys so much. Had one drip out in a 9 inning game that could be random error or even a network blip. Thanks so much!