Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyTromp committed Feb 3, 2022
1 parent 3c4a9f2 commit dfc0098
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions work-in-progress/audiocontrol2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@
* Note! This modification is work-in-progress
And requires manual editting of the HifiBerryOS files.
If you are not comfortable with editting in Linux environment, wrongly modifying these files can lead to a non-working HifiBerryOS system. Therefore: ALWAYS make a backup of files that you are about to change. You do this modication at your own risk.


* CURRENT ISSUES *

Right now the solution ONLY works when running the AudioControl2 process in the foreground.
This might has something todo with the Threading i am polling the information in Python.
The result is that, if you start this service as background job (e.g. systemctl start audiocontrol2) it will not work.


* Installation

1. You can either run the ./install.sh script or create the symbolic link manually.
Expand Down Expand Up @@ -50,13 +57,14 @@ If you are not comfortable with editting in Linux environment, wrongly modifying
mpris.register_nonmpris_player(tdctl.playername,tdctl)
```

5. Restart the AudioControl2 Daemon
5. Testing
```
# Stop AudioControl2 Daemon
systemctl stop audiocontrol2
# Start AudioControl2 Daemon
systemctl start audiocontrol2
# Start AudioControl2 in the foreground
# (NOTE due to threading bug this is needed)
python3 /opt/audiocontrol2/audiocontrol2.py
```

6. Done!!!... Now open your HifiBerryOS webpage and start a song... you should see track metadata in the player. (controls from WEBUI still needs to be implemted. Controls work via Phone.)
Expand Down

0 comments on commit dfc0098

Please sign in to comment.