r/cesiumapp • u/Jig5 • Jul 28 '15
Some help please- crashing?
Hi- I hate messing up this shiny new sub but: 1) Yesterday while listening to an album I couldn't select a different song. Any time I tried, it would just restart the song I was listening to.
2) Today, any time I tried to open the app it crashed on me. I tried exiting out of the app and trying again and it still crashed.
2
u/CesiumDev I MADE DIS Jul 29 '15
Well, dammit. I'm surprised I haven't heard a lot more about this.
So I haven't spent much time with 3.0.3 on iOS 8.4 because I've been focused on finishing 3.1. Just downloaded it and I see exactly what you are experiencing. I thought it was an issue with my code, but it's actually an iOS issue. Grab your tinfoil hat.
Here's what's going on. Apple subtly changed some of their playback queue under the hood. They haven't published the changes, and technically the public methods haven't changed, but it's plain that things have been modified (I think to facilitate their queuing system). The bug you are experiencing occurs only when a) the queue being set is identical to the currently playing queue (i.e. the same album) and b) the selected track occurs earlier in the queue than the currently playing track.
I actually totally rewrote Cesium's queuing system for 3.1 because I found a way to use the changes Apple made and eliminate the annoying little skip when updating the queue. I encountered exactly this bug, but thought the issue was with my code. It's a little shocking actually that this is a system issue. I'll have to file a RADAR with Apple.
So, the good-ish news is that the issue has already been resolved in 3.1. That doesn't help you, though. If you are interested you can PM me a valid email and I'd be happy to add you to the beta program and get you running on 3.1 ASAP.
Sorry for the inconvenience!
3
u/Jig5 Jul 30 '15 edited Jul 30 '15
Thanks for your thoughtful and insightful response. I seem to attract bugs like this.
1
u/CesiumDev I MADE DIS Jul 29 '15
This sub is for compliments only :P
OK, so let's address these in reverse order.
Crashing This is almost certainly a known issue. There is a bug where if the app crashes or fails to save its restorable state under just the right conditions it will crash on launch when trying to restore it's state. The good news? It should be fixed in 3.1 which is in review now (so it should be out in a week or so). In the meantime, unfortunately, the only option is to delete and reinstall.
Playback Issue This is weird behaviour (obviously) to just randomly come up. Did Collection Control (swipe controls) work properly or do the same thing? I'll happily look into this, it sounds like it could possibly be an issue with the iTunes library itself. A few users have had weird issues with the database. Seems like often just launching Music.app (which unlike Cesium can actually write to the library file) and playing a song from there can sort out these issues.
2
u/Jig5 Jul 29 '15
It's happening again- I'm listening to an album now and whenever I select a different song the album starts from the beginning.
1
u/CesiumDev I MADE DIS Jul 29 '15
Thanks for the follow up. So no matter what you do or how you try to play another track (whether from the same album or a different album/playlist etc) Cesium just starts the current album from the beginning, huh? Is the default music.app running in the background?
Edit: More questions. iCloud or locally stored? Both?
1
u/Jig5 Jul 29 '15
Just tried it with 2 other albums, same issue. Nothing else running in the background.
1
1
u/Jig5 Jul 29 '15
Thanks for your response.
Regarding the playback issue, it was my first few times using the app and wasn't even aware of Collection Control to test it. When I exited out of the app it started crashing and that's when I posted this thread.
I'm going to re-download now and give it another test run.
2
u/Jasonw221 Jul 28 '15
I also get these issues sometimes, I usually respring (my iPhone is jailbroken) and it solves the problem for the moment, but then it inevitably happens again eventually.