Stein Magnus Jodal
0ebfeb5a5b
core: Normalize negative seek positions
...
This reverts a change between 1.0 and 1.1, so no changelog.
Fixes #1180
2015-07-22 12:15:38 +02:00
Stein Magnus Jodal
131d992bed
local: Filter out None from get_distinct results
...
Fixes #1202
2015-07-22 12:02:31 +02:00
Stein Magnus Jodal
b32db58f72
docs: Review versionadded/versionchanged usage
...
Fixes #1166
2015-07-22 11:35:03 +02:00
Stein Magnus Jodal
6cb48f29ce
mpd: Simplify Last-Modified test, update changelog
2015-07-22 11:21:04 +02:00
Stein Magnus Jodal
1d77bc74e2
Merge pull request #1219 from fatg3erman/fix/1218-last-modified-for-mpd
...
Fix #1218
2015-07-22 11:12:30 +02:00
Mark Greenwood
eab3076235
Add test for track.last_modified = 0
2015-07-21 21:13:38 +01:00
Mark Greenwood
6ed9b07aaa
Fix #1218
...
Output the last_modified timestamp from mopidy's track model to mpd clients
in the same format as mpd uses - yyyy-mm-ddTHH:MM:SS
Outputs nothing for Last-Modified if last_modified is None or zero
This commit uses UTC time, adds a 'Z' to end, and updates the test accordingly
2015-07-21 18:20:17 +01:00
Stein Magnus Jodal
073d368c82
Merge branch 'v1.0.x' into develop
...
Conflicts:
docs/changelog.rst
mopidy/mpd/translator.py
tests/core/test_library.py
2015-07-21 18:36:13 +02:00
Stein Magnus Jodal
fb859a9f23
m3u: Fix crash if playlist filename is not decodable
...
...with the current file system encoding
Fixes #1209
2015-07-21 18:31:21 +02:00
Stein Magnus Jodal
bcbafb29e3
config: Enable core config section
2015-07-21 17:14:50 +02:00
Stein Magnus Jodal
16b48e51e2
mpd: Remove old warnings about quotes
2015-07-21 15:07:02 +02:00
Stein Magnus Jodal
c88cf5ee82
mpd: Add listfiles command skeleton
2015-07-21 15:04:29 +02:00
Stein Magnus Jodal
2135b1372a
mpd: Add mount/unmount/listmounts/listneighbors command skeletons
2015-07-21 14:50:51 +02:00
Stein Magnus Jodal
21a3b74e9b
mpd: Add addtagid/cleartagid command skeleton
2015-07-21 14:30:18 +02:00
Stein Magnus Jodal
0a662c42b0
mpd: Add prio/prioid command skeleton
2015-07-21 14:18:28 +02:00
Stein Magnus Jodal
3970e69686
docs: Add missing image
...
(cherry picked from commit 2f8d625324 )
2015-07-21 14:12:54 +02:00
Stein Magnus Jodal
2f8d625324
docs: Add missing image
2015-07-21 14:12:13 +02:00
Stein Magnus Jodal
7b711e4dac
mpd: Add rangeid command skeleton
2015-07-21 14:12:01 +02:00
Stein Magnus Jodal
a23e2bc23c
mpd: Order commands after MPD docs
2015-07-21 09:30:01 +02:00
Stein Magnus Jodal
0832103f79
docs: Add Mopidy-Material-Webclient
2015-07-21 09:26:17 +02:00
Stein Magnus Jodal
01689b7944
docs: Add Mopidy-dam1021 mixer extension
...
Fix #1217
2015-07-21 09:17:05 +02:00
Stein Magnus Jodal
c382a58564
tests: Fix another error in mock usage
2015-07-21 00:34:27 +02:00
Thomas Adamcik
cd75570141
docs: Fix PR number in latest changelog entry
2015-07-20 19:49:42 +02:00
Stein Magnus Jodal
a1200d38f4
tests: Fix typo in mock usage
...
The error was made evident by a newer mock version that no longer
swallowed the wrong assert as regular use of a spec-less mock.
2015-07-20 19:48:15 +02:00
Thomas Adamcik
ef9a393ba0
docs: Changelog for cherrypicked MPD fix
2015-07-20 19:37:25 +02:00
Mark Greenwood
0c9542c3d6
mpd: Fix swapped Name and Title fields for streams
...
Fixes issue#1212
When stream_title is set:
use stream_title for mpd's Title field, and use track.name (if set) for mpd's Name field
When stream_title is not set:
use track.name for mpd's Title field. Do not output Name field.
Conflicts:
mopidy/mpd/translator.py
2015-07-20 19:34:11 +02:00
Thomas Adamcik
8e8577f707
Merge branch 'fatg3erman-fix/1212-mpd-stream-name-title-reversed' into develop
2015-07-20 19:30:28 +02:00
Thomas Adamcik
1a967d3d22
mpd: Add tests for stream title handling
2015-07-20 19:25:39 +02:00
Thomas Adamcik
b162a79bf9
Merge branch 'fix/1212-mpd-stream-name-title-reversed' of https://github.com/fatg3erman/mopidy into fatg3erman-fix/1212-mpd-stream-name-title-reversed
2015-07-20 19:13:20 +02:00
Stein Magnus Jodal
bed8fdd5c5
docs: Update authors and .mailmap
2015-07-20 18:59:56 +02:00
Stein Magnus Jodal
d65548de2b
docs: Update authors
2015-07-20 18:53:30 +02:00
Thomas Adamcik
8ada2625db
core: Move tracklist setting to default.conf and add changelog
2015-07-20 17:07:43 +02:00
Thomas Adamcik
f74b1c4c97
Merge branch 'RonaldZ-issue997' into develop
2015-07-20 17:02:40 +02:00
Thomas Adamcik
2c30934c2e
core: Remove core "extension" as it is not needed for config
2015-07-20 17:01:40 +02:00
Thomas Adamcik
8bb29cd28e
core: Update tracklist full error message
2015-07-20 16:53:04 +02:00
Thomas Adamcik
3aacfd7147
exception: Fix typo in new CoreErrors
2015-07-20 16:45:14 +02:00
Ronald Zielaznicki
82ed660777
Add core config values to relevent test cases.
2015-07-19 23:05:39 -04:00
Ronald Zielaznicki
f6f490efc5
Add a max playlist limit to the tracklist.
2015-07-19 22:24:17 -04:00
Ronald Zielaznicki
4614f04c8b
Added in a CoreError with a TracklistFull subclass
2015-07-19 13:31:43 -04:00
Ronald Zielaznicki
1892e472a0
Added config schema
2015-07-19 13:10:24 -04:00
Stein Magnus Jodal
87bf261345
tests: Fix typo in mock usage
...
The error was made evident by a newer mock version that no longer
swallowed the wrong assert as regular use of a spec-less mock.
2015-07-16 21:33:02 +02:00
Stein Magnus Jodal
c69c68648b
core: Add a [core] config section
...
I deemed it better to make core an extension (that cannot be disabled)
rather than add a special case throughout the config handling to make
it possible to have config section that doesn't belong to an extension.
This change is needed for #997 .
Until #997 is completed, Mopidy will complain that core has now config
schema (because it is empty) and claim that core is disabled. This of
course has no practical effects.
2015-07-16 21:18:14 +02:00
Mark Greenwood
38ca65a0b6
Fix #1218 - Last-Modified timestamp for tracks
...
Don't know why the Travis build failed, it's passing for me
2015-07-13 06:43:46 +01:00
Mark Greenwood
6d2ac7a100
Fix #1218
...
Output a track's Last-Modified stamp in ISO 8601 format, as MPD does.
Output nothing if track has no last-modified stamp.
The test has to use datetime to work out what the output will look like,
because it is local-time zone dependant.
2015-07-13 06:35:34 +01:00
Mark Greenwood
5c6ab0846e
Fix #1218
...
Output the last_modified timestamp from mopidy's track model to mpd clients
in the same format as mpd uses - yyyy-mm-ddTHH:MM:SS
Outputs nothing for Last-Modified if last_modified is None
2015-07-12 21:39:27 +01:00
Stein Magnus Jodal
a99e161aab
docs: Fix typos
2015-07-09 21:40:04 +02:00
Stein Magnus Jodal
5a3dc180fb
docs: Add file backend to changelog
...
Fixes #1004
2015-07-09 14:04:23 +02:00
Stein Magnus Jodal
f3d6309d45
file: Consistently use URI in all log messages
...
It has the benefit of being able to encode any bytes irespective of
file system encoding, because of its urlencoding.
2015-07-09 13:50:53 +02:00
Stein Magnus Jodal
f95cb857f6
file: Drop double logging of non-audio files
2015-07-09 13:44:08 +02:00
Stein Magnus Jodal
9035d85a0e
file: Ignore dotfiles before symlinks
...
This reduces the amount of debug logging a lot when browsing a typical
Unix home directory.
2015-07-09 13:22:10 +02:00