[Release][PX3|PX5] MtcdTools-Control music players, customize buttons, voice control - MTCD Software Development

Hello,
Today is time to release second application with more powerful features on-board. I would like to introduce MtcdTools.
MtcdTools
ReadMe
HOWTO
HOWTO by @Geniee33
Source code
Latest release​https://forum.xda-developers.com/an...ent/howto-beginners-guide-to-setting-t3595793
21.06.2017: Version 1.9 has been released
19.06.2017: Version 1.8 has been released
10.05.2017: Version 1.7 has been released
09.05.2017: Version 1.6.1 has been released
02.03.2017: Version 1.6 has been released
27.02.2017: Version 1.5 has been released
23.02.2017: Version 1.4 has been released
14.02.2017: Version 1.3.3 has been released
13.02.2017: Version 1.3.2 has been released
10.02.2017: Version 1.3.1 has been released
07.02.2017: Version 1.3 has been released
19.08.2016: Version 1.2 has been released
14.08.2016: Version 1.1 has been released
10.08.2016: Version 1.0 has been released
Click to expand...
Click to collapse
If you enjoyed using of the application, you can support my work and Donate to me .
Best regards,
f1x

Should I delete your other Spotify control to use this?
Sent from my SGH-M919 using Tapatalk

j2gifted said:
Should I delete your other Spotify control to use this?
Sent from my SGH-M919 using Tapatalk
Click to expand...
Click to collapse
MtcdTools includes functionality of SpotifyKeys so you can uninstall it.

Tried it, does not work with my music app named doubleTwist

sterod said:
Tried it, does not work with my music app named doubleTwist
Click to expand...
Click to collapse
Hi,
I tested it a minute ago on my device and it works for me (I listened to mp3 files on my SD card using doubleTwist). Have you bound key codes to NEXT/PREV/TOGGLE PLAY actions? Could you please provide a screenshot of "Edit existing bindings" screen?

Works perfectly for me on Spotify. I notice you called it MTCD tools rather then Music Player tools or similar? Do you have aspirations for it beyond just music?
If so I was wondering if the launch function could be expanded to support intents. For example I use AutoMate Dashboard which has different menus so to flick over to maps screen rather then maps I would need to use an intent.
com.bitspice.automate.EXIT_APP = Exit the app
com.bitspice.automate.MAP_SCREEN = Launch the maps screen
com.bitspice.automate.PHONE_SCREEN = Launch the phone screen
com.bitspice.automate.HOME_SCREEN = Launch the home screen
com.bitspice.automate.MUSIC_SCREEN = Launch the music screen
com.bitspice.automate.SHORTCUT_SCREEN = Launch the shortcut screen
com.bitspice.automate.VOICE_SCREEN = Launch the voice input screen

I'll try with an mp3 shortly but I was trying the radio streaming feature in doubleTwist, when in that mode, the on screen back button rewinds, which may not be the same as the "previous" button intent your app sends.

I assume this works for PowerAmp too... ? Thank you

Donated thanks for the app!

I just tried with MP3's in doubleTwist - still not working. I only have two bindings for steering wheel control buttons.
NEXT - 300
PREV - 299

sterod said:
I just tried with MP3's in doubleTwist - still not working. I only have two bindings for steering wheel control buttons.
NEXT - 300
PREV - 299
Click to expand...
Click to collapse
I have checked the radio streaming and it works as you mentioned - next/prev on the screen has 'seeking' behavior. I will try to simulate these buttons in my app and check again.
Btw. In doubleTwist player settings I see something like 'steering using headphones' (I have Polish language set and it is 1:1 translation). Try to switch it on/off and check in case of mp3 playback steering.

I will try this with Neutron and report. Thanks

