• Announcements

    • andrewilley

      Poweramp v3 Project Update   04/24/2017

      As you may be aware, the Poweramp developer has been working hard on an updated material design user interface for Poweramp v3 which required a full ground-up rebuild of the code and is taking some time to get to a beta-test stage. See the forum thread for more details and to discuss.    
TheShadowRunner

Remote share feature is completely broken

12 posts in this topic

Hello, I'd like to report this pretty huge bug (to me at least! ^^).

I have all my music collection on PC, I mount the main music folder to Android using the Remote share feature.

So my PC "MP3" folder is mounted as /storage/remote/Mp3

In Poweramp, I can see this path, with all subfolders, all seems good. So I select the root folder (Mp3) and press the "Select Folders" button.

Strangely the analysing is very fast (maybe 1 second), and then the bug is that the albums are never added to Poweramp library which stays very unfortunately empty!

I tried absolutely everything, reset all Android settings to factory state, I spent many many hours trying to understand the issue.

In all other programs, for exemple Sony Album app or ES Explorer, I can navigate to this mount [ /storage/remote/Mp3 ] and play my MP3s without issues. (I can even open them in Poweramp, but in this case only one by one :S).

I would seriously appreciate any help for this issue that has been 90% of my week-end ^^;

Thanks,

TSR

  • Poweramp v2.0.10 build 588
  • Sony Xperia Z1C
  • Android 5.1.1
  • My rom is not custom.

ScreenshotA.png

ScreenshotB.png

Edit: to make sure it wasn't a problem of compatibility with the file format or the path length, I tried one specific mp3 that I placed in internal memory. Poweramp plays it perfectly. Then I placed this same mp3, alone, in a folder and mounted it from PC: Poweramp sees the folder but doesn't add the file to the Folders/Library !!

Edit2: Also I became a beta tester on Google Play store to try the Poweramp v3, the exact same bug happens :S

Share this post


Link to post
Share on other sites

Ok, I attached a logcat to this message.

I think I found something interesting in it, maybe the reason of the bug..

----

06-12 17:26:31.769 W/ScanDispatcherService(12424): Scan requested: pref rescan_folders
06-12 17:26:31.769 W/RestStorages(12424): Using folders=/storage/remote/Mp3/
06-12 17:26:31.912 W/RestStorages(12424): Detected mount point=/storage/emulated/0
06-12 17:26:31.913 W/RestStorages(12424): Detected mount point=/storage/emulated/legacy
06-12 17:26:31.913 W/RestStorages(12424): Detected mount point=/storage/remote/Mp3
06-12 17:26:31.913 W/RestStorages(12424): Available mounts=[/storage/emulated/0, /storage/emulated/legacy, /storage/remote/Mp3]
06-12 17:26:31.915 W/RestStorages(12424): unmountedStorages=[/storage/usbdisk/, /storage/sdcard1/, /storage/remote/]
06-12 17:26:31.915 W/FolderScanner2(12424): Starting scan=/storage/remote/Mp3/ fastScan=false
06-12 17:26:31.932 E/FolderScanner2(12424): got unmounted match mount=/storage/remote/ path=/storage/remote/Mp3/
06-12 17:26:31.932 E/FolderScanner2(12424): root=/storage/remote/Mp3/ is on unmounted storage, skipping scan
06-12 17:26:31.933 E/FolderScanner2(12424): has nothing in batch!
06-12 17:26:31.937 W/FolderScanner2(12424): Old files/folders deleted from DB=0/0
06-12 17:26:31.938 W/FolderScanner2(12424): Scanned dirs: 0, files: 0 in 13ms, 0.0 files per sec, 0.0 folders per sec

----

It seems because /storage/remote/ is not mounted by itself, Poweramp just skips the scanning of /storage/remote/Mp3/ completely!

Logcat_Remote_Share_bug_2017-06-12-17-26-43.zip

Share this post


Link to post
Share on other sites

That would seem a very good guess, if PA can't find a root location then it won't bother trying to drill down any further inside (would just delay the scan process). Can you get that /storage/remote/ location to mount before the scan commences?

Andre

Share this post


Link to post
Share on other sites

Thanks for your reply Andre.

Nice to see I'm onto something!

I'm not sure how to do that, mount /storage/remote/ on its own.

I can browse the path with ES Explorer so it seems already mounted to me..?

From the logcat, can you see if it's the system that reports this path is not mounted or if it's PA detection system that's possibly buggy?

Edit: I found another player called Mortplayer. With it and the exact same remote share settings, I have access to all my music files in the program! So I think it is definitely a mismatch or bug in PA.

About this: unmountedStorages=[/storage/usbdisk/, /storage/sdcard1/, /storage/remote/]

This is likely the root of the issue indeed, why does it see /storage/remote/ as unmounted?

What does the program check to define that?

I hope that maxmp sees those messages. ^^

Share this post


Link to post
Share on other sites

Yes, it would need to be Max that looks into this, and I can't really see that happening before the next beta release is done.

Networked music is not supported by PA anyway of course, but the work-around of mounting a folder into the local file system ought to work (which app are you using by the way?).

Andre

Share this post


Link to post
Share on other sites

Maybe can you ask Max if he could take a quick look? I have a feeling that this could be super trivial to fix. ^^;

Yes, I think mounted-folder support used to work OK in PA v2.0.5 series (if my memory recalls OK), and broke later.
(I hadn't used for a while.) But now in 2.0.10 it's broken for sure.

I don't use a special app to mount, it's a built-in feature of Sony OS / Xperia Z1C, it's called "Remote Shares" in the general Settings.

Thanks for your help.

Share this post


Link to post
Share on other sites

I have asked Max to take a quick look at a lot of things over the years, and generally unless it's something that has broken the app he prefers to concentrate on his main overall project rather than getting distracted by lots of little quick items.

Andre

Share this post


Link to post
Share on other sites

Not being able to load files is pretty serious! oh well but I understand. I was thinking with the logcat and your confirmation I'm onto something, his diagnostic would be quick. Besides, I can confirm the bug occurs the same on Poweramp v3.

Share this post


Link to post
Share on other sites

Andre, any hope you can move this report to the "Bug Reports (Poweramp v3)" subforum?

Since it happens also on v3 and Max is actively working on v3, I think there's a better chance he could notice it. Thanks.

Share this post


Link to post
Share on other sites

Of course. But do remember that remote/shared data files are not stated as supported in Poweramp anyway, so I'm not sure how high a priority it would get.

Andre

Share this post


Link to post
Share on other sites

Thank you, I think this feature is supposed to be supportet by PA, though.
If you check version 2.0.5, the mount folder is read and appears in the Folders/Library. Also v2 b2.0.10 / v3 b704 scans the /remote/ folder by default..

Share this post


Link to post
Share on other sites

The fact that it happens to work does not mean it is supported. Only songs stored only the local device or SD Card are officially supported, anything else is a nice plus.

Andre

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now