Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - mtnagel

Pages: 1
Portable Devices / Re: Wifi android device synching
« on: September 27, 2022, 03:12:57 AM »
Not sure, but you can try a force stop on the WiFi app and then going to storage and clear data and clear cache. Depending on your phone, this would be done from settings > apps > MusicBee WiFi Sync storage. Then I'd uninstall and reinstall. No guaranty, but it's worth trying. Remember than the first sync should be a wired preview - no need to complete the sync. After the wired preview, then try the WiFi app.
I was trying to avoid that since I'd lose all the playcounts since my last sync, but I went ahead and did that and it's still not working.  After reinstalling the wifi sync app, it's weird because it doesn't start at the first screen, it immediately goes to the page asking what to sync instead of trying to find the server.  I cleared cache and storage and restarting before reinstalling, so I don't know why it's not starting from scratch.  So bizarre because it's been working perfectly fine since I got my S22 a couple week ago and then suddenly it's not :(

Portable Devices / Re: Wifi android device synching
« on: September 27, 2022, 02:01:38 AM »
Normally syncing works just fine, but every once and awhile I get the "Server not found. Ensure MusicBee is running and Windows firewall is not blocking MusicBee." error.  This is what the error log says:

2022-09-26: SM-S901U1;  12;  2.2
20:38:46: loadPlaylists: failed to connect to / (port 27304) from / (port 42834) after 10000ms: isConnected failed: EHOSTUNREACH (No route to host)

I've tried closing and relaunching everything, restarting both phone and computer and turning off my firewall and I still get the error.  It seems if I just try again later it will usually work again at some point but I don't know what's changed.  Any thoughts on what's happening with I get this error randomly? 

So digging around in the Google Home app, I see that my phone's IP address is (like the error says), but my computer's address isn't like it says in the error (it's 33).  So assuming that's the problem, how can I get the sync app to see that my computer's IP address has changed?   Sorry if I said something stupid.  I don't know much about networking :)

Portable Devices / Re: Wifi android device synching
« on: September 05, 2022, 05:19:10 PM »
So, I go back and follow BoringName's steps

