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
e68c4668fe
audio: Fallback to datetime tag if no date tag
2016-01-31 21:07:17 +01:00
Stein Magnus Jodal
9657004b77
audio: Move date tag from Track to Album
...
The Track model doesn't have a date attribute.
2016-01-31 21:07:17 +01:00
Stein Magnus Jodal
f877ac0807
audio: Add support for GLib.Date tag values
2016-01-31 21:07:17 +01:00
Stein Magnus Jodal
0fa78b8e39
gst1: Fix datetime tag conversion
2016-01-31 21:07:17 +01:00
Stein Magnus Jodal
df62997186
audio: Decode tags to unicode
2016-01-31 21:07:17 +01:00
Stein Magnus Jodal
8b543bad44
local: URIs should be unicode
...
Any non-ASCII content is uriencoded anyway.
2016-01-31 21:07:17 +01:00
Stein Magnus Jodal
9fde0bec55
audio, timer: Fix trace log stmt
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
Stein Magnus Jodal
f0c7d25db6
audio: Reduce log level for unknown tag data
2016-01-31 21:07:17 +01:00
Thomas Adamcik
ded059b5c9
audio: Cleanup the signals we connect in the scanner
...
Without this fix we simply crash due to using up all the available FDs on the
system.
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
Thomas Adamcik
844dc257df
audio: Don't bother creating decoders in audio scanner
...
The decoders don't produce metadata and to the best of my knowledge we don't
need the raw audio for duration calculation. But to play it safe this keeps
in place the caps check in pad added to trigger 'have-audio'.
2016-01-31 21:07:17 +01:00
Stein Magnus Jodal
bf6e97e5b9
gst1: Fix querying of duration of MP3s
2016-01-31 21:07:17 +01:00
Stein Magnus Jodal
7926ef1f12
gst1: Fail if trying to create buffers without audio
...
Which causes lots of failed assertion messages from GStreamer
2016-01-31 21:07:17 +01:00
Stein Magnus Jodal
ef5281488b
gst1: Fix buffer.pts not being set if 0
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
efbfb39e86
docs: Update changelog
2016-01-31 21:07:17 +01:00
Stein Magnus Jodal
dd466ed895
docs: Update GStreamer install docs
2016-01-31 21:07:17 +01:00
Stein Magnus Jodal
0ef3da5ed3
travis: Replace GStreamer 0.10 with 1.x
2016-01-31 21:07:17 +01:00
Stein Magnus Jodal
780c493af3
gst1: Replace Structure(...) with Stricture.new_empty(...)
2016-01-31 21:07:16 +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
592f5dec53
gst1: Remove deprecated GObject.threads_init()
...
Ref https://wiki.gnome.org/Projects/PyGObject/Threading
"The requirement to call GObject.threads_init() has been removed from
PyGObject 3.10.2 when using Python native threads with GI (via the
threading module) as well as with GI repositories which manage their own
threads that may call back into Python (like GStreamer callbacks). The
GObject.threads_init() function will still exist for the entire 3.x
series for compatibility reasons but emits a deprecation warning."
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
13567d271a
gst1: Update taglist translator
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
fc54a17b44
gst1: require_version('Gst', '1.0') before use
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
20b1c21b0b
gst1: Avoid using pipeline.get_clock()
...
Often the clock isn't available for use. gst_pipeline_clock() which is
always available requires Gst 1.6.
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
87b1c9455c
gst1: Update query_duration() 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
275f9d5062
gst1: Buffers no longer have caps
2016-01-31 21:07:15 +01:00
Stein Magnus Jodal
f95e307ba0
gst1: Replace BUS_DROP with BusSyncReply.DROP
2016-01-31 21:07:15 +01:00
Stein Magnus Jodal
a0714455cd
gst1: Use methods to get struct fields
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
1b47b6341e
gst1: Replace message_new_application() with Message.new_application()
2016-01-31 21:07:15 +01:00