Commit Graph

7474 Commits

Author SHA1 Message Date
Stein Magnus Jodal
bd0c88b22b docs: Fix title capitalization 2016-01-18 22:06:28 +01:00
Stein Magnus Jodal
123614ad69 docs: Repurpose Debian pkg page as a service page
Fixes #1398
2016-01-18 22:05:05 +01:00
Stein Magnus Jodal
e69ea22cdd docs: Remove old cruft from Debian package page
Part of #1398
2016-01-18 21:40:57 +01:00
Stein Magnus Jodal
450b1d0f7c docs: Remove section on missing Debian-packaged extensions
For apt.mopidy.com, none of this is an issue.

For Ubuntu:
- none of this is an issue in 15.10 or 16.04 LTS.
- 15.04 is soon out of support.
- 14.04 LTS is old enough that you'll have to read older docs to expect
  facts matching your installation.

For Debian:
- none of this is an issue in sid or stretch.
- Jessie this might be an issue, but the same sentiment as for Ubuntu
  14.04 LTS applies.

Fixes #1399
2016-01-18 21:29:25 +01:00
Stein Magnus Jodal
14444fe24f mpd: Add volume command 2016-01-17 22:28:23 +01:00
Stein Magnus Jodal
f15b4e7327 mpd: Move setvol tests to its own test case 2016-01-17 22:28:12 +01:00
Stein Magnus Jodal
0ac77ebb47 docs: Remove Raspbmc and XBian workarounds
Ref https://github.com/mopidy/mopidy/issues/1326#issuecomment-172323148

Raspbmc is replaced by OSMC that works with Mopidy without conflicts.

XBian I'm not sure about, but the workaround is still searchable in
older version of our docs, and we'll soon be moving to GStreamer 1.x,
probably affecting the dep on libtag.
2016-01-17 21:06:55 +01:00
Stein Magnus Jodal
18b609fa6e flake8: Fix compat with pep8 1.7.0 2016-01-17 07:55:34 +01:00
Stein Magnus Jodal
2a01760af3 docs: Update Raspberry Pi howto
Fixes #1326
2016-01-16 20:27:49 +01:00
Jens Luetjen
49b84f4a61 Fix a flake8 error 2016-01-14 22:58:41 +01:00
Jens Luetjen
606e87b1bb Make export/restore state internal
- drop filename parameter
- make save_state/load_state internal
- remove save_state/load_state from docu and RPC.
- remove models load/save from docu
- build the config path
- folder for 'core' state files
- move restore_state-to-coverage-translation into a method
2016-01-14 19:56:38 +01:00
Thomas Adamcik
aa9e806230 Merge pull request #1386 from tkem/m3u-refactoring
m3u: Major refactoring
2016-01-11 23:12:59 +01:00
Thomas Kemmer
60b071dbbd m3u: Update changelog for PR #1386. 2016-01-10 20:08:20 +01:00
Thomas Kemmer
1715756b14 m3u: Update docs. 2016-01-10 19:45:00 +01:00
Thomas Kemmer
2bcf1a6b00 m3u: Change default_extension to m3u8. 2016-01-10 19:23:14 +01:00
Jens Luetjen
4869619bb9 New CoreState to hold all core states
- Introduce a CoreState class that holds all core states
- Move xState classes to internal
- Use validation.check_instance for consistent error messages
- Store tlid instead of TlTrack to restore last played track
2016-01-10 13:24:14 +01:00
Stein Magnus Jodal
70b4851a29 docs: Add fix for bad event crash to changelog
Fixes #1383
2016-01-10 07:52:21 +01:00
Thomas Adamcik
3ff120a0e6 listener: Try and protect actors against "bad" events
(cherry picked from commit aa010e03e9)
2016-01-10 07:50:08 +01:00
Stein Magnus Jodal
3d6270ad37 docs: Document model's attributes
Fixes #1385
2016-01-10 07:41:52 +01:00
Jens Luetjen
74344f2b19 Use tlid instead of full tl_track
To export/restore the PlayState the tlid is enough.
2016-01-09 12:52:01 +01:00
Jens Luetjen
abe3d67bc1 Some smaller fixes.
- Limit config core.restore_state to a known set of values.
- Initialize new_state to None instead of ''
2016-01-09 12:07:49 +01:00
Jens Luetjen
6e99a95aae Don't modify data in library function.
- storage.save: Don't modify data. mopidy.__version__ has to be added by caller.
- storage.load: Added a Todo. Postponed decision, if load() shall raise an exception in case of error. See PR #310.
2016-01-09 12:05:14 +01:00
Jens Luetjen
a9327c559f Don't use pykka callbacks on_start and on_stop.
Introduce setup() and teardown() for Core.
2016-01-09 12:00:35 +01:00
Jens Luetjen
46bb780a46 Rename TracklistState 'tracks' to 'tl_tracks'
Correct documentation.
2016-01-09 11:46:09 +01:00
Thomas Kemmer
2b8508d3c7 m3u: Implement write-replace context manager. 2016-01-09 07:00:57 +01:00
Stein Magnus Jodal
38307a5717 docs: Add PR#1371 to changelog 2016-01-05 21:18:57 +01:00
jcass
c2c2aa0322 Handle missing or empty 'port' configuration parameter.
(cherry picked from commit 3488e6442d)
2016-01-05 21:17:59 +01:00
Jens Luetjen
0b0cbc87d4 Merge branch 'develop' into fix/310-persist-mopidy-state-between-runs
Conflicts:
	docs/changelog.rst

