Rename new method, keep current working method

Moved major modifications to Playback branch.
This commit is contained in:
angelblue05 2016-09-29 00:35:58 -05:00
parent e4e05a143f
commit 360d69146d

View file

@ -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
@ -461,8 +461,7 @@ class PlayUtils():
mediaSource = self.getLiveStream(pbinfo["PlaySessionId"], mediaSource) mediaSource = self.getLiveStream(pbinfo["PlaySessionId"], mediaSource)
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