f1x said:
I have checked the radio streaming and it works as you mentioned - next/prev on the screen has 'seeking' behavior. I will try to simulate these buttons in my app and check again.
Btw. In doubleTwist player settings I see something like 'steering using headphones' (I have Polish language set and it is 1:1 translation). Try to switch it on/off and check in case of mp3 playback steering.
Click to expand...
Click to collapse
Yes the setting is called "Headset/Car Controls" and it's inside categories / player settings, however toggling it on or off makes no difference. Unfortunately it still won't work.

Can confirm "Radioplayer - Free UK Radio" works as well, skips between radio stations fine.

I can confirm that it works great with the Neutron app..
BUT...
I need to open the MTCD tools each time I use the head unit or else it wont work.

DanB0y said:
I can confirm that it works great with the Neutron app..
BUT...
I need to open the MTCD tools each time I use the head unit or else it wont work.
Click to expand...
Click to collapse
You mean it does not start automatically after boot up? Is your device completely shutdown or just sleep?

f1x said:
You mean it does not start automatically after boot up? Is your device completely shutdown or just sleep?
Click to expand...
Click to collapse
I think its both on sleep and shutdown.
Unit is MTCD_KD if that helps
---------- Post added at 05:28 AM ---------- Previous post was at 05:26 AM ----------
DanB0y said:
I think its both on sleep and shutdown.
Unit is MTCD_KD if that helps
Click to expand...
Click to collapse
If start my car, play music in Neutron and open the MTCDtolls app and go back to the already running Neutron app, it works, so I still enjoy your work

DanB0y said:
I think its both on sleep and shutdown.
Unit is MTCD_KD if that helps
Click to expand...
Click to collapse
Could you please check what delay you have set to shutdown device after ACC off?

f1x said:
Could you please check what delay you have set to shutdown device after ACC off?
Click to expand...
Click to collapse
30 min.
IE: This evening I parked my car at the mall at 7:30PM and went shopping. At 8:45PM I started my car and steering wheels were not working (until I reopened MTCDtools app)

DanB0y said:
30 min.
IE: This evening I parked my car at the mall at 7:30PM and went shopping. At 8:45PM I started my car and steering wheels were not working (until I reopened MTCDtools app)
Click to expand...
Click to collapse
I think I can reproduce this issue. I will try to prepare a correction today's evening.

Related

GSPlayer with AVRCP!!

