Media Player fit for Pebble Music Boss

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

Post Reply
guent peer
Member
Member
Posts: 124
Joined: 2003-02-14, 08:15 UTC

Media Player fit for Pebble Music Boss

Post by *guent peer »

Dear Mr. Ghisler,

I'm an absolute fan of the queue function of the media player e.g. for creating playlists for longer runs etc. For the latter I use my Pebble watch together with the app "Music Boss" to retrieve information about artist and title of the currently playing song. Unfortunately there is at the moment only a workaround using what total commander displays on the notification bar, which results on the display of the Pebble e.g. in:

No. Artist - Title
TotalCommander MediaPlayer

Quite often the name of the artist is quite long and the title is therefore cut off or not displayed at all.

I had contact with the author of "Music Boss" and he told me to get this correctly working the music player needs to support the function to be visible on the lock screen. I don't know how much effort this is, but if it is not too much I would be very happy if this could be implemented into Total Commander.

guent (#15509)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Can you give me more info what I need to change, please? The player in Total Commander does show up on the lock screen in the latest version 2.04 (in the play store) and in the betas.
Author of Total Commander
https://www.ghisler.com
guent peer
Member
Member
Posts: 124
Joined: 2003-02-14, 08:15 UTC

Post by *guent peer »

Ok, asked the author of Music Boss and here is the response:

"The easiest thing to do would be to modify the status bar notification to display information in the following way (vertically):
Current Track Name
Current Artist
Current Album
Music Boss can then grab this data and display it on your watch. This would be the easiest change if the app has a status bar notification.

Alternatively, the dev of your app can broadcast new track data using the following format:

//New media data intent

Intent i = new Intent("com.android.music.metachanged");

i.putExtra("artist", currentArtist);

i.putExtra("album", currentAlbum);

i.putExtra("track", currentTrack);

sendBroadcast(i); "

Thanks and hope this helps!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks, I will try the broadcast!
Author of Total Commander
https://www.ghisler.com
guent peer
Member
Member
Posts: 124
Joined: 2003-02-14, 08:15 UTC

Post by *guent peer »

Great to hear that, I'm looking forward to testing!

Thanks,
guent
guent peer
Member
Member
Posts: 124
Joined: 2003-02-14, 08:15 UTC

Post by *guent peer »

Tested Total Commander 2.05 public beta 3! Can confirm that it works as desired.

Thanks,
guent :D
Post Reply