Comments (4)
As far as I'm aware, requesting access to a folder is not the "new standard" for media apps. According to This official article. MediaStore
is the recommended way to index a devices media.
What I believe you're talking about is the Storage Access Framework, which is more-so meant for file-picking tasks. On top of that, streaming a file from the internet is not the same as streaming media. One is a simple download operation, while the other is a much more complicated process that would require refactoring much of Auxio to accommodate.
Unless I'm misunderstanding something here, I can't implement this.
from auxio.
Yes the storage access framework is what i am talking about (thanks for the name) and you did misunderstand me.
I am not suggesting you implement media streaming, I'm suggesting that you implement an SAF Client app that can be used optionally.
described here
- Client app—A custom app that invokes the ACTION_CREATE_DOCUMENT, ACTION_OPEN_DOCUMENT, and ACTION_OPEN_DOCUMENT_TREE intent actions and receives the files returned by document providers.
The SAF should call the document provider's code to retrieve the document (a music file in this case) from local storage or the network. Neither your app nor the SAF needs to be network aware since the Document Provider handles it if applicable. Document providers do not have to be cloud applications either, Termux is also a document provider, it provides access to the termux user's home folder which is part of the app's private storage.
my understanding is that this is relatively simple to do and should only require change to the code that opens media files, and of course the related UI.
If it sounds too sketchy or complex, ill take a crack at it if i get the time in the next couple months. I have tons of programing experience, but almost none with android, so we will see.
from auxio.
Okay, so you're saying that I implement a file-picker action that opens a music file through a provider? I have the opposite workflow implemented [e.g opening a music file through a file picker will open Auxio], but not this. I'll try to see what I can do.
from auxio.
Looking back on this, I really don't see the point in this. You can open music from the file manager, and other theoretical uses [like streaming] are more aligned with the possible idea of converting Auxio to a SoundPod client. I also have no clue where to add this. Sorry.
from auxio.
Related Issues (20)
- [Feature Request] Add Song Properties to the song playing view. HOT 1
- Playback bottom sheet flickers on warm start HOT 2
- Allow to play file from file explorer even when we include/exclude some folders HOT 1
- Swipe to play next / previous tracks HOT 1
- Add an option to sort Artists by "ALBUM ARTIST" instead of "Artist" HOT 2
- The music is not found! HOT 1
- Pause when volume is silent HOT 3
- Battery Drain after Updating to Android 14 HOT 2
- Missing album error on certain libraries HOT 4
- Incorrect album art cover HOT 1
- Crashes after media scanning: IllegalArgumentException: HOT 3
- Error Scanning Music Library with Song Featuring the Same Artist Twice HOT 1
- Download the sample file below Auxio uses the wrong cover art HOT 1
- Auxio Shows the Wrong Artists Credit HOT 3
- A Better Artists Credit HOT 4
- Animate skip transitions HOT 2
- Improve foldable support
- sort by file path in songs list
- Swipe down to refresh music HOT 1
- Resource leak / Abnormal usage HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auxio.