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 - kid

Pages: 1
1
Portable Devices / Re: Wifi android device synching
« on: March 03, 2020, 12:53:01 PM »
It didn't seem to have any effect on the final result of the sync, but the error log showed this after I ran it this morning:

Code
2020-03-03: SM-G973U;  10;  2.0.0
07:20:42: waitScan: java.lang.IllegalArgumentException: Invalid column count(*)
07:20:43: scanPlaylists: java.lang.IllegalArgumentException: Requested path /storage/4159-E797/Playlists/Galaxy.m3u8 doesn't appear under [/storage/emulated/0, /data/sec]: playlist=/storage/4159-E797/Playlists/Galaxy.m3u8,path=/storage/4159-E797/Playlists/file=null
07:20:43: scanPlaylists: java.lang.IllegalArgumentException: Requested path /storage/4159-E797/Playlists/Safe.m3u8 doesn't appear under [/storage/emulated/0, /data/sec]: playlist=/storage/4159-E797/Playlists/Safe.m3u8,path=/storage/4159-E797/Playlists/file=null
07:20:43: scanPlaylists: java.lang.IllegalArgumentException: Requested path /storage/4159-E797/Playlists/This Week.m3u8 doesn't appear under [/storage/emulated/0, /data/sec]: playlist=/storage/4159-E797/Playlists/This Week.m3u8,path=/storage/4159-E797/Playlists/file=null
07:20:43: scanPlaylists: java.lang.IllegalArgumentException: Requested path /storage/4159-E797/Playlists/All.m3u8 doesn't appear under [/storage/emulated/0, /data/sec]: playlist=/storage/4159-E797/Playlists/All.m3u8,path=/storage/4159-E797/Playlists/file=null
07:20:43: scanPlaylists: java.lang.IllegalArgumentException: Requested path /storage/4159-E797/Playlists/Beatles.m3u8 doesn't appear under [/storage/emulated/0, /data/sec]: playlist=/storage/4159-E797/Playlists/Beatles.m3u8,path=/storage/4159-E797/Playlists/file=null
07:20:43: scanPlaylists: java.lang.IllegalArgumentException: Requested path /storage/4159-E797/Playlists/Beatles + Paul.m3u8 doesn't appear under [/storage/emulated/0, /data/sec]: playlist=/storage/4159-E797/Playlists/Beatles + Paul.m3u8,path=/storage/4159-E797/Playlists/file=null
07:20:43: scanPlaylists: java.lang.IllegalArgumentException: Requested path /storage/4159-E797/Playlists/Classical.m3u8 doesn't appear under [/storage/emulated/0, /data/sec]: playlist=/storage/4159-E797/Playlists/Classical.m3u8,path=/storage/4159-E797/Playlists/file=null
07:20:43: scanPlaylists: java.lang.IllegalArgumentException: Requested path /storage/4159-E797/Playlists/Tops.m3u8 doesn't appear under [/storage/emulated/0, /data/sec]: playlist=/storage/4159-E797/Playlists/Tops.m3u8,path=/storage/4159-E797/Playlists/file=null
07:20:43: scanPlaylists: java.lang.IllegalArgumentException: Requested path /storage/4159-E797/Playlists/Vinyl.m3u8 doesn't appear under [/storage/emulated/0, /data/sec]: playlist=/storage/4159-E797/Playlists/Vinyl.m3u8,path=/storage/4159-E797/Playlists/file=null

/storage/4159-E797/Playlists/ is the correct location for my playlists.


Had similar issues, cant remember the error log. Will try again this afternoon. It stopped throwing the errors after I changed the sync settings in MB to not sync playlist, and then back to syncing playlists.

2
Portable Devices / Re: WIFI Sync won't work
« on: March 02, 2020, 05:50:24 PM »
Solved the issue, like posted in the other topic.

3
Portable Devices / Re: Wifi android device synching
« on: March 02, 2020, 05:49:12 PM »
Just checking in to let everyone know that the new version solves the issues I was having.
Wifi syncing works perfectly on Android 10 using an external SD card for music storage.

Didn't have to reconfigure anything.

GMMP error still exists, but this is a GMMP issue, it also throws an error in the GMMP log about the unlocker.

4
Portable Devices / Re: Wifi android device synching
« on: January 17, 2020, 06:01:17 PM »
Yes, Galaxy S10 and Android 10 here, and Wifi Sync recently started spectacularly failing for me too. This was weeks after the Android 10 update.  Now MB Wifi Sync acts like it can't access the SD card although permissions are granted and double-checked. Cleared data for the app to no effect, uninstalled the app rebooted the phone and reinstalled to no effect.  Deleted the device profile and recreated it to no effect.

Buttons are not even clickable in the app for me. I can press them all day and nothing happens. Only when I change to "Internal Storage," run a preview, and then go back to "SD Card" can I click anything. But then I get the errors like it has no access to the SD card.

This started mid-sync for me.  It partially sync'd, then the errors started and now I can't do anything.  I don't know if it's an Android issue or an issue with an overnight Windows update or what, but it worked one day and then not the next.

Back to wired sync for me.  It takes 45 minutes to scan, but at least it works.

just checked again after I read your post.
Cleared app storage, so I could start from a "blank slate".
Selected "internal storage" from the start (even though I have hardly any space left on internal and want to keep my music on SD).
BAM!

Worked like a charm. Didn't even do a wired sync or selected internal storage in MB on my PC, Just changed my sync settings from a configured device to include only the single playlist, did a preview and synced it to the internal storage with no problems

Cleared app storage again, started anew, selected "removable SD card", and preview/sync buttons stopped working again.
repeated steps to sync internal storage, worked again.
Tried back and forth about five times. Now going to see if it still works after rebooting PC and Phone

I'm willing to place a small bet there is some sort of issue with SD card acces in Android 10.

Edit: Confirm it still works like described above after rebooting several times and setting up the app. also reinstalling has the same effect as clearing app storage.
Reverse sync doesn't work due to the GMMP unlocked version error (even though I have it unlocked) but that seems like something else entirely so don't care bout that now at all.

I would like to carefully draw two conclusions;

1. I think the issue exists on the phone side of syncing. Nothing to do with network or MB on the desktop.
2. The issue only seems to manifest when syncing to SD card for me

I can vaguely find something about storage acces being a little bit different in Android 10, so that might also be something to look at, although I have several other old apps, some not updated for over a year, that can read/write to SD card just fine.

5
Portable Devices / Re: Wifi android device synching
« on: January 16, 2020, 06:04:58 PM »
Wifi Syncing has stopped entirely for me now. The "Sync Now" button is grayed out and does not do anything at all, neither does the "Preview" button. I started having this issue a few days ago but then this morning I got an update for my phone and had hopes itt would fix the issue with the wifi sync and the other issue I have, but it did not. I even restarted my phone a few times (to no success) hoping that would help resolve the issue. This is compounds on top of the other issue that none of my playlists sync anymore from MusicBee to my phone.
Did you try to clear app data and setup sync again? Anything in the log?
What device are you using? android 10?

6
Portable Devices / Re: Wifi android device synching
« on: January 13, 2020, 09:30:12 PM »
Ok, small update on my connection issues.

If I connect through USB while connected to WIFI, I can get the sync app to connect.
immediately after the USB sync completes the WIFI sync app connects.
However it does nothing after that. The SYNC NOW and PREVIEW buttons seem unresponsive, and there are no additional entries in the log.

Quote
...

When I close the sync app, and restart it, I get the connection errors again, however I am now inside the app and the logs are available.

There are no new entries in the log, even though the app gives an error. Enabling debug logging results in the buttons not responding again. Force closing the app clears the debug logging flag, and the loop starts again.

Both the "beta" and the normal release path are at version 0.9, so I assume they are both the same.

Update; I just tried it with an old (chinese, offbrand, Umidigi) android 6.0.1 phone I have laying around, and it works like a charm.
Though maybe it was an Android 10 issue, so I begged my better half to hold her phone (Xiaomi) for a sec, and it works fine too.

Seems to be an issue with my Sony phone then? Any one else experiencing issues with Sony Xperia devices? (XZ2 or XZ3 in particular).

Edit: There seems to be a connection between the phone and MB, when I select playlist sync and I add a new playlist in MB it immediately shows up in the android app. But for some reason the sync or preview buttons are non-responsive.
I think there might be an issue with read/write rights on the phone? There have been some changes in Android 10, however since it works on the Xiaomi phone with A10 that doesn't explain it.

Any of you guys know how I can do some more diagnostic?
Here is what I found on "scoped storage" on android 10
https://developer.android.com/training/data-storage#scoped-storage

7
Portable Devices / Re: Wifi android device synching
« on: January 12, 2020, 01:18:53 PM »
Ok, small update on my connection issues.

If I connect through USB while connected to WIFI, I can get the sync app to connect.
immediately after the USB sync completes the WIFI sync app connects.
However it does nothing after that. The SYNC NOW and PREVIEW buttons seem unresponsive, and there are no additional entries in the log.

Quote
2020-01-12: H9436;  10;  0.9
13:22:42: locate: search=10.0.0.
13:22:42: locate: exclude=11
13:22:44: locate: search=10.170.143.
13:22:44: locate: exclude=183
13:23:58: locate: search=10.0.0.
13:23:58: locate: exclude=11
13:23:58: ping: socket ok=/10.0.0.10
13:24:02: ping: hello=MusicBeeWifiSyncServer/1.0
13:24:02: ping: matched=/10.0.0.10,status=OK
13:24:02: locate: search=10.170.143.
13:24:02: locate: exclude=183
13:24:04: ping: socket ok=/10.0.0.10
13:24:04: ping: hello=MusicBeeWifiSyncServer/1.0
13:24:04: ping: matched=/10.0.0.10,status=OK

