Stein Magnus Jodal
628970a7fe
docs: Fix broken links, avoid redirects
2019-06-20 01:50:18 +02:00
Nick Steel
d6da4b5cdb
audio: Upgrade GST state mapping race logging from DEBUG to WARN.
2019-01-31 23:13:35 +00:00
Nick Steel
dfbab4bf88
audio: Disable buffering handling during track change. ( Fixes #1722 ).
...
Skip handling buffering messages if pipeline not PLAYING or PAUSED.
2019-01-31 23:13:35 +00:00
Nick Steel
5e8fd9a338
audio: removed unused fakesink. ( Fixes #1528 )
...
The 'always connected fakesink' is causing problems when switching
between tracks with different sample rates and with some custom
output pipelines. Since it's only there to support dynamic outputs,
which we don't yet support, we might as well remove it for now.
2019-01-29 23:54:13 +00:00
Stein Magnus Jodal
5e8682cc51
audio: Address my own comments on PR#1538
2016-08-07 09:24:45 +02:00
Thomas Adamcik
3e12ed1f69
audio: Postpone set_metadata until track is playing
2016-08-07 09:22:45 +02:00
Thomas Adamcik
e594d560ff
audio: Make sure tags are never none ( Fixes #1449 )
2016-07-26 21:33:16 +02:00
Thomas Adamcik
4bbd847a6a
audio: Always install audio element
2016-03-26 21:27:03 +01:00
Stein Magnus Jodal
1e8bef25d3
audio: Set soft-volume flag on playbin
2016-02-22 12:42:56 +01:00
Thomas Adamcik
b63b3c288a
audio: Postpone tags until after stream-start
...
When a new URI gets set we create a pending tags dictionary. This gets all the
tags until stream-start, at which point they are all emitted at once. During
track playback tags works as before.
This ensure we don't prematurely tell clients about metadata changes.
2016-02-14 12:36:19 +01:00
Thomas Adamcik
c23cad5d13
audio: Only emit tags changed when tags changed.
...
Previously we alerted AudioListeners about all new tags, now we filter it down
to just the changed ones. Only real reason for this is that the changed
messages spam the log output making debugging harder.
2016-02-14 12:36:19 +01:00
Trygve Aaberge
0580a46688
audio: Add a config option for queue buffer size
...
It may help to increase this for users that are experiencing buffering
before track changes. Workaround for #1409 .
2016-02-13 23:37:22 +01:00
Stein Magnus Jodal
68add6cda9
audio: Workaround crash caused by race
...
Fixes #1430 . See #1222 for explanation and proper fix.
2016-02-10 23:03:36 +01:00
Stein Magnus Jodal
b3f8460a94
gst1: Fix taglist creation
2016-02-04 00:24:44 +01:00
Thomas Adamcik
0336b6077c
audio: Prevent double seeks in appsrc ( fixes : #1404 )
...
Sending the seek event to the playbin forwards it to all sinks. Which in turn
means on seek event per sink. To avoid this we inject the seek event in an
element before the tee.
2016-02-03 22:38:25 +01:00
Thomas Adamcik
af43612630
audio: Add a TODO and some notes on duration handling
2016-02-01 23:58:00 +01:00
Stein Magnus Jodal
d9f53d5da3
gst1: Move all gi imports to a helper module
2016-02-01 23:09:28 +01:00
Stein Magnus Jodal
906a48eaf7
gst1: Fix digraph name
...
It was probably broken by some regexp replacement.
2016-02-01 13:14:44 +01:00
Stein Magnus Jodal
1c4b36f66a
gst1: gi.require_version() GstPbutils before importing it
2016-02-01 13:05:52 +01:00
Thomas Adamcik
190abc3513
gst1: Use default queue settings
...
Removing this queue seems to break appsrc about to finish.
2016-01-31 21:07:17 +01:00
Stein Magnus Jodal
df6db63dd4
gst1: Remove clearified TODO
2016-01-31 21:07:17 +01:00
Stein Magnus Jodal
31c894030d
audio: Move tag helpers to mopidy.audio.tags
2016-01-31 21:07:17 +01:00
Thomas Adamcik
b3aeb9b508
audio: Move signal helper to utils.
2016-01-31 21:07:17 +01:00
Stein Magnus Jodal
45dae06347
gst1: Keep the pending URI for the stream_changed event
2016-01-31 21:07:17 +01:00
Stein Magnus Jodal
7a3d5ff13c
gst1: Replace event_new_tag() with Event.new_tag()
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
226c937ffc
gst1: Tune log messages
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
812e53b895
gst1: Replace parse_new_segment() with parse_segment()
...
Fixes 4 unit tests
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
eb4c742015
gst1: Run gst.init() if needed everywhere using Gst
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
ce198ba9f8
gst1: Update pad probe callback to match new signature
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
29a194cb55
gst1: Use new API for TagList creation
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
3e4bd16be2
gst1: Replace playbin-stream-changed with Gst.MessageType.STREAM_START
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
3792b8c900
gst1: Use Gst.CLOCK_TIME_NONE to block for state changes in tests
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
da19c8be56
gst1: on_new_segment() gets a Segment struct
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
01cf013b09
gst1: Update query_position() usage
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
5277ad5ff5
gst1: Update get_enum() to include enum type it expects
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
ee99bedf39
gst1: Gst.Bin() no longer takes a name
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
ef40854b86
gst1: Update index into query_position() result
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
3765e90bc7
gst1: Replace DEBUG_BIN_TO_DOT_FILE with debug_bin_to_dot_file
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
ee51983cfd
gst1: Replace TagList() with TagList.new_empty()
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
6c9e2d4d34
gst1: Add timeout to get_state()
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
8a846b8605
gst1: Replace EVENT_* with EventType.*
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
3d98a77a3c
gst1: Replace FLOW_* with FlowReturn.*
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
f95e307ba0
gst1: Replace BUS_DROP with BusSyncReply.DROP
2016-01-31 21:07:15 +01:00
Stein Magnus Jodal
e6a4042c3e
gst1: Replace message.structure with message.get_structure()
2016-01-31 21:07:15 +01:00
Stein Magnus Jodal
1911ea0c10
gst1: Replace STATE_CHANGE_* with StateChangeReturn.*
2016-01-31 21:07:15 +01:00
Stein Magnus Jodal
e621d8055a
gst1: Replace gst.pbutils with GstPbutils
2016-01-31 21:07:15 +01:00
Stein Magnus Jodal
67f4d57964
gst1: Replace MESSAGE_* with MessageType.*
2016-01-31 21:07:15 +01:00
Stein Magnus Jodal
9c0547d039
gst1: Replace {add,remove}_event_probe() with {add,remove}_event()
2016-01-31 21:07:15 +01:00
Stein Magnus Jodal
3f8ebc83c1
gst1: Replace ghost_unconnected_pads with ghost_unlinked_pads
2016-01-31 21:07:15 +01:00
Stein Magnus Jodal
38bcdae1bf
gst1: Replace RANK_SECONDARY with Rank.SECONDARY
2016-01-31 21:07:15 +01:00