Skip to content

Commit

Permalink
ws: fix default ncl360 mime
Browse files Browse the repository at this point in the history
  • Loading branch information
alanlivio committed Jun 30, 2021
1 parent 79af67c commit aea18f6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions lib/PlayerRemote.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,12 @@ class WebServices;
\"documentId\": \"%s\",\
\"sceneNode\": \"%s\",\
\"sceneURL\": \"%s\",\
\"type\": \"%s\",\
\"notifyEvents\": %s\
}"

#define REMOTE_PLAYER_ROUTE_NODES "/scene/nodes/"

#define REMOTE_PLAYER_MIME_NCL360 "application/x-ginga-ncl360"
#define REMOTE_PLAYER_MIME_NCL360 "application/x-ncl360"

class PlayerRemote : public Player
{
Expand Down
2 changes: 1 addition & 1 deletion tests-ncl/test-ws-RemotePlayer.ncl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<port id="entry2" component="m2"/>
<port id="entry3" component="m3"/>
<media id="hidden"/>
<media id="m1" descriptor="desc1" type="application/x-ginga-ncl360"/>
<media id="m1" descriptor="desc1" type="application/x-ncl360"/>
<media id="m2" descriptor="desc2">
<property name="background" value="green"/>
</media>
Expand Down
2 changes: 1 addition & 1 deletion tests-ncl/test-ws-lookat.ncl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<port id="entry1" component="m1"/>
<port id="entry2" component="m2"/>
<port id="entry3" component="m3"/>
<media id="m1" type="application/x-ginga-ncl360" descriptor="desc1">
<media id="m1" type="application/x-ncl360" descriptor="desc1">
<property name="background" value="blue"/>
</media>
<media id="m2" descriptor="desc2">
Expand Down

0 comments on commit aea18f6

Please sign in to comment.