mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 12:16:12 +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
|
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
|
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
|
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
|
return playurl
|
||||||
|
|
||||||
|
|
||||||
def getPlayUrlOld(self):
|
def getPlayUrl(self):
|
||||||
|
|
||||||
playurl = None
|
playurl = None
|
||||||
|
|
||||||
|
@ -462,7 +462,6 @@ class PlayUtils():
|
||||||
|
|
||||||
return mediaSource
|
return mediaSource
|
||||||
|
|
||||||
|
|
||||||
def getOptimalMediaSource(self, mediasources):
|
def getOptimalMediaSource(self, mediasources):
|
||||||
'''
|
'''
|
||||||
Select the best possible mediasource for playback
|
Select the best possible mediasource for playback
|
||||||
|
|
Loading…
Reference in a new issue