Related
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
Hello,
I'm riding a bicycle everyday and skipping a track while riding isn't so easy. Pulling my X10 out of a pocket and changing a song is pretty hard (I have it in etui). So I was looking for an app that could change the tracks being played on a default music player (e.g.MIUI Miusic), not that it has it's own music player, because they're very bad. After pressing a button on a headset the app should activate and wait for voice command (e.g. next track) and it also should work offline, because I don't have instant Internet access, so something like database of commands on a sdcard. Also there wouldn't be such a big problem with language and missunderstanding the command. All the programs that I've found till this time needed Internet connection or had their own music player (e.g.Skyvi). I'm not an Android Dev, so It would be great if some of the Developers could make such a program.
I did a quick search and found https://play.google.com/store/apps/details?id=jp.co.chobirich.tools.mediabutton&hl=en
Would it accomplish what you're looking for albeit without voice commands?
Starfleeter said:
I did a quick search and found https://play.google.com/store/apps/details?id=jp.co.chobirich.tools.mediabutton&hl=en
Would it accomplish what you're looking for albeit without voice commands?
Click to expand...
Click to collapse
SE original headset isn't so fast for that program, so I choose JAYS Headset Control, in which I was able to configure the delay between clicks. It will take a while to learn the speed of clicking etc., but to answer Your question: Yes, this program does thing that I wanted > skips a track without taking out the phone
Thank You
Hi,
I've searched all over and can't find anything so I'm hoping someone here can help.
I recently purchased an android 4.1 head unit for the car. It's decent. But one thing bugs me, the stock music player is rubbish so I use rocket player. The steering functions for changing track did control this, but suddenly stopped working. They started controlling the stock app in the background. Meaning both players were going. If I close the stock app, then no sound from any app comes through the speakers. I must open the stock music app in the background before sound returns.
Any idea how it can just use rocket player with steering functions without all this hassle?
Many thanks in advance for any help
Adrian
Whenever I try to change songs outside the playing app I lose all volume, next/prev controls. I discovered a log and I discovered that there is a file called "CanId.txt" but nothing is written in it. Is there supposed to be a string in it which the code refers to? Can anyone help me make sense of the crash log?
versionName=1.0
versionCode=2002131246
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.contains(java.lang.CharSequence)' on a null object reference
at app.ToolkitApp.mediaKey(ToolkitApp.java:311)
at app.ToolkitApp.mediaKey(ToolkitApp.java:302)
at app.ToolkitApp.mediaNext(ToolkitApp.java:192)
at module.main.HandlerMain.mcuKeyDown(HandlerMain.java:3922)
at module.canbus.analysis.HandlerAnalysis.canbusKeyDown(HandlerAnalysis.java:3151)
at module.canbus.analysis.HandlerAnalysis.keyEvent(HandlerAnalysis.java:2858)
at module.canbus.CAR_0424_XP_KeLeiAo.onHandle(CAR_0424_XP_KeLeiAo.java:148)
at module.canbus.analysis.CanbusTypeXP1.onReceive(CanbusTypeXP1.java:102)
at dev.ReceiverMcu.onHandle(ReceiverMcu.java:1119)
at dev.ReceiverMcu.onReceive(ReceiverMcu.java:216)
at util.SerialThread.run(SerialThread.java:76)
Click to expand...
Click to collapse
An empty value is given to "something" where a string was expected. This goes wrong in the CANbus functions.
And how on earth do you change songs outside the media app? and why?
Or do you mean that you use your steering wheel buttons to change a song while the media app is active?
In that case you need to go back to the reseller either to aks them for the correct CAN bus porotocol, or to mention that there is a bug in the CAN bus protocol decoding for your car/CANbus controller.
surfer63 said:
An empty value is given to "something" where a string was expected. This goes wrong in the CANbus functions.
And how on earth do you change songs outside the media app? and why?
Or do you mean that you use your steering wheel buttons to change a song while the media app is active?
In that case you need to go back to the reseller either to aks them for the correct CAN bus porotocol, or to mention that there is a bug in the CAN bus protocol decoding for your car/CANbus controller.
Click to expand...
Click to collapse
I mean when I open music and go to maps for example, I can't skip songs anymore.
I guess I have no other options other than to visit the dealer.
For those of us who want to run a more standard Android launcher (Nova, oem launchers, etc), what are you guys doing re: music player controls?
I've noticed that car launchers like Agama and Vivid have pretty cool music controls integrated in- whether it is my Bluetooth connection to a phone, Spotify, Amazon Music, YT Music, etc., it displays whatever track information it has (sometimes art too) and universal play/pause/next/prev buttons. I like that.
My Atoto S8 Ultra (uis7862 based unit) comes with a pretty standard launcher. There is a music widget that seems to control just the built in local music player, which I don't like and therefore don't use. It got me thinking, are there any universal widgets that can work the same way the Vivid/Agama/etc launchers handle it?
I found and tried the following so far:
Music Widgets for Car Devices
This seemed promising on paper. I can't get it to switch between sources however, it gets stuck on the last one used even if I clear all open apps. For example, if I had Spotify open, and the next time I drive I want to listen to Amazon Music, it still shows Spotify controls and track information. I have to go into settings for the widget and press OK, only then will it update.
Also, I think I had the Bluetooth track control the very first time I installed it (I was playing music over BT to test it), but ever since I used it with anything else (Spotify, Amazon, etc) it refuses to ever go back to BT control.
Material Music Widget
I like the aesthetics of this one, seems much nicer than the first one. BUT, the trial version only allows you to connect it to a single app player so I can't confirm if it does what I want correctly. I also can't seem to get it to recognize the BT player, I'd imagine if it wasn't designed to be a car player widget it wouldn't be aware of that as an option.
What else should I try? What do you guys use?
I use Poweramp without any widget. The interface allows you to swipe left, right, up and down on the album cover. Very easy and intuitive. I like keeping it open to see the album cover. I have navigation, Waze on the left 2/3 of the screen and Poweramp on the right 1/3. I think it's 2/3 and 1/3 or it could be 3/4 and 1/4...not sure. I usually use the steering wheel controls to switch to the next song and play/pause. I have another button to change source, but I usually don't. I usually listen to the music on my USB stick using Poweramp.
mastrv said:
I use Poweramp without any widget. The interface allows you to swipe left, right, up and down on the album cover. Very easy and intuitive. I like keeping it open to see the album cover. I have navigation, Waze on the left 2/3 of the screen and Poweramp on the right 1/3. I think it's 2/3 and 1/3 or it could be 3/4 and 1/4...not sure. I usually use the steering wheel controls to switch to the next song and play/pause. I have another button to change source, but I usually don't. I usually listen to the music on my USB stick using Poweramp.
Click to expand...
Click to collapse
That doesn't help me though.
I have multiple drivers of my car between my wife and daughter, we use a mix of sources between Spotify, Amazon Music, AA/Bluetooth (because my daughter has her own spotify account she wants to use), etc.
It's annoying to have so many interfaces, I feel like there could/should be one set of "now playing" info on the display, with one universal set of controls for pause/play/next etc.
Agama and other launchers do this correctly, but their UI is too busy and too far from stock for me. I like the stock Android UI better, with the recognizable and colorful icons, but finding a widget like this seems harder than expected.
I am finding the folks at 4PDA made something called Music Proxy which sort of takes over the FYT standard audio player and uses that widget. However, Atoto's built in player widget is kind of ugly, huge, and doesn't even support album art (unlike other launchers that have this built in), I was hoping for a better option.
Suggesting a totally different app (Poweramp) isn't a solution for me personally, although I appreciate the reply.
Still searching for music widget that can go forward and rewind the tracks
Ubiquity ?
surfer63 said:
Ubiquity ?
Click to expand...
Click to collapse
Does that work on our modern Android OS?
dishe2 said:
Does that work on our modern Android OS?
Click to expand...
Click to collapse
No idea. I know they used it on the FYT Android 6 Sofia's. I never used it. I had to dig down deep in my memory and then search Google Play Store to find it back.
I guess you simply have to try.
surfer63 said:
No idea. I know they used it on the FYT Android 6 Sofia's. I never used it. I had to dig down deep in my memory and then search Google Play Store to find it back.
I guess you simply have to try.
Click to expand...
Click to collapse
I wanted to as soon you wrote it, but it says not compatible with my version of Android.
I could try forcing it via side load but I feel like it might just not work since it says designed for KitKat.
Its a shame because we know it's possible for a widget to do what we are asking but no one has done it.
Meanwhile, thanks to suggestions elsewhere here, I found the music widget updater for Teyes and the music proxy app from 4pda that goes along with it.
It's VERY CLOSE to what I want. It turns the standard FYT music player into a "now playing" universal widget, supports pretty much any media including Bluetooth, and gives play/pause/prev/next controls to whatever is currently playing.
The only problem is that the Atoto oem widget is ugly and still doesn't support album art the way the ones I found above do.
It also doesn't go forward or back in the track like the other suggestion, but I know that isn't compatible with Bluetooth streaming anyway (avrcp support is weak, even in the Bluetooth player screen).
I wish I had more experience with app development so I could try making it myself.
Do you have link?
WidgetUpdater for Teyes (Demo) - Apps on Google Play
Display title, artist and cover of the track in Teyes widgets
play.google.com
FYI, thanks to a post in another thread, @surfer63 pointed out that Ubiquity widget DOES work if you just sideload the apk, despite the Play Store saying incompatible. I installed mine from here and it seems to work:
https://m.apkpure.com/ubiquity-music-widget/com.jackthakar.musicwidget
The problem is, it STILL doesn't do what I wanted apparently: Give universal controls for all audio playing, including Bluetooth.
It's pretty much the same as the apps listed in the first post - as in, a good universal widget for apps (Spotify, Amazon Music, Youtube, etc). But it still does not recognize Bluetooth audio streaming. For that source of audio, you need to use the Bluetooth app on the radio to see and control what's playing. This is what I'm trying to avoid having to do.
The launchers like Vivid, Agama, etc, can all seem to integrate this into one player control. Even the WidgetUpdater for Teyes app linked above this post seems to get it, but relies on a very poorly designed stock launcher widget that doesn't look right on Atoto's launcher (text is aligned oddly). It's totally possible to get this working, but I wonder what I'm doing wrong.
Is it possible that Ubiquity works with other FYT units and their Bluetooth controls? I know my Atoto has a funny Bluetooth system compared to other FYT radios.
UPDATE:
Vivid Launcher. If you've tried it before and found it buggy, try it again now. It does it perfectly.
A long time ago and it was terrible re: compatibility with FYT (it was made for a different radio type). Tried to do too much customization and fell short, being buggy and freezing a lot.
I just tried it again because I remember their music widget was pretty spot on, and I have to say it seems like they really fixed it up to be more compatible, and the audio controls are now EVERYTHING I WANTED IT TO BE!
It will even automatically switch to Bluetooth audio as a source if you start playing something off your phone, pausing the head unit's playback elsewhere. Before this, if I was playing Spotify locally, I couldn't hear voice notes on my phone unless I switch over to the BT app. With the new Vivid launcher, it will automatically pause Spotify and switch to BT as a source when it detects something is playing there. I can then hit play on spotify again and continue.
And no matter what audio source is active, their music screen acts as a universal widget with controls and titles and even album art if there is any. I'm just so excited to have found this I had to share.
dishe2 said:
UPDATE:
Vivid Launcher. If you've tried it before and found it buggy, try it again now. It does it perfectly.
A long time ago and it was terrible re: compatibility with FYT (it was made for a different radio type). Tried to do too much customization and fell short, being buggy and freezing a lot.
I just tried it again because I remember their music widget was pretty spot on, and I have to say it seems like they really fixed it up to be more compatible, and the audio controls are now EVERYTHING I WANTED IT TO BE!
It will even automatically switch to Bluetooth audio as a source if you start playing something off your phone, pausing the head unit's playback elsewhere. Before this, if I was playing Spotify locally, I couldn't hear voice notes on my phone unless I switch over to the BT app. With the new Vivid launcher, it will automatically pause Spotify and switch to BT as a source when it detects something is playing there. I can then hit play on spotify again and continue.
And no matter what audio source is active, their music screen acts as a universal widget with controls and titles and even album art if there is any. I'm just so excited to have found this I had to share.
Click to expand...
Click to collapse
What kind of phone do you have and what version of Vivid launcher?
I have special version working well with NavRadio+ and when I use my phone that player sometimes changes into BT playing even if there's no music, but for example sound of typing.
I have a Oneplus 10 Pro, and I dunno - whatever version of Vivid is on the play store about 3 days ago!
I just installed the Vivid launcher on my wife's A6 pf (8581a) and none of the bluetooth or phone functions exist, so I guess they turn on / off features when it recognizes certain hardware?
I noticed that mine lags a couple of seconds before switching to bluetooth, so a notification like turning on my phone or getting a message doesn't switch, but anything that plays for 2+ seconds did. So a voice note would cut off the first couple of seconds, but at least I can replay if I need to and still don't need to change the headunit over.
Maybe your kb has too much constant noise so it clicks over?