You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The download() method on PlexObject class when passed kwargs will use getStreamURL() method. However it is called exactly the same for each Media Part that is being looped over.
This results in generating transcode urls for the same media and part index multiple times, which default to 0 and not defined in the kwargs passed to getStreamURL().
Describe the Bug
The
download()
method onPlexObject
class when passedkwargs
will usegetStreamURL()
method. However it is called exactly the same for each Media Part that is being looped over.python-plexapi/plexapi/base.py
Line 869 in dd80deb
This results in generating transcode urls for the same media and part index multiple times, which default to
0
and not defined in thekwargs
passed togetStreamURL()
.python-plexapi/plexapi/base.py
Lines 779 to 780 in dd80deb
Code Snippets
No response
Expected Behavior
download()
method's parts loop should setmediaIndex
andpartIndex
when callinggetStreamURL()
in order to return different transcoding urls.Additional Context
This is still affected by the #1208 issue where downloaded file names could clobber the file written to disk.
Operating System and Version
All
Plex Media Server Version
All
Python Version
All
PlexAPI Version
The text was updated successfully, but these errors were encountered: