Stein Magnus Jodal
44cf8a0099
spotify: Fix crash when a playlist is added ( fixes #387 )
2013-04-28 10:04:57 +02:00
Stein Magnus Jodal
d1ca5da470
spotify: Import module instead of class
2013-04-28 10:04:34 +02:00
Thomas Adamcik
ad25a60ba5
config: Update extensions with respect to config changes
2013-04-15 00:08:23 +02:00
Thomas Adamcik
5fd4c18792
ext: Get config schema from super
2013-04-13 21:12:48 +02:00
Thomas Adamcik
b655e846b1
config: Add read helper
2013-04-13 21:06:09 +02:00
Thomas Adamcik
1ebc265235
Merge branch 'develop' into feature/reshuffle-config
...
Conflicts:
mopidy/backends/local/__init__.py
mopidy/backends/spotify/__init__.py
mopidy/backends/stream/__init__.py
mopidy/config.py
mopidy/frontends/http/__init__.py
mopidy/frontends/mpd/__init__.py
mopidy/frontends/mpris/__init__.py
mopidy/frontends/scrobbler/__init__.py
mopidy/utils/config.py
tests/config/types_test.py
2013-04-13 01:25:38 +02:00
Stein Magnus Jodal
08117841c1
docs: Move Spotify to ext registry
2013-04-12 00:06:52 +02:00
Thomas Adamcik
d90a977a3b
config: Move everything to mopidy.config sub-modules
2013-04-11 22:24:27 +02:00
Stein Magnus Jodal
da7e36d944
spotify: Use 'playlists' instead of 'playlist(s)' for consistency
2013-04-09 11:06:24 +02:00
Stein Magnus Jodal
09a38d9523
docs: Use :confval: to make config docs linkable
2013-04-09 00:22:24 +02:00
Stein Magnus Jodal
6e5cdb85b0
spotify: Rename 'cache_path' to 'cache_dir'
2013-04-08 20:46:10 +02:00
Thomas Adamcik
28d3b265c2
Merge branch 'develop' into feature/config-path
...
Conflicts:
mopidy/backends/spotify/__init__.py
2013-04-07 22:02:32 +00:00
Thomas Adamcik
7ac629a675
config: Create global proxy config section.
2013-04-05 23:39:22 +02:00
Thomas Adamcik
36266064d3
config: Switch all paths and files to use the Path in schemas.
...
Also renames static_dir to static_path for better consistency.
2013-04-05 22:50:31 +02:00
Stein Magnus Jodal
b3952503b8
spotify: Fix errors after switch to new config system
2013-04-05 15:18:54 +02:00
Stein Magnus Jodal
6822f1248d
spotify: Switch to new config system
2013-04-03 11:02:03 +02:00
Stein Magnus Jodal
33c430a3cb
spotify: Rename 'proxy_host' to 'proxy_hostname' for consistency
2013-04-03 10:37:49 +02:00
Thomas Adamcik
e226ddd652
config/ext: Remove ext. prefix from configs.
2013-04-02 22:12:00 +02:00
Thomas Adamcik
dcd0d7e813
ext: Rename ext_name to name and provide ext_name property that gives ext.$name
2013-04-02 19:16:49 +02:00
Thomas Adamcik
6f39bde566
config: Start passing dummy config explicitly to audio/backends/frontends.
2013-04-02 19:14:46 +02:00
Stein Magnus Jodal
7d78d02d59
ext: Add both dist_name and ext_name to Extension class
2013-04-02 12:04:03 +02:00
Stein Magnus Jodal
1ac2fec4a5
docs: Tweak module docs formatting
2013-04-01 23:45:23 +02:00
Stein Magnus Jodal
d6d3e2be35
spotify: Add config schema
2013-04-01 23:45:23 +02:00
Stein Magnus Jodal
6345022cfc
Move frontend/backend import into methods
2013-04-01 19:47:24 +02:00
Thomas Adamcik
c76ca0f726
Merge pull request #374 from jodal/feature/define-existing-extensions
...
Define extension for existing backends and frontends
2013-04-01 10:46:01 -07:00
Stein Magnus Jodal
111d315d1e
spotify: Fix style
2013-04-01 19:34:39 +02:00
Thomas Refis
5982d1059c
Reverse the list of tracks in the Starred playlist.
...
As it is in reverse order from the "official" spotify client.
2013-04-01 18:33:52 +02:00
Thomas Refis
211b20c496
Adds 'Starred' playlist to the playlist catalog
...
Related to issue #326
2013-04-01 18:17:00 +02:00
Stein Magnus Jodal
ec7c172c2e
Add ext prefix to config sections
2013-04-01 16:14:34 +02:00
Stein Magnus Jodal
7060a75072
spotify: Define extension
2013-04-01 14:27:12 +02:00
Stein Magnus Jodal
c54db3298f
backends: Make search/find_exact accept 'uris' kwarg
2013-03-30 22:19:13 +01:00
Stein Magnus Jodal
1704828504
backends: Make search/find_exact take a query dict instead of kwargs
2013-03-30 22:14:33 +01:00
Nick Steel
1c0601e9d4
Append the Spotify playlist's owner to the playlist name for followed (subscribed) playlists
...
(cherry picked from commit 176d3cca652ebbc98b68470ffa400e785ce20661)
2013-03-30 01:44:16 +01:00
Stein Magnus Jodal
02b845bd4b
Revert "Merge pull request #231 from adamcik/feature/end-of-track"
...
This reverts commit 1cf9826f87 , reversing
changes made to 711dbe8738 .
2013-03-19 23:23:14 +01:00
Thomas Adamcik
6d1f84ad3c
Merge branch 'develop' into feature/end-of-track
...
Conflicts:
mopidy/audio/actor.py
mopidy/backends/spotify/playback.py
2013-01-05 18:47:16 +01:00
Stein Magnus Jodal
45d4445eea
Merge branch 'develop' into feature/limit-spotify-data-pushing
...
Conflicts:
mopidy/backends/spotify/session_manager.py
2013-01-03 16:18:08 +01:00
Thomas Adamcik
b78d5eddac
Merge branch 'develop' into feature/end-of-track
...
Conflicts:
mopidy/audio/actor.py
mopidy/backends/spotify/playback.py
2013-01-03 16:12:09 +01:00
Thomas Adamcik
88398ea355
Add new mopidy.audio.utils functions ( fixes #301 ).
...
Adds functions to create buffers, calcalute buffer durations based on number of
samples and the sample rate and converting milliseconds to gst internal clock
time.
This also alows for the removal of all gst imports outside of mopidy.audio.
2013-01-03 15:35:52 +01:00
Thomas Adamcik
8d2656f75c
Temporary workaround for #300
...
Likely cause of this issue is libspotify getting the intial seek to early. We
have not yet had time to dig beyond this point and develop has been broken for
to long due to this. As such this work aroundly simply ignores the first seek
to position zero outright, this avoiding what is likely a race condition in
libspotify.
Next step will be to create a minimal libspotify/pyspotify test case for this
to verify that assumption and hopefully figure out a correct fix. We also need
to look into if the intial seek can be avoided in gstreamer.
2013-01-03 14:27:13 +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
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
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
610a04bf6c
Merge branch 'develop' into feature/limit-spotify-data-pushing
2012-12-24 12:13:29 +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
5842eabf87
Merge remote-tracking branch 'trygveaa/lookup-not-unavailable' into develop
2012-12-24 02:17:35 +01:00