Back to Top

Playback stops when multitasking

5 posts / 0 new
Last post
kkrueger
Offline
Last seen: 11 years 5 months ago
Joined: 08/16/2009 - 19:32
Playback stops when multitasking

First off, I bought DoggCatcher a few days ago and think it's awesome. Great work.

If I start playing a podcast using DoggCatcher's player, playback will often stop when I go do something else with the phone (such as browsing the web). I have to go back to DoggCatcher to restart playback. I saw this mentioned earlier in the forum, and it appears it is getting swapped out of memory because I do get the "Starting DoggCatcher" dialog when going back to it.

So... since the native Android music player doesn't seem to have this problem (I guess it gets special treatment by the OS?), I thought I'd use the "Play in external player" option. However, with this option, playback either stops after less than a second or as soon as I navigate away from the native Android player (for example, by hitting the Home key).

If I launch the Android player myself and browse to the podcast I want to play, it works just fine.

Addressing one or both of these issues would be a great improvement. Let me know if I can provide additional information.

eric
Offline
Last seen: 9 months 2 weeks ago
Joined: 11/06/2008 - 22:02
Eviction

Thanks, glad you like the app.

With the current version (this will change in future), every attempt is made to always stay memory, and it's the same technique as is used by the android player. If you send me the log (in the menu, save log), I can verify that this is working correctly. If it is working ok, and it's still getting evicted, then you probably have some other apps running as services and we're all wanting to be in memory at the same time, so someone gets evicted.

What is curious is that you are describing the android music player behaving in two different ways depending on whether you launch it or it's launched by DC. As far I know, this shouldn't be happening. Can you observe this for a bit longer just to be sure that this is what is happening.

Once I get your log, I should be able to tell you a bit more.

Thanks for posting.

kkrueger
Offline
Last seen: 11 years 5 months ago
Joined: 08/16/2009 - 19:32
Log on its way

I just sent you the DC log from my MyTouch.

FYI--I rebooted the phone and the android player still consistently stops playback as soon as I navigate away from it when launched from DC. However, rebooting does appear to have made the DC player less apt to getting evicted. My phone had been running for a few days.

eric
Offline
Last seen: 9 months 2 weeks ago
Joined: 11/06/2008 - 22:02
I don't know how much I'm

I don't know how much I'm going to be able to help with the behavior of the android player...I'm kind of stumped why it would behave differently when DC launches it vs when you launch it.

Now as far as DC is concerned, it was only started once for the log (about 3 mins). What we are looking for is android killing DC. So if you are listening to audio in the DC integrated player and DC gets evicted while it is playing, then that's when we'll need to get the log. What I expect to see is that DC is configured to be running with a priority that will keep it running with the highest priority (as it should), but Android evicts it anyways because resources are limited.

If DC is playing audio but not set to high priority then we've found a bug. If it is high-priority and android still evicts it (and stops playing), then it's simply a matter of resources being limited and android needs to pick something to kill.

kkrueger
Offline
Last seen: 11 years 5 months ago
Joined: 08/16/2009 - 19:32
Gotcha. The log I sent you

Gotcha. The log I sent you had an instance of me launching the android player from DC and having it stop when I navigated away.

As soon as I have a repeat of the playback stopping with the DC player in the background, I'll send you another log.