Merge lp:~phablet-team/qtubuntu-media/fix-1528898 into lp:qtubuntu-media/stable

Proposed by Jim Hodapp
Status: Superseded
Proposed branch: lp:~phablet-team/qtubuntu-media/fix-1528898
Merge into: lp:qtubuntu-media/stable
Prerequisite: lp:~phablet-team/qtubuntu-media/fix-removemedia
Diff against target: 495 lines (+213/-53)
11 files modified
debian/changelog (+109/-42)
src/aal/aalmediaplayercontrol.cpp (+8/-0)
src/aal/aalmediaplayercontrol.h (+5/-0)
src/aal/aalmediaplayerservice.cpp (+24/-0)
src/aal/aalmediaplayerservice.h (+5/-0)
src/aal/aalmediaplaylistcontrol.cpp (+27/-3)
src/aal/aalmediaplaylistcontrol.h (+1/-0)
src/aal/aalmediaplaylistprovider.cpp (+23/-7)
src/aal/aalmediaplaylistprovider.h (+3/-0)
src/aal/aalutility.cpp (+7/-0)
tests/unit/service.h (+1/-1)
To merge this branch: bzr merge lp:~phablet-team/qtubuntu-media/fix-1528898
Reviewer Review Type Date Requested Status
Alfonso Sanchez-Beato Approve
Andrew Hayzen (community) Approve
Review via email: mp+281550@code.launchpad.net

This proposal has been superseded by a proposal from 2016-01-12.

Commit message

Description of the change

To post a comment you must log in.
Revision history for this message
Andrew Hayzen (ahayzen) wrote :

LGTM :-)

review: Approve
Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

See inline comment.

review: Needs Fixing
98. By Jim Hodapp

Make sure that selecting a random track from the songs list still works as expected.

Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

Looks good, but I have spotted a small formatting issue, see comment.

99. By Jim Hodapp

Get rid of spurious '+'

Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

LGTM

review: Approve
100. By Jim Hodapp

Merged with trunk

Unmerged revisions

100. By Jim Hodapp

Merged with trunk

99. By Jim Hodapp

Get rid of spurious '+'

98. By Jim Hodapp

Make sure that selecting a random track from the songs list still works as expected.

97. By Jim Hodapp