Fixed conflict in doc/changelog.rst
2016-01-05 08:16:51 +01:00
Jens Luetjen
d5a45516ef Adujst test code for testing auto-play 2016-01-05 07:53:45 +01:00
Jens Luetjen
6746dd0196 More function for config value core.restore_state
- New values for core.restore_state : "volume", "last"
- Update changelog
- Adjust logger output
2016-01-05 07:41:02 +01:00
Thomas Kemmer
b2d1e1b4f7 m3u: Major refactoring, add default_encoding and default_extension settings. 2016-01-04 14:19:49 +01:00
Stein Magnus Jodal
7589d37f15 docs: Cleanup changelog 2016-01-03 23:41:46 +01:00
Stein Magnus Jodal
456dbe6c3a tests: Fix mock usage 2016-01-03 23:41:34 +01:00
Stein Magnus Jodal
d4d5fb4dcc Merge pull request #1379 from jcass77/fix/1378
Skip over unplayable tracks when paused
2016-01-03 23:32:18 +01:00
jcass
31ec804d7e core: Address review comments: remove unnecessary call to get_current_tl_track() 2016-01-04 00:05:10 +02:00
jcass
4e63e4280c Merge remote-tracking branch 'upstream/release-1.1' into fix/1378 2016-01-04 00:04:42 +02:00
Stein Magnus Jodal
b2860eb71f Merge pull request #1381 from jodal/fix/1340
core: Make lookup() ignore tracks without URI
2016-01-03 21:08:07 +01:00
Stein Magnus Jodal
75656b9b3d core: Address review comments 2016-01-03 21:07:15 +01:00
Jens Luetjen
e56c39ee78 Add unit tests for export/restore core state
Fix issues shown by test code
2016-01-03 18:29:35 +01:00
Jens Luetjen
a5a9178b06 Use model(s) to save/restore current play state 2016-01-02 15:28:41 +01:00
jcass
aa140beda4 Fix changelog merge conflict. 2016-01-02 15:56:04 +02:00
Stein Magnus Jodal
f2194e9d5e fix: skip uplayable tracks when the next track is selected while in a paused state. 2016-01-02 15:51:17 +02:00
Stein Magnus Jodal
094a874055 core: Make lookup() ignore tracks without URI
Fixes #1340
2016-01-01 23:44:26 +01:00
Stein Magnus Jodal
19726832e7 docs: Add PR ref to changelog 2016-01-01 23:41:53 +01:00
Stein Magnus Jodal
d79d44747d Merge PR #1343 from blueyed/track_to_mpd_format-skip-empty-uri into release-1.1
Rebased from develop onto release-1.1, fixed tests, and added changelog.

Fixes #1343
2016-01-01 23:14:25 +01:00
Stein Magnus Jodal
6afd5b0c70 Fix tests and update changelog 2016-01-01 23:13:42 +01:00
Daniel Hahler
0cfa6927bb Skip tracks with empty uri in track_to_mpd_format
Ref: https://github.com/mopidy/mopidy/issues/1340
2016-01-01 23:05:17 +01:00
Thomas Adamcik
92bb9b9b77 logging: Catch errors when loading logging/config_file
(cherry picked from commit ede5b8abff)
2016-01-01 22:54:41 +01:00
Stein Magnus Jodal
d85a3870d0 Merge branch 'master' into release-1.1 2016-01-01 22:32:08 +01:00
Stein Magnus Jodal
811131f716 Merge pull request #1371 from jcass77/enhance/format_proxy
Handle missing or empty 'port' configuration parameter.
2015-12-29 14:41:58 +01:00