Closed ZubaZ21 closed 1 year ago
A bit more info . . . I have
Re-ran the installer (last install was long, long ago) - Rebooted everything. Things are working. User error?
So . . . Not resolved. The PaperPi plugin is showing now playing info for local music and Spotify (through the Spotty plugin) but not some streaming music. Tested with Pandora and streaming radio (KXT (http://kera-ice.streamguys.us/kxtlive128.m3u) and KUZU (http://opml.radiotime.com/Tune.ashx?id=s295557&formats=ogg,mp3,wma,wmvoice&partnerId=16&serial=b88aed1220c19f3d4751f40665d4b568)) The "now playing" info shows on all the devices for Pandora and the radio streams . . . . but not for the Plugin
@ZubaZ21
Let me make sure I understand the issue:
ZuCorePlayer
I believe the problem related to the streams probably comes from some subtle difference with how the LMS player delivers the stream data. I definitely never tested the QueryLMS module against streams.
Do you know if the pandora/radio streams ever worked in the past?
I don't have a Pandora account; it's not currently available in the Netherlands so I can't directly check that. I'll have to have a play with the KUZU stream and see if I can sort out what the difference is.
Also KUZU has a pretty great stream going on right now (20:30 GMT) on 5 March. Thanks for the tip! I just added it to my favorites. I forgot how good a good DJ can be.
@ZubaZ21 I think you may have attached the wrong content in the previous comment. I deleted the comment because it looked like some personal documents.
Thanks for the update. I'm rather surprised that spotify shows up through the lms_client. I'll need to explore that further. I have an idea what's going on with pandora and the radio streams, but it will take more investigation to get to the bottom of it.
I wouldn't mind seeing your paperpi.ini either.
paperpi.ini.txt Thanks for cleaning up my mess.
Here is the ini file.
After looking at the QueryLMS code which I borrowed heavily from a defunct project, I see that there's a bunch of undocumented methods for querying the radio status. I suspect this is where things go wrong.
When I wrap up some other projects, I'll dig into this one and see if I can't determine exactly the problem and then look into adding this functionality to the lms_client plugin.
Feel free to dive in if you're motivated!
I will look into things but I am more of a hack-at-things than know-what-I'm-doing Another open source app I use that displays LMS content is https://github.com/kaaholst/android-squeezer It's maintained and shows the data that is missing from the plug-in
The place to start would be the LMS client plugin.
You can clone the repo onto a pi and run the utilities/create_devel_environment.sh
script if you use create_devel_environment.sh -j
it will install and setup a jupyter kernel and allow you to hack on the ipynb files.
I'm working on an update to PaperPi that supports color output right now and focused on getting it ready to publish. Once I get that under control, I'll loop back around to this.
I've refactored the querylms
package to handle streams now. It should be a drop-in update for paperpi.
I'd suggest installing from the development branch and testing that.
If you want to try to upgrade in place, you'll need to do the following:
$ sudo su -
$ cd /usr/local/paperpi
$ pipenv update
It's possible that pipenv will fail miserably while trying to generate a lock file; in that case, you can fight with pipenv or just do a fresh install from the dev branch:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/txoof/PaperPi/development/install/remote_install_development.sh)"
This is resolved. Tested with local server content, streaming radio, Spotify, and Pandora
@ZubaZ21 Great to hear!
I did notice that the album title sometimes gets stuck and I'm not entirely sure why. It was a pretty easy fix once I reacquainted myself with the LMS API.
I have two Squeezebox players. One is a original Boom and one is a PiCorePlayer. While I could swear that the plugin worked at one point, I am not able to display the plugin now. The devices are all on the same network (192.168.3.x). Weather, Word Clock, and Reddit quotes are all working as designed.
My plugin config (I have tried the same config with the Boom's name listed with no change.):
daemon.log:
Any thoughts?