Commit Graph

5957 Commits

Author SHA1 Message Date
Thomas Adamcik
ab49d75a45 tests: Fix outstanding flake8 errors in tests 2014-12-30 00:23:08 +01:00
Thomas Adamcik
627b856578 tests: Fix MPD tests helper names 2014-12-30 00:23:08 +01:00
Thomas Adamcik
fa8547c397 tests: Add noqa markers for setUp/tearDown 2014-12-30 00:23:01 +01:00
Thomas Adamcik
a50ba6e3a7 tests: Add noqa markers to custom assert helpers 2014-12-29 23:58:36 +01:00
Thomas Adamcik
9f6e0cc5fa tests: Fix versions test pep8 naming errors 2014-12-29 23:48:59 +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
Stein Magnus Jodal
29c6e198b5 Add mopidyctl script and manpage
Copied from Debian package
2014-12-27 14:47:53 +01:00
Stein Magnus Jodal
243bf4acbc Add systemd service file
Copied from Debian package
2014-12-27 14:47:53 +01:00
Stein Magnus Jodal
7d443c6cda Move {data => extra/desktop}/mopidy.desktop 2014-12-27 14:47:53 +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
e0dd9bcb11 Release v0.19.5 2014-12-24 00:39:06 +01:00
Stein Magnus Jodal
6af624a369 Bump version to 0.19.5 2014-12-24 00:37:33 +01:00
Stein Magnus Jodal
884c35e1f4 docs: Update changelog 2014-12-24 00:36:52 +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
Thomas Adamcik
d1997a37f7 Merge pull request #919 from jodal/fix/902-consume-track-on-next
playback: Remove skipped track on next in consume mode
2014-12-24 00:21:12 +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
Thomas Adamcik
60aec2dc95 docs: Update changelog with audio taglist changes etc 2014-12-23 22:39:37 +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
Stein Magnus Jodal
532905bd74 docs: Add :discuss: shortcut for linking to forum threads 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
Stein Magnus Jodal
afcc77d3f8 Merge branch 'release/v0.19.x' into develop 2014-12-21 23:47:04 +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
Stein Magnus Jodal
70829390d1 docs: Fix typo 2014-12-16 23:39:22 +01:00
Stein Magnus Jodal
44599f1163 Merge branch 'release/v0.19.x' into develop
Conflicts:
	.mailmap
	AUTHORS
2014-12-16 23:38:39 +01:00
Stein Magnus Jodal
b300c09034 docs: Update authors 2014-12-16 23:35:42 +01:00