Thank you for your donation!


Official moOde 7.0.0 subthread [Plugins] (e.g. UPNP)
#27
@Tim Curtis 

So building the latest libnpupnp, libupnpp, and upmpdcli was uneventful.

Tracks play fine using various apps on Android phone and on Apple iPad but I'm still not seeing any album art on moOde's WebUI.

I enabled the logging function and tried again.

Very confusing trying to monitor the log. It doesn't seem to accumulate entries synchronously with track playing so tail -f doesn't work...for a while the log was empty even though tracks had been played...but eventually I was able to scrape some pertinent info.

Here, for example, I used one of the apps to select a track from my minimserver running on an X86 host. I don't know for sure that this is the start of the log entry for this track but I think so

Code:
</DIDL-Lite>:2:libupnpp/device/device.cxx:446::UpnpDevice: Action failed:  code -911
:2:src/upmpd.cxx:337::checkContentFormat: resource has no protocolinfo
:2:src/ohplaylist.cxx:751::OHPlaylist::insertUri: unsupported format: uri http://192.168.4.36:9790/minimserver/*/Music/TestTracks/Hyperion/14*20Clementi*20Piano*20Sonata*20in*20D*20major,*20Op*2025*20No*206*20-*20Movement*202*20Un*20poco*20andante.M4A metadata <DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/">
 <item>
   <dc:title xmlns:dc="http://purl.org/dc/elements/1.1/">Clementi: Piano Sonata in D major, Op 25 No 6 - Movement 2: Un poco andante</dc:title>
   <upnp:class xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/">object.item.audioItem.musicTrack</upnp:class>
   <upnp:albumArtURI xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/">http://192.168.4.36:9790/minimserver/*/Music/TestTracks/Hyperion/14*20Clementi*20Piano*20Sonata*20in*20D*20major,*20Op*2025*20No*206*20-*20Movement*202*20Un*20poco*20andante.M4A/$!picture-18950-278222.png?connection=close</upnp:albumArtURI>
   <upnp:album xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/">Clementi: The Complete Piano Sonatas, Vol. 4</upnp:album>
   <upnp:artist xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/">Howard Shelley</upnp:artist>
   <upnp:artist xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" role="AlbumArtist">Howard Shelley</upnp:artist>
   <upnp:artist xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" role="Composer">Clementi, Muzio (1752-1832)</upnp:artist>
   <dc:date xmlns:dc="http://purl.org/dc/elements/1.1/">2009-01-01</dc:date>
   <upnp:genre xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/">Classical</upnp:genre>
   <res sampleFrequency="44100" bitsPerSample="16" duration="0:02:46">http://192.168.4.36:9790/minimserver/*/Music/TestTracks/Hyperion/14*20Clementi*20Piano*20Sonata*20in*20D*20major,*20Op*2025*20No*206*20-*20Movement*202*20Un*20poco*20andante.M4A</res>
   <desc id="pinsUri" nameSpace="https://linn.co.uk">upnp.cd://track?udn=b626fc3b-d343-4d62-aaac-b9e4b7cec658&amp;me=b626fc3b-d343-4d62-aaac-b9e4b7cec658&amp;trackId=0$albums$*a1$*i15&amp;version=1</desc>
   <desc id="pinsMode" nameSpace="https://linn.co.uk">upnp.cd</desc>
   <desc id="pinsType" nameSpace="https://linn.co.uk">track</desc>
 </item>

In particular, note this line


Code:
<upnp:albumArtURI xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/">http://192.168.4.36:9790/minimserver/*/Music/TestTracks/Hyperion/14*20Clementi*20Piano*20Sonata*20in*20D*20major,*20Op*2025*20No*206*20-*20Movement*202*20Un*20poco*20andante.M4A/$!picture-18950-278222.png?connection=close</upnp:albumArtURI>

If I copy the URL to my browser, up pops the correct album art and (*cough* ) the album art shows up correctly in all my UPnP apps.

I don't pretend to understand the fine points of the log entries, e.g., the "Action failed" or the "resource has no protocolinfo"---since I'm not fluent in C++ I have no hope of figuring them out by reading the source code.


Regards,
Kent
Reply


Messages In This Thread
RE: Official moOde 7.0.0 subthread [Plugins] (e.g. UPNP) - by TheOldPresbyope - 01-11-2021, 08:22 PM

Forum Jump: