nickylin / clementine-remote-android

Automatically exported from code.google.com/p/clementine-remote-android
GNU General Public License v3.0
0 stars 0 forks source link

Please support automatic peering #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently I need to enter the IP of the remote Clementine machine into the 
Android app. This is cumbersome and inconvenient. For example, my IP might 
change regularly and be different in different networks.

It would be great if Clementine Remote Android would support some more 
automatic form of peering, for example using:
* ZeroConf:
  Display a list of Clementine services in the network
* Bluetooth:
  1) Peer your phone with the desktop using bluetooth
  2a) Then announce some extra bluetooth service (I do not know if bluetooth allows custom services)
  2b) If that is impossible: Show the list of connected bluetooth devices and exchange connection information via file-transfer
* IPv6 multicast
  Basically a special purpose ZeroConf rip-off
* Local network broadcast
  Similar to what NetBIOS did

Original issue reported on code.google.com by devuran...@gmx.net on 25 Oct 2013 at 1:01

GoogleCodeExporter commented 9 years ago
Clementine and Clementine Remote already uses ZeroConf. Unfortunately, on 
Windows it's very unstable.

On what OS are you using Clementine?

Original comment by asfa...@googlemail.com on 25 Oct 2013 at 6:27

GoogleCodeExporter commented 9 years ago
Clementine runs on Linux (Ubuntu). Maybe ZeroConf did not work, because the 
phone and the desktop are in two different networks (with global IPs).

A few more ideas for how peering could work:
* QR Code:
  Probably the most simple way. Works only until the IP changes, of course.
* NFC?
* USB:
  Is it possibel to transfer arbitrary data via a USB connection to some app? Can a USB port act as a network interface? (I know Bluetooth can - using PAN.) The alternative would again be: file-transfer

Original comment by devuran...@gmx.net on 25 Oct 2013 at 10:20

GoogleCodeExporter commented 9 years ago
Yeah, ZeroConf works only when you are in the same subnet afaik.

What about a history of connected Clementines inside the app where you can 
choose which to connect to?

Original comment by asfa...@googlemail.com on 26 Oct 2013 at 7:32

GoogleCodeExporter commented 9 years ago
That would probably be a nice feature, but not help in my case. I get varying 
IPs from DHCP and via IPv6 privacy extensions. It is unlikely, I will get the 
same twice within a reasonable timeframe.

Original comment by devuran...@gmx.net on 26 Oct 2013 at 9:43

GoogleCodeExporter commented 9 years ago
I will see if more people are interested in this. In the meantime, if you can 
code yourself, feel free to provide a patch for this.

Original comment by asfa...@googlemail.com on 30 Oct 2013 at 9:59

GoogleCodeExporter commented 9 years ago
This project moved to GitHub. Please continue the discussion here: 
https://github.com/clementine-player/Android-Remote/issues/23

Original comment by asfa...@googlemail.com on 6 Dec 2013 at 11:17