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
Thomas Kemmer
b2d1e1b4f7
m3u: Major refactoring, add default_encoding and default_extension settings.
2016-01-04 14:19:49 +01:00
Stein Magnus Jodal
456dbe6c3a
tests: Fix mock usage
2016-01-03 23:41:34 +01:00
jcass
4e63e4280c
Merge remote-tracking branch 'upstream/release-1.1' into fix/1378
2016-01-04 00:04:42 +02:00
Stein Magnus Jodal
f2194e9d5e
fix: skip uplayable tracks when the next track is selected while in a paused state.
2016-01-02 15:51:17 +02:00
Stein Magnus Jodal
094a874055
core: Make lookup() ignore tracks without URI
...
Fixes #1340
2016-01-01 23:44:26 +01:00
Stein Magnus Jodal
6afd5b0c70
Fix tests and update changelog
2016-01-01 23:13:42 +01:00
Stein Magnus Jodal
811131f716
Merge pull request #1371 from jcass77/enhance/format_proxy
...
Handle missing or empty 'port' configuration parameter.
2015-12-29 14:41:58 +01:00
Stein Magnus Jodal
c47c929440
Merge PR #1356 from jcass77/fix/1352 into release-1.1
2015-12-29 14:37:08 +01:00
Stein Magnus Jodal
4fba994441
Merge pull request #1377 from jcass77/test/pr_1356_resume_unplayable_track
...
test: Test case for skipping unplayable tracks when paused.
2015-12-29 08:53:12 +01:00
jcass
07a0f8ff3e
test: Test case to ensure that unplayable tracks are skipped over in PAUSE state.
...
Ensures that pause->next->resume handles unplayable tracks just like stop->next->play does.
2015-12-29 07:54:49 +02:00
Stein Magnus Jodal
5462f0e319
Merge pull request #1369 from tkem/m3u-fix-1364
...
m3u: Derive track name from file name for non-extended M3U playlists.
2015-12-29 02:02:48 +01:00
jcass
3488e6442d
Handle missing or empty 'port' configuration parameter.
2015-12-26 15:28:07 +02:00
Thomas Kemmer
22690ee5a9
m3u: Derive track name from file name for non-extended M3U playlists.
2015-12-23 18:14:19 +01:00
Thomas Kemmer
ef1468d8d6
core: Add PlaylistsController.get_uri_schemes().
2015-12-13 19:02:33 +01:00
Stein Magnus Jodal
be5bdb8a85
Fix review comments on PR#1359
2015-12-12 11:01:52 +01:00
jcass
e9eb9d61b4
Test cases for issue #1358
2015-12-11 07:47:07 +02:00
jcass
3cd3b45512
Fix flake8 errors.
2015-12-07 07:56:35 +02:00
jcass
fb7b466bee
Result of prepare_change no longer affects whether a track is added to the history.
...
Update changelog and test cases.
2015-12-07 07:53:34 +02:00
jcass
2b00e83179
Mark track as playing and add to history if changing track while paused.
2015-12-06 19:16:20 +02:00
Stein Magnus Jodal
3e259f1c00
Merge pull request #1347 from adamcik/feature/mpd-idle-cleanup
...
MPD idle cleanup
2015-12-05 21:36:11 +01:00
Stein Magnus Jodal
23cdeb208b
Merge pull request #1346 from adamcik/feature/eot-seek-handling
...
Gapless aware seek handling
2015-12-05 21:34:51 +01:00
Stein Magnus Jodal
23d83a833f
Merge pull request #1349 from adamcik/feature/mpd-playlists-error-handling
...
MPD playlist editing error handling
2015-12-05 21:14:55 +01:00
Thomas Adamcik
00b52da6ab
mpd: Make sure rename error handling is correct
2015-12-05 14:30:18 +01:00
Thomas Adamcik
9ac1760dd1
mpd: Update playlistmove to check names and indexes
2015-12-05 14:11:27 +01:00
Thomas Adamcik
5de9495eaa
mpd: Update playlistdelete to handle unknown names and indexes
2015-12-05 14:01:43 +01:00
Thomas Adamcik
b21debf6ee
mpd: Sanity check stored playlist names
2015-12-05 13:51:36 +01:00
Thomas Adamcik
c3393d3d85
mpd: Refresh mapping when name is not present ( Fixes #1348 )
2015-12-05 12:49:45 +01:00
Thomas Adamcik
98e19e803b
mpd: Deleting unkown playlist should return not found
2015-12-05 12:48:14 +01:00
Thomas Adamcik
07328e7dd2
mpd: Map playlists_loaded to idle event stored_playlist
2015-12-05 11:08:33 +01:00
Stein Magnus Jodal
28224cef8c
audio: Fix tests not exiting normally
2015-12-05 00:34:33 +01:00
Thomas Adamcik
19daa89e15
mpd: Add missing seeked event handling for idle
2015-12-04 22:11:55 +01:00
Thomas Adamcik
7d4da4ac8c
mpd: Add integration test for core events and idle
2015-12-04 22:10:27 +01:00
Thomas Adamcik
7ab2665292
mpd: Switch MpdSession to using on_event and re-use listener helper.
2015-12-04 21:20:24 +01:00
Thomas Adamcik
9f23757cc3
core: Return pending position during active seek.
...
This covers over that audio will fail query position while a seek is in
progress. It also means that instead of returning zero we at least return
something which is much closer to the time that we will soon end up playing
from.
2015-12-04 21:10:48 +01:00
Thomas Adamcik
454077afeb
core: Make sure certain events are ignored when doing eot-seeks
2015-12-04 21:10:48 +01:00
Thomas Adamcik
aeb881896b
core: Trigger position changed from audio events.
...
Makes sure to only fire when the position changed to our intended seek target.
Otherwise we would also be triggering this when playback starts.
2015-12-04 21:10:48 +01:00
Thomas Adamcik
e74eafb38a
core: Switch back to correct track if seek happens before stream changed
...
Technically the seek still needs to be postponed for this to work right, but
it's a step closer.
2015-12-04 21:10:48 +01:00
Thomas Adamcik
3a57a5792b
core: Make sure we always emit state_changed between tracks
...
Gapless broke this, so this change makes sure that next/prev/play and gapless
track changes all correctly emit events.
Note that this only ensures we get PLAYING -> PLAYING events. Not the old
STOPPED -> PLAYING and then PLAYING -> STOPPED.
2015-11-21 22:43:40 +01:00
Thomas Adamcik
e767cb3f41
tests: Convert local tracklist test to use core actor proxy.
2015-11-21 22:31:25 +01:00
Thomas Adamcik
216bd8e412
tests: Reorder listener_mock.send.mock_calls in assertEqual
2015-11-21 14:28:47 +01:00