meme stolen

  • Esca@lemmy.one
    link
    fedilink
    arrow-up
    10
    ·
    1 year ago

    The first time it paused my YouTube video inside Firefox when a call came in on my phone, it blew my mind. And then when the call ended, it just casually resumed the video. I love it. That, the clipboard syncing and easy sharing of files between devices make it absolutely awesome to have.

    • u/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      1 year ago

      Especially the file sharing for me. I was previously using USB cable, but during large transfers it tends to just randomly disconnect (thanks MTP). Over WiFi I get faster transfer speeds and it doesn’t keep disconnecting.

      Although yes, theoretically I could move .tar archive or individual files over WiFi using netcat and Termux, but that’s not the most elegant solution. Also for some reason netcat is somewhat broken on Manjaro. Ok, the issue isn’t with nc. Ok (2) it is netcat. I just added a 2nd layer of issues that made me think it’s not.

      Edit 3: Ok. MAYBE netcat. I can see incoming connection in Wireshark and it sends back TCP RST. Edit 4: Tried with UDP, I can see the received text in Wireshark, netcat drank methanol.

      • gears@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        I’ve always used python3 -m http.server to get files from PC->phone.

        For phone -> PC I use a library called droopy.py

    • prole@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      I’m not really familiar with KDE connect (and new to Linux in general, but can’t see myself ever going back to Windows), could you elaborate on the first part? How does KDE Connect help you watch firefox videos on your phone? Thanks!

      • TheChargedCreeper864@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Somehow, KDE Connect treats a media stream happening on a connected device the same as if it’s playing on your local device. If you’re playing a video on your laptop in Firefox it will add one of those “music player” things in your phone’s notification shade, allowing you to control the video from your phone.

        Android automagically pauses everything it deems to be “media playback” until the end of your call, thus also pausing that Firefox video on your laptop.

        • prole@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Oh nice, that sounds cool. Not an implementation of that type of software that I would ever have thought of.