Commit Graph

6829 Commits

Author SHA1 Message Date
Stein Magnus Jodal
73675f8d5d Merge branch v1.1.x into feature/stream-without-file-protocol
Conflicts:
	docs/changelog.rst
2015-08-15 23:58:39 +02:00
Thomas Adamcik
2b0756e724 Merge pull request #1255 from jodal/feature/file-logging-levels
file: Adjust file/media_dirs failure logging
2015-08-15 23:56:31 +02:00
Stein Magnus Jodal
306b2f331f docs: Add #1249/#1255 to changelog 2015-08-15 23:12:01 +02:00
Stein Magnus Jodal
9f24c331a4 file: Adjust file/media_dirs failure logging
Fixes #1249
2015-08-15 23:11:06 +02:00
Stein Magnus Jodal
3dfa39adb0 docs: Add #1248/#1254 to changelog 2015-08-15 22:50:48 +02:00
Stein Magnus Jodal
9a83a2d707 stream: Ignore file protocol if Mopidy-File is enabled
If Mopidy-File is enabled it handles playback of file:// URIs.

Mopidy-Stream used to do this, but in Mopidy 1.1 we removed "file" from
the default value of the stream/protocols config. However, many users
upgrading to Mopidy 1.1 have set stream/protocols to include "file" in
their existing config, and thus Mopidy fails to start because both
backends tries to claim the "file" protocol.

Fixes #1248
2015-08-15 22:42:00 +02:00
Stein Magnus Jodal
9f08bce6cd core: Update test 2015-08-11 10:06:58 +02:00
Stein Magnus Jodal
326f8579ca core: Add quotes around URI scheme in log message 2015-08-11 10:03:33 +02:00
Stein Magnus Jodal
0f4771f539 file: Add missing space to log message 2015-08-11 10:02:46 +02:00
Stein Magnus Jodal
784c9758ab docs: Include issues/PRs fixed at sprint 2015-08-10 00:35:33 +02:00
Stein Magnus Jodal
57670e3a2f Release v1.1.0 2015-08-09 23:44:05 +02:00
Stein Magnus Jodal
83010813a1 Bump version to 1.1.0 2015-08-09 23:43:42 +02:00
Stein Magnus Jodal
5519595947 docs: Add v1.1.0 release date 2015-08-09 23:43:07 +02:00
Stein Magnus Jodal
e8303c9402 docs: intern -> interned 2015-08-09 23:42:35 +02:00
Stein Magnus Jodal
412631291f core: Tweak deprecation wording
I know "not supported" and "deprecated" can mean the same, but I
usually read the following meaning into it:

- deprecation ~= don't use this, it will stop working in the future
- not supported ~= don't use this, it already stopped working

Thus I try to only use the "deprecated" term.
2015-08-09 23:38:51 +02:00
Stein Magnus Jodal
f3e61daa92 docs: Update changelog 2015-08-09 22:43:33 +02:00
Stein Magnus Jodal
21f941c323 models: Add Artist.sortname to init docstring 2015-08-09 22:42:36 +02:00
Stein Magnus Jodal
645071c61f docs: Update authors 2015-08-09 22:13:16 +02:00
Stein Magnus Jodal
a16a2c5a1b tests: Fix test made flaky by lsinfo Last-Modified change 2015-08-07 15:35:07 +02:00
Stein Magnus Jodal
4ab1a2445f docs: Add m3u8 loading support to changelog 2015-08-07 15:35:07 +02:00
Stein Magnus Jodal
86e0d12a8c Merge pull request #1193 from glogiotatidis/m3u8loading
Support loading of m3u8 playlists.
2015-08-07 15:21:39 +02:00
Giorgos Logiotatidis
69dc639ab3 Support loading of m3u8 playlists.
Unicode is nice, let's support it!
2015-08-07 14:35:54 +03:00
Thomas Adamcik
0081e2deff Merge pull request #1243 from jodal/feature/fast-mpd-listplaylists
mpd: Faster playlist listing
2015-08-06 20:29:12 +02:00
Stein Magnus Jodal
f3fd258962 docs: Update authors 2015-08-06 07:55:59 +02:00
Stein Magnus Jodal
c8d31e94b7 mpd: Faster playlist listing 2015-08-06 01:06:43 +02:00
Stein Magnus Jodal
b51ee01c7c Merge pull request #1242 from bjornars/fix/1240-tests-fail-on-32-bit
tests: fix test breakage due to promotion from int to long
2015-08-05 22:46:32 +02:00
Bjørnar Snoksrud
1eb41aca7d tests: fix test breakage due to promotion from int to long
This fixes #1240.

