diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-10-20 13:57:29 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-10-20 13:57:29 -0700 |
commit | 3eb5e7acf33afe8f3ab378b3456e3b9f077d2a3e (patch) | |
tree | 2b2fa2125e5b4513fdaa0075636845cfb8362082 /src | |
parent | 3aca5d5f895ebf3283ffc0b05eb3cfbfd526d440 (diff) | |
download | dsub-3eb5e7acf33afe8f3ab378b3456e3b9f077d2a3e.tar.gz dsub-3eb5e7acf33afe8f3ab378b3456e3b9f077d2a3e.tar.bz2 dsub-3eb5e7acf33afe8f3ab378b3456e3b9f077d2a3e.zip |
Change hls video streaming content type
Diffstat (limited to 'src')
-rw-r--r-- | src/github/daneren2005/dsub/fragments/SubsonicFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/fragments/SubsonicFragment.java b/src/github/daneren2005/dsub/fragments/SubsonicFragment.java index 68ca5189..5cab2497 100644 --- a/src/github/daneren2005/dsub/fragments/SubsonicFragment.java +++ b/src/github/daneren2005/dsub/fragments/SubsonicFragment.java @@ -1321,7 +1321,7 @@ public class SubsonicFragment extends Fragment implements SwipeRefreshLayout.OnR Intent intent = new Intent(Intent.ACTION_VIEW);
if("hls".equals(format)) {
- intent.setDataAndType(Uri.parse(MusicServiceFactory.getMusicService(context).getHlsUrl(entry.getId(), maxBitrate, context)), "video/*");
+ intent.setDataAndType(Uri.parse(MusicServiceFactory.getMusicService(context).getHlsUrl(entry.getId(), maxBitrate, context)), "application/x-mpegURL");
} else {
intent.setDataAndType(Uri.parse(MusicServiceFactory.getMusicService(context).getVideoStreamUrl(format, maxBitrate, context, entry.getId())), "video/*");
}
|