I'm not sure how to start this but I do want to get a degree of consistency across my home network. Probably best to describe it.
2 main rooms each with a sound system and each sound system attached to a Raspberry Pi, unfortunately of different ages. 2 android devices (1 phones, 1 tablet) for control of said.
Pi-G (my nomenclature) - Pi 3 Model B V1.2
runs Linux 4.19.93-v7+ #1290 SMP Fri Jan 10 2020
Raspbian (ie Debian)
BubbleUPnPServer 0.9-5_all.deb
gmediarender 0.0.7-git; 0.0.7-git
minidlna 1.2.1
Java
OpenJDK 1.8.0_212
runtime ~8u212-b01-1+rpi1
clientVM 25.212-b01
Pi-H - Pi 2 Model B V1.1
runs Linux 4.1.19-v7+ #858 SMP Tue Mar 15 2016
Raspbian (ie Debian)
BubbleUPnPServer 0.9-4_.all.deb
gmediarender 0.0.7-git; 2015-11-04_4003616
minidlna 1.0.24
Java
(Oracle) 1.8.0
SE Runtime -b132
VM 25.0-b70
I assume the 2 Android devices all use the same version (kept up-to-date automatically)
Each of the 'media servers' runs gmediarender and minidlna as per many suggested setups around the web.
Pi-H works the way I want it to. Playlists start at the top and gradually work down to the bottom. I do get error messages on the Android devices occasionally but they disappear before I get around to remembering how I do a screen shot. BubbleUPnPServer is set up (via :58050) the same on both Pis. I use the "openhome" version of the renderer. Assuming the minidlna 'server' has the files indexed everything works well. The 'played' time counts up and the 'to go' time counts down.
Using Pi-G to serve the files doesn't work well even using the same controller. Playlists only play one tune at a time at best (oh, options are set up the same way from what I can see but from memory these are controlled more by the controlling device (the Android tablet)). Possible to set up the playlist and choose a library from any device but when you try to play it, it either plays each track individually or you get an error message "Current state of the service prevents invoking that action. Error reading response message. Can't transform message payload: .org.fourthline.cling.b.a.c: the argument value is invalid. Invalid number of input or output arguments in XML message, expected 3 but found 0.. (code 501)".
I suspect that it is the OpenJDK that is the problem but it is the same using versions 8, 9 or 11. (I have all 3 now installed and use 'update-alternatives' to switch between the versions) I have tried to install the same Oracle version of the SDK and JDK but haven't been able to do so to see whether that is the real problem.
Are there other log files that shows what is going on with the server or controller? The one I found on the server resides in the same directory as the .jar, .bat and .sh files. Is there anyway of setting this to go to /var/log? A whole heap of gobbledegook in it and lots of warnings but nothing that really stands out. Is it possible to change the loglevel on the .jar file easily? and also some of the other parameters? Using the :58050 webpage would make some sense although a .conf file on the system would fit better with linux.
I changed the main server to the Pi 2 as it does more than just serve the music files and was starting to get slow, now it is the one that doesn't really work properly. Should I go back to 0.9-4? and if so how do I download a copy or where do I find it?
Anybody have any idea what might be the problem? or able to help?