Commit Graph

2271 Commits

Author SHA1 Message Date
Nick Steel
51741a7cbc HTTP: Apply allowed_origins to Websocket requests also. 2018-04-15 17:14:13 +01:00
Nick Steel
1b863b417b HTTP: New RPC CORS tests and fixed existing. 2018-04-15 17:12:16 +01:00
Stein Magnus Jodal
41882c6395 http: Remove conditional only needed for Tornado < 3.2 2018-04-13 13:05:23 +02:00
Stein Magnus Jodal
3e91f9819d tests: Make DummyAudio reset position when URI changes 2018-04-09 23:46:30 +02:00
matt LLVW
2e6c0049a4 config: remove 10000 tracks limitation in playlists 2018-04-04 19:20:17 +02:00
Stein Magnus Jodal
2471e5d269 Upgrade pytest from <3.3 to >=3.3
Remove dependency on pytest-capturelog, which is included in pytest 3.3.
2018-04-01 01:23:10 +02:00
Stein Magnus Jodal
e215484c75 encoding: Never crash if unknown bytes in OS errors
Fixes #1599
2018-03-30 11:25:31 +02:00
Stein Magnus Jodal
f3c9387219 encoding: Fix assert to match test intention 2018-03-30 11:08:23 +02:00
Stein Magnus Jodal
c59eccb06c stream: Don't compare entire track object
On Ubuntu 16.04 with GStreamer 1.2, we don't get a bitrate.

On Ubuntu 18.04 or macOS with GStreamer 1.12, we get a bitrate.
2018-03-29 17:16:22 +02:00
Stein Magnus Jodal
5112985cc7 m3u: Fix tests on macOS 10.13 2018-03-29 16:59:14 +02:00
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