Moode Forum
Streaming MPD-over-http to my computer has drop-outs - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: Streaming MPD-over-http to my computer has drop-outs (/showthread.php?tid=5747)

Pages: 1 2


RE: Streaming MPD-over-http to my computer has drop-outs - Nutul - 08-28-2023

(08-28-2023, 10:49 AM)DRONE7 Wrote: I recall there was some thread about managing all files to stream at one sample rate...

Found! ( and Al was part of so may have more insight as to how to)

https://moodeaudio.org/forum/showthread.php?tid=5311&highlight=HTTP+STREAMING

Wow, you remember better than me!!! :-D

He's using AAC which is lossy, therefore selecting MP3 as the type of http streaming should make no difference, and have him covered for the interruptions.

I am not sure, but probably the same can be achieved using SOX (although heavier...) if one wants higher quality stream?


RE: Streaming MPD-over-http to my computer has drop-outs - Tim Curtis - 08-28-2023

Try installing VLC media player. IIRC you first connect to your NAS share using Finder and then open the share in VLC. You should then be able to play your music files locally on the Mac.


RE: Streaming MPD-over-http to my computer has drop-outs - TheOldPresbyope - 08-28-2023

(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


RE: Streaming MPD-over-http to my computer has drop-outs - TheOldPresbyope - 08-28-2023

.and of course Tim got his answer in while I was taking my time to make coffee as I typed Tongue


RE: Streaming MPD-over-http to my computer has drop-outs - hestehandler - 08-28-2023

Tim didn’t read my post very well. I reported that using VLC there was drop-outs, then Tim suggested I install VLC.

So. MPD does work on the Mac, and I am happy with that. Due to a bug in Samba the share will have to be mounted rather than pointed with a smb://… address, but that is cosmetic.

Also of note: The syntax of MPD configuration options are not described in the documentation. If you guess incorrectly you get a very strange error in Homebrew’s services system.


RE: Streaming MPD-over-http to my computer has drop-outs - Tim Curtis - 08-28-2023

(08-28-2023, 12:57 PM)hestehandler Wrote: Tim didn’t read my post very well. I reported that using VLC there was drop-outs, then Tim suggested I install VLC.

So. MPD does work on the Mac, and I am happy with that. Due to a bug in Samba the share will have to be mounted rather than pointed with a smb://… address, but that is cosmetic.

Also of note: The syntax of MPD configuration options are not described in the documentation. If you guess incorrectly you get a very strange error in Homebrew’s services system.

U reported using VLC on your Mac to play an HTTP stream being sent from MPD on a Pi. My suggestion was to use VLC on your Mac to read the files directly from your NAS. 

Try connecting to your NAS share using Finder and then access the NAS files using VLC.


RE: Streaming MPD-over-http to my computer has drop-outs - hestehandler - 08-29-2023

(08-28-2023, 01:56 PM)Tim Curtis Wrote:
(08-28-2023, 12:57 PM)hestehandler Wrote: Tim didn’t read my post very well. I reported that using VLC there was drop-outs, then Tim suggested I install VLC.

So. MPD does work on the Mac, and I am happy with that. Due to a bug in Samba the share will have to be mounted rather than pointed with a smb://… address, but that is cosmetic.

Also of note: The syntax of MPD configuration options are not described in the documentation. If you guess incorrectly you get a very strange error in Homebrew’s services system.

U reported using VLC on your Mac to play an HTTP stream being sent from MPD on a Pi. My suggestion was to use VLC on your Mac to read the files directly from your NAS. 

Try connecting to your NAS share using Finder and then access the NAS files using VLC.

I’m not going to manually pull in files from a NAS to VLC. Will it work? Yes of course it will, but that kind of kludge is the very reason we’d rather use library players like MPD.


RE: Streaming MPD-over-http to my computer has drop-outs - Nutul - 08-29-2023

@hestehandler so, in the end, have you tried setting the http stream quality to mp3 instead of flac?