Read audio from USB OTG


Question

I have a lot of music files. Far more from what my SD card + internal memory could support even if they had no apps, pictures and whatnot stored into.



I have a 128Go USB stick where I store all my music so I can listen to it on any device. However, this does not work with my Android 6.0 phone.



I mean, I can plug the stick on the device with the cable, then click onto the "USB drive" notification to see the files and then play the file I want. Problem: I want to listen to music through a proper player, which goes onto the next song when one is finished and let me browse my music in an intuitive manner.



So far I was unable to find any player that would detect music on my USB stick. I think I understood now the problem comes from OTG itself - which is made for using a DAC more than a USB stick or to store files more than play them - but I wonder if there isn't some kind of trick or workaround to get, for example, my phone to detect my USB stick as an SD card, or to make it treat the stick as internal memory (which is possible with SD cards).



My phone is not rooted for now (haven't got the time to investigate much on this) by I do have a custom recovery (TWRP) if that can help. If rooting is necessary I'll dig more into it.



Thanks for your help !


Answer

Well, finally, I found an app that can read music from an USB stick.



ES File Explorer



It is a file eplorer which:



1) detects USB sticks



2) comes with a simple music player with basic functions



3) can create a playlist from a specified folder



4) can do this with USB folders



While the player in itself is not exactly the most advanced one (it won't detect id3 tags on USB files, doesn't sort songs by Artist, Album or whatever else than alphabetical order) nor the most beautiful, it has all I need for listening music in the subway (which was my main goal here) i.e. making a playlist from my music folder and being able to shuffle it.



Hope it helps people who had the same problem as me.



Edit



This player has some problems. It crashes, don't detect the stick sometimes and often goes as far as restarting my phone. It does the job, but it does not do it well and the user experience is unpleasant. Therefore, if anybody has a better suggestion, please write an answer !


Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes