Commit Graph

2130 Commits

Author SHA1 Message Date
Thomas Adamcik
ea8b4fc2b0 Remove if __name__ = '__main__' as it was redundant in mopidy-scanner 2011-06-04 00:17:34 +02:00
Thomas Adamcik
e25fbb35dc Note why get_state is needed 2011-06-04 00:14:17 +02:00
Thomas Adamcik
48d7cd9865 Use TAG_DURATION constant instead of 'duration' 2011-06-04 00:14:04 +02:00
Thomas Adamcik
b6c196b8ab Ensure that date is not none before using it 2011-06-04 00:13:40 +02:00
Thomas Adamcik
acad477c8a Make it possible to stop scanner more cleanly 2011-06-02 18:41:43 +02:00
Thomas Adamcik
94cae3be42 Lookup new source via property instead of name 2011-05-20 23:20:01 +02:00
Thomas Adamcik
35a169b8e7 Remove null output as it turns out we can run fine without any outputs 2011-05-20 22:30:59 +02:00
Stein Magnus Jodal
38733c9d9a Change changelog header format, so we get permanent anchors instead of #id1 and so on 2011-05-19 23:23:31 +02:00
Stein Magnus Jodal
fe76528738 Update changelog with --list-settings improvements. (Fixes #91) 2011-05-19 23:17:10 +02:00
Thomas Adamcik
f0f986a425 Merge pull request #98 from jodal/feature/91-pprint-settings-list
feature/91-pprint-settings-list
2011-05-19 14:12:18 -07:00
Stein Magnus Jodal
7d7fb8d906 Compare default passwords with the unmasked current password 2011-05-19 22:44:31 +02:00
Stein Magnus Jodal
6778718837 Remove 'Settings:' label and indentation of all settings 2011-05-19 22:38:16 +02:00
Stein Magnus Jodal
0b2b0c5c3c Show current setting value on same line as setting name 2011-05-19 22:37:09 +02:00
Stein Magnus Jodal
a760a7fdb4 Use pprint to format long setting values 2011-05-19 22:31:04 +02:00
Stein Magnus Jodal
7074b4928c Add some tests for --list-settings formatting 2011-05-19 22:30:09 +02:00
Stein Magnus Jodal
e53e0aa78f Update BaseOutput docs. Make build_bin() private. 2011-05-19 20:51:30 +02:00
Stein Magnus Jodal
31aaec8830 Update docs on GStreamer module. Some refactoring of (mostly internal) methods. 2011-05-19 20:13:29 +02:00
Stein Magnus Jodal
1503caa03d Merge pull request #97 from adamcik/feature/removeable-outputs 2011-05-19 10:15:06 -07:00
Thomas Adamcik
d57bb281c3 Fixed docs based on comments on pull request 2011-05-18 21:16:58 +02:00
Thomas Adamcik
eb5facd4b6 Add docstrings 2011-05-17 16:10:28 +02:00
Thomas Adamcik
801b3d1155 Switch to event probe based solution to removing outputs.
Based on http://lists.freedesktop.org/archives/gstreamer-devel/2009-August/023708.html
2011-05-17 01:21:50 +02:00
Thomas Adamcik
82bd77e24b Fixed use of callbacks to prevent removeall of broken output from stopping playback 2011-05-16 23:14:53 +02:00
Thomas Adamcik
2ef550eb7b Add error handling code for shoutcast errors 2011-05-16 22:01:30 +02:00
Thomas Adamcik
a4b03aa292 Cleanup some of output code api 2011-05-16 21:57:23 +02:00
Thomas Adamcik
94efb083ee Fixed list outputs method in GStreamer class 2011-05-16 21:55:00 +02:00
Thomas Adamcik
2174723620 Add conditional to message handler so that attached handlers can take over 2011-05-16 21:53:53 +02:00
Thomas Adamcik
943645aecf Add methods to register and register message handlers to GStreamer 2011-05-16 21:53:01 +02:00
Thomas Adamcik
fae784b71e Add on_remove and on_connect hooks to BaseOutput 2011-05-16 21:51:38 +02:00
Thomas Adamcik
64a6202ea1 Add gst MESSAGE_* constansts to BaseOutput 2011-05-16 21:50:02 +02:00
Thomas Adamcik
f7f26403af Move stop playback in error handler to after the error is logged to make cause and effect more obvious 2011-05-16 21:49:19 +02:00
Thomas Adamcik
09a1d646f2 Refactor BaseOutput to prepare for better error handling 2011-05-16 21:08:01 +02:00
Thomas Adamcik
3f35e9b391 Add method to determine output name 2011-05-16 00:14:33 +02:00
Thomas Adamcik
743235b09d Add basic remove_output code 2011-05-15 23:50:52 +02:00
Thomas Adamcik
fe3f5338dd Store outputs that have been added in gstreamer class 2011-05-14 23:55:41 +02:00
Thomas Adamcik
0ec662db63 Move output connection code to gstreamer 2011-05-14 23:46:51 +02:00
Thomas Adamcik
d136984f9f Split outputs into seperate files 2011-05-13 20:13:36 +02:00
Thomas Adamcik
d98e218baa Explain a bit more about why prepare_change is needed 2011-05-10 22:24:23 +02:00
Thomas Adamcik
1c83fe236d Remove unused import 2011-05-10 17:38:34 +02:00
Stein Magnus Jodal
9d3a5aa054 Fix error due to including BaseOutput twice in the docs 2011-05-09 23:47:11 +02:00
Stein Magnus Jodal
3dd9fc8564 Should be :command:, not :cmd: 2011-05-09 23:37:56 +02:00
Stein Magnus Jodal
b6c1f5fc15 Update changelog with fix for #95 2011-05-09 23:25:29 +02:00
Stein Magnus Jodal
d605964dce Merge branch 'feature/95-fix-help-command' into develop 2011-05-09 23:25:13 +02:00
Stein Magnus Jodal
b796661dc1 List --help-gst in Mopidy's --help listing 2011-05-09 23:16:45 +02:00
Stein Magnus Jodal
f035ea31ef Allow GStreamer to process --help-gst 2011-05-09 23:13:06 +02:00
Thomas Adamcik
10e1f2abab Switch to using gst.TAG_* in scanner 2011-05-08 19:53:09 +02:00
Thomas Adamcik
3d705b3e02 restify docstrings of CustomOutput 2011-05-08 17:01:05 +02:00
Stein Magnus Jodal
644c87128b Naive workaround for #95 2011-05-08 01:41:30 +02:00
Stein Magnus Jodal
ebee962020 Test that --help returns the options we expect it to 2011-05-08 01:38:04 +02:00
Thomas Adamcik
65db8c4a7b Kill off *_OUTPUT_OVERRIDEs in favour of just having CustomOutput to handle corner cases 2011-05-07 23:18:31 +02:00
Stein Magnus Jodal
35b6556694 Merge branch 'master' into develop 2011-05-06 00:27:39 +02:00