Commit Graph

7379 Commits

Author SHA1 Message Date
Jens Luetjen
d4d2ad80dc Changed name persistant file to 'state.json.gz'
Changed filename from persistent.state to state.json.gz. Now the
file extension matches the content.
2016-03-31 20:24:31 +02:00
Jens Luetjen
2bb9e39ba6 Merge branch 'develop' of https://github.com/mopidy/mopidy into fix/310-persist-mopidy-state-between-runs 2016-03-31 19:04:45 +02:00
Stein Magnus Jodal
d51b283c26 Merge branch 'release-2.0' into develop 2016-03-26 20:28:09 +01:00
Stein Magnus Jodal
227a660ecf Merge branch 'fix/1345-file-crashes-on-non-ascii-media-dir' into release-2.0 2016-03-26 20:27:42 +01:00
Thomas Adamcik
5e640979f4 Merge pull request #1493 from jodal/fix/1345-file-crashes-on-non-ascii-media-dir
file: Fix crash when media_dirs contains non-ASCII chars
2016-03-26 20:24:22 +01:00
Stein Magnus Jodal
095329ce82 docs: PR #1472 fixes #1469 2016-03-26 11:55:25 +01:00
Stein Magnus Jodal
8820a88e0c file: Fix crash when media_dirs contains non-ASCII chars
Fixes #1345
2016-03-26 11:30:35 +01:00
Stein Magnus Jodal
3e196a88cb Merge branch 'release-2.0' into develop 2016-03-26 09:59:27 +01:00
Stein Magnus Jodal
5a371b8ed0 Merge PR #1454 from dublok/fix/1454-endless-loop-if-no-playable-track 2016-03-26 09:51:30 +01:00
Stein Magnus Jodal
aafcf8559d docs: Add PR #1455 to changelog 2016-03-26 09:51:14 +01:00
Jens Luetjen
bf4da7a627 Add tests to ensure that play, next will not busy-loop
Test PlaybackController functions play(), next(), previous()
and _on_about_to_finish() that they will not loop forever
if all tracks are unplayable.
2016-03-26 09:43:38 +01:00
Jens Luetjen
6116705c1b Avoid endless loop in 'next' and 'previous'. 2016-03-26 09:43:38 +01:00
Jens Luetjen
a2f0d6960f Avoid endless loop if all tracks are unplayable.
Limit the number of tries for changing to the nest track.
The limit is 2 * tracklist length get all tracks in a shuffled playlist.
2016-03-26 09:43:38 +01:00
Thomas Adamcik
accd6bd1a9 docs: Add duration fix to changelog. 2016-03-25 15:18:13 +01:00
Thomas Adamcik
e9137e132a audio: Try and simplify logic for going to playing in scanner 2016-03-25 15:17:02 +01:00
SeeSpotRun
c972ecd1f2 scanner: fix newby logic error 2016-03-25 15:00:35 +01:00
SeeSpotRun
2d6f00b912 scanner: formatting to make travis / tox / flake8 happy 2016-03-25 15:00:35 +01:00
SeeSpotRun
6379f76889 scanner: minor simplification of timeout calculations 2016-03-25 15:00:35 +01:00
SeeSpotRun
57518861ea scanner: move _query_duration() into _process() 2016-03-25 15:00:35 +01:00
SeeSpotRun
3183f43b18 scanner: workaround for gstreamer not pushing tags before PREROLL
refer https://bugzilla.gnome.org/show_bug.cgi?id=763553
2016-03-25 15:00:35 +01:00
Thomas Adamcik
3c535409ad docs: Add buffer fix to changelog 2016-03-25 14:34:15 +01:00
Thomas Adamcik
793e425314 audio: Make buffer conversion work on older GStreamer installs 2016-03-25 13:11:07 +01:00
Thomas Adamcik
64a58e0662 audio: Move sample to data conversion to a helper.
Also add check for None buffer being returned.
2016-03-25 13:09:44 +01:00
Jens Luetjen
6faa19dbf3 Always unmap mapped buffer.
Always unmap the mapped memory, even in case of exception.
2016-03-25 12:55:00 +01:00
Jens Luetjen
f0788515cd Find images in audio files
Handle Gst.Sample as image in audio file tags (scaned with Gst1.0).
2016-03-25 12:54:44 +01:00
Thomas Adamcik
77358806de github: Fix typo 2016-03-25 12:44:39 +01:00
Stein Magnus Jodal
a1057eca54 github: Remove Markdown link 2016-03-23 19:47:37 +01:00
Stein Magnus Jodal
86b0327369 github: Tweak issues template 2016-03-23 19:45:59 +01:00
Thomas Adamcik
a372793cbe meta: Create placeholder ISSUE_TEMPLATE
We probably want more here, but it's a start.
2016-03-23 08:57:43 +01:00
Thomas Adamcik
20ba1fd90e Merge pull request #1481 from delftswa2016/develop
docs: Modify a mistake in annotations
2016-03-11 15:58:59 +01:00
Lina He
7fd989ac9b Modify a mistake in annotations
I found this mistake when reading the documentation of Mopidy. Just add
a "to"  to the annotation.
2016-03-11 15:19:18 +01:00
Jens Luetjen
58db550bd6 Register mopidy models for deserialization.
All from ValidatedImmutableObject derived classes are registered
for automatically deserialization by model_json_decoder().
2016-03-06 12:42:13 +01:00
Jens Luetjen
3eac589557 Try to restore state only one time.
Delete the persistant file after read. If something
goes wrong during restore, the next start is clean.
2016-02-29 20:47:11 +01:00
Stein Magnus Jodal
9c05cc8d05 Merge branch 'release-2.0' into develop 2016-02-22 12:43:13 +01:00
Stein Magnus Jodal
1e8bef25d3 audio: Set soft-volume flag on playbin 2016-02-22 12:42:56 +01:00
Jens Luetjen
854357a295 Merge branch 'develop' of https://github.com/mopidy/mopidy into fix/310-persist-mopidy-state-between-runs
Conflicts:
	mopidy/core/playback.py
	tests/core/test_playback.py

