Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Dec 2020
    Posts
    3

    picore player, shairport, LMS and priority of use

    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?

  2. #2
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    3,934
    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

  3. #3
    Junior Member
    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?

  4. #4
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    3,934
    Correct

    Here is the link for the shairtunes plugin. https://forums.slimdevices.com/showt...l=1#post865036
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  5. #5
    Junior Member
    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,

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •