Thomas Adamcik
7e063774b3
local: Remove local-json as a split out extension.
...
Will be re-added using the new library interface. This commit does break tests.
2013-12-23 22:22:14 +01:00
Thomas Adamcik
4c0b54317b
local: Add new library interface to local backend.
...
This forms the basis of our plugable local libraries that we intend to ship.
2013-12-23 22:16:03 +01:00
Thomas Adamcik
8a94d81c42
ext: Move away from global registry to ease testing.
...
Extension's setup method are now passed the active registry allowing them to
"steal" a list of the registry items they care about. In the case of commands
the registry is passed via args.registry.
2013-12-23 21:46:24 +01:00
Thomas Adamcik
353782e2c8
local: Add local/data_dir config value.
...
Not in use yet but, needed for future changes planed in this branch.
2013-12-23 21:40:35 +01:00
Thomas Adamcik
decce4ccf6
ext: Add basic global registry and switch to Extension.setup()
2013-12-22 15:11:15 +01:00
Thomas Adamcik
0d7fea0a43
ext: Convert commands to use new registry system.
...
Creates a placeholder registry using the existing hooks, and updates the
commands to use these. The actual registry still needs to be created.
2013-12-22 15:11:15 +01:00
Stein Magnus Jodal
0ffeb2710b
docs: Fix typo
2013-12-21 21:25:31 +01:00
Stein Magnus Jodal
ef596ae391
docs: Link to PyPI instead of Crate.io which has been discontinued
2013-12-21 21:25:16 +01:00
Thomas Adamcik
9a7f3a91ad
Merge pull request #615 from adamcik/feature/xdg_config_dirs
...
Add $XDG_CONFIG_DIRS to default config search path.
2013-12-19 15:15:36 -08:00
Thomas Adamcik
0bbfaff085
docs: Fix typo in changelog
2013-12-20 00:14:02 +01:00
Thomas Adamcik
279618fcde
commands: Remove print statement
2013-12-19 23:42:33 +01:00
Thomas Adamcik
2a57190d7a
docs: Update change log with XDG_CONFIG_DIRS change
2013-12-19 22:13:17 +01:00
Thomas Adamcik
89638e55d6
flags: use $XDG_CONFIG_DIRS and $XDG_CONFIG_HOME as defaults
...
This does not add support for '$XDG_CONFIG_DIRS' expansion, it just makes the
default include what it is set to.
2013-12-19 22:10:12 +01:00
Stein Magnus Jodal
147c304ee8
docs: Update authors
2013-12-15 22:52:07 +01:00
Stein Magnus Jodal
3859448e06
core: Test version property, fix typo in changelog
2013-12-15 22:49:33 +01:00
Stein Magnus Jodal
77dd40b3d0
Merge remote-tracking branch 'kingosticks/feature/expose-version-to-api' into develop
2013-12-15 22:45:49 +01:00
Stein Magnus Jodal
b0b2e37950
docs: Include API docs for the Core class
2013-12-15 21:41:00 +01:00
Stein Magnus Jodal
7b667028e1
docs: Unbreak docs building
2013-12-15 21:38:48 +01:00
kingosticks
69b1f5e270
get_version changelog entry
2013-12-15 20:38:45 +00:00
kingosticks
9f93fbaa36
property for get_version and documented
2013-12-15 20:37:41 +00:00
kingosticks
e1bb03789b
expose mopidy version to core API
2013-12-15 18:50:05 +00:00
Stein Magnus Jodal
1bdc941b9c
Merge master into develop
2013-12-10 09:34:21 +01:00
Stein Magnus Jodal
1f27ef2929
Merge pull request #607 from jeremybmerrill/patch-2
...
replaces outdated option --show-config with correct `mopidy config` in docs
2013-12-10 00:34:06 -08:00
Jeremy B. Merrill
4e5431c77a
replaces outdated option --show-config with correct mopidy config in docs
2013-12-09 19:27:41 -05:00
Stein Magnus Jodal
e90c3eaf19
requirements: Move docs requirements to docs/
2013-12-06 10:28:07 +01:00
Stein Magnus Jodal
a937d5e117
requirements: Fold testing requirements into docs
2013-12-06 10:23:57 +01:00
Stein Magnus Jodal
8295dd4f4a
requirements: Fold http.txt into Mopidy-HTTP docs
2013-12-06 10:23:29 +01:00
Stein Magnus Jodal
101600d8d2
requirements: Remove core.txt, since it duplicates setup.py
2013-12-06 10:09:54 +01:00
Thomas Adamcik
1a032c5f92
Merge pull request #603 from adamcik/feature/lookup-stream-metadata
...
Add metadata lookup to streaming backend.
2013-12-05 15:06:01 -08:00
Thomas Adamcik
0fac8120d4
streaming: Code review adjustments
2013-12-06 00:04:36 +01:00
Thomas Adamcik
7c7db63659
docs: Add stream/timeout config value to docs
2013-12-05 23:03:50 +01:00
Thomas Adamcik
e37b1a1754
docs: Add streaming metadata lookup to changelog
2013-12-05 23:01:57 +01:00
Thomas Adamcik
d9b704d0d8
streaming: Add scanner lookup of stream metadata.
...
This adds support for looking up metada for all any any protocols the streaming
backend will support. This should also ensure that file:// files get metadata.
2013-12-05 22:58:48 +01:00
Thomas Adamcik
1379c38370
audio: Improve audio_data_to_track handling.
...
- Handle missing or none data for duration and mtime
- Add organization, location and copyright mapping used for streams.
2013-12-05 22:56:19 +01:00
Thomas Adamcik
a036e84a20
audio: Update scanner to not use gst.Bus.poll
...
Turns out poll sets up it's own mainloop in the default context causing us to
segfault.
2013-12-05 22:43:27 +01:00
Stein Magnus Jodal
eed74236a8
Merge pull request #602 from ruudud/document-492-workaround
...
Document workaround example for #492
2013-12-05 13:05:51 -08:00
Pål Ruud
91710e3618
Document workaround example for #492
...
The example is using an Icecast fallback stream that plays a silent MP3 file
when Mopidy sends the shutdown signal.
Tested and found working, however had minor issues with the client
(mpg123) playing the stream was getting out of sync when rapidly changing
songs.
Looking at the Icecast logs, it revealed that the switch between the mopidy and
the fallback stream happened immediately, so the issue is probably with the
client.
2013-12-05 21:49:49 +01:00
Stein Magnus Jodal
4142f0285b
Remove 'Music Server' from app name in mopidy.desktop
2013-12-05 09:00:40 +01:00
Stein Magnus Jodal
dc4ce9a6af
Merge pull request #599 from adamcik/feature/preroll-live-streams
...
audio: Cleanup scanner code and support live sources
2013-12-04 14:51:56 -08:00
Thomas Adamcik
10a448f90d
audio: Cleanup scanner code and support live sources
...
- Make attributes internal with _ naming
- Cleanup handling of min durtion. Min set to None disables the check.
- Check state change result for no preroll which indicates a live source which
must transistion to playing to get tags etc.
2013-12-04 23:41:39 +01:00
Stein Magnus Jodal
d7fc04e354
Merge branch 'feature/local-json' into develop
2013-12-04 23:30:16 +01:00
Stein Magnus Jodal
4a599eec0c
docs: Minor tweaks
2013-12-04 23:30:01 +01:00
Stein Magnus Jodal
07784ed058
Merge branch 'develop' into feature/local-json
2013-12-04 23:27:21 +01:00
Stein Magnus Jodal
14ee030dad
config: Formatting
2013-12-04 23:08:21 +01:00
Thomas Adamcik
acdc65e9c7
docs: Update changelog with pluggable libraries.
2013-12-04 23:04:30 +01:00
Thomas Adamcik
9794826f26
local: Review changes
2013-12-04 22:52:24 +01:00
Thomas Adamcik
4f7176cac8
local: Cleanup uri conversion helper naming and implementation.
2013-12-04 22:48:37 +01:00
Thomas Adamcik
ad53a067ae
local: Split out library reading and writting
...
- Create $XDG_DATA_DIR/mopidy/local in the local extension's validate env.
- Make sure we handle bad data causing ValueError in JSON decoding
- Initializing empty file causes more harm than good as it just leads to a
ValueError. Switched to doing write_library(json_file, {})
- Helpers have been updated to be library oriented, not track. This paves the
way for having {tracks: {uri: ...}, artist: {uri: ...}, ...} type
denormalized data.
2013-12-04 22:38:16 +01:00
Thomas Adamcik
9c2d38e989
local: Remove tag cache support
...
- Updates doc references to tag cache
- Removes tag cache from config and marks it deprecated
- Removes tag cache from setup.py
- Removes tag cache from config converter
- Removes tag cache from tests
- Converts local library tests to use JSON.
2013-12-04 22:38:16 +01:00
Thomas Adamcik
da63942b48
config: Improve handling of Deprecated config values
2013-12-04 22:38:16 +01:00