Hello all,

I have speakers of decent quality connected to my Linux pc which I use for gaming.

I want to be able to use the same speakers when I watch TV. I currently have a Chromecast with Jellyfin client running. Jellyfin is actually running on the Linux pc I mentioned earlier.

What would be the best way to play the audio from the tv content I’m watching from those speakers?

I was considering if it’s possible if pulseaudio could be used in a client server model, and somehow have something like Kodi use it?

I am willing to replace my Chromecast with a raspberry pi or a similar device if it solves this issue.

  • Odin@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    8 months ago

    One option is to play the stream on your PC, and hook up the TV as another monitor using a HDMI or other video cable.

    • CyclohexaneOPM
      link
      fedilink
      arrow-up
      1
      ·
      8 months ago

      That’s a good idea. Is there a way to make that as easy to use as Chromecast? Currently I operate Chromecast using its remote and just play something. I can use the remote or my phone to pause or rewind. Can I do something similar using my PC, without having to reach for the keyboard?

      • ElNuevo@lemmy.lemist.de
        link
        fedilink
        arrow-up
        1
        ·
        8 months ago

        KDE Connect has media controls, among other things. It’s great as a remote control for your PC, I’ve used it countless times to control media playback, presentations, …

  • 0x4E4F@infosec.pub
    link
    fedilink
    English
    arrow-up
    11
    ·
    8 months ago

    Do you have a second aux on that audio setup? That would be the easiest way IMO.

  • merde alors@sh.itjust.works
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    edit-2
    8 months ago

    i use a decent hardware mixer and cables but then i’m old 😋

    behringer makes smaller mixers 1 2 for people who don’t need dozens of input/output

    analog is easier :)

  • kuneho@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    8 months ago

    Does Chromecast has Bluetooth? If yes, setup a Bluetooth a2dp sink on your main PC and make the Chromecast device connect to it as audio output.

    If not, your only option would be cables. Some TVs (I don’t know if all, but all my previous TVs were like this) had their speaker and headphones outputs separately. You can set the speaker output volume with the remote, but the headphones have a different volume controller, independent from the “main” one.

    Use a stereo jack splitter cable at your external speaker set and connect your PC and TV’s headphone out to it. This way your TV can use the external speakers regardless what you watch on it.

    A bit different approach would be to get a separate machine as your media player. Get some cheap ass 4th gen Intel small formfactor machines (like HP Elite SFFs or USDTs) and install libreELEC on it. It is much more capable than a chromecast device and you can hook up the PC itself to your speakers - either with Bluetooth or with a splitter cable. Or both; add a Bluetooth transmitter to the machine and a receiver with a splitter to the speaker.

    Tho keep in mind that with wireless, some delay may occur.

  • Cegorach@feddit.de
    link
    fedilink
    arrow-up
    2
    ·
    8 months ago

    back in the days I had my Linux-PC run as a bluetooth-sink, that’d work for directly connecting some chromecast to the pc

    but if you’d have some audio-out on your TV (or whatever station between your chromecast and tv) then you could connect your line-in on your PC to that (and have a much preferable cable connection)

  • ElNuevo@lemmy.lemist.de
    link
    fedilink
    arrow-up
    1
    ·
    8 months ago

    If you’re willing to replace your Chromecast, you could configure your raspberry pi (or whatever Linux based replacement) to use a remote Pulseaudio server.

  • bbbhltz@beehaw.org
    link
    fedilink
    arrow-up
    1
    ·
    8 months ago

    You might be able to find an HDMI audio splitter/extractor thing for cheaper than a Pi. If you get a Pi you would want to buy a HAT for the audio out so the sound isn’t degraded (since you have decent speakers).

    Then the rest depends on the speakers or your amp. Let your wallet decide, though.

    • Open_Mike@artemis.camp
      link
      fedilink
      arrow-up
      1
      ·
      8 months ago

      Our local charity shop sells an hdmi adapter that splits the audio stream out to a TRS (headphone) socket for just $4. Put that between the ChromeCast and the TV and feed it to the line in ok the PC and I think you’re done.