diff options
author | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2013-03-07 17:44:56 +0200 |
---|---|---|
committer | Mark Ryan <mark.d.ryan@intel.com> | 2013-06-23 16:27:43 +0200 |
commit | dcb842a06858e0220a1fcc38b6c4aa5a48b15735 (patch) | |
tree | 29751514d5875b886c76b597d1bdb8153b585256 | |
parent | 261082a3dbc1c812f448a77ca3edacc487c9607b (diff) | |
download | dleyna-control-dcb842a06858e0220a1fcc38b6c4aa5a48b15735.tar.gz |
[MainWindow] Accept content type "Music" as well
MediaObject2 spec has been changed so "audio.music" type is now
"music". We should try to play both types.
Fixes #8. Note that actual fixes need to happen on dleyna-server
side: This just makes dleyna-control accept all legal values of
"Type".
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
-rw-r--r-- | src/msd/msd_main_window.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/msd/msd_main_window.py b/src/msd/msd_main_window.py index efbfe45..dbf941d 100644 --- a/src/msd/msd_main_window.py +++ b/src/msd/msd_main_window.py @@ -197,7 +197,7 @@ class MainWindow(object): self.__overlay = PlayWindowVideo(name, url, self.__close_overlay) self.__window.add(self.__overlay.get_container()) - elif ctype == "Audio": + elif ctype == "Audio" or ctype == "Music": try: album_art_url = MediaObject(path).get_prop("AlbumArtURL") except Exception: |