-
Notifications
You must be signed in to change notification settings - Fork 402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implemented fixes for RPi recognition and new spotify GST plugin compile #2064
Implemented fixes for RPi recognition and new spotify GST plugin compile #2064
Conversation
…ugin installation method
Is there a possibility to build the gst plugin and host it somewhere to download it by the script? Personally I’m a little bit reluctant to have an installation routine where you have to install otherwise unrelated dev tools and run the build process for hours. But if that’s the only way we could do it this way. |
I also thought about that. But there are some issues I see with this:
Back to point 2: I might have an idea for that: |
What is missing? How to go on from here? Is anything needed from my side? |
Everything seems answered and users report in #1815 that it's working for them. |
This is done for 2 weeks now - what are we waiting for? |
While I understand that waiting on reactions may be frustrating please be aware that all people here contribute to this project in their spare time. Life gets in the way pretty often for most people. People answer here when they feel to do so, but have no obligation whatsoever. For me personally: If you are interested in participating as a contributer, please meet us at the chat. New hands on deck are always welcome. :-) |
The test for installation (on a docker image) does not work: https://github.com/MiczFlor/RPi-Jukebox-RFID/actions/runs/6101951055/job/16692967788?pr=2064 The script in the test checks for installed packages, looks like mopidy-spotify is not installed as a package, pyhton3-spotify check could maybe removed or replaced with a correct package. Starting from line 2797:
If you need some pointers for help, chat us up here or on our chat. |
@The-Judge, as soon as the tests are fixed and the conflicts are solved we could merge this PR and Spotify would work again. |
@@ -798,7 +803,7 @@ install_main() { | |||
${apt_get} upgrade | |||
|
|||
# some packages are only available on raspberry pi's but not on test docker containers running on x86_64 machines | |||
if [[ $(uname -m) =~ ^armv.+$ ]]; then | |||
if grep -E '^Model\s' /proc/cpuinfo | grep -q "Raspberry Pi"; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be changes in the test_installation
script aswell
@@ -834,23 +835,46 @@ install_main() { | |||
echo "${VERSION_NO} - ${COMMIT_NO} - ${USED_BRANCH}" > ${jukebox_dir}/settings/version | |||
chmod 777 ${jukebox_dir}/settings/version | |||
|
|||
sudo mkdir -p /etc/apt/keyrings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
duplication with line 800. was a move intended?
Prebuilds of GST plug-in are now available, see #1815 (comment) and https://github.com/kingosticks/gst-plugins-rs-build/releases/latest mopidy-spotify has also been updated: https://github.com/mopidy/mopidy-spotify/releases/tag/v5.0.0a1 Is this PR necessary anymore? |
No, not anymore. Successfully delayed. |
This patch (in addition to #2063 ; since the Raspberry Pi 3B's 1 GB RAM is much too less for Rust and GST plugin compile) should apply all the fixes introduced by #1815 report, plus my own experiments on mentioned RPi 3B.