Thomas Adamcik
341dea7262
stream backend: Add StreamBackend, fixes #151
...
Adds a basic streaming backend simply handles streaming audio and nothing else.
I.e. no metadata beyond the URI we where given. #270 still needs to be solved
for actual metadata to make sense in this backend.
2013-01-01 17:30:38 +01:00
Thomas Adamcik
4f11ac77ae
settings: Update settings validator to support empty iterables.
2013-01-01 17:30:24 +01:00
Stein Magnus Jodal
fb8e96bbf0
docs: Add woutervanwijk's web client
2012-12-29 13:23:21 +01:00
Stein Magnus Jodal
ea431c2f18
Revert "spotify: Remove gst import from spotify.playback module"
...
This reverts commit b4028e9c57 .
2012-12-27 21:00:37 +01:00
Stein Magnus Jodal
b4028e9c57
spotify: Remove gst import from spotify.playback module
2012-12-27 20:58:05 +01:00
Stein Magnus Jodal
f9c50051c2
Revert "spotify: Remove gst import from spotify.playback module"
...
This reverts commit 0459f037a4 .
2012-12-27 20:53:20 +01:00
Stein Magnus Jodal
0459f037a4
spotify: Remove gst import from spotify.playback module
2012-12-27 20:44:19 +01:00
Stein Magnus Jodal
ab7bb2e2fa
Update authors list
2012-12-27 20:36:25 +01:00
Thomas Adamcik
ce750ddbf9
Fix racecondition triggered KeyError in our DebugThread.
2012-12-27 03:28:44 +01:00
Thomas Adamcik
8a0c48e61e
Add timestamp and duration to all spotify buffers.
...
This fixes the issue where pausing playback would show the time of the last
timestamped buffer instead of the current time. We also make sure to reset the
time when we start a new track. This was done by overriding the play method on
the session manager as it is also used for pausing, resuming and stopping.
Ideally this should probably be reworked to avoid the gst import in
mopidy.backends.spotify.playback, but for now this should do.
2012-12-27 00:30:03 +01:00
Thomas Adamcik
ea2f2d74b5
Merge pull request #294 from jeremybmerrill/patch-1
...
Add caveat about static in sound test file.
2012-12-24 17:53:29 -08:00
Stein Magnus Jodal
c37ce8751e
Release v0.11.1
2012-12-24 20:23:51 +01:00
Thomas Adamcik
a3446621f4
Fix use of threading.Event for Python 2.6 and clear connected state.
...
threading.Event's wait method returns None on python pre 2.7, which means all
searches would fail. This also corrects that fact that we weren't clearing the
connected threading event on disconnects. I did not add any tests for this at
this time as I just want to get the fix out.
2012-12-24 20:19:32 +01:00
Jeremy B. Merrill
f1aa1f9d66
Add caveat about static in sound test file.
...
Add a note saying that the purpose of the "aplay ... Front_Center.wav" line is merely to test whether the sound works or not, rather than to test its quality.
Anecdotally, I had very static-y sound from the aplay command, which prompted me to incorrectly believe that my sound would not work with Mopidy. As it turns out, the sound works fine using Mopidy or gstreamer. This note will hopefully keep other Mopidy users from thinking their sound is broken when it is not. (I ended up installing armhf version and trying to use despotify, which didn't work, before coming back to Mopidy.)
2012-12-24 13:14:01 -05:00
Thomas Adamcik
3a4a9e60e0
Fix use of threading.Event for Python 2.6 and clear connected state.
...
threading.Event's wait method returns None on python pre 2.7, which means all
searches would fail. This also corrects that fact that we weren't clearing the
connected threading event on disconnects. I did not add any tests for this at
this time as I just want to get the fix out.
2012-12-24 13:55:46 +01:00
Stein Magnus Jodal
5e94aa19ec
spotify: Reduce callback logging
2012-12-24 12:51:13 +01:00
Stein Magnus Jodal
7c790d61b2
spotify: Hook need-data and enough-data callbacks onto appsrc
2012-12-24 12:21:05 +01:00
Stein Magnus Jodal
aa0c6f6dc0
audio: Add MB constant to make code more readable
2012-12-24 12:18:48 +01:00
Stein Magnus Jodal
610a04bf6c
Merge branch 'develop' into feature/limit-spotify-data-pushing
2012-12-24 12:13:29 +01:00
Stein Magnus Jodal
81b9d1116d
docs: Update changelog
2012-12-24 12:13:00 +01:00
Stein Magnus Jodal
5f1a750504
Merge pull request #289 from jodal/feature/spotify-to-use-gst-time
...
Make Spotify backend use GStreamer for time position and seek
2012-12-24 03:08:55 -08:00
Stein Magnus Jodal
01bb711074
docs: Add v0.12 section to changelog
2012-12-24 11:11:39 +01:00
Stein Magnus Jodal
51944c5a25
Release v0.11.0
2012-12-24 10:55:13 +01:00
Stein Magnus Jodal
e7d9a1bcdb
docs: Update changelog for v0.11.0
2012-12-24 10:54:50 +01:00
Stein Magnus Jodal
f0ba9dd31c
Bump version number to 0.11.0
2012-12-24 10:48:29 +01:00
Stein Magnus Jodal
5842eabf87
Merge remote-tracking branch 'trygveaa/lookup-not-unavailable' into develop
2012-12-24 02:17:35 +01:00
Trygve Aaberge
31ddbbc017
spotify: Use TRACK_AVAILABLE constant
2012-12-24 02:07:34 +01:00
Stein Magnus Jodal
cde29d9946
Merge pull request #292 from trygveaa/lookup-not-unavailable
...
spotify: Only return available tracks from lookups
2012-12-23 16:45:24 -08:00
Stein Magnus Jodal
8505ea7f4e
Merge branch 'feature/spotify-to-use-gst-time' into feature/limit-spotify-data-pushing
...
Conflicts:
mopidy/audio/actor.py
mopidy/backends/spotify/playback.py
2012-12-24 01:42:40 +01:00
Trygve Aaberge
75279721fb
spotify: Return [] instead of None in _lookup_track
2012-12-24 01:41:08 +01:00
Trygve Aaberge
2a487ecd30
spotify: Fix flake8 warnings
2012-12-24 01:40:41 +01:00
Stein Magnus Jodal
c218375100
audio: Move Spotify appsrc caps out of audio
2012-12-24 01:40:35 +01:00
Stein Magnus Jodal
fdd4ac19ae
spotify: Fix wrong search return type
2012-12-24 01:21:08 +01:00
Stein Magnus Jodal
30a78ba84b
mpd: Minor refactoring
2012-12-24 01:09:50 +01:00
Trygve Aaberge
8da2495e83
spotify: Only return available tracks from lookups
2012-12-24 00:29:37 +01:00
Thomas Adamcik
bbd8630d88
Merge pull request #288 from jodal/feature/mpd-album-artist-search-results
...
Include albums and artists in MPD search results
2012-12-23 09:52:02 -08:00
Stein Magnus Jodal
a1cfc74d29
Merge branch 'develop' into feature/mpd-album-artist-search-results
...
Conflicts:
docs/changes.rst
2012-12-23 18:49:51 +01:00
Stein Magnus Jodal
58cbbe8cb3
Merge pull request #287 from jodal/feature/search-result-model
...
Add SearchResult model
2012-12-23 09:47:11 -08:00
Stein Magnus Jodal
eec6c271c2
spotify: Refactor URI lookup
2012-12-23 18:41:07 +01:00
Stein Magnus Jodal
524bfc9317
local: Use 'file:search' as uri for search results for now
2012-12-23 18:32:52 +01:00
Stein Magnus Jodal
c81d1d77bf
fab: Make 'test' and 'autotest' able to run a subset of the tests
2012-12-23 16:30:59 +01:00
Stein Magnus Jodal
5d707e3918
settings: Fail if BACKENDS/FRONTENDS setting isn't iterable ( fixes #278 )
2012-12-23 15:42:49 +01:00
Stein Magnus Jodal
50e8ff04b3
spotify: Only push audio data when GStreamer wants more
2012-12-23 12:38:37 +01:00
Stein Magnus Jodal
a02f2a9602
audio: Make appsrc buffer between 0.5 and 1 MB of data
2012-12-23 12:37:12 +01:00
Stein Magnus Jodal
a555e84225
audio: Add appsrc need-data and enough-data callbacks
2012-12-23 12:36:37 +01:00
Stein Magnus Jodal
b3e92ff573
audio: Log buffering messages
2012-12-23 12:35:52 +01:00
Stein Magnus Jodal
c7656cdc15
spotify: Replace wall clock timer with GStreamer timer
2012-12-23 12:34:24 +01:00
Stein Magnus Jodal
9fa0f5213e
audio: Setup appsrc with seek-data callback
2012-12-23 12:30:02 +01:00
Stein Magnus Jodal
167932278b
audio: Remove blocking get_state() calls in get_position() and seek()
2012-12-23 12:26:56 +01:00
Stein Magnus Jodal
8fcc7966b2
spotify: Create SpotifyTrack with uri if lookup track isn't loaded
2012-12-23 12:25:20 +01:00