Stein Magnus Jodal
b9b73d89c3
setup: No reason to be too specific with the Tornado version
2014-05-14 23:25:36 +02:00
Stein Magnus Jodal
cf22fc98ad
Merge branch 'dz0ny/tornado_http' into develop
2014-05-14 23:07:19 +02:00
Stein Magnus Jodal
47c195085a
Merge pull request #735 from dz0ny/lux_pic
...
Lux screenshot update
2014-05-14 09:28:04 +02:00
dz0ny
d6ddd4a1bd
Fix: Screenshot size
2014-05-14 00:29:38 +02:00
dz0ny
40aaa915cb
Update screenshot for Lux
2014-05-14 00:27:39 +02:00
Janez Troha
e7cceb2e89
Fix: revert removal of extras_requires
2014-05-13 00:25:05 +02:00
Stein Magnus Jodal
0bb83d79a5
docs: Fix typo
2014-05-12 22:03:50 +02:00
dz0ny
031c7c8e93
Add: Tornado as required dependency
...
Fix: Remove draft76
Fix: Remove class attributes for ws handler
Revert: default to /ws/ for for mopidy.html
2014-05-12 16:16:08 +02:00
dz0ny
73721c77ad
Fix: Fields order doesn't matter for json. Test for valid dict and data only
2014-05-12 15:14:42 +02:00
dz0ny
26833b4093
Fix: Import order for whole PR
2014-05-12 14:54:50 +02:00
dz0ny
f1d1a4713b
Squashed commit of the following:
...
commit dbb7005aa866cdc337bde9c8169e9bf15e5c8042
Author: dz0ny <dz0ny@ubuntu.si>
Date: Sun May 11 22:12:58 2014 +0200
Fix: Make PR mergable
commit 5bb27da72c4276a930bf33955e6583f6781d23f6
Author: dz0ny <dz0ny@ubuntu.si>
Date: Thu May 8 23:31:54 2014 +0200
Add: helper method for extensin url
commit 8a348b26b65102084a606ff73384a478bb785cf1
Author: dz0ny <dz0ny@ubuntu.si>
Date: Thu May 8 00:35:50 2014 +0200
Add: Refactor ws and rpc to handlers, reuse code
commit 677c809d2b39a6c982ab835368fdb8a3ad9d1a92
Author: dz0ny <dz0ny@ubuntu.si>
Date: Thu May 8 00:18:10 2014 +0200
Fix: Return proper HTTP headers
commit fe5fea2fc2a0d28a39532d6d4cd2b21013d57d24
Author: dz0ny <dz0ny@ubuntu.si>
Date: Wed May 7 23:48:19 2014 +0200
Add: RPC post handler
Add: tests for http post handler
commit e77e60310853b368758b09b303a96a95ff1b9b93
Author: dz0ny <dz0ny@ubuntu.si>
Date: Sun May 4 22:15:04 2014 +0200
Add: Documentation on how to extend http api
commit a3a14fb5d15f095e5bab23a590e0a8360a039f9a
Author: dz0ny <dz0ny@ubuntu.si>
Date: Sun May 4 19:48:34 2014 +0200
Add: HTTP tests for default router and static handler
commit 0d9544256bcb8f048eaedb5cdd57b1de027d387b
Author: dz0ny <dz0ny@ubuntu.si>
Date: Sun May 4 15:44:32 2014 +0200
Fix: Move StaticFileHandler to main http package
commit c83c9f661e658e4a843dc5c8c6ba5dc3f1ea9c1e
Author: dz0ny <dz0ny@ubuntu.si>
Date: Sun May 4 15:29:49 2014 +0200
Add: default Router implementation
commit 258cb7210bdf13833884c04cfb7fb4fa704394a7
Author: dz0ny <dz0ny@ubuntu.si>
Date: Sun May 4 15:00:46 2014 +0200
Add: Switch to registry for router registration
commit b7bfe7b814235b030d7ac30de90e2331e3d809d3
Author: dz0ny <dz0ny@ubuntu.si>
Date: Sat May 3 21:52:58 2014 +0200
Fix: Private methods
Fix: Point to mopidy.html instead main.html
Fix: Less noise in console
commit 232abe3029e93f78ce25db0c1bd44743cc23ed2d
Author: dz0ny <dz0ny@ubuntu.si>
Date: Sat May 3 21:32:07 2014 +0200
Fix: Start IOLoop in separate thread, so actor can stop it
commit d686892c2fa993cbedc99c8e8e7f9c961ac6f35a
Author: dz0ny <dz0ny@ubuntu.si>
Date: Sat May 3 19:30:49 2014 +0200
Fix: Router load order
Fix: JS helper library WSS default url
Add: Handlers from extensions
commit a1b0f5673a6719f229df27feccb284324675e9d1
Author: dz0ny <dz0ny@ubuntu.si>
Date: Sat May 3 14:53:30 2014 +0200
Add: Switch to Tornado framework
2014-05-12 14:54:50 +02:00
Stein Magnus Jodal
95c06f40db
audio: Fix test setup
2014-05-12 14:52:45 +02:00
Stein Magnus Jodal
b5c6af8d96
docs: Prefer echo ... | sudo tee ... over su -c ...
2014-05-11 13:56:07 +02:00
Stein Magnus Jodal
902064de73
docs: Document proxy/{schema,port}
2014-05-11 13:53:48 +02:00
Stein Magnus Jodal
211c4e9248
docs: Update pip command for installing dev version
2014-05-11 13:40:41 +02:00
Stein Magnus Jodal
e323afb427
docs: Fix typo
2014-05-11 13:39:02 +02:00
Stein Magnus Jodal
25e1aeb417
docs: Remove link to outdated Vagrant image
2014-05-10 23:20:00 +02:00
Thomas Adamcik
b2564bd36f
Merge branch 'AlexandrePTJ-feature/gst_proxy' into develop
2014-05-09 00:09:18 +02:00
Thomas Adamcik
e269496c07
audio: Cleanup flake and some style issues
2014-05-09 00:05:51 +02:00
Thomas Adamcik
48184ad9d9
Merge branch 'feature/gst_proxy' of https://github.com/AlexandrePTJ/mopidy into AlexandrePTJ-feature/gst_proxy
...
Conflicts:
docs/changelog.rst
mopidy/http/actor.py
2014-05-08 23:56:52 +02:00
Stein Magnus Jodal
d7731dd5d4
Add dev-requirements.txt with a number of tools
2014-05-08 23:11:30 +02:00
Thomas Adamcik
e4e7b20f74
flake: Fix stupid flake error caused by newly added check
2014-05-08 22:57:02 +02:00
Thomas Adamcik
56b9724ffc
Merge pull request #715 from geigerzaehler/gst-buffer
...
Pause gstreamer when buffering
2014-05-08 22:07:13 +02:00
Stein Magnus Jodal
1c15de4c3f
docs: flake8 no longer requires any arguments
2014-05-07 20:46:20 +02:00
Stein Magnus Jodal
9c3ddcd3c8
flake8: Test everything by default, exclude .tox
2014-05-07 20:35:03 +02:00
Stein Magnus Jodal
b754885064
Fix all import order warnings
2014-05-07 20:08:43 +02:00
Stein Magnus Jodal
a4ca3655ad
tox: Make flake8 test import order
2014-05-07 19:59:20 +02:00
Stein Magnus Jodal
2979de0f94
http: Polish Mopidy-HTTP Zeroconf service
...
Builds upon #725 to:
- Remove extra config for Mopidy-HTTP Zeroconf service
- Refactor Zeroconf setup code in the HTTP frontend a bit
- Add documentation
2014-05-06 23:20:14 +02:00
Stein Magnus Jodal
1b5c21452f
Merge wlcx/feature/zeroconf-announce-mopidy into develop
2014-05-06 23:16:26 +02:00
Stein Magnus Jodal
9ffceaf3d2
local: Add missing file
2014-05-06 23:16:19 +02:00
Stein Magnus Jodal
c7b3f4a978
local: Created needed dirs when scanning ( fix #703 )
2014-05-06 22:59:16 +02:00
Stein Magnus Jodal
7ae9a045df
Merge trygveaa/fix/bug-703-library-ensure-directory-exists into develop
2014-05-06 22:36:51 +02:00
Stein Magnus Jodal
5c8daad0ea
docs: Update changelog
2014-05-06 22:33:11 +02:00
Stein Magnus Jodal
9d4bcf21bc
Merge pull request #722 from trygveaa/develop
...
network: Respond to messages before closing connections
2014-05-06 22:28:55 +02:00
Stein Magnus Jodal
f6556ffafc
travis: Use 2.7_with_system_site_packages so tox with sitepackages=true can find gst/glib/etc
2014-05-03 12:10:27 +02:00
Stein Magnus Jodal
acca9752af
docs: Use badges from Shields.io
2014-05-03 12:10:27 +02:00
Trygve Aaberge
4220aa30ec
local: Ensure directory for library exists ( fixes #703 )
2014-05-03 02:15:14 +02:00
Sam Willcocks
05089fba3b
Update tests to add zeroconf-websocket config option
2014-04-27 17:50:41 +01:00
Sam Willcocks
f54377eb8a
Update default http config to add new zeroconf-websocket option
2014-04-27 17:37:51 +01:00
Sam Willcocks
9c402274bf
Merge branch 'develop' into feature/zeroconf-announce-mopidy
2014-04-27 04:51:46 +01:00
Sam Willcocks
4e8f1c7d54
Add extra zeroconf stuff in http to announce mopidy-http as it's own service
...
This is intended to help clients using the websocket api discover mopidy
2014-04-27 03:30:16 +01:00
Stein Magnus Jodal
b587b47e86
docs: Remove client screenshot to not grow packages with 3.5MB
2014-04-26 22:50:06 +02:00
Trygve Aaberge
d62ad966af
network: Respond to messages before closing connections
...
This makes a connection tell the actor to stop the connection, instead
of stopping it itself. This is preferable, because other messages sent
to the actor that is not processed yet, may now send data to the client.
E.g. it makes this work:
$ echo status | nc localhost 6600
2014-04-25 06:11:01 +02:00
Stein Magnus Jodal
203b13aad7
docs: Add missing image
2014-04-19 14:16:23 +02:00
Stein Magnus Jodal
a311f3ca08
docs: Add Apollo player to web client list
2014-04-19 11:43:54 +02:00
Thomas Scholtes
2b7ff237b8
Add tests for Audio buffering
2014-04-03 21:43:56 +02:00
Thomas Scholtes
1e16817e39
Don’t start playing automatically when buffer is full
...
Previously, when `Audio.pause_playback()` was called while buffering, the audio
actor would switch back to the playing state when the buffer was full.
2014-04-03 20:30:41 +02:00
Thomas Scholtes
d42ebd1fec
Set buffer properties of gstreamer pipeline
...
Manually set the `playbin2` buffer properties to their default values. The
default values are not documented but hard-coded in gstreamer [1].
This is a starting point for making these properties configurable. For example
we might want higher values on system with unsteady network connection.
[1]: http://cgit.freedesktop.org/gstreamer/gst-plugins-base/tree/gst/playback/gsturidecodebin.c?h=0.10#n1714
2014-03-31 12:29:04 +02:00
Thomas Scholtes
4d287697e4
Pause gstreamer when buffering
...
When the `playbin2` pipeline is in `PLAYING` state and its buffer is empty the
pipeline will consume arriving data immediately. If the source is an HTTP
stream this leads to choppy playback. To fix this we pause playing when the
buffer is nearly empty and wait for it to fill up until we resume playing. This
approach is recommended in the gstreamer manual [1].
We might want to extract the hard-coded 10% mark and make it configurable.
[1]: http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-buffering.html
2014-03-31 12:29:04 +02:00
Stein Magnus Jodal
ed918fc7ff
core: Fix shadowed import
...
Catched by new stricter flake8
2014-03-31 09:53:54 +02:00