Ali Ukani
ead147f482
Fix flake8 errors, prepare for Python 3 port
...
Fixes flake8 warnings
Reword docstring for find_exact
Use range instead of xrange in preparation for porting to Python 3
2015-02-16 02:24:40 -05:00
Ali Ukani
fc21d466f0
local: use limit and offset when searching json library
...
Fixes the json local library's search behavior. Uses limit and offset
arguments when returning search results.
2015-02-16 02:24:40 -05:00
Ali Ukani
92910e4362
Fix flake8 tests
...
Fixes "W503 line break before binary operator"
2015-02-16 02:02:14 -05:00
Thomas Adamcik
4a38d1722c
Merge pull request #984 from jodal/feature/move-dummies
...
Move dummies into the test package where they belong
2015-02-13 20:22:31 +01:00
Stein Magnus Jodal
5270aa65e2
audio: Move DummyAudio into tests package
2015-02-13 10:40:21 +01:00
Stein Magnus Jodal
a3b7c8d44f
audio: Fix AttributeError on shutdown ( fix #985 )
...
Given the right timings, there was possible to get a stack trace at
shutdown if the audio actor was teared down first and a music delivery
from libspotify/pyspotify called audio.push() after the teardown.
2015-02-13 09:36:51 +01:00
Stein Magnus Jodal
b554a64aad
mixer: Move DummyMixer into tests package
2015-02-13 01:37:07 +01:00
Stein Magnus Jodal
016024a081
backend: Convert from package to module
2015-02-13 01:37:07 +01:00
Stein Magnus Jodal
df95a988b7
backend: Move DummyBackend into tests package
2015-02-13 01:37:07 +01:00
Stein Magnus Jodal
f7e218b72a
core: Remove test-only code paths in MixerController
2015-02-13 01:22:46 +01:00
Stein Magnus Jodal
160afbcd26
mpd: Use DummyMixer in tests
2015-02-13 01:22:46 +01:00
Stein Magnus Jodal
7aede98fda
Merge pull request #982 from adamcik/feature/use-proxy-in-stream-scanner
...
Use proxy in stream scanner
2015-02-13 01:04:09 +01:00
Thomas Adamcik
0e4e872d6b
stream: Hook stream scanner up to proxy settings
2015-02-13 00:52:20 +01:00
Thomas Adamcik
96572eacdf
audio: Add proxy support to scanner
2015-02-13 00:51:52 +01:00
Stein Magnus Jodal
638740541b
Merge pull request #981 from adamcik/feature/core-get-images
...
Add library.get_images()
2015-02-13 00:33:29 +01:00
Thomas Adamcik
ddd872cdea
core: Always return an answer for all URIs in get_images
...
Also make sure that results are tuples instead of lists so we don't
accidentally give out mutable state.
2015-02-13 00:10:14 +01:00
Stein Magnus Jodal
3c4683c319
softwaremixer: Remove comment
...
What mixer is used is already logged by the code that starts the mixer.
Some mixers have additional information about what controls, etc. are
used, but in this case the only thing we add is that GStreamer is used.
2015-02-12 23:52:56 +01:00
Stein Magnus Jodal
07f2d46ccf
softwaremixer: Update comment after audio refactoring
2015-02-12 23:52:56 +01:00
Thomas Adamcik
b7c71b84d5
core: Update get_images documenatation
2015-02-12 23:51:20 +01:00
Thomas Adamcik
3cb9eb52f0
Merge pull request #975 from jodal/feature/core-mixer
...
Add core.mixer replacing playback mixer methods.
2015-02-12 23:50:04 +01:00
Stein Magnus Jodal
8e4b019127
audio: Update #886 workaround to work with new audio APIs
2015-02-12 23:34:33 +01:00
Stein Magnus Jodal
83a5246074
Merge pull request #980 from adamcik/feature/add-tags-and-duration-to-local-library-add
...
Add tags and duration to local library add()
2015-02-12 23:26:13 +01:00
Stein Magnus Jodal
28e53718ff
Merge PR#958 from jcass77 into develop
...
Conflicts:
mopidy/audio/actor.py
2015-02-12 23:08:02 +01:00
Thomas Adamcik
38158b4430
local: Minor docstring review corrections
2015-02-12 22:48:05 +01:00
Thomas Adamcik
c0b0e3657a
core: Add core.library.get_images
2015-02-12 22:38:42 +01:00
Stein Magnus Jodal
e938fb0a7f
Merge pull request #965 from ZenithDK/fix/flake-lambda
...
flake8: fix PEP8 warnings about lambda
2015-02-12 22:22:53 +01:00
Lasse Bigum
34ada2784a
flake8: fix PEP8 warnings about lambda
...
Fix the 'lambda to def' warnings
2015-02-12 22:10:36 +01:00
Thomas Adamcik
05b66ba4a3
models: Add basic image model
2015-02-12 22:02:59 +01:00
Thomas Adamcik
12cc2ed35c
local: Call library add with tags and duration if asked to
2015-02-12 21:10:21 +01:00
Stein Magnus Jodal
ece54b68d1
log: Support -vvvv to not filter logs at all
2015-02-12 19:29:14 +01:00
Stein Magnus Jodal
79dbc652e0
log: Define TRACE log level with name and color
2015-02-12 18:12:56 +01:00
Stein Magnus Jodal
df67d708db
config: Add support for 'all' loglevel
...
Equal to logging.NOTSET or 0 in the logging module.
2015-02-12 18:12:33 +01:00
Stein Magnus Jodal
e1fa76a48e
mpd: Use core.mixer for volume/mute
2015-02-12 10:31:16 +01:00
Stein Magnus Jodal
42115c56f7
core: Add mixer controller ( fixes : #962 )
...
Deprecate volume and mute methods on playback controller.
2015-02-12 10:31:16 +01:00
Stein Magnus Jodal
8f8fa4d414
core: Emit deprecation warnings
...
The warnings appear as warning level log messages if running Python on
the mopidy/ directory like this:
python -W all mopidy -v
or:
python -W all mopidy -o loglevels/py.warnings=warning
We don't suppress warnings when Pykka is the caller in general, but just
when Pykka is looking at all properties to create its actor proxies.
When a deprecated property is used from another Pykka actor, only the
stack for the current actor thread is available for inspection, so the
warning cannot show where the actual call site in the other actor thread
is. Though, if the warnings are made exceptions with:
python -W error mopidy
then the stack traces will include the frames from all involved actor
threads, showing where the original call site is.
2015-02-11 00:29:52 +01:00
Stein Magnus Jodal
5827e45c34
core: Use getters/setters internally in core
...
This fixes all the easy-to-track warnings.
2015-02-11 00:17:12 +01:00
Stein Magnus Jodal
352de135cd
core: Deprecate properties ( fixes #952 )
2015-02-11 00:17:12 +01:00
Stein Magnus Jodal
1b6db5695d
core: current_metadata_track is TlTrack, not Track
2015-02-10 23:43:16 +01:00
Stein Magnus Jodal
b7ed2b8681
core: Fix variable naming, style
2015-02-10 23:12:03 +01:00
Thomas Adamcik
fcab27b5da
Merge pull request #938 from AlexandrePTJ/feature/frontend_audioevents
...
Propagate stream metadata
2015-02-10 21:07:22 +01:00
Stein Magnus Jodal
4c7ad57e73
mpd: Capitalize abbrevations in docstrings
2015-02-09 13:31:27 +01:00
Stein Magnus Jodal
52457df525
Merge pull request #968 from kingosticks/fix/session-playlist-uri-mapping
...
Share MPD playlist uri mapping between sessions
2015-02-09 13:26:40 +01:00
kingosticks
0de13994c2
Moved MPDUriMapper to own file and updated changelog
2015-02-09 12:07:17 +00:00
kingosticks
037a88aece
First playlist mapping refresh deferred until needed
2015-02-08 23:47:28 +00:00
kingosticks
f77b73a260
Share a global MPDUriMappper between all MPD sessions
2015-02-08 23:42:12 +00:00
Stein Magnus Jodal
dfe27a0918
audio: Fix event handler's argument name
...
Every emit of this event caused an invisible exception in every audio
listener (e.g. core). The exception was made visible by the change in
the previous commit.
2015-02-09 00:10:33 +01:00
Stein Magnus Jodal
655b7badf4
listener: Speed up event emitting and improve error reporting
2015-02-09 00:10:33 +01:00
kingosticks
3dde71ed5e
Extract uri mapping from MpdContext
2015-02-08 23:05:56 +00:00
Lasse Bigum
4bf7a568d1
Check that config is readable
...
Implement a check on file permissions for the config files that are loaded
and print debug if mopidy fails to load it due to missing file file permissions
2015-02-07 17:47:20 +01:00
Stein Magnus Jodal
a693993905
flake8: Fix new warnings after flake8 upgrade
2015-02-07 17:11:36 +01:00
jcass
090518b96d
Add comment for Mac OS X volume reset workaround.
2015-02-04 07:46:31 +02:00
jcass
9d931adf4a
Re-set volume explicitly to the current level whenever changing tracks.
...
Workaround for issue #886 .
2015-02-03 18:30:56 +02:00
Stein Magnus Jodal
5b614e95d6
Update to Mopidy.js 0.5.0
2015-01-31 22:15:40 +01:00
Stein Magnus Jodal
b46844fbe2
docs: Fix copy-paste error
2015-01-21 23:03:35 +01:00
Alexandre Petitjean
735d1662dc
Makes mpd 'currentsong' send song with metadata
2015-01-20 22:05:14 +01:00
Alexandre Petitjean
64cab9ae95
Rename current_md_track to current_metadata_track
2015-01-20 21:50:02 +01:00
Alexandre Petitjean
ef950a5e15
Adds audio in Core
2015-01-20 20:01:54 +01:00
Alexandre Petitjean
eeed2973f1
Fix metadata refresh with more than one pl in tracklist
2015-01-17 14:30:40 +01:00
Alexandre Petitjean
7ee1935315
MPD gets metadata's updates from stream
2015-01-16 23:45:07 +01:00
Alexandre Petitjean
e4dd04cfb7
One step beyond
2015-01-16 21:41:55 +01:00
Alexandre Petitjean
ec94449a63
Handle tags_changed in Core and send event to CoreListener
2015-01-15 22:25:34 +01:00
Ali Ukani
20751a5ad7
Fix album filter: Should work when track's album is an Album or None
2015-01-05 23:55:16 -05:00
kingosticks
d666083c6f
Use bytestrings when parsing M3U playlists
...
Fixes #853
2015-01-04 20:26:45 +00:00
Thomas Adamcik
158a448e2b
audio: Fix bug in missing plugin code path
2014-12-30 11:58:57 +01:00
Thomas Adamcik
ab49d75a45
tests: Fix outstanding flake8 errors in tests
2014-12-30 00:23:08 +01:00
Stein Magnus Jodal
097172d574
Merge pull request #915 from adamcik/feature/taglist-converter
...
Add support for tracking metadata changes in audio
2014-12-28 20:21:37 +01:00
Thomas Adamcik
c575f13bf8
audio: Fix long line in docstring
2014-12-28 09:40:10 +01:00
Thomas Adamcik
5513cbcfb1
audio: Update audio taglist key documentation
2014-12-27 23:28:19 +01:00
Thomas Adamcik
eba3145888
core: Start marking some arguments and methods as internal per #870
2014-12-25 22:58:44 +01:00
Thomas Adamcik
656f7e976f
Merge branch 'develop' into feature/taglist-converter
...
Conflicts:
docs/changelog.rst
2014-12-25 22:46:44 +01:00
Stein Magnus Jodal
890ed53ee6
Merge branch 'release/v0.19.x' into develop
...
Conflicts:
docs/changelog.rst
2014-12-24 00:41:10 +01:00
Stein Magnus Jodal
6af624a369
Bump version to 0.19.5
2014-12-24 00:37:33 +01:00
Stein Magnus Jodal
dbbb86e6c0
Merge branch 'release/v0.19.x' into develop
...
Conflicts:
mopidy/core/playback.py
2014-12-24 00:24:19 +01:00
Stein Magnus Jodal
c6ff9eee86
playback: Remove skipped track on next in consume mode
...
Also adds core level tests of consume behavior on next/prev/eot.
Fixes #902
2014-12-24 00:04:41 +01:00
Thomas Adamcik
f4c501a08f
local: Reuse the mtime we already found in local scan
2014-12-23 23:25:47 +01:00
Stein Magnus Jodal
c8c44c868b
Merge branch 'release/v0.19.x' into develop
2014-12-23 22:58:54 +01:00
Stein Magnus Jodal
302bb7c221
ext: Fix unpacking of VersionConflict exception
...
Fixes #911
2014-12-23 22:58:19 +01:00
Stein Magnus Jodal
6ec35b2d02
Merge branch 'release/v0.19.x' into develop
2014-12-23 22:23:32 +01:00
Stein Magnus Jodal
fcf39833ca
config: Support UTF-8 in default config
...
Fixes issue reported at https://discuss.mopidy.com/t/428 .
Mopidy-HTTP-Kuechenradio includes a non-ASCII UTF-8 character in its
default config. If Mopidy didn't already have a config file, it crashed
when trying to create the initial config file based on the default
config of all available extensions.
2014-12-23 22:21:10 +01:00
Stein Magnus Jodal
aa3b8ab5f8
path: Support unicode content when creating file
2014-12-23 22:21:10 +01:00
Thomas Adamcik
935a038405
audio: Only add albums that have a name
...
Fixes case where we could have an empty album. We could alternatively be more
conservative and only limit to fully empty albums. But I think we only want
ones with names anyway.
2014-12-22 22:45:31 +01:00
Thomas Adamcik
819680e074
audio: Move utils test to tests folder
2014-12-22 22:34:11 +01:00
Thomas Adamcik
9b9cdc3ade
stream: Fix track conversion bug and add tests
...
This adds basic checks for the library provider lookup:
- Check that uri schemes are respected
- Check that blacklisting and globbing works
- Check uri successfully gets converted to a track
2014-12-22 22:29:36 +01:00
Thomas Adamcik
94bdb88b9c
http: Log errors instead of dying for HTTP startup.
...
(cherry picked from commit 9a2f8a3e4f )
Conflicts:
docs/changelog.rst
2014-12-21 23:46:35 +01:00
Thomas Adamcik
77dc046efd
audio: Fix rST formatting in docstring
2014-12-21 21:49:51 +01:00
Thomas Adamcik
7b36a598bb
review: Fix typos found in PR#915 feedback
2014-12-21 21:48:09 +01:00
Thomas Adamcik
32da1cb8e9
local: Use MIN_DURATION_MS in log message
2014-12-21 21:46:21 +01:00
Thomas Adamcik
9a2f8a3e4f
http: Log errors instead of dying for HTTP startup.
2014-12-20 21:32:08 +01:00
Thomas Adamcik
b6cf86c6a2
startup: Log backend and frontend startup times.
...
Allows us to debug cases where a "bad" extension is blocking the startup. In
there future we might also warning log extension that take longer than some
threshold to help find these cases.
2014-12-19 22:37:48 +01:00
Thomas Adamcik
9be788b129
audio: Move tags to track conversion to audio utils
2014-12-18 23:36:56 +01:00
Thomas Adamcik
983148a9a4
audio: Start storing the tags we find in audio
...
Adds a new get_currents_tags method for fetching the full set of current tags.
There are still some untested cases for this, and I also suspect we still want
some API refinements one core starts using this.
2014-12-18 23:28:19 +01:00
Thomas Adamcik
bc347f1650
audio: Fix minor typo in a debug log message
2014-12-18 23:28:19 +01:00
Thomas Adamcik
6c62252919
audio: Add tags changed event to audio.
...
Current version simply emits the keys of the changed tags to the audio
listener. Following change will add support for storing the actual data.
2014-12-18 23:28:19 +01:00
Thomas Adamcik
de6bd63481
audio: Remove min duration code from scanner.
...
The local scanner now handles this itself by looking at the duration.
2014-12-18 23:28:19 +01:00
Thomas Adamcik
4f8244c499
audio: Convert audio_data_to_track to tags_to_track
...
The new function only uses tags as input. In other words we now need to set
length, uri and mtime ourselves. Users of scan APIs have been updated.
2014-12-18 23:28:19 +01:00
Thomas Adamcik
4948dee4b9
audio: Make scanner return duration in milliseconds
...
Also ensures that we normalize unknown duration to None instead of -1.
2014-12-18 23:28:19 +01:00
Thomas Adamcik
d9d501cd98
audio: Update scanner to just return tags+duration
...
The caller should know what URI we are talking about. Additionally finding the
mtime is never belonged in this class and has been moved out.
2014-12-18 23:28:19 +01:00
Thomas Adamcik
dcaa0f6732
local: Move musicbrainz cover art helper to translator
2014-12-18 23:28:14 +01:00
Thomas Amland
d2bf3f6d83
[local] fix modified files not being updated
...
(cherry picked from commit dfd897832a )
2014-12-16 23:31:00 +01:00
Thomas Adamcik
b365d2494b
mpd: Remove "Comment" tag type from translator output.
...
Newer versions of the protocol have removed this tag, so we should as well.
This also works around the issue of #881 which was breaking things with
newlines in comment fields.
The readcomments command seems to replace this, but it seems to only care about
specific extra tagtypes, not the general comment tag we normally collect when
scanning things.
(cherry picked from commit 08a8d5c43b )
2014-12-16 23:30:38 +01:00
Stein Magnus Jodal
6e55435aa9
mpd: Enable browsing of empty dirs
...
This was disabled together with a bunch of other changes without any
explanation in commit f24ca36e5a . I'm
guessing that this wasn't intentional, and no test covered the case.
(cherry picked from commit 4e508cd017 )
2014-12-16 23:25:31 +01:00
Thomas Adamcik
671ee5ee6a
audio: Switch to using converted taglists instead of raw data.
2014-12-14 22:25:52 +01:00
Thomas Adamcik
f477e9176e
audio: Add helper for converting taglists
...
Goal is simply to avoid leaking gst types to the rest of mopidy. Only part we
will be leaking is the tag keys. Which we can live with.
2014-12-14 22:23:13 +01:00
Thomas Adamcik
541412dbfc
mpd: Remove newline escaping code.
...
This was added for #881 , where the correct fix turned out to be to remove
comments from the responses. We should still add some sanity checks for
verifying that our responses at the very least only contain printable chars.
2014-12-14 14:35:13 +01:00
Thomas Adamcik
08a8d5c43b
mpd: Remove "Comment" tag type from translator output.
...
Newer versions of the protocol have removed this tag, so we should as well.
This also works around the issue of #881 which was breaking things with
newlines in comment fields.
The readcomments command seems to replace this, but it seems to only care about
specific extra tagtypes, not the general comment tag we normally collect when
scanning things.
2014-12-14 14:16:37 +01:00
Thomas Adamcik
2c3217685b
utils: Switch to exceptions.FindError for errors.
2014-12-14 14:08:45 +01:00
Thomas Adamcik
f99028ce41
Merge pull request #882 from lukasvogel/develop
...
Escape newline characters when dispatching data
2014-12-14 13:19:21 +01:00
Thomas Adamcik
1404f379ca
Merge pull request #904 from tamland/tag_refresh
...
local: fix modified files not being updated
2014-12-14 13:17:09 +01:00
Stein Magnus Jodal
4e508cd017
mpd: Enable browsing of empty dirs
...
This was disabled together with a bunch of other changes without any
explanation in commit f24ca36e5a . I'm
guessing that this wasn't intentional, and no test covered the case.
2014-12-13 01:27:14 +01:00
Stein Magnus Jodal
33e3fe9173
mpd: Add browse() helper docs
2014-12-13 01:26:36 +01:00
Stein Magnus Jodal
be341fcd04
docs: Fix references
2014-12-12 22:45:02 +01:00
Thomas Amland
dfd897832a
[local] fix modified files not being updated
2014-12-11 14:41:37 +01:00
Stein Magnus Jodal
7acf62723a
py3: Use itervalues() for local track database
2014-12-07 21:44:39 +01:00
Stein Magnus Jodal
4f428b8601
py3: Move compat module out of utils
2014-12-07 21:36:15 +01:00
Stein Magnus Jodal
57cdab586a
Fix flake8 warnings
2014-12-07 20:39:39 +01:00
Stein Magnus Jodal
e35a066d5e
py3: Use explicit float or integer division
2014-12-07 20:25:51 +01:00
Stein Magnus Jodal
7124226fc7
py3: Use renamed function via compat
2014-12-07 20:19:01 +01:00
Stein Magnus Jodal
01c7f12976
py3: Import moved modules via compat
2014-12-07 20:19:01 +01:00
Stein Magnus Jodal
95df66865e
py3: Use list comprehensions instead of filter()
...
This is just a stylistic change, and is not strictly required for Python 3
compat.
2014-12-07 20:19:01 +01:00
Stein Magnus Jodal
1d26c2d63c
py3: Use .item() and .values()
...
As .iteritem() and .itervalues() doesn't exist in Python 3.
2014-12-07 20:19:01 +01:00
Stein Magnus Jodal
58527406c1
py3: Use compat.text_type instead of unicode
2014-12-07 20:17:10 +01:00
Stein Magnus Jodal
b9a5192d5f
py3: Add Python 2/3 compat module
...
Keep all the hacks in a single place. This looks like all we need, so no need
to depend on six.
2014-12-07 20:17:10 +01:00
Stein Magnus Jodal
98ca748996
py3: Use print function instead of print statement
2014-12-07 20:17:10 +01:00
Stein Magnus Jodal
496142c201
py3: Use absolute imports by default
2014-12-07 20:17:10 +01:00
Stein Magnus Jodal
e18fd7d507
Merge branch 'release/v0.19.x' into develop
2014-11-26 23:53:31 +01:00
Stein Magnus Jodal
4a6e7d292c
docs: Don't refer to the tracklist as a playlist
2014-11-25 21:37:55 +01:00
Stein Magnus Jodal
680dbffc0c
models: Make all fields default to None or empty collection
...
(cherry picked from commit abed15b9e4 )
2014-11-04 21:27:29 +01:00
Stein Magnus Jodal
a4b17a9aa8
models: Fix equality for fields set to the default
...
Fixes #837
(cherry picked from commit bdd1fb983b )
2014-11-04 20:17:20 +01:00
Stein Magnus Jodal
88d64044de
models: Hide empty lists from repr()
...
(cherry picked from commit 305a76486d )
Conflicts:
docs/changelog.rst
2014-11-04 20:17:13 +01:00
Thomas Kemmer
1c5b07a374
Make everything that is not a Track browseable
2014-10-24 12:47:58 +02:00
Lukas Vogel
c8bc0afc93
reintroduce generator expression
2014-10-23 12:31:55 +02:00
Lukas Vogel
f0574d1c8e
fixed embarassing bug left over from refactoring to meet coding standards
2014-10-23 03:24:18 +02:00
Lukas Vogel
f499dafe13
Escape newline characters when dispatching data
2014-10-23 02:57:57 +02:00
Stein Magnus Jodal
c84ed733ee
Merge pull request #874 from adamcik/feature/improve-find-and-scan-code
...
Feature/improve find and scan code
2014-10-20 14:07:46 +02:00
Thomas Adamcik
b9a7a9d2b6
local: Add follow symlinks setting
2014-10-17 20:08:33 +02:00
Thomas Adamcik
369edab76d
utils/path: Make it more clear that we are not following symlinks
2014-10-17 20:08:12 +02:00
Thomas Adamcik
d4f47a34c2
local: Move Hidden file/directory check to excluded extensions check
2014-10-17 16:52:01 +02:00
Thomas Adamcik
43d8062094
util/path: s/os.error/OSError/
2014-10-17 16:46:33 +02:00
Thomas Adamcik
5bf6b779ac
local: Add basic logging of scan errors
2014-10-15 23:56:59 +02:00
Thomas Adamcik
3dc0a06ffe
local: Fix skipping of hidden file/directories
2014-10-15 23:54:52 +02:00
Thomas Adamcik
063c757570
utils/path: Add support for handling sym/hardlink loops
2014-10-15 23:46:08 +02:00
Thomas Adamcik
54a89038d3
utils/path: Don't skip hidden files and folders in generic find code
...
Updates the local scan code to do this instead.
2014-10-15 23:45:49 +02:00
Thomas Adamcik
ebb62885cd
util/path: Add basic support for following symlinks
2014-10-15 23:44:48 +02:00
Thomas Adamcik
de5fe5ebab
tests: Add test for current find symlink handling
2014-10-15 23:43:13 +02:00
Thomas Adamcik
de4bdbec03
tests: Minor cleanup of the existing find tests
2014-10-15 23:42:15 +02:00
Thomas Adamcik
2447e2fa40
util/path: Expose errors to callers of find helper
2014-10-15 23:42:12 +02:00
Stein Magnus Jodal
c9b0101e76
docs: Make extensiondev example and API docs for validate_environment() match
...
(cherry picked from commit 31c874b3eb )
2014-10-13 23:19:30 +02:00
Stein Magnus Jodal
31c874b3eb
docs: Make extensiondev example and API docs for validate_environment() match
2014-10-12 11:40:59 +02:00
Thomas Adamcik
2665a5521b
audio: Add gst.DEBUG_BIN_TO_DOT_FILE pipeline debuging
2014-09-26 23:51:33 +02:00
Stein Magnus Jodal
130b1eb32a
docs: Define timestamp type
2014-09-23 20:55:16 +02:00
Stein Magnus Jodal
7b50855908
Merge remote-tracking branch 'mopidy/develop' into feature/history
...
Conflicts:
docs/changelog.rst
2014-09-23 20:14:40 +02:00
Thomas Adamcik
a16cac2188
Merge pull request #862 from jodal/fix/clear-current-track
...
core: Remove clear_current_track argument from stop()
2014-09-23 19:54:59 +02:00
Stein Magnus Jodal
542cd3a3bb
http: Add history controller to JSON-RPC API
2014-09-23 19:02:58 +02:00
Stein Magnus Jodal
5317834baf
history: Change size property to get_length() method
...
For consistency with tracklist.get_length() and our goal of aligning Python
and JS APIs by using less properties in the core API.
2014-09-23 18:47:54 +02:00
Stein Magnus Jodal
177f91fb27
history: Tweaking formatting and variable names
2014-09-23 18:45:24 +02:00
Stein Magnus Jodal
1f1e86023b
history: Cleanup docstrings
2014-09-23 18:44:17 +02:00
Stein Magnus Jodal
d30cf68efd
history: Raise TypeError if non-Tracks are added
2014-09-23 18:42:41 +02:00
Stein Magnus Jodal
ded43039bf
history: Keep history in private attribute
...
So it is not accessible directly from other actors.
2014-09-23 18:38:38 +02:00
Stein Magnus Jodal
f3a6c10188
history: Import entire modules
...
For concistency with other code.
2014-09-23 18:37:18 +02:00
Stein Magnus Jodal
1f9c5c609a
history: Use time.time() to get time since epoch
2014-09-23 18:34:50 +02:00
Stein Magnus Jodal
f8f06f4ec4
playback: Move comment so its next to the line it applies to
2014-09-23 18:33:24 +02:00
Stein Magnus Jodal
718405421d
history: Rename class to HistoryController
...
For consistency with other core controllers.
2014-09-23 18:32:37 +02:00
Arjun Naik
a6370b0a67
Switched track name and artist order in history object.
2014-09-23 18:09:12 +02:00
Arjun Naik
9006968f75
TrackHistory stores Ref instances. Timestamp as epoch in milliseconds also stored.
2014-09-23 18:09:12 +02:00
Arjun Naik
ed87ab8dd1
Added a playback history object to the core.
2014-09-23 18:09:11 +02:00
Stein Magnus Jodal
c629e105d7
docs: Update changelog with PR#840
2014-09-23 14:29:30 +02:00
Stein Magnus Jodal
1fcc75ba1e
Merge pull request #840 from tkem/feature/local-library-lookup-multiple
...
local: Return multiple tracks from lookup()
2014-09-23 14:14:22 +02:00
Stein Magnus Jodal
d5de898b2d
core: Remove clear_current_track argument from stop()
2014-09-23 01:10:51 +02:00
Thomas Adamcik
508391cf51
Merge pull request #855 from jodal/feature/emit-none-to-emit-eos
...
audio: Deprecate emit_end_of_stream
2014-09-22 22:58:32 +02:00
Stein Magnus Jodal
abed15b9e4
models: Make all fields default to None or empty collection
2014-09-22 22:25:42 +02:00
Stein Magnus Jodal
bdd1fb983b
models: Fix equality for fields set to the default
...
Fixes #837
2014-09-22 22:01:50 +02:00
Stein Magnus Jodal
305a76486d
models: Hide empty lists from repr()
2014-09-22 21:42:57 +02:00
Stein Magnus Jodal
00c17ae193
audio: Deprecate emit_end_of_stream
2014-09-21 21:01:11 +02:00
Stein Magnus Jodal
f58fe9a192
py3: Replace xrange() with range()
2014-09-17 20:28:07 +02:00
Stein Magnus Jodal
cd3d44ff6d
py3: Use '0o' octal literal
2014-09-16 09:48:38 +02:00
Stein Magnus Jodal
c2810d0423
py3: Fix thread import
2014-09-16 09:46:16 +02:00
Stein Magnus Jodal
4c6c7ce016
http: Update Mopidy.js to v0.4.1
2014-09-11 21:50:11 +02:00
Stein Magnus Jodal
37c736533d
Remove Pykka version check
...
This check was made redundant with our move to setuptools. The executables
made by setuptools checks if all our Python dependencies are available in the
required versions before starting Mopidy.
2014-09-09 08:38:14 +02:00
Stein Magnus Jodal
eb97b55d88
Keep gobject check together with the other checks
2014-09-09 08:35:21 +02:00
Stein Magnus Jodal
2050385a5f
Update Python and Pykka version check error messages
2014-09-09 08:24:42 +02:00
Stein Magnus Jodal
db4868207c
Print friendly error message if gobject isn't found
...
Fixes #836
2014-09-08 21:15:14 +02:00
Thomas Adamcik
ada7641ee6
audio: Remove visualizer support
2014-09-07 23:48:04 +02:00
Thomas Adamcik
3f699b97d2
audio: Split message/event teardown handler
2014-09-07 22:35:58 +02:00
Thomas Adamcik
d049b07fa9
Merge branch 'develop' into feature/audio-message-handler
2014-09-07 21:38:19 +02:00
Thomas Adamcik
e744a6da87
audio: Resolve review comments
2014-09-07 21:38:13 +02:00
Thomas Adamcik
c129cd4b24
audio: s/Triggering/Audio event/
2014-09-07 21:36:31 +02:00
Thomas Kemmer
806174916d
Change JsonLibrary.lookup to return a list
2014-09-05 05:35:18 +02:00
Stein Magnus Jodal
d41deb1844
Merge branch 'release/v0.19.x' into develop
...
Conflicts:
docs/changelog.rst
2014-09-01 23:17:00 +02:00
Stein Magnus Jodal
e1ab70e1e9
Bump version to 0.19.4
2014-09-01 23:08:59 +02:00
Thomas Kemmer
380223bb96
local: Return multiple tracks from lookup()
2014-08-30 14:02:43 +02:00
Stein Magnus Jodal
c6f88feb00
Merge branch 'release/v0.19.x' into develop
2014-08-30 00:27:07 +02:00
Stein Magnus Jodal
83e779eaaf
http: Guard against double close of WebSocket
2014-08-30 00:25:43 +02:00
Stein Magnus Jodal
fc94d0789e
Merge branch 'release/v0.19.x' into develop
2014-08-29 21:28:58 +02:00
Stein Magnus Jodal
f1096d332c
local: Move constant to Library class
...
Related to #833
2014-08-29 21:28:42 +02:00
Stein Magnus Jodal
c50641230d
Merge branch 'release/v0.19.x' into develop
2014-08-29 14:03:11 +02:00
Stein Magnus Jodal
69c3e107a2
local: Add ROOT_DIRECTORY_URI constant
...
Related to #833
2014-08-29 14:02:08 +02:00
Stein Magnus Jodal
0e60730704
backends: Update browse() signature and docs to match core implementation
...
Fixes #833
2014-08-29 13:50:12 +02:00
Stein Magnus Jodal
2830784703
Merge pull request #827 from trygveaa/fix/network-thread-issue
...
network: disable_recv before telling actor to close connection
2014-08-29 13:36:48 +02:00
Stein Magnus Jodal
a244761abc
mpd: Replace / with | instead of whitespace in playlist names
2014-08-17 23:25:09 +02:00
Stein Magnus Jodal
1484514224
main: Log uncaught exceptions
...
(cherry picked from commit 027b7a53fe )
2014-08-16 23:20:43 +02:00