95 Commits

Author SHA1 Message Date
Uriziel
462fbac614 Fixing division by 0 exception 2012-06-29 16:17:51 +02:00
Uriziel
4e13d97c0a Adding a resync on pause 2012-06-29 00:12:57 +02:00
Uriziel
7d0b9922f9 Fix on changing files 2012-06-29 00:03:35 +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
da66a58309 Adding mlpayer's osd 2012-06-27 18:17:53 +02:00
Uriziel
0f1735da74 Some hacking on api 2012-06-27 17:24:01 +02:00
Uriziel
269e4fc7d2 MPlayer osd off 2012-06-27 12:47:01 +02:00
Uriziel
6451a3b9b0 Fix for not existing player 2012-06-27 12:38:05 +02:00
Uriziel
9c3fcb0dc2 OSD support for mplayer
MPC-API client additional arguments
2012-06-27 11:52:39 +02:00
Uriziel
e9e7e31de6 Adding osd support
Refactorization of code
2012-06-27 11:51:49 +02:00
Uriziel
01ab30f8c6 Fixed mplayer not opening file 2012-06-26 19:49:52 +02:00
Uriziel
44c3639663 fixed saving and reading ini 2012-06-26 19:33:27 +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
7b5adc9c05 Improved removing watchers
Added 8 sec idle time removal
2012-06-23 17:46:41 +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
393e6f3306 Fixed config file location 2012-06-21 15:32:12 +02:00
Uriziel
1c4228df1c Seek has now higher priority 2012-06-21 14:59:46 +02:00
Uriziel
950b77bcd7 Fix dla exe 2012-06-21 14:08:08 +02:00
Uriziel
77927e3490 Dodanie brakujcego pliku, dodanie pliku konfiguracyjnego, argumenty
parsowane sa teraz przez ArgumentParser
2012-06-21 13:40:57 +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
34eb082eef Utilities for local testing with emulated latency and time offset 2012-02-18 16:02:47 +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
caaa176247 Drop client after 1 minute of not responding for pings 2012-02-15 20:37:58 +01:00
Tomasz Fluxid Kowalczyk
4e8cd4b6b3 Allow more than one "last ping", this should make stuff better on worse connections 2012-02-15 20:27:34 +01:00
Tomasz Fluxid Kowalczyk
bccbda23b7 Schedule next ping immediately after sending one 2012-02-15 19:49:01 +01:00
Tomasz Fluxid Kowalczyk
1e23e98d78 Calculate clock offset within 20 first pings and then freeze it 2012-02-15 19:45:05 +01:00
Tomasz Fluxid Kowalczyk
e25ba023ed Add simple client clock offset calculating logic 2012-02-11 14:47:41 +01:00
Tomasz Fluxid Kowalczyk
1b7a9984f9 Fix UnboundLocalError in server 2012-02-05 22:30:27 +01:00
Tomasz Fluxid Kowalczyk
414babf198 Update README and +x launchers 2012-02-05 16:20:22 +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
35b1288b79 Add ping to seek position 2012-02-05 14:47:48 +01:00
Tomasz Fluxid Kowalczyk
80111137a7 Prevent client from sending seek multiple times 2012-02-05 14:46:18 +01:00
Tomasz Fluxid Kowalczyk
965e3c2d3c Don`t spam with what is playing now in mpc 2012-02-04 21:24:23 +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
42693afe08 mpc doesn`t support set_speed - to be worked on later, stub it for now 2012-02-03 22:55:36 +01:00