Replies: 4 comments 2 replies
-
Could you help me understand how filepaths work in M3U? Or what works / what would be expected? Like, if it were to work like the existing export XSPF function, the paths would be full paths to where they are on your PC, does that work on your Android device as is? Also what cleanup are you preforming? |
Beta Was this translation helpful? Give feedback.
-
Hi @Taiko2k ! Very sorry for the late response. You are correct that M3U could potentially contain file-paths that are unique to my PC (for example
You can also have absolute file paths, something like this:
In that case I would need to use sed or awk to replace the: The main challenge that I'm facing is that VLC will allow you to open up an XSPF playlist file and save it as an M3U file, but there is a bug in their implementation. The metadata information it generates is corrupted and somehow causes Musicolet on Android to fail and import the M3U file. For example VLC will generate a M3U like this:
Notice that the metadata lines (for any track past the first track) actually include the file name.
These should actually be:
My solution for now is to simply remove all the metadata lines:
I can do this in vim fairly easily, but it's still a pain as I have to:
Luckily Musicolet will follow the filepaths from the M3U file and just pull the metadata from the MP3 file itself. It would be fantastic if you could implement a feature to just dump out an M3U file. I'm not sure if you would want to do absolute pathing or relative pathing (absolute would probably be preferable from the application's perspective). Even without the extra metadata lines it would be very beneficial. Let me know if you have any other questions. I'm a developer myself but I focus on web applications - Javascript, C#, React, Node.js, etc. I might be able to assist if you think there's an overlap in the skills required! |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for consideration of this feature. I've found some additional information on the M3U format here: https://en.wikipedia.org/wiki/M3U I was confused about the numeric value that appears in the So:
Would equate to a song that is 154 seconds in length. |
Beta Was this translation helpful? Give feedback.
-
The minimum effort M3U8 file (UTF-8 version of M3U) is just:
It’s accepted by iTunes and VLC. |
Beta Was this translation helpful? Give feedback.
-
I love TauonMusicBox and am a sponsor of the project.
I use the sync playlist to copy my music to my Android device which works wonderfully. The app I use for offline music playback is called Musicolet and is a great Android music player and manager.
Unfortunately Musicolet only supports playlists in the M3U format, and Tauon only exports playlists to XSPF. I've been able to use VLC to open the XSPF file, save it as an M3U and then perform some manual cleanup, but this is quite time consuming.
It would be really nice/convenient to support exporting playlists directly to M3U and I would really appreciate if this feature was considered.
Thanks!
Rob
Beta Was this translation helpful? Give feedback.
All reactions