DSub for Android

Alternative Android Client for Subsonic

Moderators: daneren2005, moderators

Re: DSub for Android

Postby sdct989 » Thu Jan 31, 2013 4:26 am

I had previously been using the official Subsonic player, but when I recently purchased a new car that had Bluetooth connectivity, I found DSub to be a much better option since it displayed metadata. So thanks for putting your time and effort into the app! I did have a few questions about the Bluetooth connectivity that I was hoping you could answer.

  1. I noticed that playback position and song duration don't show up correctly. I know that my car can display them correctly because the default Android player and a friend's iPhone display them correctly. However, with DSub the number just changes from 0:00 to 0:01 back and forth every second. Is that how playback position is supposed to display? Does this happen for other people? Is there any way to fix this?
  2. I'm currently rooted on Cyanogen Mod 10.0.0 (10.1 doesn't have AVRCP working yet). I know that in general Cyanogen Mod and really all Android platforms as far as I can tell only seem to support AVRCP up to 1.3 (i.e. not 1.4). My question is, is it possible for DSub to display album art on my car stereo's HUD using only AVRCP 1.3? Or does it require 1.4 to be implemented? I know that when my friend connects his iPhone (which are all on AVRCP 1.4 I believe) some of the players have support for sending album art and it looks really snazzy.
User avatar
sdct989
 
Posts: 30
Joined: Thu Jan 31, 2013 4:11 am

Re: DSub for Android

Postby daneren2005 » Thu Jan 31, 2013 5:18 am

I can't seem to find any information on what supports album art, but I will look more into it to see if I can discover anything. As for the position issue do you want to try this out for me and let me know if it does what you are looking for? I'm sorry to ask you to be the guinea pig but I don't have any bluetooth hardware to test with.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: DSub for Android

Postby sdct989 » Thu Jan 31, 2013 5:54 am

No worries. I don't mind being a Guinea Pig when it might fix my problem. :-)

I'll try it out tomorrow and let you know how it goes.
User avatar
sdct989
 
Posts: 30
Joined: Thu Jan 31, 2013 4:11 am

Re: DSub for Android

Postby vancamp » Thu Jan 31, 2013 7:07 am

Any possibility to add transparency to the DSub widget's background for aesthetics?
vancamp
 
Posts: 40
Joined: Wed Aug 11, 2010 7:00 am

Re: DSub for Android

Postby daneren2005 » Thu Jan 31, 2013 3:06 pm

It is transparent...
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: DSub for Android

Postby sdct989 » Thu Jan 31, 2013 8:25 pm

Thanks again for the prompt response about the Bluetooth AVRCP issue. I really appreciate it!

After testing the release that you posted to the forum I found the following:
  • Using the version you posted seems to show no metadata at all (track name, album name, track number, artist name, duration, and playback position were all blank).
  • AVRCP did seem to be functional at least at some low level because I could still play/pause, and skip using my car stereo's controls
  • I have DSub set to cache the entire song before starting playback. There was one point where the metadata showed up while the song was caching, but then was immediately cleared when the song started playing. During the brief time that metadata was showing it displayed 0:00 -> 0:01 -> 0:00 and so on and so forth. I tried this for several other non-cached albums and could not replicate this scenario again.
  • Upon going back to another player (Google Music) I was able to see metadata again
  • Upon further examination of Google Music it was having a hard time displaying playback position as well. It too would rotate back and forth between the next second and the previous second. However, I noticed that if I paused Google Music the playback position would update, but upon hitting play again it would go back and forth on that second and the next (e.g. start a song, car radio displays 0:00 -> 0:01 -> 0:00. I hit pause further along and it displays 0:35. I hit play again and it then displays 0:35 -> 0:36 -> 0:35).
  • Google Music didn't seem to have any problem correctly displaying the duration of the track, as evidenced by the status slider that is presented by the radio.

Let me know if this helps you and if you can think of anything else to try.
User avatar
sdct989
 
Posts: 30
Joined: Thu Jan 31, 2013 4:11 am

Re: DSub for Android

Postby daneren2005 » Thu Jan 31, 2013 9:31 pm

I was trying to just broadcast the position at a regular interval. I will have to try broadcasting all of the metadata information constantly and see if that works. I'll probably do it after work tonight.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: DSub for Android

Postby daneren2005 » Fri Feb 01, 2013 2:48 am

Here try this one. It should be better. It also might have working album art though I doubt it.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: DSub for Android

