Commit Graph

2869 Commits

Author SHA1 Message Date
Thomas Adamcik
dda5e5261a Move and rename expand_path to mopidy.utils.path
Also switches a bit move of mopidy.utils.settings over to module imports and
double spaces between functions.
2012-09-16 22:07:59 +02:00
Thomas Adamcik
6cc57701f9 Update parse_m3u to allow caller to decide what location playlist is relative to. 2012-09-16 19:28:15 +02:00
Thomas Adamcik
c2e1b0d672 Use find_files() as an iterator in scanner. 2012-09-16 18:17:28 +02:00
Thomas Adamcik
7ceb530064 Updated find files to ignore hidden files and folders. 2012-09-16 18:14:11 +02:00
Thomas Adamcik
355ff811af Add $XDG_name_DIR substitution to _FILE and _PATH settings.
This change removes the practice of hardcoding fallbacks to these paths outside
of the base settings file. We can probably get rid of some of the location
CONSTANTS that are currently in use in mopidy/__init__.py
2012-09-16 18:03:07 +02:00
Thomas Adamcik
3cf1b13d49 Cleanup mopidy.utils.settings.
- Move to module import for stdlib
- Extract path manipulation code to a method
- Avoid uneeded copying of settings dict by binding current localy.
2012-09-16 17:47:51 +02:00
Stein Magnus Jodal
31d015f9fd docs: Fix typo 2012-09-15 19:21:23 +02:00
Stein Magnus Jodal
e905fd8d8a Reorganize v0.8 changelog 2012-09-15 19:19:45 +02:00
Stein Magnus Jodal
2cd729aa2f docs: Include git revision in version number if we're in a git repo 2012-09-15 18:50:43 +02:00
Stein Magnus Jodal
a8d1d41ab3 Use assertIn and assertNotIn in tests 2012-09-15 17:46:25 +02:00
Stein Magnus Jodal
1443114204 docs: Remove duplicate API doc 2012-09-15 17:45:28 +02:00
Thomas Adamcik
e3bc0e79b9 Fix bug in local playlist handling. 2012-09-15 15:18:50 +02:00
Thomas Adamcik
e6485e4abe Add basic docs for Audio API, fixes #177. 2012-09-15 14:01:05 +02:00
Thomas Adamcik
5829a9f485 Merge pull request #197 from jodal/feature/better-playback-provider
Better base playback provider
2012-09-14 01:21:46 -07:00
Stein Magnus Jodal
fd60d42be6 Make LocalPlaybackProvider the default implementation of BasePlaybackProvider 2012-09-14 02:08:23 +02:00
Stein Magnus Jodal
2321a77e37 docs: Fix Sphinx warning 2012-09-14 01:45:27 +02:00
Stein Magnus Jodal
25b14cbfb3 docs: Fix broken autodocs 2012-09-14 01:43:45 +02:00
Stein Magnus Jodal
6d93938745 Merge pull request #195 from jodal/feature/playbackstate-enum
Add PlaybackState enum
2012-09-13 16:19:24 -07:00
Stein Magnus Jodal
2ba05f9405 Add PlaybackState enum 2012-09-14 01:17:55 +02:00
Thomas Adamcik
8802ea56f1 Merge pull request #196 from jodal/feature/audio-module
Add mopidy.audio module
2012-09-13 16:07:41 -07:00
Stein Magnus Jodal
4dd95804f2 Rename mopidy.mixers to mopidy.audio.mixers 2012-09-14 01:05:42 +02:00
Stein Magnus Jodal
aab37302a1 Rename mopidy.gstreamer to mopidy.audio 2012-09-14 01:05:42 +02:00
Thomas Adamcik
7f94464755 Merge pull request #194 from jodal/feature/extract-core-api
Extract core API from backend API
2012-09-13 15:15:42 -07:00
Stein Magnus Jodal
f3cb3036d4 docs: Update a couple of references and titles 2012-09-13 23:57:07 +02:00
Stein Magnus Jodal
e0b26fcb81 docs: Move controllers out of the Backend API 2012-09-13 23:50:09 +02:00
Stein Magnus Jodal
0559213da3 Move backend controllers to mopidy.core 2012-09-13 23:41:20 +02:00
Stein Magnus Jodal
0a0c7c59b7 docs: Merge development docs into a single document 2012-09-13 15:18:22 +02:00
Stein Magnus Jodal
7525cad94c Let Track.date be an ISO-8601 string
This lets us have less precision than full dates. E.g. Spotify tracks only got
release year, not full release date.

