Streaming .m3u playlists of LibriVox URLs; add file to each page
Posted: July 28th, 2022, 5:53 am
I was thinking that it would be a good idea to make .m3u playlists for each LibriVox project, and put an .m3u file on each page. You can stream the files that way (with a media player program like mpv), instead of downloading the audiobook first. So, you can spend less time downloading, and more time listening. And, you don't have to take up a bunch of space on your device, either.
To make such a playlist, all you need to do it is make a file ending with the extension .m3u in a text editor, and put the URLs for the MP3s each on their own line in order.
Then, if the playlist is named someBook.m3u, people can just open that with their media player of choice, and away they go. They don't have to take up much space on their device, and they can start listening to the whole book right away.
In my case, I like to use mpv for my media player (via Termux on Android) because I can make it save my position, it's easy to navigate quickly, it's fast, it streams online files (but it's seemless, and it seems like they're downloaded), etc. If the playlist was called someBook.m3u, I could make a simple script with this command to play it: `mpv --save-position-on-quit someBook.m3u`, for instance (or just type it out every time, which would be slower).
Anyway, then after we have them for every page, we could make a zip file that contains an m3u for every single book. Then, people can download that file, and have quick access to the entire LibriVox library with hardly any effort.
To make such a playlist, all you need to do it is make a file ending with the extension .m3u in a text editor, and put the URLs for the MP3s each on their own line in order.
Then, if the playlist is named someBook.m3u, people can just open that with their media player of choice, and away they go. They don't have to take up much space on their device, and they can start listening to the whole book right away.
In my case, I like to use mpv for my media player (via Termux on Android) because I can make it save my position, it's easy to navigate quickly, it's fast, it streams online files (but it's seemless, and it seems like they're downloaded), etc. If the playlist was called someBook.m3u, I could make a simple script with this command to play it: `mpv --save-position-on-quit someBook.m3u`, for instance (or just type it out every time, which would be slower).
Anyway, then after we have them for every page, we could make a zip file that contains an m3u for every single book. Then, people can download that file, and have quick access to the entire LibriVox library with hardly any effort.