Code Monkey home page Code Monkey logo

Comments (7)

Kisty avatar Kisty commented on July 20, 2024

Oh, apparently it's already implemented, but it doesn't work with swiping two fingers down on my OnePlus. Might I suggest using Android's MediaSession API?

from google-play-music-desktop-remote.

MarshallOfSound avatar MarshallOfSound commented on July 20, 2024

We do already use MediaSessionCompat internally

https://github.com/GPMDP/google-play-music-desktop-remote/blob/master/android/app/src/main/java/com/marshallofsound/gpmdp/remote/InternalMediaService.java#L58

from google-play-music-desktop-remote.

Kisty avatar Kisty commented on July 20, 2024

Thanks for getting back. Then why doesn't the two fingers swipe down work to pause/play, then? I'll try and do the same with my bluetooth headphones to see if the issue happens with them

from google-play-music-desktop-remote.

Kisty avatar Kisty commented on July 20, 2024

Hmm, so my bluetooth headphones too are not causing the playback to pause or play. Can you double check this works on your end?

from google-play-music-desktop-remote.

MarshallOfSound avatar MarshallOfSound commented on July 20, 2024

This definitely works on my end, I use this every day 😄 Idk what command your headphones are sending out but it isn't going into media sessions 🤔

from google-play-music-desktop-remote.

Kisty avatar Kisty commented on July 20, 2024

Very strange. Thanks for this app and desktop app. Very helpful!

from google-play-music-desktop-remote.

Kisty avatar Kisty commented on July 20, 2024

Still doesn't work. Going to try and build the app and run on an emulator to see if I can repro with that.

from google-play-music-desktop-remote.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.