mithunkundu1983 / tunesremote-plus

Automatically exported from code.google.com/p/tunesremote-plus
0 stars 0 forks source link

No Speakers selection option for Airport Express or Airfoil #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In the original "Itunes Remote" app, there is an option to choose
speakers (if you have airport express)

Original issue reported on code.google.com by mellowaredev on 3 Nov 2010 at 12:10

GoogleCodeExporter commented 8 years ago
I would also like to be able to select the airtunes speakers from the app...

Original comment by daluzduq...@gmail.com on 8 Jan 2011 at 3:14

GoogleCodeExporter commented 8 years ago
If you absolutely need this functionality right now then Hyperfine Remote for 
Itunes supports speaker selection with their app.  I know it is 4.99 but it's a 
very nice app.

Not sure when this will be supported in TunesRemote+ as no one has volunteered 
to patch it yet.

Original comment by mellowaredev on 9 Jan 2011 at 4:02

GoogleCodeExporter commented 8 years ago
Bring some doc on it, and i will have a look at it

Original comment by jenskris...@gmail.com on 20 Feb 2011 at 1:53

GoogleCodeExporter commented 8 years ago
Basically The remote should make a Speakers request to get the list of 
available speakers.

Request To Get Speakers:
GET /ctrl-int/1/getspeakers?session-id=8675309

 Response:
casp  --+
    mstt   4      000000c8 == 200
    mdcl  --+
       minm   8      Computer
       msma   8      0000000000000000 == 0
       caia   1      01 == 1
       cmvo   4      00000064 == 100
    mdcl  --+
       cmvo   4      00000064 == 100
       minm   27     Melloware's AirPort Express
       msma   8      000078ca3946072a == 132809939617578

Then when you select speakers use use the setSpeakers property.

/ctrl-int/1/setspeakers?speaker-id=0,0xe53c5e209ad4&session-id=1658927929

Where speakerId is a comma separated list of speaker id's from the above MSMA 
value.

Original comment by mellowaredev on 20 Feb 2011 at 2:59

GoogleCodeExporter commented 8 years ago
I have created a patch to add the speakers functionality. This patch is based 
on TunesRemote+ version 2.2 from 2011-03-21. 
To get an idea of the new functions you can have a look at the attached 
screenshots.

I have tested the patch on the devices:
- Samsung Galaxy Tab (Android 2.2)
- HTC Hero (Android 2.1 update1)

It would be great to see it being applied in one of the next versions.
Note: The Speakers-MenuItem will only appear, if you have more than one speaker 
connected to your iTunes instance.

Please contact me for any questions. If you give me access, I could also commit 
the changes into SVN.

Regards,
Daniel

Original comment by dandroi...@googlemail.com on 22 Mar 2011 at 5:58

Attachments:

GoogleCodeExporter commented 8 years ago
Daniel I will implement this patch right now.  Great work!

Original comment by mellowaredev on 22 Mar 2011 at 6:00

GoogleCodeExporter commented 8 years ago
Can you test the integrated patch with this APK to make sure it works?

http://code.google.com/p/tunesremote-plus/downloads/list

Original comment by mellowaredev on 22 Mar 2011 at 6:28

GoogleCodeExporter commented 8 years ago
Tested and it didn't seem to break anything so I released 2.3.0 to the Android 
Market.

Original comment by mellowaredev on 23 Mar 2011 at 1:52

GoogleCodeExporter commented 8 years ago
Send me an email to mellowaredev@gmail.com so I can add your email as a 
Contributor to the project and assign some defects to you!

Original comment by mellowaredev on 24 Mar 2011 at 6:44

GoogleCodeExporter commented 8 years ago
re-opening due to this defect.

http://code.google.com/p/tunesremote-plus/issues/detail?id=38

Original comment by mellowaredev on 25 Mar 2011 at 2:38

GoogleCodeExporter commented 8 years ago
Sorry, there was an error in my code - I accidentally deleted one character in 
the ResponseParser's BRANCH pattern. That results in the track list not being 
parsed anymore.
You can either add an 's' In ResponseParser line 46 like so:

|adb|casp|mdcl)");  --> |adbs|casp|mdcl)");

or apply the attached patch.

Original comment by dandroi...@googlemail.com on 25 Mar 2011 at 10:32

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed!  2.3.1 published to Android Market.

Original comment by mellowaredev on 25 Mar 2011 at 11:59