Thomas Adamcik
57b8b8435d
Merge pull request #1525 from palfrey/dodgy-date-tags
...
If the date in a tag is invalid, skip it
2016-07-25 22:00:51 +02:00
Thomas Adamcik
c199fb1c81
lint: Workaround and fix to account for new version of flake8
2016-07-25 21:16:30 +02:00
Thomas Adamcik
068800c699
Merge pull request #1523 from ismailof/fix/1133-mpd-nextsongid
...
mpd: Add nextsong and nextsongid to mpd status command (Fixes #1133 )
2016-06-26 11:52:24 +02:00
Thomas Adamcik
431984d103
Merge pull request #1496 from dublok/fix/1462-flac-seek-freeze
...
audio: Ignore position of _on_position_changed callback (fixes #1462 )
2016-06-13 22:44:03 +02:00
Tom Parker
c3eb9b60c0
If tags date isn't a valid value for Python, skip the tag
2016-06-10 12:41:02 +01:00
ismailof
fc26b7304c
chmod correction
2016-06-06 23:22:40 +02:00
ismailof
19818d3f68
Add MPD nextsong/nextsongid test case
2016-06-06 23:20:13 +02:00
Benjamin Chrétien
37cd296552
mpd: fix protocol for replay_gain_status
2016-05-31 16:36:37 +02:00
Jens Luetjen
c24380679f
Test only events triggered after seek
2016-04-09 11:10:21 +02:00
Stein Magnus Jodal
8820a88e0c
file: Fix crash when media_dirs contains non-ASCII chars
...
Fixes #1345
2016-03-26 11:30:35 +01:00
Jens Luetjen
bf4da7a627
Add tests to ensure that play, next will not busy-loop
...
Test PlaybackController functions play(), next(), previous()
and _on_about_to_finish() that they will not loop forever
if all tracks are unplayable.
2016-03-26 09:43:38 +01:00
Thomas Adamcik
f53a0d2200
stream: Address review comments for PR#1447
2016-02-15 20:46:43 +01:00
Thomas Adamcik
ce81b362dc
stream: Add scheme and blacklist check to translate_uri
...
We don't bother with this inside the unwrap code as if something redirects us
so be it.
2016-02-15 00:00:30 +01:00
Thomas Adamcik
a6495e0ecd
stream: Update library tests to include backend
2016-02-14 23:49:05 +01:00
Thomas Adamcik
9296ddd75b
stream: Update playback tests to include backend
2016-02-14 23:47:51 +01:00
Thomas Adamcik
79a4835e4e
core: Add tests for change_track failing in about-to-finish
2016-02-14 17:23:20 +01:00
Thomas Adamcik
76ab5ffb04
core: Make sure exceptions from backend's change_track is handled
...
Also adds TODOs for the rest of the backend calls in playback which all need to
assume backends can and will screw up.
2016-02-14 17:16:31 +01:00
Stein Magnus Jodal
9b18ff07ee
core: Readd regression test for #1352
...
Fixes #1418
Based on test that was present in 1.1.2 but dropped in the #1400 merge.
2016-02-14 16:12:45 +01:00
Stein Magnus Jodal
a42ce9f00e
core: Test next/prev skips over unplayable tracks
...
Fixes #1418
Based on tests that was present in 1.1.2 but dropped in the #1400 merge.
2016-02-14 15:47:22 +01:00
Stein Magnus Jodal
cc82e68a58
core: Remove unplayable track in consume mode
...
Fixes #1418
This was previously fixed in 1.1.2, but the fix was skipped in when
release-1.1 was merged into develop in #1400 , thus no changelog entry.
2016-02-14 15:47:22 +01:00
Stein Magnus Jodal
0539e4e8fe
Revert "core: Add TODO for testing unplayable-by-backend tracks"
...
This reverts commit 3a8d896146 .
2016-02-14 15:47:18 +01:00
Stein Magnus Jodal
3a8d896146
core: Add TODO for testing unplayable-by-backend tracks
2016-02-14 12:49:15 +01:00
Thomas Kemmer
6aef96a0d3
Fix #1428 : Add m3u/base_dir confval.
2016-02-14 12:07:22 +01:00
Trygve Aaberge
3e781310f9
tests: Add buffer_time to test config
2016-02-14 00:15:27 +01:00
Stein Magnus Jodal
cd83084804
tests: Merge TestPlayUnknownHandling into TestUnplayableURI
2016-02-07 22:01:33 +01:00
Stein Magnus Jodal
1f4f0ab03b
tests: Prefix some test classes with 'Test'
...
We don't want to rely on them subclassing unittest.TestCase.
2016-02-07 22:00:16 +01:00
Stein Magnus Jodal
3f7fbf67f3
Fix remaining gi.repository imports
2016-02-07 12:45:12 +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
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
31c894030d
audio: Move tag helpers to mopidy.audio.tags
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
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
dfaed1e4c2
gst1: Replace STATE_* with State.*
2016-01-31 21:07:14 +01:00
Stein Magnus Jodal
1d269af210
gst1: Call Gst.init() and remove sys.argv hack
...
GStreamer no longer use sys.argv directly. If you want GStreamer to
handle command line arguments, you must pass them explicitly to
Gst.init().
2016-01-31 21:07:14 +01:00
Stein Magnus Jodal
8c82f4773f
gst1: Update imports to use PyGI
2016-01-31 21:07:14 +01:00
Stein Magnus Jodal
2232260d1b
tests: Fix typo, don't use deprecated API
2016-01-31 07:50:43 +01:00
Stein Magnus Jodal
adb260af05
Merge branch 'release-1.1' into develop
...
Fixes #1400
2016-01-31 07:47:47 +01:00
jcass
2fcbc691c0
fix:add changelog entry and fix line indentation.
2016-01-21 05:55:37 +02:00
jcass
dee7eb7e20
tests:fix pep8 violation.
2016-01-20 15:55:02 +02:00
jcass
239a7be708
fix: ensure that tl_track information is included in event trigger when consume mode is enabled.
2016-01-20 15:41:58 +02:00
Stein Magnus Jodal
14444fe24f
mpd: Add volume command
2016-01-17 22:28:23 +01:00
Stein Magnus Jodal
f15b4e7327
mpd: Move setvol tests to its own test case
2016-01-17 22:28:12 +01:00
jcass
c2c2aa0322
Handle missing or empty 'port' configuration parameter.
...
(cherry picked from commit 3488e6442d )
2016-01-05 21:17:59 +01:00