Commit Graph

6365 Commits

Author SHA1 Message Date
Thomas Adamcik
b90d18c8ac audio: Reduce most buffering message to trace level 2015-03-17 20:56:16 +01:00
Stein Magnus Jodal
8a0bf3c25f docs: Include commit message tips in the guidelines 2015-03-17 13:16:39 +01:00
Stein Magnus Jodal
b6b872b9c2 docs: Fix typos from review
Co-Authored-By: Nick Steel <kingosticks@gmail.com>
2015-03-17 12:23:12 +01:00
Stein Magnus Jodal
c90f08d8ea docs: Show another level of the about section in the ToC 2015-03-17 01:16:05 +01:00
Stein Magnus Jodal
b2b7b87081 docs: Make devtools a pure release procedure page 2015-03-17 01:16:05 +01:00
Stein Magnus Jodal
e981caf5e9 docs: New contribution guidelines
Fixes #830
2015-03-17 01:16:05 +01:00
Stein Magnus Jodal
7aee505943 docs: Add development environment guide
Fixes #994
2015-03-17 01:16:05 +01:00
Stein Magnus Jodal
5240b50f8b Merge pull request #1040 from adamcik/fix/only-update-stream-title-for-streams
core: Only emit stream title changed for streams
2015-03-15 21:27:50 +01:00
Stein Magnus Jodal
0f21e7425e Merge pull request #1039 from adamcik/bug/923/duration-as-int-or-none
core: Correctly handle missing duration in seek.
2015-03-15 21:26:16 +01:00
Thomas Adamcik
28d047e1d2 core: Only emit stream title changed for streams
This is done by checking for the presence of the organization tag typically set
by web streams. This might be a bit to strict and a bad heuristic, but it's
currently better than wrongly emitting stream titles for non streams IMO.
2015-03-15 11:42:01 +01:00
Thomas Adamcik
6adeea6009 core: Correctly handle missing duration in seek.
Seeks will now fail when the duration is None, this is an approximation to if
the track is seekable or not. This check is need as otherwise seeking a radio
stream will trigger the next track.

