package Ġcom . s uk its uki . ts uk ibb . module Ċ Ċ import Ġandroid . app . Application Ċ import Ġcom . google . android . ex op layer 2 . Default Load Control Ċ import Ġcom . google . android . ex op layer 2 . Default Load Control . DEFAULT _ BUFFER _ FOR _ PLAY BACK _ AFTER _ RE BUFFER _ MS Ċ import Ġcom . google . android . ex op layer 2 . Default Load Control . DEFAULT _ BUFFER _ FOR _ PLAY BACK _ MS Ċ import Ġcom . google . android . ex op layer 2 . Default Render ers Factory Ċ import Ġcom . google . android . ex op layer 2 . Exo Player Factory Ċ import Ġcom . google . android . ex op layer 2 . Simple Exo Player Ċ import Ġcom . google . android . ex op layer 2 . track selection . Default Track Selector Ċ import Ġcom . google . android . ex op layer 2 . ui . Player Notification Manager Ċ import Ġcom . s uk its uki . ts uk ibb . R Ċ import Ġcom . s uk its uki . ts uk ibb . adapter . Description Adapter Ċ import Ġcom . s uk its uki . ts uk ibb . model . Season . Season List . Se asons Item . Episode s Item Ċ import Ġdagger . Provides Ċ import Ġjavax . inject . Singleton Ċ Ċ @ d agger . Module ( includes Ġ= Ġ[]) Ċ class ĠEx o Player Module Ġ{ ĊĊĠ Ġ@ Provides ĊĠ Ġ@ Singleton ĊĠ Ġfun Ġprovides Exo Player ( app : ĠApplication ): ĠSimple Exo Player Ġ{ ĊĠĠĠ Ġval Ġload Control Ġ= ĠDefault Load Control . Builder () ĊĠĠĠĠĠ Ġ. set Back Buffer ( 3 0 Ġ* Ġ 1 0 0 0 , Ġfalse ) ĊĠĠĠĠĠ Ġ. set Buffer Dur ations Ms ( ĊĠĠĠĠĠĠĠĠ 1 0 Ġ* Ġ 6 0 Ġ* Ġ 1 0 0 0 , ĊĠĠĠĠĠĠĠĠ 1 5 Ġ* Ġ 6 0 Ġ* Ġ 1 0 0 0 , ĊĠĠĠĠĠĠĠ ĠDEFAULT _ BUFFER _ FOR _ PLAY BACK _ MS , ĊĠĠĠĠĠĠĠ ĠDEFAULT _ BUFFER _ FOR _ PLAY BACK _ AFTER _ RE BUFFER _ MS ĊĠĠĠĠĠ Ġ) ĊĠĠĠ Ġreturn ĠEx o Player Factory . new Simple Instance ( ĊĠĠĠĠĠ Ġapp . application Context , ĊĠĠĠĠĠ ĠDefault Render ers Factory ( app . application Context ), ĊĠĠĠĠĠ ĠDefault Track Selector (), ĊĠĠĠĠĠ Ġload Control . create Default Load Control () ĊĠĠĠ Ġ) ĊĠ Ġ} ĊĊĠ Ġ@ Provides ĊĠ Ġ@ Singleton ĊĠ Ġfun Ġprovides Description Adapter ( app : ĠApplication ): ĠDescription Adapter Ġ{ ĊĠĠĠ Ġreturn ĠDescription Adapter ( app ) ĊĠ Ġ} ĊĊĠ Ġ@ Provides ĊĠ Ġ@ Singleton ĊĠ Ġfun Ġprovides Current Episode s Item (): ĠEp isode s Item Ġ{ ĊĠĠĠ Ġreturn ĠEp isode s Item () ĊĠ Ġ} ĊĊĠ Ġ@ Provides ĊĠ Ġ@ Singleton ĊĠ Ġfun Ġprovides Player Notification Manager ( app : ĠApplication , Ġadapter : ĠDescription Adapter ): ĠPlayer Notification Manager Ġ{ ĊĠĠĠ Ġreturn ĠPlayer Notification Manager ĊĠĠĠĠĠ Ġ. create With Notification Channel ( ĊĠĠĠĠĠĠĠ Ġapp . application Context , Ġ" CHANNEL _ ID ", ĠR . string . exo _ download _ notification _ channel _ name , Ġ 1 0 0 0 , Ġadapter ĊĠĠĠĠĠ Ġ) ĊĠ Ġ} Ċ }