Commit Graph

769 Commits

Author SHA1 Message Date
Thomas Adamcik
0a96e5dccb Update emit_data to take buffers.
Simplify emit data method to take Gstreamer buffers. This allows us to more
concisely give it buffers with duration, timestamp and other relevant data set.
2012-11-15 22:34:20 +01:00
Stein Magnus Jodal
75f7fc273a spotify: Fix GStreamer warning on seek (fixes #227)
Don't call audio.{prepare_change,start_playback}() before/after seek. This does
not seem to have any effect on functionality, and avoids Gstreamer failing to
disconnect the "notify::source" signal handler, which again causes a warning.
2012-11-14 10:58:04 +01:00
Stein Magnus Jodal
3a24deaec3 Rename 'stored playlists' to 'playlists' 2012-11-14 09:23:19 +01:00
Stein Magnus Jodal
0dd09bce82 spotify: Support search by track URI (fixes #233) 2012-11-13 11:56:04 +01:00
Stein Magnus Jodal
cc39853638 mpd: Normalize file/filename filters to uri filters 2012-11-13 11:53:47 +01:00
Stein Magnus Jodal
344d5bd49d Merge pull request #238 from jodal/feature/optional-backend-providers
Make all three backend provider types optional
2012-11-13 01:41:18 -08:00
Stein Magnus Jodal
6acaa490e9 Make all strings unicode by default (fixes #224) 2012-11-13 00:18:47 +01:00
Stein Magnus Jodal
a2d7f2f504 spotify: Update stored playlists interface 2012-11-12 23:11:32 +01:00
Stein Magnus Jodal
0b25a6f11f Extend the backends API to support optional providers 2012-11-12 21:40:14 +01:00
Thomas Adamcik
825136edef Merge pull request #221 from jodal/feature/stored-playlists-cleanup
Stored playlists cleanup and multibackend support
2012-11-04 06:35:01 -08:00
Stein Magnus Jodal
f6e42f0f2d Update recommended libspotify and pyspotify version 2012-11-04 12:01:03 +01:00
Stein Magnus Jodal
938524e67e Merge branch 'develop' into feature/stored-playlists-cleanup 2012-11-03 22:02:19 +01:00
Stein Magnus Jodal
b110e6a478 Move file path is in base dir checker to mopidy.utils.path 2012-11-01 23:10:18 +01:00
Stein Magnus Jodal
0dd4aba143 Move slugify to mopidy.utils.formatting 2012-11-01 23:09:37 +01:00
Stein Magnus Jodal
0d16af97a5 Document 'audio' constructor arg to playback providers 2012-11-01 22:52:17 +01:00
Stein Magnus Jodal
590270546b Style fix 2012-11-01 20:15:20 +01:00
Stein Magnus Jodal
c291c9c83e Style fix 2012-11-01 19:36:11 +01:00
Stein Magnus Jodal
3fe856c6ba Mark regexp strings as raw to please pylint 2012-11-01 14:03:38 +01:00
Stein Magnus Jodal
82f5b376da Validate the stored playlist file paths 2012-11-01 14:03:09 +01:00
Stein Magnus Jodal
8c9a3d6df2 Slugify local playlist names to make them safe to use in paths (#217) 2012-11-01 12:46:29 +01:00
Fred Hatfull
a5b454acc0 Fixes support for MPD find/search by filename
Extends `find_exact` and `search` in mopidy.backends.local.library
to support the `filename` query field. This field can get passed in
from the MPD frontend and would break with a `LookupError` when used.
This patch fixes the issue and introduces two new tests to cover the
added functionality.
2012-10-31 23:45:13 -07:00
Stein Magnus Jodal
3d05f3c65f Change stored_playlists.delete() to accepting an URI (#217) 2012-10-31 16:59:28 +01:00
Stein Magnus Jodal
f9f6f9394d Remove stored_playlists.rename() (#217) 2012-10-31 16:59:28 +01:00
Stein Magnus Jodal
06bcad2db9 Make local.stored_playlists.save() capable of renaming playlists (#217) 2012-10-31 16:59:28 +01:00
Stein Magnus Jodal
51aab4f138 Make local stored playlists set and use URIs (#217) 2012-10-31 16:59:28 +01:00
Stein Magnus Jodal
d8378e9284 Set URI on local playlists when reading from disk (#217) 2012-10-31 16:59:28 +01:00
Stein Magnus Jodal
855e57a74a Use os.path.splitext to strip of file extension 2012-10-31 10:56:40 +01:00
Stein Magnus Jodal
dd42e5684b Use 'except ... as ...' 2012-10-31 10:56:36 +01:00
Stein Magnus Jodal
1207700a15 Convert Spotify translator to plain functions 2012-10-30 10:14:38 +01:00
Stein Magnus Jodal
e792fcd3b9 Include release year and artist on Spotify albums 2012-10-30 10:14:38 +01:00
Stein Magnus Jodal
53184e62a0 Make all Spotify data objects always have URI set 2012-10-30 09:56:53 +01:00
Stein Magnus Jodal
f0602b4e3b docs: Fix lots of broken module documentation 2012-10-29 00:25:25 +01:00
Stein Magnus Jodal
4f411a48d6 Update docstring references 2012-10-28 21:22:09 +01:00
Stein Magnus Jodal
956655f742 Update tests to use tracks with valid URIs 2012-10-27 14:53:35 +02:00
Stein Magnus Jodal
d685fe554c Simplify pykka imports 2012-10-26 22:57:41 +02:00
Stein Magnus Jodal
587dde287f Update to work with Pykka 1.0 2012-10-26 22:32:06 +02:00
Stein Magnus Jodal
a78492a65b Revise local backend logging messages 2012-10-26 10:45:11 +02:00
Stein Magnus Jodal
45a79df0a8 Split local backend into multiple files and flatten logging hierarchy 2012-10-25 22:47:20 +02:00
Stein Magnus Jodal
4588dd2ec2 Empty Spotify backend's __init__ and flatten logger hierarchy 2012-10-25 22:42:24 +02:00
Stein Magnus Jodal
8f1f0bc82a Create attribute in __init__ (#211) 2012-10-17 01:31:20 +02:00
Stein Magnus Jodal
39d0bfa124 Ensure that superclasses' __init__ are called (#211) 2012-10-17 01:18:50 +02:00
Stein Magnus Jodal
8042f9961a Mark strings with backslashes as raw strings (#211) 2012-10-17 01:07:00 +02:00
Stein Magnus Jodal
986c0a9ad3 Move get_version() helper to mopidy.utils.versioning 2012-10-16 21:45:36 +02:00
Stein Magnus Jodal
5a0529b142 Empty utils/__init__.py 2012-10-16 21:36:51 +02:00
Stein Magnus Jodal
3351d0e0d5 Move dummy backend out of its own dir 2012-10-16 15:40:27 +02:00
Stein Magnus Jodal
0c3c9a9cce Fold base backend into a single file
This removes three unused imports, which was only present to move the providers
to the correct location in the module tree. (related to #211)
2012-10-16 15:39:47 +02:00
Stein Magnus Jodal
666800ec57 Fix most flake8 warnings (#211) 2012-10-16 14:00:34 +02:00
Stein Magnus Jodal
c6b38820ce Remove volume handling from backends 2012-09-28 01:58:53 +02:00
Stein Magnus Jodal
609bd6a5b5 Limit audio access to the playback provider 2012-09-28 01:38:39 +02:00
Stein Magnus Jodal
2fdeec9f5a Move controllers to a new core actor
The frontends use the new core actor, while the core actor uses the backend.

This is a step towards supporting multiple backends, where the core actor will
coordinate the backends.
2012-09-27 20:35:39 +02:00