Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Ewout ter Hoeven
VLC-Android
Commits
911cd4d1
Commit
911cd4d1
authored
May 31, 2016
by
Geoffrey Métais
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Load slaves saved in db at playback
parent
643002a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
vlc-android/src/org/videolan/vlc/PlaybackService.java
vlc-android/src/org/videolan/vlc/PlaybackService.java
+8
-0
No files found.
vlc-android/src/org/videolan/vlc/PlaybackService.java
View file @
911cd4d1
...
...
@@ -1719,6 +1719,14 @@ public class PlaybackService extends Service implements IVLCVout.Callback {
}
});
}
VLCApplication
.
runBackground
(
new
Runnable
()
{
@Override
public
void
run
()
{
final
ArrayList
<
Media
.
Slave
>
list
=
MediaDatabase
.
getInstance
().
getSlaves
(
mw
.
getLocation
());
for
(
Media
.
Slave
slave
:
list
)
mMediaPlayer
.
addSlave
(
slave
.
type
,
Uri
.
parse
(
slave
.
uri
));
}
});
media
.
setEventListener
(
mMediaListener
);
mMediaPlayer
.
setMedia
(
media
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment