Commit Graph

186 Commits

Author SHA1 Message Date
Andreas 8a97e317a6 Send Random and Repeat Mode on connection. 2013-02-03 20:24:36 +01:00
Andreas 617c575ef4 Send all playlist on connect. 2013-02-02 16:51:48 +01:00
Andreas a4d26bc249 - Actually fix the SIGPIPE (Broken Pipe) Error. It was caused by the QTcpSocket::flush().
- Revert previous SIGPIPE fixes.
- Rename method in RemoteClient to match its function.
2013-01-28 22:45:26 +01:00
Andreas a2c07527bf Included signal header file in main.cpp. 2013-01-28 15:40:00 +01:00
Andreas fcc0da554b Moved signal(SIGPIPE, SIG_IGN) to main. 2013-01-28 14:39:31 +01:00
Andreas a40aa6fb8d Added security methods to prevent SIGPIPE termination. 2013-01-28 14:21:04 +01:00
Andreas 4ed516ad1f Send the current track position when a client connects 2013-01-26 11:52:53 +01:00
Andreas 9472c5ace2 - Fixed a bug where clementine crashed when restarting the server (e.g. changed setting). Cause by wrong connect statement.
- Added set track position feature in proto
- Added authentication method
- Clementine sends now a disconnect message when closed
2013-01-23 20:02:12 +01:00
John Maguire 0e6ff8fdc6 Add missing include for std::floor(). 2013-01-23 12:11:59 +01:00
Andreas 78ad2fb517 Fixed an issue where clementine could crash: A client connects before the playlist manager is
initialized. This caused a null pointer exception. Now the server is started after the
playlist manager was initialized.
2013-01-22 22:58:32 +01:00
Andreas 0828115c74 - Display a qr code in the remote control settings to download the android app
- Transfer the current track position to clients
2013-01-22 22:02:16 +01:00
Andreas e9fd09193c This should fix the issue, that the coverart is not transfered on windows. 2013-01-18 19:03:25 +01:00
John Maguire 0b60a17a2b Add MDNS implementation for windows. 2013-01-17 14:11:15 +01:00
Andreas 76c294e470 Merged from "remotecontrol". Fixed two broken connects 2013-01-16 19:26:33 +01:00
John Maguire 209b342bb9 Re-order avahi calls to make it more obvious what's going on. 2013-01-16 15:48:04 +01:00
John Maguire 7d09548243 Add mDNS service publishing on Mac. 2013-01-16 15:26:35 +01:00
John Maguire 0e226cc34b Add mDNS service publishing on Linux for the remote control. 2013-01-16 14:56:31 +01:00
Andreas e452ae3ea9 Fixed a bug in IpIsPrivate where 192.168.x.x was not recognized as a private ip. 2013-01-15 20:20:31 +01:00
John Maguire 32b81f057d Fix broken connect 2013-01-15 14:59:48 +01:00
Andreas 51ba9f47dc added repeat and shuffe functionality 2013-01-15 14:43:02 +01:00
Andreas 0a97623df3 Changed sending playlist songs 2013-01-15 14:03:00 +01:00
John Maguire 06568248fc Tidy up some remote control protobuf usage and style quirks. 2013-01-15 13:05:43 +01:00
Andreas 8cb0b3d349 fixed commit 2013-01-14 22:00:56 +01:00
Andreas aa8d512444 Merge remote-tracking branch 'remote/remotecontrol'
Conflicts:
	ext/libclementine-remote/remotecontrolmessages.proto
	src/networkremote/networkremote.cpp
2013-01-14 21:39:01 +01:00
John Maguire 3dd1f10260 Remove unnecessary inheritance on QThread. 2013-01-14 17:23:06 +01:00
John Maguire 408909ffa2 Tidy up NetworkRemote - scoped_ptr, initialisation lists, etc. 2013-01-14 17:18:24 +01:00
John Maguire 555467e764 Tidy up remote control protobuf. 2013-01-14 16:17:36 +01:00
Andreas e915d2e993 Transfer coverart without base64 2013-01-14 16:09:22 +01:00
Andreas 6bb02d2731 Transfer coverart without base64 2013-01-12 17:22:40 +01:00
John Maguire a4df18efee Use a better check for private subnets. 2013-01-11 13:55:09 +01:00
Andreas 04ccdbbf08 added version to protocol buffer message
changed client handling
only non public ips can connect (can change that in options)
2013-01-10 21:21:55 +01:00
Andreas c732e70511 multiclient support and shuffle feature 2013-01-09 20:07:28 +01:00
Andreas 7187e2440f removed base64 encoding 2013-01-09 17:38:24 +01:00
Andreas fe0c1b5206 Changed xml to protocol buffers 2013-01-03 21:40:47 +01:00
Andreas a752f704f6 forgot to rename function 2012-12-31 23:52:12 +01:00
Andreas f10292eb95 Added remote control for clementine 2012-12-31 23:37:39 +01:00