Moode Forum
[SOLVED] Add UPnP Music Source - 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: [SOLVED] Add UPnP Music Source (/showthread.php?tid=1637)

Pages: 1 2 3 4


Add UPnP Music Source - Onionhead - 08-18-2019

Since moOde 5.0 been unsuccessful determining the root cause let alone solution for the frequent but inconsistent mpdignore error when adding an NFS music source ( Synology NAS DSM v 6.2). Just wondering with moOde 6.0 there is a possibility to overcome the above problem using UPnP? Has anyone used the UPnP feature in 6.0?  On the NAS there are a few available packages Plex, Media Server, and MinimServer would any of one of the these likely work with moOde 6.0?

Solved using code see posts #32 and  #33. Thank TC


RE: Add UPnP Music Source - hjheins - 08-26-2019

Hi,

I was more or less wondering the same.  Smile
For my main system I am still using a moode 4.4 with djmount to mount upnp sources.
This works well.
I saw as well taht upnp is supported in version 6.
I downloaded a copy of moodeaudio 6.1 and installed it on a test machine.

However when choosing upnp as source, I can not type in the box to give the name/location, and the scan button doesn't seem to give any results (the list stays empty).

How is this supposed to work please?

Too fast (or maybe: the scan is too slow  Smile ).
Pressing the "scan button" indeed finds the upnp available in the network. Just select the unpn source, save and you are done. This seems to be the easiest way to add a source.

Will now test the sound quality.

thank you,

Hendrik-Jan


RE: Add UPnP Music Source - hjheins - 08-27-2019

Right, I had this working once.
The scan actually found my upnp source, and it played well.
However, on a reinstall, I can not get moode to find any upnp sources on scan.
How odes this work/how can I get it to find any source?
I saw that when it worked, moode used djmount. When i could not get any source, it seemed like the system also never made a call to djmount?

Hendrik-Jan


RE: Add UPnP Music Source - Tim Curtis - 08-27-2019

Verify the UPnP Media Browser is turned on. The setting in the UPnP/FLNA section of Audio Config.


RE: Add UPnP Music Source - hjheins - 08-27-2019

Thank you Tim, that indeed made a difference.
However: after doing that, adding my upnp source, and updating the library, I rebooted.
Now, moode is not there anymore.
On ssh I can get in, ngnix seems to be running and so does php, but moode (as website and locally on a local screen), s no longer available.
This seems reproducable; it happened to me the first time as well (hence the reinstall).
Is there any way to recover the moode site/frontend?

[one hour later]
It is now about an hour later, and I was actually out for an ice cream, leaving the raspberry on.
now everything is working again? I rebooted as a test, and it boots up immediately including the web service.
Could it be that setting upnp makes something fall into a time-out somewhere which causes this?
[/one hour later]


thanks,

Hendrik-Jan


RE: Add UPnP Music Source - Tim Curtis - 08-27-2019

If it fails again try ssh and then post the moode log

Code:
moodeutl -l



RE: Add UPnP Music Source - hjheins - 08-27-2019

Please find the log:

Code:
$ moodeutl -l
20190827 182813 worker: - Start
20190827 182813 worker: Successfully daemonized
20190827 182813 worker: Integrity check (passed)
20190827 182813 worker: Session loaded
20190827 182813 worker: Debug logging (off)
20190827 182814 worker: ALSA volume set to (0%)
20190827 182814 worker: - Platform
20190827 182816 worker: Rel  (Moode 6.1.0 2019-08-18)
20190827 182816 worker: Rasp (10.0)
20190827 182816 worker: Kern (4.19.66-v7+)
20190827 182816 worker: MPD  (0.20.23)
20190827 182816 worker: Host (moode)
20190827 182816 worker: Hdwr (Pi-3B+ 1GB v1.3)
20190827 182816 worker: Arch (armv7l)
20190827 182816 worker: Gov  (ondemand)
20190827 182816 worker: USB boot enabled
20190827 182816 worker: File system not expanded yet
20190827 182816 worker: HDMI port off
20190827 182816 worker: File check (OK)
20190827 182816 worker: - Network
20190827 182817 worker: eth0 exists
20190827 182817 worker: eth0 (192.168.1.103)
20190827 182817 worker: wlan0 does not exist
20190827 182817 worker: - Audio
20190827 182817 worker: ALSA outputs unmuted
20190827 182817 worker: ALSA card number (0)
20190827 182817 worker: Audio output (On-board audio device)
20190827 182817 worker: ALSA mixer name (PCM)
20190827 182817 worker: MPD volume control (software)
20190827 182817 worker: Hdwr volume controller exists
20190827 182817 worker: - Services
20190827 182817 worker: Reset renderer active state
20190827 182818 worker: MPD conf updated
20190827 182818 worker: MPD started
20190827 182818 worker: MPD accepting connections
20190827 182818 worker: Configure MPD outputs
20190827 182818 worker: MPD output 1 ALSA default (on)
20190827 182818 worker: MPD output 2 ALSA crossfeed (off)
20190827 182818 worker: MPD output 3 ALSA parametric eq (off)
20190827 182818 worker: MPD output 4 ALSA graphic eq (off)
20190827 182818 worker: MPD output 5 ALSA polarity inversion (off)
20190827 182818 worker: MPD output 6 ALSA bluetooth (off)
20190827 182818 worker: MPD output 7 HTTP stream (off)
20190827 182818 worker: MPD crossfade (off)
20190827 182818 worker: Audio source (Local)
20190827 182818 worker: Output device (Local)
20190827 182819 worker: UPnP browser started
20190827 182819 worker: - Music sources
20190827 182819 worker: USB sources (none attached)
20190827 182819 worker: NAS and UPnP sources (mountall initiated)
20190827 182819 worker: - Miscellaneous
20190827 182819 worker: Saved MPD vol level (0)
20190827 182819 worker: Preamp volume level (0)
20190827 182819 worker: MPD volume level (0) restored
20190827 182819 worker: ALSA volume level (100%)
20190827 182819 worker: Auto-play (Off)
20190827 182819 worker: Maintenance interval (6 hrs)
20190827 182819 worker: Screen saver activation (Never)
20190827 182819 worker: Session permissions (OK)
20190827 182819 worker: Watchdog started
20190827 182819 worker: Ready
Hendrik-Jan


RE: Add UPnP Music Source - Onionhead - 08-27-2019

(08-26-2019, 09:49 AM)hjheins Wrote: Hi,

I was more or less wondering the same.  Smile
For my main system I am still using a moode 4.4 with djmount to mount upnp sources.
This works well.
I saw as well taht upnp is supported in version 6.
I downloaded a copy of moodeaudio 6.1 and installed it on a test machine.

However when choosing upnp as source, I can not type in the box to give the name/location, and the scan button doesn't seem to give any results (the list stays empty).

How is this supposed to work please?

Too fast (or maybe: the scan is too slow  Smile ).
Pressing the "scan button" indeed finds the upnp available in the network. Just select the unpn source, save and you are done. This seems to be the easiest way to add a source.

Will now test the sound quality.

thank you,

Hendrik-Jan

@ Hendrik-Jan

Ok I will be a little more patient. Hope this works as I have been unable to move from v 4.4 due to the NAS .mpdignore errors. 



RE: Add UPnP Music Source - hjheins - 08-27-2019

@Onionhead :

Everything seems to work fine now.
I updated a system that was on moode 4.4 with added scripts for upnp sources, local touch screen and soft-on/off button (and various other updates and small mods)
The transition to moode 6.1 was fairly smooth. Besides install and config, I only needed to add some radio stations, add the soft on/off scripts. I omited the onscreen keyboard chrome extension, as moode now allows you to jump through the music list .

All seems very smooth and sounds good.

as far as I can see, if you are using UPNP sources, you can use this release.

cheers,

Hendrik-Jan


RE: Add UPnP Music Source - hjheins - 08-28-2019

@Tim,

I found why it took so long before the GUI was available:
I had switched the Pi to WiFi and had the setting wait for IP on ETH0 in moode set to "on", this caused moode to delay the start of the web service.

thank you for your support!

Hendrik-Jan