Commit Graph

2261 Commits

Author SHA1 Message Date
Jarryd Tilbrook
b4c98ec4a5 Fix/1531 add unix domain socket (#1629)
mpd: add functionality for unix domain socket (Fixes #1531)

The Hostname config type now supports a Unix socket path prefixed with `unix:`
2018-02-13 12:58:39 +00:00
Nick Steel
d6eff50597 core: Fix library.lookup with an empty uri list. Fixes #1619. 2017-06-15 00:10:06 +01:00
Btjones711
03b763172a -Edited Test to reflect Idle bug fix 2017-01-26 21:07:54 -06:00
Stein Magnus Jodal
1eb9e087c9 core: Remove redundant comments 2016-10-25 00:17:58 +02:00
Stein Magnus Jodal
b6c16750cf Merge pull request #1549 from alexjaw/fix/1512
alexjaw/fix/1512-inconsistent-playlist-state-with-repeat-and-consume
2016-10-25 00:17:14 +02:00
Jens Luetjen
1c8b5eeeaa Make test code more readable 2016-10-04 10:48:31 +02:00
dublok
18a3f6801c Scanner: set date to track and album 2016-09-19 20:09:02 +02:00
Jens Lütjen
92767e49f9 Fix typos and formatting 2016-09-16 21:01:10 +02:00
Jens Lütjen
5057b8b31d Merge 'develop' and resolve conflict
Conflicts:
	docs/changelog.rst
2016-09-14 18:17:52 +02:00
Alexander Jaworowski
95deb77939 alexjaw/fix/1512-inconsistent-playlist-state-with-repeat-and-consume 2016-08-21 21:59:10 +02:00
Alexander Jaworowski
bee9bd3d23 alexjaw/fix/1512-inconsistent-playlist-state-with-repeat-and-consume 2016-08-21 21:40:17 +02:00
Stein Magnus Jodal
c0ce188451 Merge branch 'release-2.0' into develop 2016-08-12 01:17:31 +02:00
Stein Magnus Jodal
3346778c41 models: Fix encoding error in Identifier field
Fixes #1508
2016-08-11 23:55:31 +02:00
Stein Magnus Jodal
6a01a2e906 models: Test Identifier field type 2016-08-07 21:30:56 +02:00
Thomas Adamcik
692138a51e Merge pull request #1525 from palfrey/dodgy-date-tags
If the date in a tag is invalid, skip it
2016-07-25 22:01:12 +02:00
Thomas Adamcik
57b8b8435d Merge pull request #1525 from palfrey/dodgy-date-tags
If the date in a tag is invalid, skip it
2016-07-25 22:00:51 +02:00
Thomas Adamcik
3ee91240a0 Merge pull request #1496 from dublok/fix/1462-flac-seek-freeze
audio: Ignore position of _on_position_changed callback (fixes #1462)
2016-07-25 21:43:31 +02:00
Thomas Adamcik
c199fb1c81 lint: Workaround and fix to account for new version of flake8 2016-07-25 21:16:30 +02:00
Thomas Adamcik
fb823d1a7c lint: Workaround and fix to account for new version of flake8 2016-07-25 21:09:38 +02:00
Thomas Adamcik
068800c699 Merge pull request #1523 from ismailof/fix/1133-mpd-nextsongid
mpd: Add nextsong and nextsongid to mpd status command (Fixes #1133)
2016-06-26 11:52:24 +02:00
Thomas Adamcik
431984d103 Merge pull request #1496 from dublok/fix/1462-flac-seek-freeze
audio: Ignore position of _on_position_changed callback (fixes #1462)
2016-06-13 22:44:03 +02:00
Tom Parker
c3eb9b60c0 If tags date isn't a valid value for Python, skip the tag 2016-06-10 12:41:02 +01:00
ismailof
fc26b7304c chmod correction 2016-06-06 23:22:40 +02:00
ismailof
19818d3f68 Add MPD nextsong/nextsongid test case 2016-06-06 23:20:13 +02:00
Benjamin Chrétien
37cd296552 mpd: fix protocol for replay_gain_status 2016-05-31 16:36:37 +02:00
Jens Luetjen
c24380679f Test only events triggered after seek 2016-04-09 11:10:21 +02:00
Jens Luetjen
b55996da6a Changed wording export/restore to save/load 2016-04-02 16:28:04 +02:00
Jens Luetjen
00c47117d5 Test models.MixerState.mute 2016-04-02 16:11:47 +02:00
Jens Luetjen
ac47d254a3 Remove dead code for 'play-always' 2016-04-02 15:58:05 +02:00
Jens Luetjen
6ee36752bd Test whole save/load state. 2016-04-01 22:16:05 +02:00
Jens Luetjen
6e33bbcadd Replace restore/export with load/save
Rename _restore_state to _load_state
Rename _export_state to _save_state
2016-04-01 19:50:37 +02:00
Jens Luetjen
cf5dfccee2 Rename PlaybackState.position to time_position. 2016-04-01 19:13:26 +02:00
Jens Luetjen
3251722a28 Rename storage.save() to storage.dump().
The name matches the load/dump in the json library.
Import olny storage from mopidy.internal (not all of mopidy.internal).
2016-03-31 21:55:32 +02:00
Jens Luetjen
7928caeb71 Persist mixer mute state.
Restore mixer.mute state at start.
Update mopidy.models docstrings.
2016-03-31 21:30:48 +02:00
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
8820a88e0c file: Fix crash when media_dirs contains non-ASCII chars
Fixes #1345
2016-03-26 11:30:35 +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
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
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
Thomas Adamcik
f53a0d2200 stream: Address review comments for PR#1447 2016-02-15 20:46:43 +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
a6495e0ecd stream: Update library tests to include backend 2016-02-14 23:49:05 +01:00
Thomas Adamcik
9296ddd75b stream: Update playback tests to include backend 2016-02-14 23:47:51 +01:00
Thomas Adamcik
79a4835e4e core: Add tests for change_track failing in about-to-finish 2016-02-14 17:23:20 +01:00
Thomas Adamcik
76ab5ffb04 core: Make sure exceptions from backend's change_track is handled
Also adds TODOs for the rest of the backend calls in playback which all need to
assume backends can and will screw up.
2016-02-14 17:16:31 +01:00
Stein Magnus Jodal
9b18ff07ee core: Readd regression test for #1352
Fixes #1418

Based on test that was present in 1.1.2 but dropped in the #1400 merge.
2016-02-14 16:12:45 +01:00
Stein Magnus Jodal
a42ce9f00e core: Test next/prev skips over unplayable tracks
Fixes #1418

Based on tests that was present in 1.1.2 but dropped in the #1400 merge.
2016-02-14 15:47:22 +01:00
Stein Magnus Jodal
cc82e68a58 core: Remove unplayable track in consume mode
Fixes #1418

This was previously fixed in 1.1.2, but the fix was skipped in when
release-1.1 was merged into develop in #1400, thus no changelog entry.
2016-02-14 15:47:22 +01:00
Stein Magnus Jodal
0539e4e8fe Revert "core: Add TODO for testing unplayable-by-backend tracks"
This reverts commit 3a8d896146.
2016-02-14 15:47:18 +01:00