54 Commits

Author SHA1 Message Date
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
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
8ed7f061bc First stage of MPC support refactoring 2012-02-02 23:18:10 +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
bbd8bb0cfc Reset pause when last watcher leaves 2012-02-02 22:18:54 +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
70c18ba17f Delay sending pause to mplayer to give it time to initialize, handle mplayer exit in a nicer way. This commit breaks synchronizng mplayer, it will be fixed later. 2012-01-30 22:33:46 +01:00
Tomasz Fluxid Kowalczyk
0aaccf6f97 Make client working with different versions of MPC and different localisations... 2012-01-29 23:02:33 +01:00
Tomasz Fluxid Kowalczyk
069de33303 Sending speed setting to mplayer causes weird sound artifacts 2012-01-29 22:08:10 +01:00
Tomasz Fluxid Kowalczyk
dd652c3a0c Remove wrong file and fix setup 2012-01-29 22:05:48 +01:00
Tomasz Fluxid Kowalczyk
2484ffa6b5 Preparing for windows distro 2012-01-29 21:47:42 +01:00
Tomasz Fluxid Kowalczyk
c634329d9b Matching may fail of MPC is down 2012-01-29 21:38:40 +01:00
Tomasz Fluxid Kowalczyk
7541c8d1b2 Small README fix 2012-01-29 21:06:17 +01:00
Tomasz Fluxid Kowalczyk
1a52b7f303 (Uriziel) Fix controlling MPC 2012-01-29 21:03:18 +01:00
Tomasz Fluxid Kowalczyk
39761012eb Cleanup README.md from useless stuff 2012-01-29 20:18:38 +01:00
Tomasz Fluxid Kowalczyk
c5383413ba Added setup.py 2012-01-29 20:16:45 +01:00
Tomasz Fluxid Kowalczyk
9eb639ad4e Rename scripts 2012-01-29 20:07:23 +01:00
Tomasz Fluxid Kowalczyk
189064060a Add runner for MPC 2012-01-29 19:41:05 +01:00
Tomasz Fluxid Kowalczyk
3394d6af22 Try other approach at handling pause 2012-01-29 19:36:24 +01:00
Tomasz Fluxid Kowalczyk
f26fcbf14c (Uriziel) Add MPC support 2012-01-29 19:35:36 +01:00
Tomasz Fluxid Kowalczyk
c2e9f27a50 Add reponse handling utils for MPC 2012-01-29 19:34:42 +01:00
Tomasz Fluxid Kowalczyk
76518dcf6f Don't modify time by lag if paused 2012-01-29 17:04:27 +01:00
Tomasz Fluxid Kowalczyk
4bbf635c6b Cleanup prints 2012-01-29 16:18:38 +01:00
Tomasz Fluxid Kowalczyk
c9bb239506 Add one more argument to state message, pausing with lagged connection should now work better (at all) 2012-01-29 15:16:26 +01:00
Tomasz Fluxid Kowalczyk
5b529bf36f If globally paused, don't bother with setting speed 2012-01-29 14:48:49 +01:00
Tomasz Fluxid Kowalczyk
09df36fccf Ping did not work, fixed it 2012-01-29 13:56:18 +01:00
Tomasz Fluxid Kowalczyk
77ff8af256 Make reactor stop after mplayer quit. 2012-01-28 23:12:58 +01:00
Tomasz Fluxid Kowalczyk
9a6a593452 Use constant speed to reach so-so synchronization 2012-01-28 23:08:34 +01:00
Tomasz Fluxid Kowalczyk
798d71b5e9 Try harder at synchronizing players by modifying playback speed 2012-01-28 22:24:15 +01:00
Tomasz Fluxid Kowalczyk
7c2d7f4c7d Ping clients and send position time modified by total lag between them 2012-01-28 22:05:04 +01:00
Tomasz Fluxid Kowalczyk
de83d5f47c Remove one more print and add basic synchronization with server time 2012-01-28 20:30:11 +01:00
Tomasz Fluxid Kowalczyk
b3981a5627 Remove prints 2012-01-28 19:57:14 +01:00
Tomasz Fluxid Kowalczyk
5c7ba50e55 Client works, mplayer wrapper works, but synchronization doesn't yet 2012-01-28 19:40:51 +01:00
Tomasz Fluxid Kowalczyk
735363d479 Oops! 2012-01-28 17:03:15 +01:00
Tomasz Fluxid Kowalczyk
338e36514d Added initial, not yet working code for client and mplayer controller 2012-01-28 16:32:24 +01:00
Tomasz Fluxid Kowalczyk
8db7e1223a get_ident as a standalone function is useless 2012-01-28 13:54:22 +01:00
Tomasz Fluxid Kowalczyk
6693450b47 Make a base class, cleanup. I don' like underscores after all. 2012-01-28 13:47:46 +01:00
Tomasz Fluxid Kowalczyk
e87950716d Small boring cleanups 2012-01-28 13:06:50 +01:00
Tomasz Fluxid Kowalczyk
cb7bab4da0 Make name truly optional 2012-01-28 02:46:59 +01:00