The original MPD server regularly expose data like this as "Date: 1977", so we
don't need to fake more precision for MPD's sake.
2012-09-12 23:06:06 +02:00
Stein Magnus Jodal
0ed59a8845 gstreamer: Fix typo 2012-09-12 22:54:34 +02:00
Stein Magnus Jodal
a703b19862 docs: Update iOS clients section 2012-09-12 22:20:00 +02:00
Stein Magnus Jodal
fd76b46d5e docs: Fix typo 2012-09-12 22:11:29 +02:00
Stein Magnus Jodal
5b284af399 Update Android MPD client review (fixes #155) 2012-09-12 21:52:44 +02:00
Stein Magnus Jodal
e304b85c87 docs: Remove note about how to use ncmpcpp with Mopidy < 0.6, which is almost a year ago 2012-09-12 20:36:15 +02:00
Stein Magnus Jodal
a08b1461ad docs: Remove note about Ubuntu 10.04 and older 2012-09-12 20:36:15 +02:00
Stein Magnus Jodal
061adbddd0 docs: Remove superflous word 2012-09-12 20:27:12 +02:00
Stein Magnus Jodal
3f923907ca docs: Fix capitalization of GStreamer 2012-09-12 20:26:59 +02:00
Stein Magnus Jodal
8d44f4697b Fix typos, clarify docs 2012-09-12 20:23:39 +02:00
Stein Magnus Jodal
91b2c0f430 Update Homebrew installation guide 2012-09-12 13:41:46 +02:00
Stein Magnus Jodal
c8b24303ca Remove sections about donations 2012-09-12 12:08:35 +02:00
Stein Magnus Jodal
5ad75b18de Add link to contributors list at GitHub 2012-09-12 12:08:19 +02:00
Stein Magnus Jodal
414e7774a9 Add .mailmap for mapping of git Author tags belonging to the same person 2012-09-12 12:06:30 +02:00
Stein Magnus Jodal
85d90bbabb Cleanup settings docstrings 2012-09-12 11:50:56 +02:00
Stein Magnus Jodal
dbf7030d5b Fix crash in local backend when looking up unknown path 2012-09-11 23:23:36 +02:00
Stein Magnus Jodal
32987d7a00 Merge pull request #188 from jodal/feature/gstreamer-resource-cleanup
GStreamer resource cleanup
2012-09-11 06:46:04 -07:00
Stein Magnus Jodal
a3ea1bc97a Use kwarg to make meaning obvious 2012-09-11 15:37:46 +02:00
Stein Magnus Jodal
a1146c2964 Log error and exit if output creation fails 2012-09-11 13:52:43 +02:00
Stein Magnus Jodal
51256e1894 Log warning message if mixer creation fails 2012-09-11 11:18:08 +02:00
Stein Magnus Jodal
0e56b15fcc Teardown GStreamer mixer 2012-09-11 10:08:59 +02:00
Stein Magnus Jodal
2f33a6c4ff Only remove signal watch if it has been added
If removing unconditionally, we get the following error message:

    GStreamer-CRITICAL **: Bus bus2 has no signal watches attached
2012-09-10 23:19:40 +02:00
Stein Magnus Jodal
4bffea8b1f Test the GStreamer class as an actor
The test should use the same interface and code paths as production code.
2012-09-10 00:34:12 +02:00