I'm kind of amazed you were able to use it on android 12 with the app store version... anyway. Try putting 33 in this line of code instead of 32
if ((Build.VERSION.SDK_INT < Build.VERSION_CODES.N || Build.VERSION.SDK_INT >= 32) &&

If it still gives you the root error try 34.
Thanks again for keeping up on this!  After updating to Android 13, the modified apk kept working, but I had to reinstall it and then it didn't until I made this change.

Portable Devices / Re: WiFi sync app broken on Android 13
« on: August 21, 2022, 01:49:31 PM »
I'm assuming this is because of the change in Android's file access API, but the app needs to be updated.

The storage root directory can no longer be selected, which is required for the app to work.
I just updated and syncing is still working for me.  Did you create your own apk for the wifi sync app as shown here -

Portable Devices / Re: Wifi android device synching
« on: August 18, 2022, 02:49:38 PM »
Has anyone updated to Android 13 and tested reverse syncing with BoringName's APK? 

A better way than what? It's doing what you want it to do.
I think a better way would be one with fewer clicks.  The way it’s working now is I have to sync with MB wifi sync app, refresh auto playlist in MB and sync again.

Also a better way would be to not have to completely delete all the music on my phone and upload more when there are unplayed songs on there that don’t need to be deleted.  The ideal way would be to keep the unplayed songs on my phone and only add new songs to replace the played songs.  
How do more songs wind up with a play count of zero after you sync to your phone, listen to some songs, and then sync again.  Fewer songs should have a play count of zero after you listen to some songs.
Not sure if you mean on my phone or MusicBee.  
I think you're leaving out information, which is that you're also limiting the number of songs that can be in the playlist.
I didn’t leave that out.  From my OP:
and limited to 1 GB.
It sounds like you don't have enough space to do what you want it to do, which is have a static list of songs on your phone and have songs removed from the phone as they are listened to.  In that case, you'll either need more space on the phone so that it will fit all of the songs with a play count of zero, or a second static criterion so that the list is smaller and isn't always changing.
Yeah, that would be great, but my music library is about 120 GB and the Pixel only came with 128 GB with no bigger option and isn’t expandable so I’m stuck with only being able to sync a subset of my library.
I don't know when you started with MusicBee and if all of your files would have the same date for this, but have you tried adding "Date Added before" as a criterion?

For example you could do Play Count is 0 and Date Added before 2020-12-31 (or whatever date will give you the max desired number of tracks) and then when that thins out and starts to dwindle move it forward 6 months to 2021-06-30 and so forth.  

You could do the same thing with Date Modified if your songs were all added to your MB library at the same time but have different modification dates.  

Or "Album Starts With" and do a regex that will pull albums that start with A-G or something, which would give you a good mix of artists and decades and then expand it to A-H and then A-I and A-J as the list goes down.
Yeah maybe those would work, but I want a random subset of my entire library.  I don’t want only songs I added a long time ago or songs on albums that start with a certain letter.  That’s too restrictive.
But doing strictly what you want to do, you will need more space. How would MB know to do something different than what you're telling it to do?
I don’t understand.  If I had more space I wouldn’t even need Music Bee on my PC. I could just store all my music on my phone and use a music app on my phone with a smart playlists to only play songs with playcount = 0.

I can't follow this at all.

Without the back story, what are you trying to do and what result to you want on your phone and in musicbee?
The ultimate goal is to only listen to music on my phone that I haven't listened to before (play count =0).  But my phone doesn't have enough space to have my entire music library, so I only can have a subset of my music, which is why I do this process. 

And I have it set up and working to do this, but when I sync, because of how Music Bee's auto playlists work, it has to replace all the music on my phone with every sync, but I wanted to see if I could have it only sync new songs to replace the songs I played instead of replacing every song with every sync.  I suppose I could just sync less often, but curious if there is a better way. 

Does that help explain it more simply?

Sorry for the newb question and I may be missing something really easy here but I'm a new MusicBee user coming from iTunes and looking replicate my previous work process.  With iTunes, I'd have a smart playlist that had the condition play count = 0 and limited to 1 GB.  I would then sync that playlist with my phone.  Previously I used an iPhone, but lately I was using a Pixel 4a and iSyncr, but when I got a Pixel 6a, play count syncing stopped working, which is why I'm looking for an alternative.  Then I would play music on my phone and the songs would then get a play count of >0.  I would then sync with iTunes and the songs that were played would drop off the smart playlist and new ones would get added, but the original ones that didn't get played would remain.  It would then sync back only the songs that were newly added to the smart playlist to my phone.  Rinse and repeat.  I've been using some form of the process for almost 20 years. 

With MusicBee, following that same process, after listening to music and syncing back to MusicBee, the played songs drop off the auto playlist.  If auto refresh is turned off, the songs drop off and the remaining songs in the playlist stay the same, but now I have less songs in the playlist.  If I kept doing that, eventually I'd have no songs left in the auto playlist or my phone, which obviously isn't what I want.  If I refresh the auto playlist or auto refresh is turned out, all the songs get replaced in the auto playlist and if I sync with my phone, it replaces all the songs on my phone, which isn't the end of the world I suppose, but it seems unnecessary to replace all of them, when I want to replace is the played songs.

So after this long winded post, is there anyway to only sync back only new unplayed songs from the auto playlist?

Portable Devices / Re: Wifi android device synching
« on: August 06, 2022, 02:11:08 PM »
I joined just to say thank you so much for doing this and posting the instructions.

I'm not really a fan of how this forums software does quoting. It would be great if you could highlight part of someone's post and that is the only part quoted when you click the insert quote button.... maybe I'm doing something wrong. I just manually edit the quote at the moment.

With that out of the way.... you're welcome.

I'm currently working on a cover flow plugin that's really monopolizing my time. If I ever get that sorted out (that's a big if) I might look at taking this over so it can be updated on the apps store. At the moment I'm not confident enough with Java to take it on. But I will always be ready to do a hack job if something else breaks as the alternatives to syncing to android are rubbish compared to this one.
I attempted to edit my message to shorten the quote and I ended up deleting my message.  Oops :)  I tried to recreate it, but if it looks different, that's why.

Anyway, it would be awesome if you could pick up maintaining this as who knows if Android 13 and above will break something else? 

Portable Devices / Re: Wifi android device synching
« on: August 05, 2022, 10:43:01 PM »
For those having the SD card root error message on android 12 I may have got it working.

Disclaimer - I've never touched Android Studio before so I am totally winging it so everything is at your own risk. My partner was using iSyncr with iTunes but the developer sold it and the new owners have screwed it up and are charging $44 a month subscription (WTF!!). So I convinced them to move away from iTunes and now I've spent the last 2 days trying to get this working because there doesn't appear to be any other options to sync playcounts from android.... tried Media Monkey first as I used that 20 years ago but it's just rubbish now, multiple crashes and buggy UI behaviour turned me off very quickly. So here I am re-compiling an app, that's what it's come to. It make me think there is a big gap in the market right now.....

I joined just to say thank you so much for doing this and posting the instructions. This solved my play count/ratings syncing issue with Music Bee and  GoneMad.  This post should be bumped every new page so new users coming here to figure out why syncing isn't working can see it.  The one tip I might add that might be obvious to others is that I had to uninstall the unmodified MusicBee Wifi Sync app before installing this modified version worked.  Thanks again!!

Pages: 1