User Tools

Site Tools


mpd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
mpd [2024/07/21 17:09] – small note on radio hosting rjtmpd [2024/07/24 11:51] (current) – [Playlists] better info on non-mpd playlists rjt
Line 113: Line 113:
 The ''playlist_directory'' you configure is meant for [[playlists|playlists]] made with MPD. Deceptively, it uses ''.m3u'' files, but they're not standard (m3u is barely a standard...): They're a [[plaintext|plain]] list of file paths relative to configured ''music_directory'', they work just fine with [[Unicode]], they  don't use the ''#EXTM3U'' header, and if you create them outside of MPD and put them here they won't read the first line. The ''playlist_directory'' you configure is meant for [[playlists|playlists]] made with MPD. Deceptively, it uses ''.m3u'' files, but they're not standard (m3u is barely a standard...): They're a [[plaintext|plain]] list of file paths relative to configured ''music_directory'', they work just fine with [[Unicode]], they  don't use the ''#EXTM3U'' header, and if you create them outside of MPD and put them here they won't read the first line.
  
-You can, however, load many kinds of playlists from other directories, but I've had mixed results with this: [[MPDroid]] doesn't seem to see playlists in ''music_directory'', so I've only had luck using absolute paths; [[ncmpcpp]] shows playlists from ''playlist_directory'' and ''music_directory'' on the browse page, and the ones in ''music_directory'' work fine with relative paths.+You can, however, load many kinds of playlists from other directories, but I've had mixed results with this. Typically the playlists are not shown in the regular playlist view, but can be loaded from the general file browser. [[Metadata]] in m3u playlists doesn't seem to show: 
 + 
 +  * [[MPDroid]] doesn't seem to see playlists in ''music_directory'', even in the file browser. 
 +  * [[ncmpcpp]] shows playlists from ''playlist_directory'' and ''music_directory'' on the browse page
 +  * [[MALP]] doesn't show playlists in file browser. 
 +  * [[ymuse]] shows playlists in file browser, but can't load songs unless they use absolute paths. Web URLs don't even work.
  
 If you do want to manually make playlists by hand, or by exporting from your [[music_player]], give them an ''.m3u'' extension, leave the first line blank, make the paths relative to the configured ''music_directory'', and don't add anything else. If you do want to manually make playlists by hand, or by exporting from your [[music_player]], give them an ''.m3u'' extension, leave the first line blank, make the paths relative to the configured ''music_directory'', and don't add anything else.
Line 133: Line 138:
  
 If you load this in MPD, then resave it, it'll sort out that first line silliness. If you load this in MPD, then resave it, it'll sort out that first line silliness.
- 
-You can load 'playlist plugins' via the config file to enamble other file formats, but I haven't had any luck using this to improve the .M3U support. No luck with using fancy features for extm3u for example, I was hoping I could use ''#EXTINF'' to name radio streams. Might just be how the version I have was compiled. 
- 
-  * https://mpd.readthedocs.io/en/latest/plugins.html#playlist-plugins 
  
 ==== Cover Art ==== ==== Cover Art ====
mpd.1721545791.txt.gz · Last modified: 2024/07/21 17:09 by rjt