minshikshin / google-cast-sdk

Automatically exported from code.google.com/p/google-cast-sdk
0 stars 0 forks source link

Inconsistence in metadata type #403

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. chrome.cast.media.MetadataType -> {GENERIC: 0, TV_SHOW: 1, MOVIE: 2, 
MUSIC_TRACK: 3, PHOTO: 4}
2. In iOS library -> 
typedef NS_ENUM(NSInteger, GCKMediaMetadataType) {
  /** A media type representing generic media content. */
  GCKMediaMetadataTypeGeneric = 0,
  /** A media type representing a movie. */
  GCKMediaMetadataTypeMovie = 1,
  /** A media type representing an TV show. */
  GCKMediaMetadataTypeTVShow = 2,
  /** A media type representing a music track. */
  GCKMediaMetadataTypeMusicTrack = 3,
  /** A media type representing a photo. */
  GCKMediaMetadataTypePhoto = 4,
  /** The smallest media type value that can be assigned for application-defined media types. */
  GCKMediaMetadataTypeUser = 100,
};

What is the expected output? What do you see instead?
 I think that chrome.cast.media.MetadataType.TV_SHOW and GCKMediaMetadataTypeTVShow the code should be the same.

What version of the product are you using? On what operating system?
1. Chrome sender https://www.gstatic.com/cv/js/sender/v1/cast_sender.js
2. iOS Cast SDK v2.4.0

Please provide any additional information below.
In receiver I can not use metadaType, because it has may be various for the 
same element.

Original issue reported on code.google.com by I.Kirill...@gmail.com on 7 Oct 2014 at 3:09

GoogleCodeExporter commented 8 years ago
Let me look into this.

Original comment by anad...@google.com on 7 Oct 2014 at 3:31

GoogleCodeExporter commented 8 years ago
Thanks for reporting; it is indeed an error on our side which will be addressed 
in the next release.

Original comment by anad...@google.com on 7 Oct 2014 at 5:21

GoogleCodeExporter commented 8 years ago

Original comment by jonathan...@google.com on 2 Dec 2014 at 11:27