Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Streaming MPD-over-http to my computer has drop-outs
#13
(08-28-2023, 07:09 AM)hestehandler... Wrote: ....

Would you have alternate suggestions to this scenario:
I have a *copy* of my music library on a one-disk NAS. Moode than mounts this library read-only. This works excellently. Here is the problem: Sometimes I want to listen to that music at my computer where my headphones are. Making an alternate library in Apple Music is a no-go. It takes ages to scan the library, and I would have to do that every time I add music to the NAS. I think the best way to do this is to use Moode in some capacity to get the audio from Moode to my computer, but http streaming is a problem. Are there other alternatives?

The problem you are experiencing streaming your M4A tracks via MPD's HTTP server plugin is an interesting one to me just because I like tech puzzles, but I have to admit I don't understand your choice of scenario.

If your music library is on a NAS, why not chose a music player for the Mac which can access network drives and play your tracks directly? I have never had or used a Mac so I'm not in a position to name one. A quick Google search suggests there are both free//open source players and reasonably priced ones available. Features vary, of course. 

Even using VLC I can imagine several ways to play tracks directly from your NAS
  • mount the NAS on your Mac (however that's done) and play the tracks via Media > Open File, or
  • enter the full path name of a track as a network URL in Media > Open Network Stream > Network Protocol (this is definitely not user friendly!)
The network URL would be something like smb://<your nas>/<path on your nas> and is the same basically as how MPD accesses the track.

A third choice would be to transcode your M4A material to FLAC (or MP3) in advance so MPD doesn't have to transcode on the fly using ffmpeg.

By the way, M4A is just shorthand for an audio-only MPEG4 multimedia container. You don't know what's in the container until you look---the contents could have AAC or some other lossy or lossless encoding. That's why I used ffprobe to examine my test track.

Regards,
Kent
Reply


Messages In This Thread
RE: Streaming MPD-over-http to my computer has drop-outs - by TheOldPresbyope - 08-28-2023, 12:04 PM

Forum Jump: