Polestar Forum banner

AudioWagon: USB media player for Android Automotive OS

97K views 287 replies 75 participants last post by  8heures  
#1 ·
Hi there,

for the last months I have been trying to develop a USB media player that will work with a Polestar 2... and I succeeded :cool:.
I am planning on releasing this project as free and open source software soon but I wanted to ask for some help first. I am currently looking for:
  • beta testers (to find issues that I can fix before releasing)
  • native speakers to volunteer to translate the app (right now I only have it in English and German)
If you are interested in this project or want to contribute as beta tester or translate something, you can find more information here:
Audiowagon documentation

Thanks and best regards,
MoleMan
 
#8 ·
Thanks guys! I've put a quick post in the main forum area that points to this thread too, in case people don't frequent the Infotainment section...
 
#13 ·
Thanks for doing this project.
You should post on other forums if you need help with the project. Volvo put AAOS in 2022 XC60, S90, V90 and V90 CC models.

 
#14 ·
Polestar have previously stated on their Facebook community that the USB port is not capable of data connection, only charging... So as they have said this I can't possibly see how you could have got this to work.

This sort of bulls*%t from Polestar really undermines their credibility. Why not just say "USB playback has been removed from our roadmap because we don't have the resources to do it" rather than "USB streaming is not possible, we focus on streaming services over 4G"
 
#15 ·
Thank you for the very welcome project!

I don't have a car yet, so can't test, but would be very happy to help translate to Norwegian.

Some suggestions for future roadmap:

Maybe plugins for less popular audio formats? I guess .flac is a given, some of the audio-freaks among us might have some dsd files (dsf/dff) in our collections.
A good place to look for file formats and ideas for plugins might be logitech media server, which is free and open source. I use it at home to handle my collection and access to the streaming services that I use. There's an excellent discussion forum here.

Apologising for pulling the thread off-topic and assuming that Polestar is not going to put any effort into improving the audio experience, one feature that might be really good to have would be access to something like Subsonic. That would allow us to connect to our home collections without copying over to USB.

Anyway, main reason for my post is to thank and offer translation help.

BR.
 
#18 ·
I downloaded the labels xml sheet from audiowagon_beta/strings.xml at main · MoleMan1024/audiowagon_beta

Having taken a look, it's not that long, but I realised that as I'm not a native Norwegian, I'm not sure of how some of the audio-specific stuff should be translated.

Still happy to be a part of the translation effort, but it would be great to have some real Norwegians on-board too. May I send you a PM?

I can probably put together a first-draft this evening for any genuine Vikings to QC.
 
#22 ·
hi @rgledhill sorry, I did not see these answers yet, I was a bit overwhelmed with messages recently, I wonder why ;)

If anyone would like to help to translate, yes just go ahead and download the English strings here, open in a text editor (e.g. Notepad++), translate, and send back to me so I can put them in the software. Norwegian has not been translated yet, go for it.

If you would like to beta test, please send me an e-mail with the info I need (see instructions ), I saw some of you already did that, I recognize the names.

Regarding additional features, sorry I am not looking into these right now, I first wanted to get what I have right now in a working state for anyone to use. But as soon as I publish the source code, other developers might start to expand this with other features or learn from it to build other kinds of apps.
 
#23 ·
@Thor @mroek

I have extracted the English strings to an Excel sheet and provided 1st. draft Norwegian translations as far as I can. I'd be really glad if one or both of you could look through it and give better suggestions. I have attached the sheet here with a false .txt extension to get past the upload filter. Please rename the suffix back to .xlsx before trying to open it.
If we want to discuss it, maybe it's best to do that in our own group or PM, so as not to pollute the thread here too much. When we're done, I'll re-insert the strings into the .xml and send to MoleMan.
 

Attachments

#31 · (Edited)
If anyone wants to full a 128GB usb drive like me, it's not possible to FAT32 format a drive this big using Windows.
exFat does not work in our cars.

You need to launch PowerShell in Admin mode (WIndows+X) and type :
format /FS:FAT32 F: /q
F: being the letter of your USB drive

Update : This does not work, sorry.

You need an app for that : Download SmartDisk FAT32 Format Utility 1.0.0.1

I'm currently loading my USB drive full, to test the app with a lot of files.
 
#32 ·
[...]
I'm currently loading my USB drive full, to test the app with a lot of files.
Don't bother, the current version has an issue when you have very many files (see issue tracker). Good news is, I already have a fix lined up for the next version.
Right now anything above approx. 500 tracks might give you an issue where the app will no longer respond. In the next version I should be able to support up to approx. 150000 tracks.
 
#33 ·
To the beta testers that use AudioWagon with Polestar 2 version P2127 or later (the one where the audio should start playing back when you return to the car and you left it playing when you previously exited the car). First of all, does that work for radio, Spotify, etc.?
I don't have this version in my car, I would like to see if I receive a play() command in the app in this case. Could someone with this version or later test the following and send me the logfiles?
  • have AudioWagon play something with logging to USB enabled
  • keep the playback on, leave the car and lock it
  • return after some time, open driver door, sit
  • when AudioWagon asks for USB permission, allow it
  • wait a couple of seconds, then eject USB drive via the app, and unplug USB drive to get the logfiles
It will likely not start playing because of the USB permissin popup inbetween, I just want to see if the play() command is being sent to the app at all during startup. If yes, I need to store it for later and start playing when the USB permission has been given so you have the same behaviour as in other apps with P2127 or higher.
Thank you.
 
#42 · (Edited)
Hi MoleMan,
I just tried this for you, on P2127.
  • Unlocked the car, entered, accepted the USB permission, started playback
  • Left the car
  • Locked the car
  • Music stopped
  • Waited 2 seconds
  • Unlocked the car
  • Entered the car
  • Music resumed !!!
But if I wait more after locking the car, the permission dialog opens when entering, and music does not resume after approving.
I think your idea will work, "latch" the play command and execute later, when USB permission is accepted.

But I really hope Android 11 will stop asking for permission...

I will open an issue in Github, with my logs.