Hello everybody,
after my resume-plugin for the Windows Media Player i have developed a little AVRCP agent, wich allows to use AVRCP in combination with the GSPlayer, even to start the GSPlayer by pressing the "start" button on the A2DP Headset.
If there´s anyboby interested in, i would post it in this thread....
Greets,
Thomas
core
core player is better
I'm interested in that plugin. Thanks.
I'm interested, could you please post it?
The Agent......
Ok, here is the agent!
It is a little app(NOT a plugin for the GSPlayer!) wich runs in background. The app uses the Windows Media Player plugin for parsing the AVRCP signals (thank you to Mirko Schenk from MortPlayer for his help!!).
On startup you do not see anything from the app! When you start it a second time, you see an menu at the bottom (OK and SETTINGS) where you can configure various things like the path to the GSPlayer and timings for double and triple clicks. Don´t click the OK button, because the app will exit after that! Just leave it run in background. The menu disappears after clicking somewhere else.
When you have configured the GSPlayer path, the plugin ready to work.
Headset Button functions:
Play - click - If GSPlayer is not running, it will startup, if it is running you can switch between play and pause.
Play - double click - turns the screen off
Play - triple click - opens the "File Open" Dialog
Play - long click - exits the GSPlayer. you can start it again with another click!
Forward - click - jumps forward one track.
Forward - double click - fast forward.
Backward - click - jumps back one track.
Backward - double click - fast rewind.
OK, that´s all. The best thing is to start the app in autostart, it is only 50kb of size and uses about 50-100kb of main memory! Then you are able to start the the GSPlayer when you connect your headset.
I´ve tested it with the Motorola HT810 Headset under WM6, but it SHOULD work under WM5 and with any other Headset wich is supported by the Windows Media Player. I´am working at a new version, where you can fully configure the functions of the buttons, e.g. start any other app and control it by sending WM_ messages.....
Ok, then enjoy.
Any feddback is welcome! Excuse my english if there are any mistakes in the post, but i am german..
Greets,
Thomas
This is exactly what I was looking for! I love GSPlayer. The agent works for all single click functions, but the double and triple clicks don't work for me. If I try to set the times for those functions, it doesn't get saved. It just reverts back to blank. I don't really need those functions, but I thought you'd want to know about it.
Question please for those using GS Player...
When Itried GS Player months ago... I noticed it can't select and play every MP3 songs I have. It only can play 10 songs.
For example, I have 100 MP3 songs in one folder. With WMP or TCPMP, if I select all and press play. It will play ALL 100 MP3 songs until the end or it runs out of battery. BUT with GS Player, it only can select 10 songs even if I MANUALLY select them one by one.
My question is: Does GS Player still suffer from this BUG???
---
rofl ,i dont know what gsgetfile version you are using..but..trust me..its not normal.
AVRCP - How did you do that?
Wolfman, could you point me to some sites that explain how to add AVRCP support to Windows Mobile apps?
I did a lot of searching, but haven't found the "holy grail" ...
pshaw118 said:
This is exactly what I was looking for! I love GSPlayer. The agent works for all single click functions, but the double and triple clicks don't work for me. If I try to set the times for those functions, it doesn't get saved. It just reverts back to blank. I don't really need those functions, but I thought you'd want to know about it.
Click to expand...
Click to collapse
That´s strange. Which device and OS are you using? I tested it on universal and WM6.....
Thanks Wolfman for your great job
By the way: i have modified the GSPlayer Source, so it can display Album or Track covers and changed some Parameters so that the Player is VGA-Compatible (i think someone did this before too). There are some VGA-Skins wich looks really nice.
Anyone interested?
VGA updated GSplayer
I would be very interested in your modified GSplayer and VGA skins, please let me know where I can download them from so I can try it out. Great work.
Here are the Files.
It´s just the gsplayer exe and one dll. The SubDirs are some VGA skins i have collected.
If there is a jpg file with the same Name as the mp3 file in the directory, it will be shown at the bottom. If not and there is a file named "folder.jpg" in the directory it will be displayed instead.
is it possible to change?
from:
Forward - click - jumps forward one track.
Forward - double click - fast forward
to:
Forward - double click - jumps forward one track.
Forward - Click - fast forward
thx
Yes, i have already change it, because i like it better, too.
This is the newest Version of the AVRCP-Agent.
New Features:
-Changed double and dingle click behaviour of forward/backward buttons
-Pause and Resume the GSPlayer on incoming call.
-If you press the VoiceCommand Button, the Player will pause too.
Greets,
Thomas
Hey, can we adapt this to other programs, like say, TCPMP?
Or better yet, can we assign custom commands to the AVRCP calls? For example, maybe I'd like a forward-press to launch WMP, and a back press to launch TCPMP, or something along those lines?
I could see this being very useful in my car since I have a AVRCP / A2DP stereo unit.
It would be interesting to have a control start the GPS app on my phone..
Great agent
Thanks very much for this agent it works great. If I could get the universal to ring through the internal speaker as well as the bluetooth headset at the same time I would have the perfect solution from my persepective.
Dishe said:
Hey, can we adapt this to other programs, like say, TCPMP?
Or better yet, can we assign custom commands to the AVRCP calls? For example, maybe I'd like a forward-press to launch WMP, and a back press to launch TCPMP, or something along those lines?
I could see this being very useful in my car since I have a AVRCP / A2DP stereo unit.
It would be interesting to have a control start the GPS app on my phone..
Click to expand...
Click to collapse
It´s no Problem to start other Applications, i plan to make the commands to be customizable. To start the WMP is a problem, because i use the WMP-AVRCP plugin to parse the AVRCP commands. It will start, but then there are 2 AVRCP Application running, this would be problematic.
To control the TCPMP would be no problem, if would have the corrosponding WM_ Messages to control the TCPMP. I would need the TCPMP Source code to do so.
I you just need a button to start your GPS App, just replace the path to the GSPlayer in "Settings" with the path to your GPS-App.
the new settings for one/doble click arent really confortable for my hbh-ds970
will you release the configurable version of this ?
also, ANY chance you can not only make gsplayer to pause, but also send sound to the loudspeaker on a call (for the ringtone )
i dont know if its a WM limitation, but i hate not hearing my ringtones and missing calls when i drive

