[SOLVED] Sync always has to wait for other back operations

Report bugs & feature requests for MediaMonkey for Android and learn about the newest beta build.

Moderator: Gurus

[SOLVED] Sync always has to wait for other back operations

Postby rlpowell » Thu Mar 30, 2017 1:44 am

Ok, not quite *always*, but, uh, let's say 9 times out of 10, when I hit sync on MMA, I am told that "Sync is waiting for other background operations to complete". If I let my phone go dark, this will happen every time, it seems, although I am less certain of this. The only way I can find to actually sync reliably is to get to the "sync is waiting" screen and tap my phone occassionally to keep it awake until sync starts, which takes 5-10 minutes.

This is rather annoying. Help?
rlpowell
 
Posts: 73
Joined: Sun Feb 27, 2011 4:49 pm

Re: Sync always has to wait for other background operations

Postby Lowlander » Thu Mar 30, 2017 11:42 am

Which version of MMA and Android and are you also using an external memory (SD card)?

Is the loading circle shown at the left top when this happens?
Lowlander (MediaMonkey user since 2003)
Lowlander
 
Posts: 43389
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: Sync always has to wait for other background operations

Postby Guest » Thu Mar 30, 2017 2:50 pm

This was also with my leelbox with android 6.01. I changed to a q10pro himedia Smartbox with android 5.1.1. Since I disabled the function to change metadata on the device, vice versa, I haven't had this problem again (nearly 12000 songs on a Samsung 128GB stick).
Guest
 

Re: Sync always has to wait for other background operations

Postby rlpowell » Thu Mar 30, 2017 6:42 pm

MMA 1.3.0.0684 , but this has been true for every version I can remember, certainly every version in the last 6 months.

Android currently 7.1.1, but again it's been this way for ages.

I do not use an SD card.

The loading circle is typically showing when this happens. It is typically showing nearly 100% of the time.
rlpowell
 
Posts: 73
Joined: Sun Feb 27, 2011 4:49 pm

Re: Sync always has to wait for other background operations

Postby Lowlander » Thu Mar 30, 2017 9:20 pm

Send a debug log from MMA (from About screen) and respond here or in a Support Ticket with the logID. This was addressed in MMA 1.3, but apparently is still an issue on your setup.
Lowlander (MediaMonkey user since 2003)
Lowlander
 
Posts: 43389
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: Sync always has to wait for other background operations

Postby rlpowell » Thu Mar 30, 2017 10:36 pm

Thank you.

VXUZXRKI3V
rlpowell
 
Posts: 73
Joined: Sun Feb 27, 2011 4:49 pm

Re: Sync always has to wait for other background operations

Postby bhiefer » Wed Apr 05, 2017 2:44 pm

I do see that there is long synchronization with deep verification of all data. This can occur when
1. playback of some track fails. Do you have some tracks failed to play ?
2. short data management service failed so deep verification was started. But the log is not long enough to see it.

I will create a special build for you to find out more...
bhiefer
 
Posts: 164
Joined: Fri Apr 12, 2013 6:36 am

Re: Sync always has to wait for other background operations

Postby rlpowell » Tue Apr 11, 2017 2:16 am

I'm not aware of any tracks failing to play.
rlpowell
 
Posts: 73
Joined: Sun Feb 27, 2011 4:49 pm

Re: Sync always has to wait for other background operations

Postby rlpowell » Tue Apr 11, 2017 2:20 am

bhiefer wrote:I do see that there is long synchronization with deep verification of all data. This can occur when
1. playback of some track fails. Do you have some tracks failed to play ?
2. short data management service failed so deep verification was started. But the log is not long enough to see it.


About that second one: I use other media programs via bluetooth, with heavy use of media keys, and MMA *REALLY* likes to grab any media key signals it sees, it's very annoying. As a result, to use my other apps I have to force stop MMA. This is so routine that I have a tasker task that does it automatically.

So, if a force stop could cause this, then that's what's going on. Unfortunately, I don't have a choice right now, as the only other option is to accept that in the middle of reading a book or listening to a podcast, when I hit the pause button instead of the book pausing MMA will start playing along with the book, which is totally not awesome.
rlpowell
 
Posts: 73
Joined: Sun Feb 27, 2011 4:49 pm

Re: Sync always has to wait for other background operations

Postby Lowlander » Tue Apr 11, 2017 12:04 pm

Make sure you don't have "Always respond to remote buttons" enabled in the MMA options.
Lowlander (MediaMonkey user since 2003)
Lowlander
 
Posts: 43389
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: Sync always has to wait for other background operations

Postby rlpowell » Tue Apr 11, 2017 11:11 pm

Lowlander wrote:Make sure you don't have "Always respond to remote buttons" enabled in the MMA options.


As far as I can tell, that option makes no difference to my situation, but it's been a while since I ran without auto-kill.
rlpowell
 
Posts: 73
Joined: Sun Feb 27, 2011 4:49 pm

Re: Sync always has to wait for other background operations

Postby bhiefer » Wed Apr 12, 2017 5:41 pm

I have found the cause. There are really strange paths in your MediaStore DB that causes failures of background services. So I have workarounded that and it is fixed in build 691.
bhiefer
 
Posts: 164
Joined: Fri Apr 12, 2013 6:36 am

Re: Sync always has to wait for other background operations

Postby rlpowell » Wed Apr 19, 2017 1:32 am

:D :D :D

That's great! Confirmed fixed, thank you so much!
rlpowell
 
Posts: 73
Joined: Sun Feb 27, 2011 4:49 pm

Re: [SOLVED] Sync always has to wait for other back operatio

Postby brutal » Wed Sep 06, 2017 8:11 pm

I'm having this same issue after re-installing MM.

I do have external SD on Lollipop 5.0. It had always worked fine. A few weeks ago, playlists stopped working. While trying to remove/add the library folders, MM (I believe) permanently write protected my SD card. I put in a new (128GB) SD card and restored all the SD card data from a PC backup. I re-installed MM. MM would not complete showing the media library/folders or allow a playlist build. I deleted all the media and resync'd. After one sync, it doesn't allow playlists, or show the media folders and is stuck on this waiting for other background...

I just sent debug logs from my registered email addr. UAT1ZMZ1FT

Thanks.
brutal
 
Posts: 10
Joined: Wed Oct 15, 2014 1:00 am

Re: [SOLVED] Sync always has to wait for other back operatio

Postby brutal » Mon Sep 11, 2017 11:53 am

Reformatting the SD card again and uninstall/install MM didn't help.

I ended up doing a factory reset and MM appears to be behaving now.
brutal
 
Posts: 10
Joined: Wed Oct 15, 2014 1:00 am


Return to Beta Testing, Bugs & Feature requests (mma)

Who is online

Users browsing this forum: jperaita and 7 guests