Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upmpdcli #3

Closed
jymyj opened this issue Dec 14, 2023 · 15 comments
Closed

upmpdcli #3

jymyj opened this issue Dec 14, 2023 · 15 comments

Comments

@jymyj
Copy link

jymyj commented Dec 14, 2023

Dear developper,

I have just installed nextcp2 and it detects all AV UPnP servers and renderers connected to my local network, but the upmpdcli renderer, although it is detected by my other CPs (e.g. upplay).

upmpdcli and nextcp run on the same machine. A detailed log is attached that shows an error related to upmpdcli detection (line 4164).

console-export-2023-12-13_18-27-53.txt

@ik666
Copy link

ik666 commented Dec 14, 2023

Could you please also provide the nextcp2 server logs. I think upplay and upmpdcli are from the same developer, therefore they work good together ...

Did you build the software from source, or downloaded a release?

@jymyj
Copy link
Author

jymyj commented Dec 14, 2023

I downloaded the java archive.
A brand new log is attached.
The name of the upmpdcli is "MusicMaid - Playback"
nextcp2.zip

@sf666
Copy link
Owner

sf666 commented Dec 19, 2023

From the logs I cannot see anything. It looks like all services are registered just fine. Maybe a TRACE log level could help more.

I've also added 2 new releases. Please try 2.6.1 which uses the latest jupnp driver library.

@jymyj
Copy link
Author

jymyj commented Dec 19, 2023

I just installed and run the last version in TRACE logging mode. The situation did not improve. The log is attached.

nextcp2.zip

@sf666
Copy link
Owner

sf666 commented Dec 19, 2023

Dou you have another control point in use, that show's upmpdcli as a media renderer, like BubbleUPnP or LINN ?

@jymyj
Copy link
Author

jymyj commented Dec 19, 2023

Yes, three of them. They all show upmpdcli as a renderer. NextCP is the only one not to show it.

@padacha
Copy link

padacha commented Aug 14, 2024

Sorry to jump in, I have a similar problem with nextcp2.
It detects a MinimServer running in my local network but not MediaPlayer on the same network (MediaPlayer isn't shown in "Media Renderer").

NextCP runs in docker container on my QNAP NAS and the MinimServer runs on the same device. The NextCP container is pingable to every host on the network where the MediaPlayer (raspberry pi) works.
FYI, BubbleUPnP controller app can find it.

The log is attached below. Could you help me inspect the problem?
(I'm sorry for poor English since I'm not a native speaker.)
nextcp2.log

@sf666
Copy link
Owner

sf666 commented Aug 15, 2024

Hi padacha. If nextcp2 is started within a docker container, please add --net=host to the docker run ... command like

docker run --net=host [your start parameter]
MediaPlayer will show up.

Maybe it's worth using UMS media server as a music backend, because some functionality (i.e. playlist support : editing / sidebar display or global search) may not be supported in MinimServer UPnP stack (yet).

@sf666
Copy link
Owner

sf666 commented Aug 15, 2024

You could also try version 3.0 I've just released. It has an updated UPnP stack and some other improvements ...

@padacha
Copy link

padacha commented Aug 17, 2024

Thank you for your advice and new release.
As you said, the MediaPlayer has shown up by adding --net=host to docker run ... !
In turn, however, my nextcp2 shows MinimServer as "OFFLINE" although it works (I guess it is due to the docker network but don't have any further idea...).

Just for your information, the docker command is below and Dockerfile is attatched.
docker run --net=host --restart=always -d --name nextcp2_dev nextcp2:latest
Dockerfile.txt

I began to think about using UMS media server instead or MinimServer on a docker container.
I would like to add to this comment if any solution found.

@sf666
Copy link
Owner

sf666 commented Aug 19, 2024

@padacha All UPnP member devices must be on the same network to see each other. Do you also start MinimServer in a docker container? If so, please also add --net=host to the docker run command.

I think, there is also a docker container for UMS you can try out ...

@jymyj
Copy link
Author

jymyj commented Oct 19, 2024

I have tried the new version but my mpd instance is still not identified by NectCP (through upmpdcli). A log is attached.
nextcp2.log

@sf666
Copy link
Owner

sf666 commented Oct 21, 2024

@jymyj Yeah, I see only the Upmpdcli media server is found ... I believe I need to install a copy of umpmdcli client to test this. I have not a running version yet on my system ...

@sf666
Copy link
Owner

sf666 commented Oct 29, 2024

@jymyj , @padacha I have installed a MPD/upmpdcli in an docker environment from here :
https://hub.docker.com/r/giof71/mpd-alsa and https://github.com/GioF71/upmpdcli-docker?tab=readme-ov-file.

For showing up in other control points it seems like you have to enable UPnP AVTransport Services. With the docker image add -e UPNPAV=1 to the docker run command.

By default in upmpdcli AVTransport services are not enabled.

@sf666 sf666 closed this as completed Oct 29, 2024
@jymyj
Copy link
Author

jymyj commented Nov 2, 2024

Indeed, this small change in the upmpdcli config makes things appear in the NextCP interface. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants