Javier Domingo Cansino
7d20f372bd
Following thomas' suggestions, correct mixer mute
2013-10-08 11:51:02 +02:00
Javier Domingo Cansino
4305afb81d
Now it's also prepared for mixer level, thanks adam
2013-10-08 10:19:25 +02:00
Javier Domingo Cansino
623f960552
Improving a little the mute code, but still don't know how to mute at mixer level
2013-10-08 09:20:02 +02:00
Javier Domingo Cansino
390194afc3
Adding the possibility to mute at app level mopidy
2013-09-17 12:37:45 +02:00
Pavol Babincak
0098e76dc7
Properly encode localised mixer names before log
2013-08-15 20:54:10 +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
Thomas Adamcik
20729eabe3
audio: Add visualiser support and adjust playbin flags
...
Sets up playbin to use just audio, soft_volume and downloading.
2013-07-31 23:55:59 +02:00
Stein Magnus Jodal
370cf133fa
docs: Remove mixers' module docs
2013-05-01 21:43:40 +02:00
Stein Magnus Jodal
e0b51f9c2c
docs: Specify what event names AudioListener.on_event() will see
2013-04-26 21:10:34 +02:00
Stein Magnus Jodal
3e366efb20
Move NAD mixer to an external extension
2013-04-16 10:46:57 +02:00
Stein Magnus Jodal
bfceb45609
docs: Remove default config from audio class
2013-04-12 01:31:52 +02:00
Stein Magnus Jodal
ee021b7cf0
docs: Use proper headers in mixer docs
2013-04-12 00:27:00 +02:00
Stein Magnus Jodal
18d34d6ffc
docs: Fix typo
2013-04-09 00:27:22 +02:00
Stein Magnus Jodal
09a38d9523
docs: Use :confval: to make config docs linkable
2013-04-09 00:22:24 +02:00
Stein Magnus Jodal
42707f50df
audio: Use new config system
2013-04-07 00:08:40 +02:00
Thomas Adamcik
6f39bde566
config: Start passing dummy config explicitly to audio/backends/frontends.
2013-04-02 19:14:46 +02:00
Stein Magnus Jodal
1ac2fec4a5
docs: Tweak module docs formatting
2013-04-01 23:45:23 +02:00
Stein Magnus Jodal
8a8a5109d6
audio: Remove redundant logging
2013-03-30 14:57:37 +01:00
Stein Magnus Jodal
9e5f0703c7
audio: Fix UnicodeDecodeError when logging errors
...
Fixes #347
2013-03-30 13:16:21 +01:00
Stein Magnus Jodal
02b845bd4b
Revert "Merge pull request #231 from adamcik/feature/end-of-track"
...
This reverts commit 1cf9826f87 , reversing
changes made to 711dbe8738 .
2013-03-19 23:23:14 +01:00
Stein Magnus Jodal
7bad64fccc
audio: Add docstring to DummyAudio
2013-02-25 23:11:41 +01:00
Stein Magnus Jodal
15e6128c2a
audio: Add dummy implementation of the audio actor
2013-02-24 22:28:01 +01:00
Thomas Adamcik
fb8fba243a
audio/core: Rework how we hook up end of track handling.
2013-01-05 23:16:42 +01:00
Thomas Adamcik
6d1f84ad3c
Merge branch 'develop' into feature/end-of-track
...
Conflicts:
mopidy/audio/actor.py
mopidy/backends/spotify/playback.py
2013-01-05 18:47:16 +01:00
Thomas Adamcik
711dbe8738
audio: Create GStreaner connect/disconnect helper.
...
The audio class had to many attributes for simply tracking connected signals in
my opinion. This change adds a helper for adding and removing signals and storing
the tracking data in a common dictionary instead of a ton of instance attributes.
2013-01-05 18:35:43 +01:00
Thomas Adamcik
729bc26c10
Merge pull request #290 from jodal/feature/limit-spotify-data-pushing
...
Limit Spotify audio data pushing
2013-01-05 09:11:26 -08:00
Thomas Adamcik
81b6620799
audio: Handle about to finish for non appsrc playback
...
The appsrc cleanup code was still short circuiting the about to finish handler,
this meant that EOT handling never happened for local files and playback stopped.
With this change proper EOT handling works for all track types.
2013-01-05 17:37:16 +01:00
Thomas Adamcik
39580e1948
Use blocking calls when changing tracks on EOT.
...
This ensures that we block about-to-finish and the pipeline until the next URI
is set, alowing for at least EOS free playback. If the uri is set quickly enough
this will also be gapless.
2013-01-05 16:46:16 +01:00
Thomas Adamcik
ea5bb18d53
audio: Update mixer track selection logic ( fixes #307 )
...
We now ensure that the track we choose has one or more volume channels we can
control. This change also fixes that fact the MIXER_TRACK setting would not
work if we happened to find a track that was flaged as MASTER OUPUT before
finding the right label, so far no one has reported this as an issue.
2013-01-03 22:24:58 +01:00
Stein Magnus Jodal
edde1bc584
audio: Fix docstring
2013-01-03 21:40:20 +01:00
Stein Magnus Jodal
c76ac2d212
audio: Use time conversion utils
2013-01-03 19:40:53 +01:00
Stein Magnus Jodal
64ae7865bb
audio: Add clocktime_to_millisecond util function
2013-01-03 19:38:31 +01:00
Stein Magnus Jodal
45d4445eea
Merge branch 'develop' into feature/limit-spotify-data-pushing
...
Conflicts:
mopidy/backends/spotify/session_manager.py
2013-01-03 16:18:08 +01:00
Thomas Adamcik
b78d5eddac
Merge branch 'develop' into feature/end-of-track
...
Conflicts:
mopidy/audio/actor.py
mopidy/backends/spotify/playback.py
2013-01-03 16:12:09 +01:00
Thomas Adamcik
855987447b
audio: Docstring typo typo fixing.
2013-01-03 15:51:09 +01:00
Thomas Adamcik
d5b19ab213
audio: Docstring typo fixing.
2013-01-03 15:45:48 +01:00
Thomas Adamcik
88398ea355
Add new mopidy.audio.utils functions ( fixes #301 ).
...
Adds functions to create buffers, calcalute buffer durations based on number of
samples and the sample rate and converting milliseconds to gst internal clock
time.
This also alows for the removal of all gst imports outside of mopidy.audio.
2013-01-03 15:35:52 +01:00
Stein Magnus Jodal
af6ee16b3a
Fix flake8 warnings
2013-01-02 22:25:55 +01:00
Thomas Adamcik
ca82565b08
audio: Move supported URI checking to mopidy.audio.utils
...
In order to avoid gstreamer imports leaking into more of our code I'm moving
this to a new utils class in audio.
2013-01-01 17:31:17 +01:00
Stein Magnus Jodal
aa0c6f6dc0
audio: Add MB constant to make code more readable
2012-12-24 12:18:48 +01:00
Stein Magnus Jodal
8505ea7f4e
Merge branch 'feature/spotify-to-use-gst-time' into feature/limit-spotify-data-pushing
...
Conflicts:
mopidy/audio/actor.py
mopidy/backends/spotify/playback.py
2012-12-24 01:42:40 +01:00
Stein Magnus Jodal
c218375100
audio: Move Spotify appsrc caps out of audio
2012-12-24 01:40:35 +01:00
Stein Magnus Jodal
a02f2a9602
audio: Make appsrc buffer between 0.5 and 1 MB of data
2012-12-23 12:37:12 +01:00
Stein Magnus Jodal
a555e84225
audio: Add appsrc need-data and enough-data callbacks
2012-12-23 12:36:37 +01:00
Stein Magnus Jodal
b3e92ff573
audio: Log buffering messages
2012-12-23 12:35:52 +01:00
Stein Magnus Jodal
9fa0f5213e
audio: Setup appsrc with seek-data callback
2012-12-23 12:30:02 +01:00
Stein Magnus Jodal
167932278b
audio: Remove blocking get_state() calls in get_position() and seek()
2012-12-23 12:26:56 +01:00
Stein Magnus Jodal
8be84a1ea4
audio: Fix flake8 warning
2012-12-19 22:40:32 +01:00
Trygve Aaberge
81a76bfd92
audio: Define mixer_scale in _setup_mixer
2012-12-19 22:36:00 +01:00