Jump to content

MediaSource default audio/sub streams


Recommended Posts

Posted

MediaSources now have two new properties:

 

  • DefaultAudioStreamIndex
  • DefaultSubitleStreamIndex

 

These are user-specific pieces of information that tell you what tracks to use by default based on user settings. Keeping it on the server allows for more expansion later, e.g. play -> switch tracks -> resume on another device and the track changes are remembered.

 

Anyone using the new StreamBuilder library to construct url's will get this change for free (both java + .net).  Everyone else should put it on their roadmaps.

 

If you haven't implemented media sources yet that's something of a prerequisite. The documentation on that is complete:

 

https://github.com/MediaBrowser/MediaBrowser/wiki/Playback-Guidelines

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...