In internals/path.py. there is a snippet of code that multiples mtime
for a file with 1000, and then casting it to `int`, to return the number
of milliseconds since epoch (or whatever). This will, however, not
ensure that the result is an `int`.

>>> type(int(2**32))
<type 'long'>

Instead, fix the tests to look for (int, long), and clarify the
implementation.

This bug found on a 32-bit VM :)
2015-08-05 22:38:21 +02:00
Thomas Adamcik
2faf6689c1 Merge pull request #1230 from fatg3erman/feature/mpd-protocol-extensions
mpd: Add additional metadata fields for album URIs and image URIs
2015-07-27 22:28:22 +02:00
Stein Magnus Jodal
3810089be3 tests: Avoid import errors during conftest setup 2015-07-27 13:41:29 +02:00
Mark Greenwood
9649dc0777 list order in python is not deterministic, hence had to change the test 2015-07-26 13:57:46 +01:00
Stein Magnus Jodal
2b06b77865 docs: Update authors 2015-07-26 14:51:26 +02:00
Mark Greenwood
c6a831b40a Update changelog for protocol extensions 2015-07-26 13:18:30 +01:00
Mark Greenwood
310fcdf0ef Unexpected test failure fixed 2015-07-26 13:04:33 +01:00
Mark Greenwood
8106399598 Simplify the whole thing by using taglist types and not bothering with the
config option or command to switch it on
2015-07-26 12:55:46 +01:00
Stein Magnus Jodal
0fcf492327 docs: Tweak #1232 docs, update changelog 2015-07-26 12:55:16 +02:00
Stein Magnus Jodal
0dc47e6084 Merge pull request #1232 from dprokic/feature/843-core-config-for-data-config-cache-dirs
config: Add config for data/config/cache directories
2015-07-26 12:25:58 +02:00
Stein Magnus Jodal
e930e2becd core: Tweak PR #1238 2015-07-26 12:18:49 +02:00
Stein Magnus Jodal
36dea42100 Merge pull request #1235 from EricJahn/fix/1045-filter-empty-fields
Conflicts:
	docs/changelog.rst
2015-07-26 12:14:13 +02:00
Thomas Adamcik
ee68a0a9da Merge pull request #1238 from dbrgn/feature/996-playlist-delete-event
core: Implemented playlist_deleted event triggering
2015-07-26 12:12:23 +02:00
Stein Magnus Jodal
70cfc0b33a mpd: PR #1235 tweaks, add changelog 2015-07-26 12:12:15 +02:00
Danilo Bargen
8975e72b34 Implemented playlist_deleted event 2015-07-26 11:57:17 +02:00
Thomas Adamcik
61bb7df64d Merge pull request #1239 from jodal/feature/stream-playlists
stream/audio: Make stream backend parse radio playlists itself
2015-07-26 11:48:19 +02:00
Stein Magnus Jodal
5f7dded4a3 stream: Faster content buffer building 2015-07-26 11:24:39 +02:00
Stein Magnus Jodal
b5654f4783 stream: Move requests session helper to internal 2015-07-26 11:24:39 +02:00
Stein Magnus Jodal
d991e51d40 stream: Extract first track from playlists 2015-07-26 11:24:39 +02:00
Stein Magnus Jodal
c4faf37bf4 Add a dev dependency on pytest-capturelog 2015-07-26 11:24:39 +02:00
Stein Magnus Jodal
16f80ccb8d Add a dependency on Requests
And on Responses for mocking Requests calls in tests.
2015-07-26 11:20:59 +02:00
Thomas Adamcik
b58ca2dff0 Merge pull request #1237 from east825/sprint-ep2015
models: Add "sortname" field in the Artist model (#940)
2015-07-26 11:20:21 +02:00
Stein Magnus Jodal
f373d071ea stream: Move scanner to backend, port tests to pytest 2015-07-26 00:09:58 +02:00
Stein Magnus Jodal
fcb61e3551 backend: Log translated URIs 2015-07-26 00:09:58 +02:00