If the track truly isn't seekable despite having a duration we should still
fail as GStreamer will reject the seek.
2015-03-15 11:29:07 +01:00
Thomas Adamcik
4b8cd3af87 Merge pull request #1038 from jodal/feature/deps-executable-path
deps: Add executable path to 'mopidy deps' output
2015-03-14 23:19:51 +01:00
Stein Magnus Jodal
aed91008a3 deps: Add executable path to 'mopidy deps' output 2015-03-14 23:07:59 +01:00
Stein Magnus Jodal
336ef4534a tests: Use assertEqual instead of assertEquals 2015-03-14 23:01:49 +01:00
Stein Magnus Jodal
a1e866e46e docs: Use sphinx_rtd_theme bundled with Sphinx 1.3 2015-03-14 22:06:38 +01:00
Stein Magnus Jodal
b36083bae6 docs: Fix mock of gst.Caps 2015-03-14 22:02:27 +01:00
Stein Magnus Jodal
6f5ae2f9c4 docs: Fix syntax error in deprecation notices 2015-03-14 22:02:19 +01:00
Stein Magnus Jodal
5be2849547 docs: Add missing models to graph, reorder model docs 2015-03-14 21:51:37 +01:00
Stein Magnus Jodal
19e120582d docs: Update API concepts 2015-03-14 21:06:28 +01:00
Stein Magnus Jodal
3dc1901436 docs: Remove GStreamer elements from extdev guide
Mixers are no longer custom GStreamer elements, and while still
possible to do, custom GStreamer elements will probably not be as well
supported when we port to GStreamer 1.x.
2015-03-14 20:59:50 +01:00
Stein Magnus Jodal
0eb2e1675a docs: Highlight deprecations in the changelog 2015-03-14 20:48:12 +01:00
Stein Magnus Jodal
0034545351 http: Deprecate http/static_dir config 2015-03-14 20:43:34 +01:00
Thomas Adamcik
21b11b21cd Merge pull request #1037 from tkem/fix/local_get_images_single_track
local: Fix get_images() for local libraries returning single track from lookup().
2015-03-14 19:14:22 +01:00
Thomas Kemmer
9a1833a698 Update change log for PR #1037. 2015-03-14 16:43:02 +01:00
Thomas Kemmer
29b4a2075a local: Fix get_images() for local libraries returning single track from lookup(). 2015-03-14 16:12:46 +01:00
Stein Magnus Jodal
abe9b7aea7 docs: Initial cleanup of v0.20 changelog 2015-03-14 01:27:28 +01:00
Stein Magnus Jodal
bb737e92c2 Merge pull request #1036 from jodal/feature/track-last-modified-as-ms
models: Change Track.last_modified from seconds to ms (fixes #678)
2015-03-14 01:26:55 +01:00
Stein Magnus Jodal
51b83f0f05 Merge pull request #1030 from adamcik/feature/stream-reference
Rework current metadata track to something ref based
2015-03-14 00:39:29 +01:00
Thomas Adamcik
6260ba00be core: Test stream_title_changed listener 2015-03-14 00:30:46 +01:00
Thomas Adamcik
67f9bd73bf Merge branch 'develop' into feature/stream-reference
Conflicts:
	docs/changelog.rst
2015-03-14 00:28:51 +01:00
Thomas Adamcik
36fe8321b1 docs: Add changelog entry for stream title stuff 2015-03-14 00:25:20 +01:00
Thomas Adamcik
6d50f835a4 review: docstring update for mpd translator 2015-03-14 00:22:22 +01:00
Thomas Adamcik
ea97047607 flake8: Fix bad import 2015-03-14 00:10:21 +01:00
Stein Magnus Jodal
3a61445519 models: Change Track.last_modified from seconds to ms 2015-03-14 00:06:23 +01:00
Thomas Adamcik
4db4b4d63b core: Reduce stream metadata to just the title
The API I really want for this to support regular tracks, stream updates and
dynamic playlists is still unclear to me. As such I'm taking the KISS approach
and reducing this to just the stream title and nothing else.

If all goes as planed this will be replaced by playback_track_changed(tlid, ref)
style events and other improvements in a later version.
2015-03-13 23:56:51 +01:00
Thomas Adamcik
980e04537b Merge pull request #1035 from jodal/feature/none-mixer-adjustments
core/mpd: None-mixer adjustments
2015-03-13 23:31:20 +01:00
Stein Magnus Jodal
30badf60b9 Merge pull request #1033 from adamcik/feature/scanner-with-typefind
Add typefinding / MIME guess to scan code.
2015-03-13 23:22:12 +01:00
Thomas Adamcik
6b7f9b4899 docs: Add changelog for the scanner improvements 2015-03-13 22:45:57 +01:00
Thomas Adamcik
faab0b755a audio: Filter for messages we care about, rest will be dropped 2015-03-13 22:39:52 +01:00
Thomas Adamcik
9e8b3263ab audio: Use timed pop for message loop and gst clocks 2015-03-13 22:36:35 +01:00
Stein Magnus Jodal
4ce16ce638 docs: Fix header marker 2015-03-13 21:31:33 +01:00
Stein Magnus Jodal
9adb2c86a9 mpd: Make code read better
The result of set_mute() and set_volume() is always True or False, never
another falsy value like None.
2015-03-13 21:24:04 +01:00
Stein Magnus Jodal
b29f9e10c4 core: get_mute() with no mixer returns None
...and not False, because the mute state is unknown (None) and not
unmuted (False) when there is no mixer.

Note that this change does not affect the MPD responses.
2015-03-13 21:19:56 +01:00
Stein Magnus Jodal
e4ef6d13ca core: Correct mixer.set_volume() docstring 2015-03-13 21:04:37 +01:00
Thomas Adamcik
2744a2b8a8 Merge pull request #1034 from tkem/docs/mopidy-mobile
docs: Replace Mopidy-HTTP-Kuechenradio with Mopidy-Mobile.
2015-03-13 19:38:02 +01:00
Thomas Kemmer
73bb6c2a8a Replace Mopidy-HTTP-Kuechenradio with Mopidy-Mobile. 2015-03-13 19:10:57 +01:00
Thomas Adamcik
083ec130f9 Merge pull request #1015 from ZenithDK/feature/mixer_none
core/mpd: Allow empty or 'none' as audio.mixer value
2015-03-13 17:57:51 +01:00
Thomas Adamcik
5600b395bf Merge pull request #1032 from tkem/fix/1031
local: Add get_images() to local library (Fixes #1031)
2015-03-13 17:54:47 +01:00
Thomas Adamcik
628c828087 audio: Recreate scan pipeline for each scan
Turns out this code runs a lot faster when we fully destroy the decodebins
between scans. And since going to NULL isn't enough I opted to just go for
redoing the whole pipeline instead of adding and removing decodebins all the
time.

As part of this almost all the logic has been ripped out of the scan class and
into internal functions. The external interface has been kept the same for now.
But we could easily switch to `scan(uri, timeout=1000, proxy=None)`
2015-03-13 00:23:01 +01:00
Thomas Adamcik
411bae5a56 audio: Raise error for unknown protocol types 2015-03-12 23:21:53 +01:00