Jump to content

Rachel Tang

Approved Members
  • Content Count

    15
  • Joined

  • Last visited

1 Follower

About Rachel Tang

  • Rank
    Member

Contact Methods

  • Website URL
    https://me.stfw.info

Profile Information

  • Gender
    Not Telling
  • Location
    Somewhere in China Mainland

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. @erikgdd OK, I'll check it out and fix it if possible. Thanks for your feedback.
  2. @maxmp Sorry for the disturbance, but is there a quick way to get song files instead of parsing a tree URI from path?
  3. @Prosenjit Thanks for your feedback! This problem should probably be fixed in the next version. Sorry for your bad experience
  4. @maxmp So it means it would be a better option if I extract lyrics myself? Alright, and thanks anyway
  5. @maxmp Thanks! Modifying the API too much for the sake of one app seems unfair and redundant, so I plan to request API change only in some cases where there is no effective solution that can help solve the problem. And here is a request (to implement a feature long requested by the users). Could the embedded lyrics in each song be provided within the TRACK_CHANGED broadcast in the form of a content provider URI? Parsing the ID3 info again would be wasting performance and memory.
  6. Yes. These features are under development and should be available soon… But not in recent days since I'll be unable to program in nearly a week. It depends on how late it is. If it's a latency that is at most 500 ms, it is the app's bug. Poweramp's API only enables apps to count time in seconds, so… (the reasons are shown after permissions are granted properly). However, there is a plan to make the segments more detailed, for about 100 ms, but this is not a promised feature, since in current stage performance and power consumption are not evaluated yet. If the latency is more than 500 ms, try pause and resume(double-click the play button) in Poweramp. That possibly fixes it, which resets the time Poweramp passes to 3rd party apps.
  7. @yellowblueua as @monkeybutt stated, you cannot load .lrc files inside Poweramp now. However, if you don't mind installing a plugin for Poweramp, you can try my work here: Currently songs stored in external storage(mostly TF cards) are not supported, besides which everything should be working correctly(contact me if not). The plugin includes only the core feature, but I'll keep improving it.
  8. @clever_man Hi, I've just uploaded a newer version fixing an issue which has caused app crashing on many devices, hope it'll work well for you… And if not, I'd be glad to receive crash logs. Your report made the app better, thanks!
  9. For anyone who is fond of a plugin to implement a lyrics parser to make up for Poweramp's lack of local lyrics support, here is it. It reads external lyrics located at where the songs are. To be clearer, for a song placed at XXX/YYY.mp3, this app tries to load XXX/YYY.lrc and display it in a floating window. Now live on Google Play: https://play.google.com/store/apps/details?id=net.rachel030219.poweramplrc (and Coolapk for users in China Mainland https://www.coolapk.com/apk/255710 or GitHub releases for convenient apk downloading https://github.com/Rachel030219/Poweramp-LRC-Plugin/releases) There are still plenty of bugs, even though it has been released in production track. When you run into one, don't forget to report it here or open an issue on GitHub 😜 If you like it, you can always give it a star on GitHub or view its (poorly written) source code: https://github.com/Rachel030219/Poweramp-LRC-Plugin Thanks to everyone who made it possible! 😏
  10. @maxmp Got that. Currently I declares requestLegacyExternalStorage to be true so that I could replace "primary" with the storage directory to gain access to the files…which I believe is the worst practice. So, on Android 10 and above I need to ask user to select(with DocumentsContract and SAF API) the same path as they do in Poweramp, and on Pie and below the "path" can be directly used, is that true? And another question, can URIs be used to access a specific file, for example, if there is "primary/XXX/YYY.mp3" and I want to access "primary/XXX/YYY.lrc", can I achieve that by DocumentsContract / SAF? I've googled a lot but not much seems to have something to do with this, or maybe I should just try it out myself?
  11. @andrewilley Fully agree. APIs change from generation to generation which is a great trouble to get apps compatible with all versions of Android. Also in China too many deeply-customized Androids(like MIUI, EMUI, Color OS, etc) make the difficult situation just harder.
  12. @flyingdutchman After looking into it, I found that on some devices with only one storage, the path inside the database is still something like "primary/XXX", the same as what the Poweramp puts into the bundle with Poweramp.Track.PATH. So… does it mean that if there is not a "primary" prefix, the Poweramp.Track.PATH will return the real absolute path, and if there is, a simple getExternalStorageDirectory should do that? Not widely confirmed, but true on my other device… I'm getting confused now.
  13. @flyingdutchman Sorry for my misunderstanding, so it means that I should read the API docs carefully again, and then I could get the real path by querying the database? Got that. I can't be more grateful for your help 😊
  14. @flyingdutchman Oh, thanks! Though I probably can't ask all of the users to root their devices (as I don't think normal apps could have access to that database file), it'll surely be a good way to debug
  15. Hi there, I'm working on a app which could fetch .lrc files in the folder where songs are located, but in my development I've found some issues. I don't know what PATH does Poweramp return, or how can I get the ABSOLUTE path to make my app able to access files in the same directory. It seems that Poweramp installed on some devices returns "primary/XXX/XXX.mp3", and on some others returns "/mnt/internal_sd/XXX/XXX.mp3", varying from device to device(maybe? I don't have enough devices to prove). What's worse, deeply-customized Android OSs and various Android devices add to the difficulty of fetching the correct path. TL;DR: Sorry for my nonsense, in short words what I want to know is that: How to get the correct absolute path of each file? (If possible) how does Poweramp process the Poweramp.Track.PATH before it is put into an Intent? Thanks!
×
×
  • Create New...