revert _backend_error_handling
revert endless loop prevention
2016-02-17 22:18:50 +01:00
Stein Magnus Jodal
75a365ea0d Merge branch 'release-2.0' into develop 2016-02-15 23:45:37 +01:00
Stein Magnus Jodal
6107254cb0 Merge branch 'master' into release-2.0 2016-02-15 23:45:02 +01:00
Stein Magnus Jodal
23098d7d93 docs: Fix broken link 2016-02-15 23:44:48 +01:00
Stein Magnus Jodal
0a4e1b15c8 docs: Add changelog section for 2.0.1 2016-02-15 22:15:18 +01:00
Stein Magnus Jodal
32c135a124 docs: Add changelog section for 2.1.0 2016-02-15 22:14:14 +01:00
Stein Magnus Jodal
842076a978 Release v2.0.0 2016-02-15 22:03:12 +01:00
Stein Magnus Jodal
665eccda93 docs: Add v2.0.0 release date 2016-02-15 22:02:46 +01:00
Stein Magnus Jodal
9a6636a974 Merge pull request #1447 from adamcik/fix/1445-unify-stream-uri-handling
Make sure the stream backend playback/library handle URIs the same way
2016-02-15 20:58:42 +01:00
Thomas Adamcik
3f0d7b96d0 docs: Add stream backend to changelog 2016-02-15 20:53:05 +01:00
Thomas Adamcik
f53a0d2200 stream: Address review comments for PR#1447 2016-02-15 20:46:43 +01:00
Nick Steel
5c1a4c66f2 docs: final pedantic changelog wording change. 2016-02-14 23:06:11 +00:00
Thomas Adamcik
2e5cfba710 stream: Make library lookup use stream unwrapping (fixes #1445) 2016-02-15 00:05:01 +01:00
Thomas Adamcik
ce81b362dc stream: Add scheme and blacklist check to translate_uri
We don't bother with this inside the unwrap code as if something redirects us
so be it.
2016-02-15 00:00:30 +01:00
Thomas Adamcik
9aa2a8a370 stream: Start moving state up to backend
This allows us to start unifying how we handle playlists in the library and
playback cases.
2016-02-14 23:50:18 +01:00