Commit Graph

4312 Commits

Author SHA1 Message Date
Alexandre Petitjean
c66e2a5b0f add some tests about optionnal integer and optionnal+choices string 2013-07-31 23:11:29 +02:00
Alexandre Petitjean
97848bc1a2 String config value can be optionnal AND have a choices list
Integer value can be optionnal
2013-07-31 10:05:20 +02:00
Stein Magnus Jodal
786d7c1ae0 Change docs license to Apache License, Version 2.0
I've looked through all contributions to the docs. Any contributions not by
Thomas Adamcik or myself are trivial (e.g. typo fixes) or have mostly been
replaced by later changes. Thus I'm comfortable with changing the license with
the agreement of Thomas Adamcik.

By changing the documentation license to be the same as the source code
license, we avoid ambiguities around the license of e.g. docstrings which are
written as part of the source code but are included in the generated docs.
2013-07-31 08:38:23 +02:00
Alexandre Petitjean
bb3242d15a correct default port config for proxy and deserialize function 2013-07-30 08:37:24 +02:00
Alexandre Petitjean
f9da3fe3e9 implement remarks for #481, also add scheme as requested in #472 2013-07-30 08:17:10 +02:00
Alexandre Petitjean
05733cf844 correct remarks from #481 2013-07-29 22:22:28 +02:00
Alexandre Petitjean
de80c33753 Add proxy/port to configuration 2013-07-29 09:57:32 +02:00
Stein Magnus Jodal
608b9c9b6c docs: Update changelog, authors 2013-07-28 23:25:42 +02:00
Stein Magnus Jodal
182892e20e Merge pull request #479 from alzeih/develop
Prepend name of Spotify playlist folders to playlist name (fix #62)
2013-07-28 14:21:26 -07:00
alzeih
47c26acf57 spotify folders not necessary as a positional arg
- rename to folders
- remove confusing None for starred playlists
2013-07-28 23:53:47 +12:00
alzeih
c4dcef81b4 - use path separators instead of square brackets
- use generator expression instead of list comprehension
- fix bug for empty but not None list of folders
2013-07-28 22:42:15 +12:00
alzeih
c58de5aa75 workaround for mopidy/mopidy#62 - appends folder names to playlist 2013-07-28 16:42:16 +12:00
Stein Magnus Jodal
6855fddbfb docs: Update changelog, authors 2013-07-26 12:46:42 +02:00
Stein Magnus Jodal
2f94b5d219 mpd: Remove remnants of Python 2.6 support 2013-07-26 12:45:10 +02:00
Stein Magnus Jodal
1c1b622c54 Merge pull request #478 from cgtobi/feature/scanner_disc_number
Scanner: Add disc number to album and track models (fixes #318)
2013-07-26 03:44:16 -07:00
Tobias Sauerwein
d1051e4f18 Removed unnecessary whitespaces. 2013-07-26 12:30:02 +02:00
Tobias Sauerwein
a372df8333 Scanner: Add disc number to album and track models (fixes #318) 2013-07-26 12:20:29 +02:00
Stein Magnus Jodal
73f47a9fce docs: raspi instructions work for both Raspbian and Debian 2013-07-11 22:48:05 +02:00
Stein Magnus Jodal
579a93437f mpd: Allow full MPD queries to 'count'
Fix hechtus/mopidy-gmusic#1
2013-07-09 11:48:11 +02:00
Stein Magnus Jodal
99eed0e6b8 mpd: Allow 'count' without quotes around the 'tag' param
Fix hechtus/mopidy-gmusic#1
2013-07-09 11:22:45 +02:00
Stein Magnus Jodal
0a61b4642e Merge branch 'master' into develop
Conflicts:
	docs/changelog.rst
2013-07-01 11:53:45 +02:00
Stein Magnus Jodal
259e55a280 Merge remote-tracking branch 'mopidy/master' 2013-07-01 11:52:51 +02:00
Stein Magnus Jodal
e206a6fdf7 Release v0.14.2 2013-07-01 11:50:29 +02:00
Stein Magnus Jodal
bcf7143096 docs: Update changelog for 0.14.2 2013-07-01 11:50:06 +02:00
Stein Magnus Jodal
cb561519db Bump version number to 0.14.2 2013-07-01 11:50:06 +02:00
Stein Magnus Jodal
4a48f8f216 Allow pyspotify 1.9 and higher, including 1.11 2013-07-01 11:49:54 +02:00
Stein Magnus Jodal
d6a1e13ed6 tests: Use utf-8 when encoding our test data paths to bytes 2013-06-27 00:25:25 +02:00
Stein Magnus Jodal
2ad1bb8bb3 config: Raise ValueError if Path is asked to serialize unicode
If we accept unicode and try to encode using sys.getfilesystemencoding() then
it may work most of the time, but will fail if we get non-ASCII chars in the
unicode string and the file system encoding is e.g. ANSI-something because the
locale is C. Thus, I figure it is better to always fail if we try to serialize
Path from unicode strings. Paths should be maintained as bytes all the time.
2013-06-27 00:08:05 +02:00
Stein Magnus Jodal
59e3b9aec3 config: Formatting 2013-06-27 00:07:57 +02:00
Stein Magnus Jodal
cd2f71fa3a docs: Fix link to rpi-update
(cherry picked from commit a4543ca13a)
2013-06-24 23:12:39 +02:00
Stein Magnus Jodal
a4543ca13a docs: Fix link to rpi-update 2013-06-24 23:12:17 +02:00
Stein Magnus Jodal
24cae011d6 docs: Fix link on Travis badge 2013-06-20 20:15:54 +02:00
Stein Magnus Jodal
ed196e05f6 docs: Unbreak docs building by mocking dbus.String properly 2013-06-20 20:06:24 +02:00
Stein Magnus Jodal
77b461d1e7 docs: Update authors 2013-06-20 20:02:40 +02:00
Stein Magnus Jodal
04a9c69e48 fab: Add more targets, remove nose config file 2013-06-20 20:02:08 +02:00
Stein Magnus Jodal
9a9eff3c62 setup: Remove Python 2.6 PyPI classifier 2013-06-20 19:46:47 +02:00
Stein Magnus Jodal
c00a2e0de8 reqs: unittest2 not required when on Python 2.7 2013-06-20 19:45:59 +02:00
Stein Magnus Jodal
12f81773ec reqs: python-ws4py is available in Ubuntu 13.04 and Debian testing 2013-06-20 19:43:50 +02:00
Stein Magnus Jodal
3a8ca3a457 reqs: Remove external mixers deps, as it was split out to its own package 2013-06-20 19:43:33 +02:00
Stein Magnus Jodal
2a43166b50 docs: Fix dist-upgrade command (fixes #470)
(cherry picked from commit 31ef29e121)
2013-06-13 15:05:07 +02:00
Stein Magnus Jodal
31ef29e121 docs: Fix dist-upgrade command (fixes #470) 2013-06-13 15:04:00 +02:00
Stein Magnus Jodal
9fc319fd1d Merge pull request #454 from adamcik/feature/library-updater
Add library update providers to backends
2013-05-22 15:04:25 -07:00
Thomas Adamcik
71618f840f scanner: Fixing review comments. 2013-05-22 20:36:39 +02:00
Thomas Adamcik
98bb35d4d1 scanner: Convert to using library updater.
This version of the scanner switches to using the updater API, in other words
we are now fairly close to being able to plug in alternate libraries for local
files and populate them with mopidy-scan.
2013-05-20 23:54:48 +02:00
Thomas Adamcik
00e88361f3 local: Add library update provider for tag caches.
This adds the basic interface implemenations for supporting tag caches using
the new update APIs.
2013-05-20 23:53:38 +02:00
Thomas Adamcik
7f80a188c9 core: Add library updater.
Idea behind this class is to have a clear sub-set of our library API that is
only used for updating libraries. This makes it very clear what methods are
needed for just libaries and additionally updatable libraries.

Next couple of commits will build on this idea taking us closer to plugable
local libraries.
2013-05-20 23:50:46 +02:00
Thomas Adamcik
5961a1f5c8 scanner: Write tag cache to tmp file.
Tag cache is now output to a tmp file residing in the same folder as the real
one. Once generated the tmpfile is moved over the original file for an atomic
updated.
2013-05-20 22:56:09 +02:00
Thomas Adamcik
351589c6c8 path: Add find_uris version of find_files 2013-05-20 22:42:31 +02:00
Stein Magnus Jodal
f91e621c40 Merge pull request #452 from adamcik/feature/mtime
Add last modified time to tracks and make scanner mtime aware.
2013-05-20 06:57:53 -07:00
Thomas Adamcik
b4411ec877 scanner: Update based on review comments. 2013-05-20 15:28:41 +02:00