Added some comments.
This commit is contained in:
parent
f377263a0a
commit
d8f885959b
1 changed files with 2 additions and 2 deletions
|
@ -59,10 +59,10 @@ class Playlist:
|
||||||
if self.load_from is None: # if the playlist is in the library
|
if self.load_from is None: # if the playlist is in the library
|
||||||
self.load_from_wbz(self.path)
|
self.load_from_wbz(self.path)
|
||||||
|
|
||||||
elif isinstance(self.load_from, str):
|
elif isinstance(self.load_from, str): # if it's imported from a .m3u
|
||||||
self.load_from_m3u(self.load_from)
|
self.load_from_m3u(self.load_from)
|
||||||
|
|
||||||
elif isinstance(self.load_from, list):
|
elif isinstance(self.load_from, list): # if it's created from tracks
|
||||||
self.load_from_paths(self.load_from)
|
self.load_from_paths(self.load_from)
|
||||||
|
|
||||||
def load_from_m3u(self, path):
|
def load_from_m3u(self, path):
|
||||||
|
|
Loading…
Add table
Reference in a new issue