When I close the sync app, and restart it, I get the connection errors again, however I am now inside the app and the logs are available.

There are no new entries in the log, even though the app gives an error. Enabling debug logging results in the buttons not responding again. Force closing the app clears the debug logging flag, and the loop starts again.

Both the "beta" and the normal release path are at version 0.9, so I assume they are both the same.

8
Portable Devices / Re: Wifi android device synching
« on: January 07, 2020, 05:50:27 PM »
Hi all,
I'm a little behind on you all, and I might have overlooked a part of the topic so forgive me if there is a solution in the previous 50 pages.
TL;DR. I keep getting the Server not found error.

I cant get wifi sync to work (reliably, or at all).
I have been trying for a while and on occasions it has worked;
So I've tried the latest release from the site (3.3.7261) and also the latest release from the forums (3.3.7310)
I have used the Android app in both the release channel and the beta channel. All of them no luck.

I had everything working a week before christmas, however after pressing sync in the app it started syncing my entire collection even though I already did a full sync over USB (its about 60gb worth of music). I reset the app on the phone and couldn't get a connection anymore after, no matter what I tried. Gave up, I hardly have any additions to my collection and the playcount sync is nice to have but not a dealbreaker.

Yesterday I got an upgrade to Android 10. Did a hard reset on my phone, and after setting it up from scratch I though, lets give it another try. I also formatted my SD card btw.
I ran the app and tried to connect, and I got the "you have to do a wired sync first" error. Great news! that means it can connect to MB at least!.
I plugged in the USB cable, did a wired sync (remeber, wiped the card) so another 60gb of music and about 2 hours later tried the sync app again;
Server not found.

So maybe my firewall changed itself? so I installed the MusicBee Remote plugin, and didn't change my firewall settings. Works like a charm.
So the remote app can connect fine, and the windows firewall allows any incoming connection to MB over both UDP and TCP.

What am I doing wrong?.

p.s. I cant seem to figure out how to get a log out of the android app.

I've asked steven to add me to the alpha, as that seems to be able to output a log before connecting to the server.

9
Not sure if this issue is related or not however when I disable the hotkeys I have to play a song manually inside of MusicBee before the media keys on the keyboard work. The functionality of the plugin isn't initialized until a song plays for the first time or something along those lines.

I think that is how the media control overlay is supposed to function. It uses an audio stream to recognize the source of the media, and then establishes a handshake with the application sending it to control the media stream. If no handshake is made there is no media control (like with MusicBee without the plugin). This prevents it from getting confused when you have multiple media applications opened, and selects the one that is outputting media. It gets unreliable when there are multiple audio streams (e.g. music player in the background and a youtube video autoplaying, it will switch over to the "newest" handshake and control the video).

Quote
I have also tired your second solution however that prevents the buttons in the overlay from working.

Thank you for taking your time to look at this problem.

Also while trying to figure this out myself I ran across a similar plugin for foobar2k its approach to a similar problem is to passthrough the keyboard messages, not sure if this will be helpful to you at all but here is a link to the plugin source code https://github.com/Hual/foo_mediacontrol/blob/master/foobar2000/foo_mediacontrol/message_listener.cpp.

The foobar2k implementation sounds like maybe the lesser of two evils, als long as the windows 10 media control overlay is as unreliable as I described, I'd rather have the current implementation where MB takes the keystrokes "straight from the source".

10
Plugins / Re: Windows 10 Media Control Overlay
« on: December 27, 2019, 11:53:08 PM »
Just wanted to report in,
Plugin works like a charm, does exactly as it should.
When someone wants to use it in combination with universal media keys, be sure to disable the global hotkeys in the MB settings to prevent the double registering of key presses like mentioned in the other topic by Steven.

However for me it is not convenient to use.
- The media control overlay only "turns on" when media is playing.
    This means that there is no way to start playback with a media key after launching MB.
- Media control overlay gets hijacked by all sorts of other "media" players, meaning losing control over Musicbee.
- Microsoft seems to change the behavior occasionally with (feature) updates, might cause the feature to break in the future.

One peculiar thing I noticed;
the universal media keys on my K850 don't work with MB by default. The plugin fixes that, since MB then responds to the media control overlay from the OS, rather than a keyboard input. This seems to be a shitty "Logitech Options" media keys implementation (don't get me started on setpoint or intellitype "handling" of standard functions). However my M720 media gestures control playback just fine through the same (crappy) piece of software.

My Onkyo remote works fine through WinLIRC/frIRR! both without plugin and with plugin and hotkeys disabled, which is expected behavior. (I am 100% this sends out "normal" universal media control keystrokes)

Thanks Steven!

Pages: 1