Stein Magnus Jodal
f7a4f8e316
Merge branch 'feature/split-main-func' into develop
2013-09-16 23:32:46 +02:00
Stein Magnus Jodal
c4dc4985b5
main: Don't be verbose on CTRL+C before starting actors
2013-09-16 23:31:14 +02:00
Thomas Adamcik
a5d65139c1
Merge pull request #511 from jodal/feature/split-main-func
...
main: Split main() function in two
2013-09-16 14:25:56 -07:00
Stein Magnus Jodal
f244d94b52
main: Split main() function in two
...
By separating the teardown procedures for errors that happens before and after
actors are started, we get a lot less output when failing on config errors.
This makes the config errors the last lines printed by the `mopidy` command,
making them easier to spot.
Related to #467
2013-09-16 23:22:11 +02:00
Stein Magnus Jodal
7cd7216b94
Create empty config file if none found (see #467 )
...
We already had code in place for this, but it was run after the config
validation, so on a new installation Mopidy would fail because of missing
config values before the config file was created.
2013-09-16 22:27:54 +02:00
Stein Magnus Jodal
1a02b4d17f
Remove support for running Python on the mopidy/ dir
...
It doesn't make sense to run Mopidy without extensions registered, thus you'll
need to use setuptools and to run `python setup.py develop` anyway. Doing so
makes running `mopidy` from anywhere in the development virtualenv work,
removing any need for running `python mopidy/`.
2013-09-16 22:13:36 +02:00
Stein Magnus Jodal
e830f31480
Fix too broad truthness test ( fix #501 )
...
This caused TlTracks with tlid=0 to be sent to HTTP clients without the tlid
field.
2013-09-16 21:58:23 +02:00
Stein Magnus Jodal
713cd598d0
docs: Mopidy-GMusic is now on PyPI
2013-09-16 10:12:58 +02:00
Thomas Adamcik
0726c51e4a
Merge pull request #510 from jodal/feature/unicode-secrets
...
config: Deserialize Secret to unicode (fix #473 )
2013-09-15 15:00:16 -07:00
Stein Magnus Jodal
05d4fa846f
config: Deserialize Secret to unicode ( fix #473 )
...
MPD, Scrobbler, and Spotify extensions have been reviewed for need for changes
due to this, without anything being found.
2013-09-15 23:51:41 +02:00
Stein Magnus Jodal
82077ace02
docs: Add Mopidy-SomaFM ( fix #509 )
2013-09-15 22:41:21 +02:00
Stein Magnus Jodal
1dedb331d3
docs: Add Mopidy-GMusic ( fix #355 )
2013-09-15 22:37:34 +02:00
Javier Domingo Cansino
aec164ed48
git: Ignoring permanently *.orig files
2013-09-13 12:47:28 +02:00
Javier Domingo Cansino
7ae4adddeb
Merge branch 'develop' into tidy-up-core
2013-09-12 11:41:01 +02:00
Javier Domingo Cansino
72890bbe8d
docs: Fixing changelog syntax
2013-09-12 11:38:15 +02:00
Stein Magnus Jodal
e77227c812
Merge pull request #505 from txomon/patch-1
...
mpd: Don't decide the remove action
2013-09-06 10:21:32 -07:00
Javier Domingo
a443348d4b
mpd: Don't decide the remove action
...
Those three lines shouldn't be there. That is tracklist/playback logic, not frontend logic. Indeed, care is already taken in core =)
2013-09-06 16:54:36 +02:00
Stein Magnus Jodal
c3066995e1
docs: Add Mopidy-Subsonic extension
2013-09-01 23:29:57 +02:00
Stein Magnus Jodal
9af4290f45
mpd: Accept listall and listallinfo without the URI argument
2013-09-01 23:14:30 +02:00
Stein Magnus Jodal
c311ef98e6
docs: Fix typo
2013-08-29 12:32:27 +02:00
Javier Domingo Cansino
fa20214bbe
Merge branch 'develop' into tidy-up-core
2013-08-19 15:20:26 +02:00
Thomas Adamcik
4352de920e
docs: Update authors and changelog
2013-08-15 23:18:43 +02:00
Thomas Adamcik
21519bbe55
Merge pull request #497 from scrool/i18n_aware_log
...
Properly encode localised mixer names before log
2013-08-15 12:45:29 -07:00
Pavol Babincak
0098e76dc7
Properly encode localised mixer names before log
2013-08-15 20:54:10 +02:00
Javier Domingo Cansino
268c3b7879
tests: correcting indentation
2013-08-13 10:05:01 +02:00
Javier Domingo Cansino
b70cd9e787
tests: moving more tests from playback to tracklist
2013-08-13 09:58:10 +02:00
Javier Domingo Cansino
a7d8af544d
tests: tracklist tests renaming the TracklistController holder from controller to tracklist for test uniformity
2013-08-13 09:41:15 +02:00
Javier Domingo Cansino
157556a001
docs: Documenting further the TracklistController functions
2013-08-13 09:17:50 +02:00
Javier Domingo Cansino
21f3a8784a
mpris: Correcting get_CanGoPrevious to get() the future instead of passing it.
...
The failure was invisible to testcases
2013-08-12 15:42:23 +02:00
Javier Domingo Cansino
7af86d65ac
Merge branch 'develop' into tidy-up-core
...
Git was not correctly identifying the merge and threw a conflict
2013-08-12 13:41:15 +02:00
Stein Magnus Jodal
f0df024fd9
travis: Remove -q flags, since Travis collapses install command output
2013-08-09 15:00:23 +02:00
Stein Magnus Jodal
7570b242e0
travis: Run flake8 as part of build
2013-08-09 14:56:06 +02:00
Stein Magnus Jodal
f433a77ec5
fab: Add lint/autolint tasks for running flake8 on everything
2013-08-09 14:56:06 +02:00
Javier Domingo Cansino
cd83d7a0d9
tests: Removing accidental print statement in testcase
2013-08-09 10:08:52 +02:00
Javier Domingo Cansino
11d82056a9
core: Merged tracklist_position to index inside TracklistController
...
docs: Updated changelog.rst
2013-08-09 09:15:54 +02:00
Javier Domingo Cansino
fac2c8af7d
format: Correcting flake8 messages
2013-08-09 08:32:01 +02:00
Stein Magnus Jodal
404fb00235
Remove pylint remnants
2013-08-08 21:12:42 +02:00
Stein Magnus Jodal
5c7a496dc2
Fix flake8 warnings
2013-08-08 21:09:01 +02:00
Javier Domingo Cansino
782a6a7d1f
Renamed tl_track_at_* to more readable names
2013-08-08 17:01:24 +02:00
Javier Domingo Cansino
cb4130c2a7
core: Moving the trigger activation from one playback to tracklist
2013-08-08 13:45:36 +02:00
Javier Domingo Cansino
b15c4f198b
docs: Updating changelog.rst to reflect updates in core
2013-08-08 13:39:18 +02:00
Javier Domingo Cansino
694db515e4
Merge branch 'develop' into tidy-up-core
2013-08-08 13:19:01 +02:00
Javier Domingo Cansino
2cb64b365d
docs: Documenting changed and created functions
2013-08-08 13:13:52 +02:00
Javier Domingo Cansino
826084d9b8
Ignoring editor temporary files
2013-08-08 12:34:46 +02:00
Javier Domingo Cansino
ab85dd9d62
Changed mark_consumed to a flexible mark() function that currently allows to mark songs as consumed (that have been played full time), played (that have been played for some time) and unplayable
2013-08-08 12:12:37 +02:00
Javier Domingo Cansino
2c83225a1e
Created a TracklistController to let it control wether if a track must be consumed or not
2013-08-08 11:56:35 +02:00
Javier Domingo Cansino
6e61f2ef85
Refactoring code to convert tl_track_at_previous() in a function, also recoded
...
tests.
2013-08-07 21:53:46 +02:00
Javier Domingo Cansino
6abcad3e55
Converting tl_track_at_next into a function that takes the track argument.
...
Rewrote tests too.
2013-08-07 21:38:16 +02:00
Javier Domingo Cansino
ec716fba82
Converting tl_track_at_eot property in function with the track having to be
...
given as an argument
2013-08-07 19:44:00 +02:00
Javier Domingo Cansino
5a87d219ff
Correcting some self-arounds that were innecesary.
2013-08-07 18:00:33 +02:00