FORUMS

Analysis & Opinion

Top Forum Discussions

[MOD][Xposed] S-View Music Controls [2.5: Spotify support]

1,080 posts
Thanks Meter: 5,469
 
Post Reply Subscribe to Thread Email Thread
Requires Xposed framework!

The S-View cover is really handy, it displays the date, time, your notifications, allows you to answer calls and dismiss alarms, and shows your currently playing song. The last part only works with the stock music player, and doesn't allow interactions.

This mod allows you to display metadata from and control the following players:
  • Stock Samsung Music Player
  • PowerAMP
  • Google Play Music
  • Spotify
  • Limited support for any music player that supports metachanged intent and media buttons

Swiping left or right allows you to change the current song, long pressing the screen for a configurable time allows you to toggle playback.

Most variables are configurable in settings. To access settings, open Xposed Installer, find the module and click on it, I didn't want to add another icon to the launcher, it got cluttered by enough Xposed modules doing that already...

Screenshots:



Compatibility:
Obviously, this needs the Galaxy S4 to work, since it's the only device with an S View cover at the moment.

Source:
The mod is open source, and licensed under GPLv3: https://github.com/MohammadAG/Xposed...-MusicControls
You may not post this on the Play Store, whether free or paid.

Download:
Get it from the Play Store or http://mohammadag.xceleo.org/public/...ntrols_2.6.apk

Support development:
If you found this mod useful, consider donating with PayPal or buying the paid version.

Thanks:
  • rovo89 for his Xposed Framework
  • Dr.Alexander_Breen for his help with IRemoteControlDisplay (used in testing version, never really made it in 2.0)
  • Tungstwenty for method to detect if a module is enabled (from Master Key Patch source).
  • Chainfire for ways to enable/disable activities (multi-icon tutorial)
  • MrC85 for helping me with Spotify support.

Changelog:

[2.6]
  • Fixed swipe not working for default player when Swipe only while playing is checked.

[2.5]
  • Added copyright info to settings.

[2.4]
  • Added Spotify support.
  • Added warnings if Xposed-related problems are detected.
  • Added launcher icon for people who were asking why this has no icon. It can be disabled in settings.
  • Changed default music player to one everyone has: Samsung's.
  • Long press now enabled by default.
  • Added debug mode, enabling this makes TTS speak what the app is detecting.

[2.3]
  • Added option to enable swipe gestures only while playing music.

[2.2]
  • Stock music player control support.
  • Paid version on Play Store. Below is the same exact free version for xda users, please don't share it.

[2.1]
  • Rewrote long press implementation, old one had a lot of bugs.
  • Fixed placeholder album art not showing for Poweramp songs.
  • You won't see this: worked on base foundation for ticker support. This would soon allow apps to hook onto this to display their own scrolling text. This text will show up where the title is, scroll once, then the original text will be shown (current song or otherwise).

[2.0]
  • Google Play Music support.
  • Skip tracks in other players by swiping left/right, metadata won't be shown.
  • Fixed swipes only working on the clock, and not the actual song text.
  • Show placeholders when no album art is found.

[1.1]
  • Support basic gestures to change songs.

[1.0]
  • Initial release.
Last edited by MohammadAG; 20th April 2014 at 05:44 PM.
The Following 64 Users Say Thank You to MohammadAG For This Useful Post: [ View ]
 
 
18th July 2013, 02:10 PM |#2  
saywhatt's Avatar
Recognized Contributor
Flag Land of Ooo
Thanks Meter: 1,594
 
Donate to Me
More
Nice mod yo

Sent from my GT-I9505 using xda premium
18th July 2013, 02:30 PM |#3  
bala_gamer's Avatar
Recognized Contributor
Flag Madurai-Chennai
Thanks Meter: 6,898
 
Donate to Me
More
great contribution mate
18th July 2013, 02:55 PM |#4  
OP Recognized Developer
Flag Jerusalem
Thanks Meter: 5,469
 
Donate to Me
More
I implemented gesture controls, swiping left/right on the clock will change tracks in Poweramp

Same link, it's a higher version though.
18th July 2013, 04:52 PM |#5  
wcoast's Avatar
Senior Member
Flag Los Angeles
Thanks Meter: 488
 
More
Excellent ideas and amazing work!

Sent from LA
18th July 2013, 05:09 PM |#6  
Senior Member
Thanks Meter: 70
 
More
Would it be possible to get Air Gesture and Voice Control working with a non-stock music player? Is all that stuff coded directly into the Music Player or the Framework? Could it be modded to just send general "Next Track" commands etc?
18th July 2013, 05:49 PM |#7  
OP Recognized Developer
Flag Jerusalem
Thanks Meter: 5,469
 
Donate to Me
More
Quote:
Originally Posted by tocirah1

Would it be possible to get Air Gesture and Voice Control working with a non-stock music player? Is all that stuff coded directly into the Music Player or the Framework? Could it be modded to just send general "Next Track" commands etc?

Good question actually. I think Voice Control is part of S Voice so that may be doable.
Not sure about Air Gestures, will look into it.

Sent from my GT-I9500 using xda app-developers app
18th July 2013, 08:38 PM |#8  
Senior Member
Thanks Meter: 28
 
More
Sview for asop roms like cyanogenmod will be nice. Since this is open sourced. Some cool things might become

Sent from my GT-I9505 using xda premium
18th July 2013, 10:06 PM |#9  
Senior Member
Flag lyon
Thanks Meter: 82
 
More
I keep a eye on this . great idea. I search a solution to make it work in miui rom

Envoyé depuis mon GT-I9505 en utilisant Tapatalk 4 Beta
19th July 2013, 01:40 AM |#10  
andymihail's Avatar
Senior Member
Flag Bucharest
Thanks Meter: 87
 
More
This is awesome! Thanks!
25th July 2013, 08:21 PM |#11  
mat9v's Avatar
Senior Member
Flag Gdynia
Thanks Meter: 955
 
Donate to Me
More
On my Galaxy Note 2 I get "There is a problem parsing the package". Archive is about 170KB and verified as intact (no errors decompressing).
Is it possible that is due to recent fixes for security? (Xposed mod here )

Read More
Post Reply Subscribe to Thread

Tags
music controls, play music, poweramp, s view, s-view

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes