Thank you for your donation!


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


Solved: Moode 8.3.0 RPi 1B+ - UPnP-Renderer doesnt show up
#21
(03-20-2023, 12:46 PM)Tim Curtis Wrote: If your music collection is on a UPnP Media Server then the moOde Library is out of the picture. It's only applicable for  collections on locally attached storage (USB Drive or uSD Card) or NAS via Samba or NFS file sharing.

The UPnP Client for MPD in moOde functions as a UPnP Media Renderer. Your UPnP control point (VLC, etc) should list "Moode UPNP" as a renderer.

ok, but calling it "UPnP Client" is rather confusing to me...

Meanwhile I have tried a simple hack that works, by mounting the UPnP Media Server as a local fs using djmount. Let me detail here for the records, maybe other users might be interested:

    # Install djmount
    sudo apt install djmount
    sudo mkdir /mnt/UPNP

    # Test
    sudo djmount /mnt/UPNP
    ls -l /mnt/UPNP/*
    sudo umount /mnt/UPNP

    # Make permanent
    sudo tee /lib/systemd/system/djmount.service << EOF
    [Unit]
    Description=DJMmount
    Documentation=man:djmount
    After=network.target

    [Service]
    ExecStart=/usr/bin/djmount -o iocharset=utf8,allow_other /mnt/UPNP
    Type=forking
    Restart=always
    RestartSec=5s
    StandardOutput=syslog
    StandardError=syslog
    SyslogIdentifier=djmount
    User=root
    Group=root

    [Install]
    WantedBy=multi-user.target
    EOF

    # Run the djmount service
    sudo systemctl enable djmount
    sudo systemctl start djmount
    sudo systemctl status djmount
    ls /mnt/UPNP/*

My music can then be accessed by ls /mnt/UPNP/Universal\ Media\ Server/

I was expecting, after reboot, that "UPNP" appears in the left MoOde menu "library", since there is an entry in /mnt, but nope. Then I added a link

    sudo ln -s /mnt/UPNP/Universal\ Media\ Server/ /mnt/SDCARD/my-ums

Still, "Update Library" made nothing, but Configure / Library / Regenerate database worked: I was able to see in the Library menu, in SDCARD, the directory my-ums and browse and play the files.

The caveat is that djmount is rather buggy with large collection, and also, since MoOde scans each file to generate the thumbnails, it costs a lot of time (an hour in my case).

A solution might be :
- replace djmount by another more recent daemon, but which one?
- disable the thumbnails generation, but how ?

I have also checked another solution without UPnP, by exporting my musing with Samba; but the database regeneration is still slow (some minutes) because of the thumbnails. Is there somewhere a flag to disable the thumbnails generation? It might be a very interesting option for me.
Reply


Messages In This Thread
RE: Moode 8.3.0 RPi 1B+ - UPnP-Renderer doesnt show up - by noisavn1 - 03-21-2023, 09:40 AM

Forum Jump: