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
Next revision
Previous revision
mpd [2024/07/11 23:37] – [Notes on Clients] MALP rjtmpd [2024/07/24 11:51] (current) – [Playlists] better info on non-mpd playlists rjt
Line 1: Line 1:
 ====== MPD ====== ====== MPD ======
  
-**MPD** (__M__usic __P__layer __D__aemon) is a light-weight server for streaming music. Because it's a //server// you'll also need a client to tell the server what to do, but this setup means you can run the server on one computer, and use a number of other devices to control it.+**MPD** (__M__usic __P__layer __D__aemon) is a light-weight server for streaming music. Because it's a //server// you'll also need a //client// to tell the server what to do, but this setup means you can run the server on one computer, and use a number of other devices to control it and play the audio from it. I believe you can set things up to have multiple streams even.
  
 ===== Notes on Clients ===== ===== Notes on Clients =====
Line 7: Line 7:
   * [[ncmpcpp]] - [[Curses]]-based client that seems more full-featured than any of the available GUI ones. Good tag management, which includes being [[Picard]]-friendly. Because my NAS doen't have any kind of audio hardware I still need a [[music player]] that can handle streams ([[MPlayer]], [[ffmpeg]], [[vlc]], etc.---even a [[web browser|web browser]] works) to actually hear the audio.   * [[ncmpcpp]] - [[Curses]]-based client that seems more full-featured than any of the available GUI ones. Good tag management, which includes being [[Picard]]-friendly. Because my NAS doen't have any kind of audio hardware I still need a [[music player]] that can handle streams ([[MPlayer]], [[ffmpeg]], [[vlc]], etc.---even a [[web browser|web browser]] works) to actually hear the audio.
   * [[MPDroid]] - It's the only [[Android]] client in [[F-Droid]] that works on [[samsung_sm-t330|my old tablet]] (Android 4.4).   * [[MPDroid]] - It's the only [[Android]] client in [[F-Droid]] that works on [[samsung_sm-t330|my old tablet]] (Android 4.4).
-  * [[MALP]] - Android client that's pretty similar to [[MPDroid]], but kinda still being worked on. Playlist management features are lackingdoesn't play audio. I prefer MPDroid.+  * [[MALP]] - Android client that's pretty similar to [[MPDroid]], but kinda still being worked on. In the past I preferred MPDroidbut I've come round to this after trying it again. I'd thought it didn't play audio, but it does.
   * [[Ymuse]] - Simple GUI client.   * [[Ymuse]] - Simple GUI client.
  
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 137: Line 142:
  
 MPD now supports cover art. It'll grab any image in the same directory as the file called ''cover.[png|jpg|tiff|bmp]''. MPD now supports cover art. It'll grab any image in the same directory as the file called ''cover.[png|jpg|tiff|bmp]''.
 +
 +==== Streaming ====
 +
 +You can use mpd to host an [[internet radio]] stream using shout/ice cast.
 +
 +  * https://mpd.readthedocs.io/en/latest/plugins.html#shout
  
 ===== See Also ===== ===== See Also =====
mpd.1720705067.txt.gz · Last modified: 2024/07/11 23:37 by rjt