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.32 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Thank you for your donation!


Enabling Airplay Metadata ?
#1
Hi guys, being the UpMPDcli library not anymore usable to stream Tidal (using the built-in Moode autentication), and waiting for a definitive solution (even if I'm fear that will not happen..), one of the possible alternative is to use Airplay to stream TIDAL content to Moode directly using the TIDAL app (on iOS or Android both). The result streaming is a lossless 16/44.1, so it's OK for me.
My problem is that in my streamer, I'm running a Python script to show on an OLED display all the info related to track, author, title,quality, kbps  and static info when in pause (e.g. IP Address, Temperature, ..).
The script, during playing,  catch the info from the underlying MPD service, so if I use Airplay the display is not anymore updated (also the Moode Web UI, but this is an acceptable drawback).

Is there any chance to retrieve this info from the RPi? I've read an article about a so-called shareport-sync library that could use to do it, but I don't understand  how is work (here's the link https://appcodelabs.com/show-artist-song...spberry-pi).
AFAIK the service is able to retrieve data from Airplay, sending it to a pipe, that can be read with a "decoder" that parse the metadata and get track info. 
In the same page there's also a link to a decoder, but is written in C language and not in Python.
My idea is, but this is what I'm basically asking for:
1) Download the shareport-sync service, allowing it to run during Moode boot (adding a line in the famous RC.Local file, where I already start automatically the Python script to update the display)
2) Extend (or run in parallel to the existing one) the Python Script with the Airplay "decoder". In my script there's already a branch (currently empty) to be run when "player= 'AirPlay". Anybody knows if there's something similar? Too hard for me to translate from C to Python....

Hope that I hadn't been too confused....

thanks in advance if somebody could collaborate to this mini-project.

Andrea

P.S. Obviously, it should be fantastic if in the future this could be a standard Moode feature (similar to the metadata catching for MPD)
Reply


Messages In This Thread
Enabling Airplay Metadata ? - by mancio61 - 05-30-2020, 01:21 PM
RE: Enabling Airplay Metadata ? - by Tim Curtis - 05-30-2020, 01:36 PM
RE: Enabling Airplay Metadata ? - by mancio61 - 05-30-2020, 02:10 PM
RE: Enabling Airplay Metadata ? - by mancio61 - 05-30-2020, 02:40 PM

Forum Jump: