The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Thank you for your donation!


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


Problem: MPD caching old IP for NAS
#1
Moode release: 6.7.0 2020-07-19
Platform info:
  • RaspiOS: 10.3
  • Linux kernel: 5.4.51-v7+ #1325
  • Platform: Pi-3B 1GB v1.2
  • Architecture: armv7l
  • MPD version: 0.21.24
NAS:
Synology DS916+
DSM 6.2.3-25426 Update 2

I've been using Moode really happily since a friend turned me onto it, much more stable than the previous player (Volumio) I was using. So this is my first actual problem!

A few days ago my router blew up. I'm currently running on a temporary router, pending getting a decent replacement. This means that both my Pi and my NAS are now running on new IPs. Everything is on DHCP, and normally I would reserve IPs for key items, rather than assign static addresses (hangover from the day job, where fudging with statics just causes problems on larger networks).

Both the Pi and the NAS are quite happy on their new IPs, and I have cleared the old NAS mount (SMB) and set up a new connection to the new IP address, which mounts fine. DS Audtio on the NAS sees the Pi as a player target.

However, when attempting certain tasks, either from Moode or via DS Audio, I am getting MPD errors which refer to the previous IP of the NAS. I am also unable to actually playback via DS Audio - it attempts playback, but each item in a playlist just skips through quickly with no output, which is DS Audio behaviour when it's unable to communicate with a player and/or find a track itself. The same playlist runs fine when the output is set to the computer (browser-based access) or phone (app-based).

I've tried adding the NAS as a UPnP device, which allows playback directly from Moode, but screws up some of the album art links and also sometimes throws MPD errors on the old IP, even though the audio plays. However, playback via DS Audio still fails.

I have cleared/restarted MPD, and have removed all music sources and re-added, as well as regenerating the library and album art.

I can't find any way to get Moode to flush the old IP for the NAS. I do have ssh access, but not enough knowledge of the bowels of Moode to work out which bit to poke Smile

Any pointers gratefully received. I'd rather solve this elegantly, but if need be I'll try shoving everything back on the previous IPs manually. It's only a small home LAN, so not the end of the world, but ... I'm assuming that shouldn't be necessary.

Thanks.
Reply


Messages In This Thread
MPD caching old IP for NAS - by Snags - 08-16-2020, 08:20 AM
RE: MPD caching old IP for NAS - by Snags - 08-16-2020, 02:07 PM
RE: MPD caching old IP for NAS - by Snags - 08-16-2020, 02:09 PM
RE: MPD caching old IP for NAS - by Tim Curtis - 08-16-2020, 02:40 PM
RE: MPD caching old IP for NAS - by Snags - 08-16-2020, 02:53 PM
RE: MPD caching old IP for NAS - by Snags - 08-16-2020, 03:03 PM
RE: MPD caching old IP for NAS - by Snags - 08-16-2020, 03:16 PM
RE: MPD caching old IP for NAS - by Strider - 08-16-2020, 04:13 PM

Forum Jump: