Hi all,
So I installed picore player on a raspberry pi and use it to stream music to hifiberry amplifiers. I use two different sources of music, either shairport or directly stream through LMS. My problem is how to allow shaiport to "take away" the input from the LMS streaming, or reciprocally start to stream through LMS while shairport is connecting. The behavior is that one need to stop the music playing from one service to be able to use another one. I previously had a max2play setup and anyone starting playing could overtake the previous actions and I preferred this behavious better.
Is my question clear and if so is there any options to check to change this behavior?
Results 1 to 5 of 5
-
2020-12-12, 08:32 #1
- Join Date
- Dec 2020
- Posts
- 3
picore player, shairport, LMS and priority of use
-
2020-12-12, 11:40 #2
No, There is no way for 2 applications to have control of the hardware audio port. In order to do this, you must have something in the middle (like pulseaudio) managing the hardware device.
There is a perfectly good shairport interface plugin in LMS.... no need to use shairport-sync.piCorePlayer a small player for the Raspberry Pi in RAM.
Homepage: https://www.picoreplayer.org
Please donate if you like the piCorePlayer
-
2020-12-12, 13:00 #3
- Join Date
- Dec 2020
- Posts
- 3
Thanks Paul for the answer.
Well, as a beginner, I'm not sure what you mean by the "interface plugin in LMS" and how I could install that plugin in LMS. Any help would be appreciated.
Currently, I'm using the shairport from the "tweak" menu of picore player. I suppose this is the "shairport-sync" you are mentioning?
-
2020-12-12, 20:07 #4
Correct
Here is the link for the shairtunes plugin. https://forums.slimdevices.com/showt...l=1#post865036piCorePlayer a small player for the Raspberry Pi in RAM.
Homepage: https://www.picoreplayer.org
Please donate if you like the piCorePlayer
-
2020-12-14, 13:45 #5
- Join Date
- Dec 2020
- Posts
- 3
Great, it works! I added the plugins shairtunes2 in the LMS/settings/plugin menu.
I was confused because there was no name for the airplay, but realized that it takes one by default. Other than that, it acts as I was hoping for that the airplay will "take over" the LMS playing (through apps). Unfortunately, the opposite is not true, if someone is using the shairport, it is not possible to "steal it". But that is a minor limitation.
Thanks again,