timusus / Shuttle

Shuttle Music Player
Other
2.2k stars 480 forks source link

Files in external storage app folders not showing up #347

Open ghost opened 6 years ago

ghost commented 6 years ago

Shuttle version: 2.0.4

Device, OS: Android 7.1.2 (LineageOS 14.1)

Motorola Moto G4

Description of bug: Files don't show up in the list if they're in application's folders. Only tested on external SD.

Steps to reproduce:

  1. Put music in application folders (i.e on external SD, Android -> data -> [app folder])
  2. Nothing will be found.

Expected outcome: Music would show up in the list as normal.

Observations/Actual Result: It doesn't get loaded in.

NOTE: I have no clue if this was due to the bulk of the files I had or if it truly wouldn't work. I don't have time to test. I know Shuttle takes time to load the files in, but none of them were showing instead of some of them. I have done this before with similar amounts in different locations and at least some would show (~1900 files).

To add, the only reason I need this is because Syncthing cannot put files in any other folder except its own on external storage, regardless of root (which I have and supposedly I should be able to put it where ever I'd like, but alas, it is very hellbent on telling me I cannot apparently). So, I'm at a loss. Unable to streamline the way I transfer music between my computers and phone, I am understandably very frustrated because I would rather not have to constantly take out my SD card in my phone to put music on if options exist to do this without ejecting it.

phase commented 6 years ago

I’ve used Shuttle with almost 5,000 songs so I don’t think it’s the song count.

gmattis commented 6 years ago

Do you have any .nomedia file in your Android or data folder ? It might be the cause. I think the problem comes from Android's MediaStore that doesn't scan files in this folder. (need to be confirmed?) At least if you have Shuttle+ you can manually scan the folder, or move your music files in another folder, but it doesn't solve the problem..

swaden10 commented 3 years ago

I use Syncthing to sync a music folder on my SD card.

To add the folder to Android MediaStore, you can use the Shuttle scan fonction. Steps:

  1. Go to folder view in Shuttle
  2. Go to the folder in external storage
  3. Click the hamburger menu
  4. "Scan"
  5. Music will be visible in the main view.

I think issue can be closed, except if anybody think it should be scanned automatically.