mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Rename new method, keep current working method
Moved major modifications to Playback branch.
This commit is contained in:
parent
e4e05a143f
commit
360d69146d
1 changed files with 3 additions and 4 deletions
|
@ -33,7 +33,7 @@ class PlayUtils():
|
|||
|
||||
self.doUtils = downloadutils.DownloadUtils().downloadUrl
|
||||
|
||||
def getPlayUrl(self):
|
||||
def getPlayUrlNew(self):
|
||||
'''
|
||||
New style to retrieve the best playback method based on sending the profile to the server
|
||||
Based on capabilities the correct path is returned, including livestreams that need to be opened by the server
|
||||
|
@ -62,7 +62,7 @@ class PlayUtils():
|
|||
return playurl
|
||||
|
||||
|
||||
def getPlayUrlOld(self):
|
||||
def getPlayUrl(self):
|
||||
|
||||
playurl = None
|
||||
|
||||
|
@ -461,8 +461,7 @@ class PlayUtils():
|
|||
mediaSource = self.getLiveStream(pbinfo["PlaySessionId"], mediaSource)
|
||||
|
||||
return mediaSource
|
||||
|
||||
|
||||
|
||||
def getOptimalMediaSource(self, mediasources):
|
||||
'''
|
||||
Select the best possible mediasource for playback
|
||||
|
|
Loading…
Reference in a new issue