Fix bug #1528898

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2016-01-04 14:09:33 +0000
3+++ debian/changelog 2016-01-12 14:48:24 +0000
4@@ -1,3 +1,10 @@
5+qtubuntu-media (0.8.0+16.04.20160105-0ubuntu1) xenial; urgency=medium
6+
7+ [ CI Train Bot ]
8+ * No-change rebuild.
9+
10+ -- Thomas Voß <ci-train-bot@canonical.com> Tue, 05 Jan 2016 13:07:12 +0000
11+
12 qtubuntu-media (0.8.0+15.04.20160104-0ubuntu1) vivid; urgency=medium
13
14 * Fix removeMedia(start, end) so that it always removes the correct
15@@ -29,44 +36,93 @@
16
17 -- Jim Hodapp <ci-train-bot@canonical.com> Wed, 18 Nov 2015 16:32:22 +0000
18
19-qtubuntu-media (0.7.1+15.04.20151023.3-0ubuntu1) vivid; urgency=medium
20-
21- [ CI Train Bot ]
22- * New rebuild forced.
23-
24- [ Jim Hodapp ]
25- * Added addTracks support for batch track adding. Improved the
26- robustness of the QMediaPlaylist integration tests.
27-
28- -- Jim Hodapp <ci-train-bot@canonical.com> Fri, 23 Oct 2015 16:43:38 +0000
29-
30-qtubuntu-media (0.7.1+15.04.20151014-0ubuntu1) vivid; urgency=medium
31-
32- [ Alfonso Sanchez-Beato ]
33- * Make sure the that the current player instance is controlable by
34- MPRIS controls if the type of player is appropriate for playlist
35- control. Also, don't add a track to the tracklist when
36- AalMediaPlayerService::setMedia() is called. (LP: #1500859)
37-
38- [ Jim Hodapp ]
39- * Make sure the that the current player instance is controlable by
40- MPRIS controls if the type of player is appropriate for playlist
41- control. Also, don't add a track to the tracklist when
42- AalMediaPlayerService::setMedia() is called. (LP: #1500859)
43-
44- -- CI Train Bot <ci-train-bot@canonical.com> Wed, 14 Oct 2015 20:58:46 +0000
45-
46-qtubuntu-media (0.7.1+15.04.20150828-0ubuntu1) vivid; urgency=medium
47-
48- [ Jim Hodapp ]
49- * Bump version for vivid sync
50-
51- [ CI Train Bot ]
52- * New rebuild forced.
53-
54- -- CI Train Bot <ci-train-bot@canonical.com> Fri, 28 Aug 2015 13:52:24 +0000
55-
56-qtubuntu-media (0.7.1+15.04.20150710-0ubuntu1) vivid; urgency=medium
57+qtubuntu-media (0.7.1+16.04.20151104.1-0ubuntu1) xenial; urgency=medium
58+
59+ [ Timo Jyrinki ]
60+ * Port to the new Audio Role API (LP: #1493851) (LP: #1493851)
61+
62+ -- CI Train Bot <ci-train-bot@canonical.com> Wed, 04 Nov 2015 08:31:35 +0000
63+
64+qtubuntu-media (0.7.1+15.10.20151020.1-0ubuntu1) wily; urgency=medium
65+
66+ [ Alfonso Sanchez-Beato ]
67+ * Make sure the that the current player instance is controlable by
68+ MPRIS controls if the type of player is appropriate for playlist
69+ control. Also, don't add a track to the tracklist when
70+ AalMediaPlayerService::setMedia() is called. (LP: #1500859)
71+
72+ [ Jim Hodapp ]
73+ * Make sure the that the current player instance is controlable by
74+ MPRIS controls if the type of player is appropriate for playlist
75+ control. Also, don't add a track to the tracklist when
76+ AalMediaPlayerService::setMedia() is called. (LP: #1500859)
77+
78+ [ CI Train Bot ]
79+ * No-change rebuild.
80+
81+ -- Alfonso Sanchez-Beato <alfonso.sanchez-beato@canonical.com> Tue, 20 Oct 2015 13:10:40 +0000
82+
83+qtubuntu-media (0.7.1+15.10.20151019.1-0ubuntu1) wily; urgency=medium
84+
85+ [ CI Train Bot ]
86+ * New rebuild forced.
87+
88+ [ Jim Hodapp ]
89+ * Get rid of the unnecessary dependency on libmediascanner. Update
90+ mock service interface with changes from media-hub. (LP: #1500859)
91+
92+ -- Jim Hodapp <ci-train-bot@canonical.com> Mon, 19 Oct 2015 16:21:01 +0000
93+
94+qtubuntu-media (0.7.1+15.10.20150903.1-0ubuntu1) wily; urgency=medium
95+
96+ [ Alfonso Sanchez-Beato ]
97+ * [ Jim Hodapp ] Added background playlist support connecting
98+ qtmultimedia with media-hub. added:
99+ src/aal/aalmediaplaylistcontrol.cpp
100+ src/aal/aalmediaplaylistcontrol.h
101+ src/aal/aalmediaplaylistprovider.cpp
102+ src/aal/aalmediaplaylistprovider.h src/aal/aalutility.cpp
103+ src/aal/aalutility.h src/aal/private/
104+ src/aal/private/qmediaplaylistnavigator_p.h
105+ src/aal/private/qmediaplaylistprovider_p.h
106+ src/aal/qmediaplaylistcontrol_p.h tests/integration/
107+ tests/integration/integration.pro tests/integration/testdata/
108+ tests/integration/testdata/testfile.mp4
109+ tests/integration/testdata/testfile.ogg
110+ tests/integration/tst_mediaplaylist.cpp
111+ tests/integration/tst_mediaplaylist.h tests/tests.pro tests/unit/
112+ tests/unit/player_mock.cpp tests/unit/player_mock.h
113+ tests/unit/tst_mediaplaylistcontrol.cpp
114+ tests/unit/tst_mediaplaylistcontrol.h renamed: unittests/ => tests/
115+ unittests/player.cpp => tests/unit/player.cpp unittests/player.h =>
116+ tests/unit/player.h unittests/service.cpp => tests/unit/service.cpp
117+ unittests/service.h => tests/unit/service.h
118+ unittests/setup_mediascanner.sh => tests/unit/setup_mediascanner.sh
119+ unittests/tst_mediaplayerplugin.cpp =>
120+ tests/unit/tst_mediaplayerplugin.cpp
121+ unittests/tst_mediaplayerplugin.h =>
122+ tests/unit/tst_mediaplayerplugin.h
123+ unittests/tst_metadatareadercontrol.cpp =>
124+ tests/unit/tst_metadatareadercontrol.cpp
125+ unittests/tst_metadatareadercontrol.h =>
126+ tests/unit/tst_metadatareadercontrol.h unittests/unittests.pro =>
127+ tests/unit/unit.pro
128+
129+ -- CI Train Bot <ci-train-bot@canonical.com> Thu, 03 Sep 2015 08:25:29 +0000
130+
131+qtubuntu-media (0.7.1+15.10.20150710-0ubuntu2~gcc5.2) wily; urgency=medium
132+
133+ * No-change test rebuild for g++5 ABI transition
134+
135+ -- Matthias Klose <doko@ubuntu.com> Thu, 30 Jul 2015 12:09:11 +0200
136+
137+qtubuntu-media (0.7.1+15.10.20150710-0ubuntu2~gcc5.1) wily; urgency=medium
138+
139+ * No-change test rebuild for g++5 ABI transition
140+
141+ -- Steve Langasek <steve.langasek@ubuntu.com> Wed, 22 Jul 2015 23:30:42 +0000
142+
143+qtubuntu-media (0.7.1+15.10.20150710-0ubuntu1) wily; urgency=medium
144
145 [ CI Train Bot ]
146 * New rebuild forced.
147@@ -77,7 +133,7 @@
148
149 -- CI Train Bot <ci-train-bot@canonical.com> Fri, 10 Jul 2015 18:12:45 +0000
150
151-qtubuntu-media (0.7.1+15.04.20150602.3-0ubuntu1) vivid; urgency=medium
152+qtubuntu-media (0.7.1+15.10.20150602.3-0ubuntu1) wily; urgency=medium
153
154 [ CI Train Bot ]
155 * New rebuild forced.
156@@ -88,7 +144,7 @@
157
158 -- CI Train Bot <ci-train-bot@canonical.com> Tue, 02 Jun 2015 19:37:22 +0000
159
160-qtubuntu-media (0.7.1+15.04.20150602.1-0ubuntu1) vivid; urgency=medium
161+qtubuntu-media (0.7.1+15.10.20150602.1-0ubuntu1) wily; urgency=medium
162
163 [ CI Train Bot ]
164 * New rebuild forced.
165@@ -98,7 +154,7 @@
166
167 -- CI Train Bot <ci-train-bot@canonical.com> Tue, 02 Jun 2015 16:55:53 +0000
168
169-qtubuntu-media (0.7.1+15.04.20150527.2-0ubuntu1) vivid; urgency=medium
170+qtubuntu-media (0.7.1+15.10.20150527.2-0ubuntu1) wily; urgency=medium
171
172 [ CI Train Bot ]
173 * New rebuild forced.
174@@ -110,7 +166,7 @@
175
176 -- CI Train Bot <ci-train-bot@canonical.com> Wed, 27 May 2015 18:38:32 +0000
177
178-qtubuntu-media (0.7.1+15.04.20150522-0ubuntu1) vivid; urgency=medium
179+qtubuntu-media (0.7.1+15.10.20150522-0ubuntu1) wily; urgency=medium
180
181 [ Jim Hodapp ]
182 * Make sure that stopped and ready (same state for QMediaPlayer) are
183@@ -118,6 +174,17 @@
184
185 -- CI Train Bot <ci-train-bot@canonical.com> Fri, 22 May 2015 17:36:57 +0000
186
187+qtubuntu-media (0.7.1+15.04.20151023.3-0ubuntu1) vivid; urgency=medium
188+
189+ [ CI Train Bot ]
190+ * New rebuild forced.
191+
192+ [ Jim Hodapp ]
193+ * Added addTracks support for batch track adding. Improved the
194+ robustness of the QMediaPlaylist integration tests.
195+
196+ -- Jim Hodapp <ci-train-bot@canonical.com> Fri, 23 Oct 2015 16:43:38 +0000
197+
198 qtubuntu-media (0.7.1+15.04.20150513.1-0ubuntu1) vivid; urgency=medium
199
200 [ CI Train Bot ]
201
202=== modified file 'src/aal/aalmediaplayercontrol.cpp'
203--- src/aal/aalmediaplayercontrol.cpp 2015-11-04 17:17:50 +0000
204+++ src/aal/aalmediaplayercontrol.cpp 2016-01-12 14:48:24 +0000
205@@ -61,12 +61,20 @@
206 return m_status;
207 }
208
209+#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0)
210 QMediaPlayer::AudioRole AalMediaPlayerControl::audioRole() const
211+#else
212+QAudio::Role AalMediaPlayerControl::audioRole() const
213+#endif
214 {
215 return m_service->audioRole();
216 }
217
218+#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0)
219 void AalMediaPlayerControl::setAudioRole(QMediaPlayer::AudioRole audioRole)
220+#else
221+void AalMediaPlayerControl::setAudioRole(QAudio::Role audioRole)
222+#endif
223 {
224 qDebug() << __PRETTY_FUNCTION__;
225 m_service->setAudioRole(audioRole);
226
227=== modified file 'src/aal/aalmediaplayercontrol.h'
228--- src/aal/aalmediaplayercontrol.h 2015-07-24 18:44:13 +0000
229+++ src/aal/aalmediaplayercontrol.h 2016-01-12 14:48:24 +0000
230@@ -32,8 +32,13 @@
231
232 virtual QMediaPlayer::State state() const;
233 virtual QMediaPlayer::MediaStatus mediaStatus() const;
234+#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0)
235 virtual QMediaPlayer::AudioRole audioRole() const;
236 virtual void setAudioRole(QMediaPlayer::AudioRole audioRole);
237+#else
238+ virtual QAudio::Role audioRole() const;
239+ virtual void setAudioRole(QAudio::Role audioRole);
240+#endif
241 virtual qint64 duration() const;
242 virtual qint64 position() const;
243 virtual void setPosition(qint64);
244
245=== modified file 'src/aal/aalmediaplayerservice.cpp'
246--- src/aal/aalmediaplayerservice.cpp 2015-11-02 14:26:44 +0000
247+++ src/aal/aalmediaplayerservice.cpp 2016-01-12 14:48:24 +0000
248@@ -228,21 +228,41 @@
249 m_videoOutput->playbackComplete();
250 }
251
252+#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0)
253 QMediaPlayer::AudioRole AalMediaPlayerService::audioRole() const
254+#else
255+QAudio::Role AalMediaPlayerService::audioRole() const
256+#endif
257 {
258 if (m_hubPlayerSession == NULL)
259+#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0)
260 return QMediaPlayer::MultimediaRole;
261+#else
262+ return QAudio::VideoRole;
263+#endif
264
265 try {
266+#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0)
267 return static_cast<QMediaPlayer::AudioRole>(m_hubPlayerSession->audio_stream_role().get());
268+#else
269+ return static_cast<QAudio::Role>(m_hubPlayerSession->audio_stream_role().get());
270+#endif
271 }
272 catch (const std::runtime_error &e) {
273 qWarning() << "Failed to get audio stream role: " << e.what();
274+#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0)
275 return QMediaPlayer::MultimediaRole;
276+#else
277+ return QAudio::VideoRole;
278+#endif
279 }
280 }
281
282+#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0)
283 void AalMediaPlayerService::setAudioRole(QMediaPlayer::AudioRole audioRole)
284+#else
285+void AalMediaPlayerService::setAudioRole(QAudio::Role audioRole)
286+#endif
287 {
288 if (m_hubPlayerSession == NULL)
289 return;
290@@ -756,7 +776,11 @@
291 {
292 // If this player is a multimedia audioRole, then it should possible to
293 // use it for MPRIS control
294+#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0)
295 if (audioRole() == QMediaPlayer::MultimediaRole)
296+#else
297+ if (audioRole() == QAudio::VideoRole || audioRole() == QAudio::MusicRole)
298+#endif
299 {
300 qDebug() << "Setting player as current player";
301 try {
302
303=== modified file 'src/aal/aalmediaplayerservice.h'
304--- src/aal/aalmediaplayerservice.h 2015-10-09 20:06:40 +0000
305+++ src/aal/aalmediaplayerservice.h 2016-01-12 14:48:24 +0000
306@@ -74,8 +74,13 @@
307 // Call this before attempting to play the same video a second time (after EOS)
308 void resetVideoSink();
309
310+#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0)
311 QMediaPlayer::AudioRole audioRole() const;
312 void setAudioRole(QMediaPlayer::AudioRole audioRole);
313+#else
314+ QAudio::Role audioRole() const;
315+ void setAudioRole(QAudio::Role audioRole);
316+#endif
317
318 void setMedia(const QUrl &url);
319 void setMediaPlaylist(const QMediaPlaylist& playlist);
320
321=== modified file 'src/aal/aalmediaplaylistcontrol.cpp'
322--- src/aal/aalmediaplaylistcontrol.cpp 2016-01-04 14:07:05 +0000
323+++ src/aal/aalmediaplaylistcontrol.cpp 2016-01-12 14:48:24 +0000
324@@ -293,12 +293,33 @@
325 }
326 }
327
328+void AalMediaPlaylistControl::onRemoveTracks(int start, int end)
329+{
330+ // If the current track and everything after has been removed
331+ // then we need to set the currentIndex to 0 otherwise it is
332+ // left at the position it was before removing
333+ if (start <= m_currentIndex
334+ and m_currentIndex <= end
335+ and (end + 1) == m_playlistProvider->mediaCount()
336+ and start != 0)
337+ {
338+ m_currentIndex = 0;
339+ setCurrentIndex(0);
340+
341+ // When repeat is off we have reached the end of playback so stop
342+ if (playbackMode() == QMediaPlaylist::Sequential)
343+ {
344+ qDebug() << "Repeat is off, so stopping playback";
345+ m_hubPlayerSession->stop();
346+ }
347+ }
348+}
349+
350 void AalMediaPlaylistControl::onCurrentIndexChanged()
351 {
352- int index = aalMediaPlaylistProvider()->indexOfTrack(m_currentId);
353-
354+ const int index = aalMediaPlaylistProvider()->indexOfTrack(m_currentId);
355 if (index != m_currentIndex) {
356- qDebug() << "Index changed to " << index;
357+ qDebug() << "Index changed to" << index;
358 m_currentIndex = index;
359 Q_EMIT currentIndexChanged(m_currentIndex);
360 }
361@@ -362,6 +383,9 @@
362
363 connect(aalMediaPlaylistProvider(), &AalMediaPlaylistProvider::mediaRemoved,
364 this, &AalMediaPlaylistControl::onMediaRemoved);
365+
366+ connect(aalMediaPlaylistProvider(), &AalMediaPlaylistProvider::removeTracks,
367+ this, &AalMediaPlaylistControl::onRemoveTracks);
368 }
369
370 void AalMediaPlaylistControl::disconnect_signals()
371
372=== modified file 'src/aal/aalmediaplaylistcontrol.h'
373--- src/aal/aalmediaplaylistcontrol.h 2015-12-24 15:40:01 +0000
374+++ src/aal/aalmediaplaylistcontrol.h 2016-01-12 14:48:24 +0000
375@@ -64,6 +64,7 @@
376 void onTrackChanged(const core::ubuntu::media::Track::Id& id);
377 void onStartMoveTrack(int from, int to);
378 void onMediaRemoved(int start, int end);
379+ void onRemoveTracks(int start, int end);
380 void onCurrentIndexChanged();
381
382 private:
383
384=== modified file 'src/aal/aalmediaplaylistprovider.cpp'
385--- src/aal/aalmediaplaylistprovider.cpp 2015-12-22 17:57:01 +0000
386+++ src/aal/aalmediaplaylistprovider.cpp 2016-01-12 14:48:24 +0000
387@@ -22,6 +22,9 @@
388
389 #include <QDebug>
390
391+// Uncomment for more verbose debugging to stdout/err
392+//#define VERBOSE_DEBUG
393+
394 namespace media = core::ubuntu::media;
395
396 Q_DECLARE_METATYPE(core::ubuntu::media::Track::Id)
397@@ -145,7 +148,9 @@
398
399 media::TrackList::ContainerURI uris;
400 for (const auto mediaContent : contentList) {
401+#ifdef VERBOSE_DEBUG
402 qDebug() << "Adding track " << AalUtility::unescape(mediaContent).toString();
403+#endif
404 uris.push_back(AalUtility::unescape_str(mediaContent));
405 }
406
407@@ -322,14 +327,25 @@
408
409 bool AalMediaPlaylistProvider::removeMedia(int start, int end)
410 {
411- // It's important that we remove tracks from end to start as removing tracks can
412- // change the relative index value in track_index_lut relative to the Track::Id
413- for (int i=end; i>=start; i--)
414- {
415- if (!removeMedia(i))
416+ // If we are removing everything then just use clear()
417+ if (start == 0 and (end + 1) == mediaCount())
418+ {
419+ return clear();
420+ }
421+ else
422+ {
423+ // Signal AalMediaPlaylistControl
424+ Q_EMIT removeTracks(start, end);
425+
426+ // It's important that we remove tracks from end to start as removing tracks can
427+ // change the relative index value in track_index_lut relative to the Track::Id
428+ for (int i=end; i>=start; i--)
429 {
430- qWarning() << "Failed to remove the full range of tracks requested";
431- return false;
432+ if (!removeMedia(i))
433+ {
434+ qWarning() << "Failed to remove the full range of tracks requested";
435+ return false;
436+ }
437 }
438 }
439
440
441=== modified file 'src/aal/aalmediaplaylistprovider.h'
442--- src/aal/aalmediaplaylistprovider.h 2015-11-13 15:48:06 +0000
443+++ src/aal/aalmediaplaylistprovider.h 2016-01-12 14:48:24 +0000
444@@ -64,6 +64,9 @@
445 Q_SIGNALS:
446 void startMoveTrack(int from, int to);
447 void currentIndexChanged();
448+ // Emitted when removing a range of tracks less than mediaCount()
449+ // so that AalMediaPlaylistControl can take appropriate action
450+ void removeTracks(int start, int end);
451
452 private:
453 void setPlayerSession(const std::shared_ptr<core::ubuntu::media::Player>& playerSession);
454
455=== modified file 'src/aal/aalutility.cpp'
456--- src/aal/aalutility.cpp 2015-06-09 20:53:02 +0000
457+++ src/aal/aalutility.cpp 2016-01-12 14:48:24 +0000
458@@ -18,17 +18,24 @@
459
460 #include <QDebug>
461
462+// Uncomment for more verbose debugging to stdout/err
463+//#define VERBOSE_DEBUG
464+
465 QUrl AalUtility::unescape(const QMediaContent &media)
466 {
467 if (media.isNull())
468 return QUrl();
469
470 if (media.canonicalUrl().isLocalFile()) {
471+#ifdef VERBOSE_DEBUG
472 qDebug() << "Local file URI: " << QUrl::fromPercentEncoding(media.canonicalUrl().toString().toUtf8());
473+#endif
474 return QUrl::fromPercentEncoding(media.canonicalUrl().toString().toUtf8());
475 }
476 else {
477+#ifdef VERBOSE_DEBUG
478 qDebug() << "Remote stream URI: " << QUrl::fromEncoded(media.canonicalUrl().toString().toUtf8());
479+#endif
480 return QUrl::fromEncoded(media.canonicalUrl().toString().toUtf8());
481 }
482 }
483
484=== modified file 'tests/unit/service.h'
485--- tests/unit/service.h 2015-09-08 19:31:18 +0000
486+++ tests/unit/service.h 2016-01-12 14:48:24 +0000
487@@ -50,7 +50,7 @@
488 virtual void destroy_session(const std::string& uuid, const Player::Configuration&);
489 virtual std::shared_ptr<Player> create_fixed_session(const std::string& name, const Player::Configuration&);
490 virtual std::shared_ptr<Player> resume_session(Player::PlayerKey);
491- virtual void set_current_player(Player::PlayerKey key);
492+ virtual void set_current_player(Player::PlayerKey);
493 virtual void pause_other_sessions(Player::PlayerKey);
494 };
495 }

Subscribers

People subscribed via source and target branches

to all changes: