initialize index=0 outside of the function and call it globally inside the function so that added file will be on the final index.
mega_info
without doing more harm to my manhood xD
snlagr
How can i change the position of an element in the list ?
making-arte
"without doing more harm to my manhood" :)
lenord
Tnq sir your playlist is very useful for me
Thnakyou
Thank you
Very much💖💖💖
workspace
how to increase the size of playlist.. would you help please??
zarafshapahore
i had to use <f = os.path.basename(f.name)> instead of <f = os.path.basename(f)>
rahulsrivastava
In the add_to_playlist function, you are declaring "index = 0" on every call to that function, so the value of index is never increasing as desire as is being rest to zero. At least this is how it working on my system (Mac OS Mojave). Maybe I'm getting ahead and you'll fix it in the next segment. I'm really liking this tutorial. Thank you!