Nantas Nardelli
d1449bcb6f
Properly get track position before change events
...
In particular, this allows to send the right information when:
1. the track finishes and switches to the next one in the list;
2. user presses next / previous
The cases of EOS and stop event were already handled properly.
Note: we only have GStreamer's `about-to-finish` event to deal with the
end of a track, which usually happens a few seconds before the end of
the track. We set the position to the length of the track, which is not
overridden unless the user generates a relevant callback.
2016-07-24 20:30:48 +01: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
ismailof
65498485fe
Add changelog entry
2016-06-26 11:19:08 +02:00
ismailof
95ac2714ff
Add changelog entry
2016-06-26 11:18:34 +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
Thomas Adamcik
099c17ac07
Merge pull request #1518 from sumpfralle/doc-track-model-update
...
docs: update 'composers' and 'performers' type
2016-06-13 22:40:17 +02:00
Thomas Adamcik
d02f8416de
Merge pull request #1522 from SeppSTA/fix/1521-download-timeout-sec
...
fix/1521 download timeout sec
2016-06-13 22:12:56 +02:00
ismailof
fc26b7304c
chmod correction
2016-06-06 23:22:40 +02:00
ismailof
6787a044fc
Add MPD nextsong/nextsongid test case
2016-06-06 23:20:49 +02:00
ismailof
19818d3f68
Add MPD nextsong/nextsongid test case
2016-06-06 23:20:13 +02:00
ismailof
a1c219e25d
Add nextsong/nextsongid to mpd status
2016-06-06 22:59:59 +02:00
ismailof
ac92069dd5
Add nextsong/nextsongid to mpd status
2016-06-06 21:45:18 +02:00
SeppSTA
18f4c1fa38
insert missing whitespace
2016-06-01 14:05:58 +02:00
SeppSTA
f06e5adfa9
http: fix timeout value to seconds
2016-06-01 13:36:52 +02:00
Nick Steel
2fe9fbb9af
Merge pull request #1520 from bchretien/topic/fix-mpd-protocol
...
mpd: fix protocol for replay_gain_status
2016-05-31 17:10:54 +01:00
Benjamin Chrétien
37cd296552
mpd: fix protocol for replay_gain_status
2016-05-31 16:36:37 +02:00
Lars Kruse
d87de65f9a
model documentation: update 'composers' and 'performers' type
2016-05-28 04:57:32 +02:00
Jens Luetjen
c24380679f
Test only events triggered after seek
2016-04-09 11:10:21 +02:00
Jens Luetjen
7757d306ea
Include _pending_position 0 (zero) as valid target
2016-04-04 21:45:02 +02:00
Jens Luetjen
c2c64620b1
Ignore position of _on_position_changed callback
2016-04-04 20:40:56 +02:00
Stein Magnus Jodal
df0d534a56
docs: Depend on sphinx_rtd_theme
...
As of Sphinx 1.4, it is no longer a transitive dependency, so we need
to depend on it explicitly.
2016-04-01 08:12:29 +02:00
Stein Magnus Jodal
d51b283c26
Merge branch 'release-2.0' into develop
2016-03-26 20:28:09 +01:00
Stein Magnus Jodal
227a660ecf
Merge branch 'fix/1345-file-crashes-on-non-ascii-media-dir' into release-2.0
2016-03-26 20:27:42 +01:00
Thomas Adamcik
5e640979f4
Merge pull request #1493 from jodal/fix/1345-file-crashes-on-non-ascii-media-dir
...
file: Fix crash when media_dirs contains non-ASCII chars
2016-03-26 20:24:22 +01:00
Stein Magnus Jodal
095329ce82
docs: PR #1472 fixes #1469
2016-03-26 11:55:25 +01: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
Stein Magnus Jodal
3e196a88cb
Merge branch 'release-2.0' into develop
2016-03-26 09:59:27 +01:00
Stein Magnus Jodal
5a371b8ed0
Merge PR #1454 from dublok/fix/1454-endless-loop-if-no-playable-track
2016-03-26 09:51:30 +01:00
Stein Magnus Jodal
aafcf8559d
docs: Add PR #1455 to changelog
2016-03-26 09:51:14 +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
Jens Luetjen
6116705c1b
Avoid endless loop in 'next' and 'previous'.
2016-03-26 09:43:38 +01:00
Jens Luetjen
a2f0d6960f
Avoid endless loop if all tracks are unplayable.
...
Limit the number of tries for changing to the nest track.
The limit is 2 * tracklist length get all tracks in a shuffled playlist.
2016-03-26 09:43:38 +01:00
Thomas Adamcik
accd6bd1a9
docs: Add duration fix to changelog.
2016-03-25 15:18:13 +01:00
Thomas Adamcik
e9137e132a
audio: Try and simplify logic for going to playing in scanner
2016-03-25 15:17:02 +01:00
SeeSpotRun
c972ecd1f2
scanner: fix newby logic error
2016-03-25 15:00:35 +01:00
SeeSpotRun
2d6f00b912
scanner: formatting to make travis / tox / flake8 happy
2016-03-25 15:00:35 +01:00
SeeSpotRun
6379f76889
scanner: minor simplification of timeout calculations
2016-03-25 15:00:35 +01:00
SeeSpotRun
57518861ea
scanner: move _query_duration() into _process()
2016-03-25 15:00:35 +01:00
SeeSpotRun
3183f43b18
scanner: workaround for gstreamer not pushing tags before PREROLL
...
refer https://bugzilla.gnome.org/show_bug.cgi?id=763553
2016-03-25 15:00:35 +01:00
Thomas Adamcik
3c535409ad
docs: Add buffer fix to changelog
2016-03-25 14:34:15 +01:00
Thomas Adamcik
793e425314
audio: Make buffer conversion work on older GStreamer installs
2016-03-25 13:11:07 +01:00
Thomas Adamcik
64a58e0662
audio: Move sample to data conversion to a helper.
...
Also add check for None buffer being returned.
2016-03-25 13:09:44 +01:00
Jens Luetjen
6faa19dbf3
Always unmap mapped buffer.
...
Always unmap the mapped memory, even in case of exception.
2016-03-25 12:55:00 +01:00
Jens Luetjen
f0788515cd
Find images in audio files
...
Handle Gst.Sample as image in audio file tags (scaned with Gst1.0).
2016-03-25 12:54:44 +01:00
Thomas Adamcik
77358806de
github: Fix typo
2016-03-25 12:44:39 +01:00
Stein Magnus Jodal
a1057eca54
github: Remove Markdown link
2016-03-23 19:47:37 +01:00
Stein Magnus Jodal
86b0327369
github: Tweak issues template
2016-03-23 19:45:59 +01:00
Thomas Adamcik
a372793cbe
meta: Create placeholder ISSUE_TEMPLATE
...
We probably want more here, but it's a start.
2016-03-23 08:57:43 +01:00
Thomas Adamcik
20ba1fd90e
Merge pull request #1481 from delftswa2016/develop
...
docs: Modify a mistake in annotations
2016-03-11 15:58:59 +01:00
Lina He
7fd989ac9b
Modify a mistake in annotations
...
I found this mistake when reading the documentation of Mopidy. Just add
a "to" to the annotation.
2016-03-11 15:19:18 +01:00