60 Commits

Author SHA1 Message Date
Uriziel
698fba9054 Added server password
Added server argument parser
Added isolated rooms
Added more verbose server settings
Added configurable default room for client and server
2012-09-18 13:08:48 +02:00
Uriziel
09fc738cc3 Upgraded server file to new protocol idea 2012-09-17 21:19:58 +02:00
Uriziel
70e0eb7163 reverse seek fix 2012-09-17 19:32:55 +02:00
Uriziel
cc5d167e88 Refactoring
Reconnect fix
Unpause on start fix
2012-09-17 19:21:37 +02:00
Uriziel
7d4f75881f Refactoring, adding user list 2012-08-19 18:31:55 +02:00
Uriziel
aba2117344 Completly new setup 2012-07-11 10:41:23 +02:00
Uriziel
321fb5a3a5 bug fixes on refactoring 2012-07-10 19:38:37 +02:00
Uriziel
177821e170 It works now 2012-07-10 19:22:30 +02:00
Uriziel
97a357ae00 refactoring 2012-07-10 18:19:42 +02:00
Uriziel
f8672bdd6d refactoring + encapsulation 2012-07-10 18:18:34 +02:00
Uriziel
18681538e2 Refactoring 2012-07-10 14:39:25 +02:00
Uriziel
d9928e644a Not used 2012-07-05 00:24:29 +02:00
Uriziel
4fda98492b Fixes on mpc-api 2012-06-29 21:59:32 +02:00
Uriziel
2b7687b449 Refactorization 2012-06-29 16:19:06 +02:00
Uriziel
4e13d97c0a Adding a resync on pause 2012-06-29 00:12:57 +02:00
Uriziel
ef2b914c0e Changing slowing times 2012-06-27 18:44:12 +02:00
Uriziel
c4fe5b42d9 Added help command 2012-06-27 18:29:55 +02:00
Uriziel
0f1735da74 Some hacking on api 2012-06-27 17:24:01 +02:00
Uriziel
6451a3b9b0 Fix for not existing player 2012-06-27 12:38:05 +02:00
Uriziel
e9e7e31de6 Adding osd support
Refactorization of code
2012-06-27 11:51:49 +02:00
Uriziel
f8b0ca0c31 Corrected messages on client 2012-06-26 18:23:13 +02:00
Uriziel
a99f7fb241 New... everything 2012-06-26 18:19:27 +02:00
Uriziel
8df1894524 Added rooms, removed debug prints 2012-06-23 17:31:55 +02:00
Uriziel
f6e6cad1a6 Code a bit more readable, protocol standarized a bit, added better name
handling on server
2012-06-23 15:30:16 +02:00
Uriziel
c5a33875b3 Quick pause-sync fix 2012-06-21 20:56:29 +02:00
Uriziel
fb75c22925 Probably better seeking and syncing 2012-06-21 19:34:40 +02:00
Uriziel
1c4228df1c Seek has now higher priority 2012-06-21 14:59:46 +02:00
Uriziel
575c30bbe9 Dla mpc dodana obsuga config file
refaktoryzacja kodu
2012-06-21 12:30:54 +02:00
Uriziel
3a25110adf poprawiony regexp do seekowania, naprawiony bug ze specjalymi znakami
utf8, komenda s bez argumentow seekuje do 0
2012-06-21 01:49:25 +02:00
Uriziel
4d48787d6c Dodana obsuga komend z stdin 2012-06-21 01:11:11 +02:00
Tomasz Fluxid Kowalczyk
1705647ddd Fixed race conditions between clients on high latency connections
This works, but code craves for a huge cleanup and refactoring.
2012-02-18 22:08:38 +01:00
Tomasz Fluxid Kowalczyk
d0e23f9b0e Changed protocol, now we're sending timestamps.
Now client gets more precise positions, and lagged packets/latency
spikes shouldn't now cause synching problems. Syncing should be a bit
more precise now in general, when seeking/joining to playing session.
2012-02-18 16:07:12 +01:00
Tomasz Fluxid Kowalczyk
b428ee1983 Added pretty useless feature: change nick if it`s duplicate 2012-02-15 21:09:50 +01:00
Tomasz Fluxid Kowalczyk
e25ba023ed Add simple client clock offset calculating logic 2012-02-11 14:47:41 +01:00
Tomasz Fluxid Kowalczyk
2fefd7dd28 Synchronize client with player better
This prevents seeking loops between clients.
2012-02-05 14:56:23 +01:00
Tomasz Fluxid Kowalczyk
80111137a7 Prevent client from sending seek multiple times 2012-02-05 14:46:18 +01:00
Tomasz Fluxid Kowalczyk
41a9448597 Implemented seek, allowed only slowdown in fine-synchro 2012-02-04 21:13:33 +01:00
Tomasz Fluxid Kowalczyk
2e0ed52e1c Show who paused/unpaused 2012-02-04 18:26:29 +01:00
Tomasz Fluxid Kowalczyk
3c0b8154ac Show joins, lefts, and present people after join 2012-02-04 18:07:54 +01:00
Tomasz Fluxid Kowalczyk
eaaa661099 First broadcast of filename being playing 2012-02-04 17:43:37 +01:00
Tomasz Fluxid Kowalczyk
8b11382e98 Simplify argument count checking 2012-02-04 17:29:03 +01:00
Tomasz Fluxid Kowalczyk
671eb79c08 Changes in protocol
* Escape characters and allow more than one string with spaces
* Time is now in miliseconds
* More proper error handling (though argument count checking need
  improvement)
2012-02-04 16:26:38 +01:00
Tomasz Fluxid Kowalczyk
2b472fa802 Inform about filename in other way 2012-02-04 13:31:19 +01:00
Tomasz Fluxid Kowalczyk
423ac2252c Further changes and fixes in MPC support, pushed filename to manager 2012-02-03 22:33:09 +01:00
Tomasz Fluxid Kowalczyk
204317762d Return position 0 instead of None 2012-02-02 23:16:58 +01:00
Tomasz Fluxid Kowalczyk
ccfb065ad7 Move code around a bit and renamed some functions
Merged asking for and updating status player into one operation, this
will help simplifying MPC player control.
2012-02-02 22:23:06 +01:00
Tomasz Fluxid Kowalczyk
cf488bd995 Fix joining to sessions which have longer playing time. It works but still needs some polishing. 2012-02-01 00:23:54 +01:00
Tomasz Fluxid Kowalczyk
0ba0581063 Make handling mplayer and connection a bit nicer. Changes to MPC will follow later, after I solve other problems. 2012-01-31 23:13:16 +01:00
Tomasz Fluxid Kowalczyk
89b48934b7 Fixed synchronization, but joining new mplayer to already playing session still fails 2012-01-30 22:59:28 +01:00
Tomasz Fluxid Kowalczyk
069de33303 Sending speed setting to mplayer causes weird sound artifacts 2012-01-29 22:08:10 +01:00