Thomas Adamcik
0169ce7cad
core: Make sure the about-to-finish callback gets run in the actor.
...
When about to finish gets called we are running in some GStreamer thread. Our
audio code then calls the shim core callback which is responsible for
transferring our execution to the core actor thread and waiting for the
response. From this point we do normal actor calls to the backend(s) which in
turn call into the audio actor. Since the initial audio code that was called is
outside the actor this should never deadlock due to this loop.
2015-10-06 22:45:06 +02:00
Thomas Adamcik
1ca548ece7
core: Fix typos in comments
2015-10-05 21:41:15 +02:00
Thomas Adamcik
7f4e77f36f
core: Update to using _change in play and fix playback ended event
2015-09-16 23:44:36 +02:00
Thomas Adamcik
d6cfe0d1ae
tests: Update local playback tests to synchronize core state
2015-09-16 23:41:16 +02:00
Thomas Adamcik
f42a5423ab
tests: Add a TODO to the dummy audio helper
2015-09-16 23:41:03 +02:00
Thomas Adamcik
c1d21bd6c9
tests: Make sure mpd tests wait for core when changing state.
2015-09-16 23:38:15 +02:00
Thomas Adamcik
592b728e32
core: Refactor previous() to use pending_track for state changes
2015-09-04 17:16:39 +02:00
Thomas Adamcik
2cd9903a54
core: Refactor next() to use pending_track for state changes
2015-09-04 16:08:54 +02:00
Thomas Adamcik
7201f2cb10
tests: Make dummy backend use real playback provider if audio is passed in
...
This is needed in order to make audio events propagate, to core and trigger
async state changes in tests.
2015-09-04 15:34:40 +02:00
Thomas Adamcik
d8986e6cc1
audio: Tell dummy_audio what urls to fail on
2015-09-04 15:28:32 +02:00
Thomas Adamcik
d8ce171b9a
Merge branch 'develop' into feature/implement-gapless
...
Conflicts:
tests/local/test_playback.py
2015-09-04 14:15:32 +02:00
Stein Magnus Jodal
f6f65dd3dc
Merge pull request #1276 from adamcik/feature/make-local-playback-test-use-core-proxy
...
local: Update playback test to use core as a running actor
2015-09-04 13:45:36 +02:00
Thomas Adamcik
0aeafa714b
local: Update playback test to use core as a running actor
2015-09-04 11:41:10 +02:00
Stein Magnus Jodal
f655fc7009
ext: Make get_{cache,config,data}_dir() class methods
...
Fixes #1275
2015-09-04 10:20:04 +02:00
Thomas Adamcik
1acc5aa557
audio: Update tests to reflect send_async being gone
2015-09-03 23:01:19 +02:00
Thomas Adamcik
71b04213ff
audio: Update dummy and tests to correctly emit stream changed
2015-09-03 21:39:30 +02:00
Thomas Adamcik
e12ea662da
Merge branch 'develop' into feature/implement-gapless
2015-09-02 21:03:17 +02:00
Stein Magnus Jodal
e0a028291a
local: Replace local/data_dir with core/data_dir
...
Partly fixes #1259
2015-08-23 00:37:38 +02:00
Stein Magnus Jodal
c48b6515f9
core: library.refresh() should check if backend has library
...
...and not playlists.
Fixes #1257
2015-08-23 00:35:54 +02:00
Stein Magnus Jodal
78ffaeb8d2
playlists: Fix crash on urilist comment with non-ASCII chars
...
Fixes #1265
2015-08-22 23:52:19 +02:00
Thomas Adamcik
3e75d5cf06
audio: Update missing plugins check in scanner tests
2015-08-19 00:40:46 +02:00
Thomas Adamcik
e77a4afaf4
audio: Make scanner report MIME for missing plugins
2015-08-18 23:56:42 +02:00
Stein Magnus Jodal
9f08bce6cd
core: Update test
2015-08-11 10:06:58 +02:00
Stein Magnus Jodal
83010813a1
Bump version to 1.1.0
2015-08-09 23:43:42 +02:00
Stein Magnus Jodal
a16a2c5a1b
tests: Fix test made flaky by lsinfo Last-Modified change
2015-08-07 15:35:07 +02:00
Stein Magnus Jodal
86e0d12a8c
Merge pull request #1193 from glogiotatidis/m3u8loading
...
Support loading of m3u8 playlists.
2015-08-07 15:21:39 +02:00
Giorgos Logiotatidis
69dc639ab3
Support loading of m3u8 playlists.
...
Unicode is nice, let's support it!
2015-08-07 14:35:54 +03:00
Thomas Adamcik
0081e2deff
Merge pull request #1243 from jodal/feature/fast-mpd-listplaylists
...
mpd: Faster playlist listing
2015-08-06 20:29:12 +02:00
Stein Magnus Jodal
c8d31e94b7
mpd: Faster playlist listing
2015-08-06 01:06:43 +02:00
Stein Magnus Jodal
b51ee01c7c
Merge pull request #1242 from bjornars/fix/1240-tests-fail-on-32-bit
...
tests: fix test breakage due to promotion from int to long
2015-08-05 22:46:32 +02:00
Bjørnar Snoksrud
1eb41aca7d
tests: fix test breakage due to promotion from int to long
...
This fixes #1240 .
In internals/path.py. there is a snippet of code that multiples mtime
for a file with 1000, and then casting it to `int`, to return the number
of milliseconds since epoch (or whatever). This will, however, not
ensure that the result is an `int`.
>>> type(int(2**32))
<type 'long'>
Instead, fix the tests to look for (int, long), and clarify the
implementation.
This bug found on a 32-bit VM :)
2015-08-05 22:38:21 +02:00
Thomas Adamcik
2faf6689c1
Merge pull request #1230 from fatg3erman/feature/mpd-protocol-extensions
...
mpd: Add additional metadata fields for album URIs and image URIs
2015-07-27 22:28:22 +02:00
Stein Magnus Jodal
3810089be3
tests: Avoid import errors during conftest setup
2015-07-27 13:41:29 +02:00
Mark Greenwood
9649dc0777
list order in python is not deterministic, hence had to change the test
2015-07-26 13:57:46 +01:00
Mark Greenwood
310fcdf0ef
Unexpected test failure fixed
2015-07-26 13:04:33 +01:00
Mark Greenwood
8106399598
Simplify the whole thing by using taglist types and not bothering with the
...
config option or command to switch it on
2015-07-26 12:55:46 +01:00
Stein Magnus Jodal
0dc47e6084
Merge pull request #1232 from dprokic/feature/843-core-config-for-data-config-cache-dirs
...
config: Add config for data/config/cache directories
2015-07-26 12:25:58 +02:00
Stein Magnus Jodal
36dea42100
Merge pull request #1235 from EricJahn/fix/1045-filter-empty-fields
...
Conflicts:
docs/changelog.rst
2015-07-26 12:14:13 +02:00
Thomas Adamcik
ee68a0a9da
Merge pull request #1238 from dbrgn/feature/996-playlist-delete-event
...
core: Implemented playlist_deleted event triggering
2015-07-26 12:12:23 +02:00
Stein Magnus Jodal
70cfc0b33a
mpd: PR #1235 tweaks, add changelog
2015-07-26 12:12:15 +02:00
Danilo Bargen
8975e72b34
Implemented playlist_deleted event
2015-07-26 11:57:17 +02:00
Thomas Adamcik
61bb7df64d
Merge pull request #1239 from jodal/feature/stream-playlists
...
stream/audio: Make stream backend parse radio playlists itself
2015-07-26 11:48:19 +02:00
Stein Magnus Jodal
d991e51d40
stream: Extract first track from playlists
2015-07-26 11:24:39 +02:00
Stein Magnus Jodal
f373d071ea
stream: Move scanner to backend, port tests to pytest
2015-07-26 00:09:58 +02:00
Stein Magnus Jodal
ea2017c968
playlists: Add urilist fallback parser
2015-07-25 23:19:59 +02:00
Stein Magnus Jodal
80adc100ae
playlists: Add blank lines to valid playlist data
2015-07-25 23:19:59 +02:00
Stein Magnus Jodal
12c27142a3
playlists: Rename M3U to EXTM3U
2015-07-25 23:19:59 +02:00
Stein Magnus Jodal
6af11b563f
playlists: Add parse() that detects format and parses
2015-07-25 23:19:59 +02:00
Stein Magnus Jodal
2bcbbf03be
playlists: Simplify detector/parser interface
2015-07-25 23:19:59 +02:00
Dejan Prokić
5f843100cc
tests: Add tests for getter methods for cache, config and data directories
2015-07-25 18:17:27 +02:00