[APP][SW2] Media Control Extension

I think it's time we had a free one of these. This is a simple extension that sends generic audio control events to the phone.
Post here with any problems or feature requests. I will not be adding code to control specific apps.
it's work on poweramp
cool app :good::good::good::good::good:
For poweramp I really recommend the dedicated app ... is not that expensive and the results are great.
ro_explorer said:
For poweramp I really recommend the dedicated app ... is not that expensive and the results are great.
Click to expand...
Click to collapse
Totally agree! The developer has made a great job with power amp control pro
Enviado desde mi GT-I9505 mediante Tapatalk
Something odd (it was said also in play store) with my note, n8000, Android 4.1.2. When pressing the icon "play", two differend players start: spotify and the default music player. I cannot figure how to fix this.
Sent from my N8000.
enigma_x said:
Something odd (it was said also in play store) with my note, n8000, Android 4.1.2. When pressing the icon "play", two differend players start: spotify and the default music player. I cannot figure how to fix this.
Sent from my N8000.
Click to expand...
Click to collapse
You need to find settings in your default player or in spotify to disable bluetooth controls. If neither player has this setting then I'm afraid you're out of luck. You could uninstall one of them. The app works generically like a BT headset that has built in controls.
Actually it starts three music apps (default, n7 and spotify =) and finally causing sw2 app to crash... don't find how to change bt controlling for those apps or is it even possible. otherwise seems to work faster and better than other controllers.
Sent from my N8000.
Yeah thanks for a cool media controller. Maybe in future updates the User can dictate which media application to be used. I see my soundcloud, Pandora, and Native Music App battling it out, lol. I fight for the User! Thanks again for the app.
Great app, lets me control the music from the shower :good:
Added premium features (in-app purchase):
-Widgets for all control functions
-Color customization
-Vibration on click
"Turn on the radio"?
Hi,
first: i really dig your app and the widgets. However i have run into the same problem as the others: all players open. Is there really no workaround? I haven't found any other music control widgets for sw2 + yours are the most straight-forward.
I have noticed however, that one button works correctly: the pause button. My observations from the button-mashing:
Play: opens all players
pause: pauses or unpauses the *active* player
next/previous song: starts all players, songs are changed on all players. "Turn on the radio." popup appears.
Samsung Note 2 + Sony SW2.
Cheers and thanks anyway

[APP] SW2Play - Music Controller