Postby vancamp » Fri Feb 01, 2013 9:11 am

daneren2005 wrote:It is transparent...

If it is transparent, is there any way to make it more transparent?... it sure looks black to me.
vancamp
 
Posts: 40
Joined: Wed Aug 11, 2010 7:00 am

Re: DSub for Android

Postby sdct989 » Fri Feb 01, 2013 6:02 pm

Alright, I tried your new build out and still no joy on the car stereo HUD. Again, like the previous build, it showed nothing on the radio screen. No artist, album, track, nothing. Every once in a while, before a song started, I would see a brief flash of 0:00, but nothing else.

This made me curious, so I connected it to my Laptop which is running the Broadcom Bluetooth stack and has audio player software that connects to my phone. It was able to flawlessly display Artist, Ablum, Track Name, Track Number, Position, and Duration when running the latest custom build that you posted here.

In further experimenting, I uninstalled the custom build and went back to the market build and again played music on my laptop. The market build did not display song position or duration accurately. Instead the status bar only stayed at the beginning.

So in at least some sense, you're making progress towards displaying position and duration. I have no idea why my car won't display anything with either of the builds you posted. Perhaps it is just more finicky than my laptop's Bluetooth stack? It would be helpful if we could get a few more people to test it with their car stereos so that way we could find out whether it's just my stereo (stock Toyota touch screen) or whether this issue is happening more broadly. I think my friend has an aftermarket Bluetooth stereo in his car. I'll see if I can hit him up this afternoon to do some additional testing.

As far as my car goes though, it seems like the market build of DSub still does the best for my stereo as it at least shows artist, album, track name, and track number.

Thanks again for all of your work on this! I really appreciate it!

Let me know if there is anything else you can think of to test or try.
User avatar
sdct989
 
Posts: 30
Joined: Thu Jan 31, 2013 4:11 am

Re: DSub for Android

Postby sdct989 » Fri Feb 01, 2013 6:46 pm

I just tested both the market version and the most recent version you posted to the forums with my friend's aftermarket stereo (JVC KD-X50BT). In which we got the same results as my Toyota stereo.

The market build displayed artist, album, track name, and track number but playback position just displayed -:-- -> 0:01 -> -:-- and it didn't display duration at all.

The forum build didn't display any information at all.

This might lead me to believe that my laptop's Bluetooth stack is more lenient in how it receives metadata. I would appreciate anyone else out there who could test it with their stereo and/or computer though since 2 cars and 1 laptop is hardly conclusive.
User avatar
sdct989
 
Posts: 30
Joined: Thu Jan 31, 2013 4:11 am

Re: DSub for Android

Postby daneren2005 » Sat Feb 02, 2013 1:21 am

Ok, just as a sanity check can you try this out for me? I don't understand the behavior so I'm making sure that it still was working at all before I started trying to add position updating (ie one of the other changes I made since the last release isn't the cause of it breaking).
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: DSub for Android

Postby axgop » Sat Feb 02, 2013 2:34 am

No matter what I try, I'm getting connection errors when trying my subdomian. I'm running on port 4040 and can access it through a computer with no problem. I've verified that the port is forwarded correctly.

I'm using the 3.7.2 version from the Play store. Connection to the test server works fine and music plays. I've tried using ssl and not using ssl. I've tried entering my external IP and internal IP (when on wifi). I've tried adding the port number to the address. Nothing works. I tried sending the log file, but the file was empty.

I'm using a Samsung Galaxy S3 rooted with CM 10.1.

Thanks
axgop
 
Posts: 1
Joined: Sat Feb 02, 2013 2:17 am

Re: DSub for Android

Postby ballsnaps » Sat Feb 02, 2013 5:10 am

Hi! I'm new to subsonic (came from audio galaxy) Love the app! First thing I bought! So I thumbed through 28 pages and didn't see anyone ask for this feature so I thought I would...is it possible to add the viz bar to your app? I know it's a silly add on but it's really the only thing I like from the official app! Cheers and thanks for a great app!
ballsnaps
 
Posts: 4
Joined: Sat Feb 02, 2013 5:00 am

Re: DSub for Android

Postby daneren2005 » Sat Feb 02, 2013 5:35 am

The what bar?

Sent from my HTC One X using Tapatalk 2
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

PreviousNext

Return to DSub for Android

Who is online

Users browsing this forum: No registered users and 3 guests