On Fedora Linux for years I have had a Ruby script which creates a list of MP3s from a directory, randomises the order of the list and then plays the list using mpv.

I have mpv (2023-11-30-release) for Android - what would be the simplest way to reproduce the Ruby script for Android? - I have played around with rooting my phones in the past but I would prefer not to have to do that this time.

I followed the advice in one of the comments and executed termux-setup-storage, but faced the error:

line 24: 6262 Aborted
  • You may be able to execute your script in Termux app after executing termux-setup-storage to get access to your media files.
    – Robert
    Commented Feb 1 at 8:15
  • 1
    If you are using a specific MPV player app on Android, you should edit your post to link to it, and mention which version you are running. Note that the creator of the MPV app may have additional features for play order/sorting which might be able to cover your needs. Commented Feb 2 at 2:33
  • I see you have reverted your question without changes. If you have found an answer and no longer wish to interact with this community, you can delete the question. If you wish to engage with this community more info is required about what you've tried. By avoiding rooting, it is helpful for readers to know which app you are using, perhaps this one: play.google.com/store/search?q=mpv+android&c=apps and what steps you've taken to get it work the way you want. For example have you tried adding/playing a .m3u file with the audio files in your desired order. No one knows unless you say. Commented Jun 9 at 2:41
  • 1
    Hi Philip. Your writing might be better than ours (and we are not disputing that either), but we do follow a convention on our Q&A site that questions and answers must have only that much information that helps to understand and resolve a problem. Salutations do not help with that, so our site members tend to edit them out. Please don't consider an edit as a correction of your writing. :-)
    – Firelord
    Commented 2 days ago


You must log in to answer this question.

Browse other questions tagged .