https://play.google.com/store/apps/details?id=com.rahilm.sw2play
Music player remote for the Sony SmartWatch 2
***Requires Android 4.4 KitKat***
Made for Google Play Music and will work with any regularly updating music player available today. Explicitly tested with:
-Google Play Music
-Pandora
-Spotify
-n7player
-TuneIn
-iHeartRadio
-Slacker
** If you would like us to work on compatibility with other music players let us know, we'll do our best
Features:
-Play, pause, next track, previous track
-Current and previous song artwork displayed on gorgeous UI (transparency control setting on phone)
-Song, album, and artist name
-Low power (monochrome) mode
-Clock on screen (turn on or off from settings on phone)
Controls:
-Long press for play/pause
-Swipe right for previous song
-Swipe left for next song
-Swipe up for volume increase
-Swipe down for volume decrease
*Requires Notification Access*
We personally use this app and are actively working on it. If you come across bugs or want to make suggestions please contact us. Feedback is appreciated.
Smart Connect extension for SmartWatch 2
Changelog
--------------------------------------------------------------
Version 1.1
-Fixed artwork issues with all major players
-Added clock and setting to turn clock on or off
-Added pause indicator and setting to turn it on or off
-Added setting to select variable opacity
-Added setting to select action for play/pause (tap or long-press)
-Battery optimization
n7player would be nice too... (it is a popular player aswell. I have no kitkat, but just said...)
Sent from my Galaxy Note 10.1 (N8000).
Hi,
Thanks for the recommendation. We tested with n7player and the app already fully works (artwork and controls).
rahilm said:
Search SW2Play on Play Store to find app (can't post links yet unfortunately)
***Requires Android 4.4 KitKat***
.
Click to expand...
Click to collapse
Why need 4.4 API
Please add the ability to open your music apps from the watch app.
CityKiller said:
Why need 4.4 API
Click to expand...
Click to collapse
The 4.4 API added a new class that allows access to metatada from any music player. This did not exist before. There are hidden APIs prior to 4.4, but they are very hit or miss and most of the time artwork can't be retrieved.
kill_dano said:
Please add the ability to open your music apps from the watch app.
Click to expand...
Click to collapse
Thanks for the feedback. We will do our best to make this happen within the next week.
Great app
Excellent media controller, now album art shows. Many thanks
thanks bro
New update
Hi guys,
Just pushed an update up with the following changes:
Version 1.1
-Fixed artwork issues with all major players
-Added clock and setting to turn clock on or off
-Added pause indicator and setting to turn it on or off
-Added setting to select variable opacity
-Added setting to select action for play/pause (tap or long-press)
-Battery optimization
We are working very hard on an elegant solution to automatically start the music player of your choice. That feature is coming very soon. As always, your feedback is appreciated and we will do our best to incorporate any features you want.
Good looking app, just one suggestion/request. Not sure if it's possible but the option to like or dislike a song (Google Play Music) would be nice.
Where is app?
For the life of me I cant seem to find this app in the play store. What exactly is it called?
Rezsy said:
For the life of me I cant seem to find this app in the play store. What exactly is it called?
Click to expand...
Click to collapse
Hi, thanks for your interest in the app. I PM'ed you a link to the app since I can't post links yet on the public forum.
rahilm said:
Hi, thanks for your interest in the app. I PM'ed you a link to the app since I can't post links yet on the public forum.
Click to expand...
Click to collapse
Guess I should have read the requirements better. I have a galaxy note 2 so no kitkat only 4.3 :crying:
Delete
Can I have the link to the app as I cannot find in the store?
Inviato dal mio Nexus 7 utilizzando Tapatalk
maurizio53 said:
Can I have the link to the app as I cannot find in the store?
Inviato dal mio Nexus 7 utilizzando Tapatalk
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=com.rahilm.sw2play
Original Smartwatch
Hi rahilm!
Is it possible to make it compatible with the first sony smartwatch? The official Music Player extension doesn't work well with it, on Android 4.4 or its related to the outdated app. It starts or stops the music randomly when you wake up the watch.And it seems to take forever to load the app on the watch, the screen goes black when you open it and loads 10-20 seconds later.
If I am wrong and someone allready found a solution, fix to make the official app working with Google Play Music on Kit Kat please correct me and let me know.
Thanks in advance! Keep up the good work!
DaMRIP said:
Hi rahilm!
Is it possible to make it compatible with the first sony smartwatch? The official Music Player extension doesn't work well with it, on Android 4.4 or its related to the outdated app. It starts or stops the music randomly when you wake up the watch.And it seems to take forever to load the app on the watch, the screen goes black when you open it and loads 10-20 seconds later.
If I am wrong and someone allready found a solution, fix to make the official app working with Google Play Music on Kit Kat please correct me and let me know.
Thanks in advance! Keep up the good work!
Click to expand...
Click to collapse
Hi,
We will look into it. The resolution is significantly worse on the original SmartWatch, so we are not sure how the UI will suffer.
Thanks for your great work. Is it planned to make it possible to switch betwen Albums?
olarf said:
Thanks for your great work. Is it planned to make it possible to switch betwen Albums?
Click to expand...
Click to collapse
Do you mean playlist switch and stuff like that? Unfortunately, that is too player specific and we want to support as many players as possible. Thanks for the suggestion, though.
As an update, we are still working on a solution for opening the music player. It is proving difficult with what is allowed by Android APIs, but we are still working diligently toward it.

[Bug] The combination of 'Media buttons' and 'Next/Prev → FF/Rew' does not work when the app is in the background.

I use the next and back buttons on my Bluetooth headset to act as fast forward and rewind.
For this purpose, I have enabled 'Media buttons' and 'Next/Prev → FF/Rew' in the settings,
but when the app is running in the background, 'Next/Prev → FF/Rew' does not work.
When it is in the background, it is not converted and simply works as 'Next/Prev'.
Also, when the app is in the foreground, it will work as 'FF/Rew' as expected.
Note that the 'Double/Triple Press → Next/Prev' option has nothing to do with this behavior,
and will behave as described above whether it is on or off.
Additionally, the above is how it works in the conventional video player. If you open an audio file in the 'NEW PLAYER', it will behave like "Next/Prev" regardless of the app status.
Huawei Mate 10 Pro BLA-L29 EMUI 10.0.0.180
MX Player Pro 1.35.8
SONY MDR-AS600BT
HI @panam510 ,
Please try this build and report back if this fixes your problems.
https://mxplayer.s3.amazonaws.com/test/pro/Player_pro-neon_direct_v8-release-36ef9331ea.apk
MXPlayer said:
HI @panam510 ,
Please try this build and report back if this fixes your problems.
https://mxplayer.s3.amazonaws.com/test/pro/Player_pro-neon_direct_v8-release-36ef9331ea.apk
Click to expand...
Click to collapse
Thanks for the fix!
That build worked fine as 'FF/Rew' both in the foreground and in the background (in Conventional Video Player).
Hi, i had the same problem and this apk fixed it, many thanks!
I noticed that now a few official updates have been launched on GPlay - but this bug is still present in the newest version, therefore i still have to use this slightly outdated APK. Is it going to be fixed on official installation in Google Play?

[Bug] PiP button doesn't work when background play is enabled

Hello,
I've been using MX Player Pro for years and often listen to videos with my phone's screen off using the background play functionality. In the most recent update (MX Player Pro 1.46.10) the background play options in the settings were changed to either background play or picture in picture. Once I figured this out and selected background play I was able to listen to videos with the screen off again, however the Picture-in-Picture button no longer works while playing a video. In previous versions when I had background play configured, the PiP button in the on-screen controls during playback still allowed me to use the PiP functionality on the fly.
Can you please fix the PiP button so that it still works even if I have background play configured as the default in the local player settings? Otherwise it seems like the only option is to revert to 1.42.13 and never update the app again.
Thanks!
having the same issue, this on top that since like a year ago, the headset Bluetooth buttons don't work for forwarding or rewinding 5 seconds as it used to (it works only when video is playing in background or PiP) this is extremely frustrating
newest version got it solved.
ComunixtaAteuzinho said:
newest version got it solved.
Click to expand...
Click to collapse
I'm still only seeing 1.46.10 on Google Play. There is no newer version available for me.
The lastest beta version is 1.48.1
dhruvdave said:
The lastest beta version is 1.48.1
Click to expand...
Click to collapse
Gotcha. Sorry, I wasn't aware of the beta program. I'll look forward to its forthcoming release on the Play store.

Categories

Resources