-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BBC Radio Stations crash mopidy #10
Comments
When you say "mopidy crashes", what exactly do you observe? I think pimusicbox has a monitoring mechanism that restarts Mopidy if certain conditions are met but I don't know what exactly triggers it. I was just trying to reproduce it on my raspbian system and my ubuntu desktop. As soon as I start playing BBC R4 (arghhh, The Archers!) all MPD current playlist commands will then timeout except for EDIT: |
I'm currently hitting this traceback http://dpaste.com/06FGYF1 when adding the search results to the tracklist. Something has set a non-null but empty album field on all the tracks which the MPD frontend does not like.
The returned tunein search results have just a name and a uri for each track. And so it's musicbox webclient that's adding this extra garbage album field when it adds the tracks to the tracklist. As expected, playing tunein search results works just fine using GMPC. But if you are certain you're only seeing this with BBC stations then we must be dealing with another issue. |
I think what I observed above relating to musicbox webclient is probably a different issue to what you are seeing @jackrichardson. But I have still not been able to recreate your problem when playing any BBC stream for an extended length of time on my raspbian system. I will try with pimusicbox next week, perhaps the problem is related to that. |
This seems to occur for more stations than just the BBC. Also, I have the problem when playing from search results and when browsing. |
I'm now running pimusicbox 0.5.1 RC, and BBC radio stations still crash mopidy when playing with tunein. |
Could you give me a step by step way to recreate the crash? Or get a log
|
Sadly, I'm a mere layman, and don't know how to provide you with a stack trace. Recreating the crash is as simple as searching for or clicking on BBC Radio 4 (if you have it as a saved stream) in the web client and waiting around 2 hours for it to crash. |
Could be mopidy/mopidy#794 |
When you first reported this (ages ago now, sorry) I wasn't able to @adamcik, I'm not convinced that would cause a crash after 2 hours. Could
|
Is it anything to do with that fact that the BBC change the tag number of their radio streams every couple of hours?: |
That does sound suspicious, good spot. Whether or not it results in a Is it anything to do with that fact that the BBC change the tag number of — |
If it is of any interest, when I use the Dirble BBC Radio 4 stream on pimusicbox, rather than TuneIn, it seems to play indefinitely, with no stoppage after a couple of hours. |
So my pi setup has finally been found in a moving box and I am going again. I tried with Radio 2 on Saturday and it was still playing until Sunday evening when I tried it. Unfortunately the log dies after this thanks to my helpful other half randomly turning things off. http://dpaste.com/2RE9K3M I do not understand why I cannot reproduce this, perhaps radio 2 doesnt work the same way as the other BBC stations. |
Did another test today with two pis running an identical config side-by-side. They both ran for a few hours playing Radio 4, and then both stopped at the same moment, which appears to indicate that what upsets the pis is at the BBC's end. After they stopped, I attempted to change the radio station, but attempting this made mopidy become unresponsive to any command. To make it responsive, I had to restart the mopidy service. To ensure it wasn't Radio 4 specific, a little later I conducted the same test with Radio 2 and experienced the exact same outcome. Additionally, to ensure the problem wasn't internet connection related I also did the same test using a different internet provider and router with again the same outcome. The only thing I haven't tried yet is having one pi running Radio 4 through TuneIn, and another playing the same station at the same time through Dirble to see whether the problem is TuneIn specific. Having said that, I do believe the issue is TuneIn specific as I had Radio 4 running continously for a week through Dirble, but cannot achieve more than perhaps 24 hours with TuneIn running a BBC station. The standard Mopidy log doesn't show anything when the radio stops playing, but this is what it shows when I attempted to start a radio station again after it stopped (http://dpaste.com/0XPDW7Y). Could you remind me how I can get TuneIn to report in the log file? |
Can I just check that are you in the UK? Perhaps the stream playlists resolve differently when located elsewhere. |
Hertfordshire |
Damn! Since I have never understood how logging works in python this is probably a stupid way of doing it.. but I changed my
And then you can do |
After listening to any BBC radio station (e.g. BBC Radio 4) through TuneIn (on pimusicbox) for about an hour, mopidy crashes. There problem is only with BBC stations, as others work indefinitely.
I would give you a logfile, but I still don't quite know how to do that!
The text was updated successfully, but these errors were encountered: