-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hi, I recently started to use the Random Gif Maker script, but It throws me an error after the movies directory. Don't know if I'm making something wrong or if it's something wrong with the script.
This is how I run it:
biolinuxpc@BioLinuxPC[biolinuxpc] python /home/biolinuxpc/Downloads/random-gif-maker-master/randomGif.py
Enter Path to Movie Directory: /home/biolinuxpc/Videos
Movies Path: /home/biolinuxpc/Videos
Traceback (most recent call last):
File "/home/biolinuxpc/Downloads/random-gif-maker-master/randomGif.py", line 74, in <module>
moviename, hour, mins, secs = makeGif(var)
File "/home/biolinuxpc/Downloads/random-gif-maker-master/randomGif.py", line 38, in makeGif
moviename = moviepath[root.__len__():].split("/")[2] #Remove Root Directory and Subfolder
IndexError: list index out of range
Inside my Videos folder is a single video named Test.mkv
I already have tried with:
/home/biolinuxpc/Videos
/home/biolinuxpc/Videos/
/home/biolinuxpc/Videos/Test.mkv
And some other variances. Didn't work.
Thanks in advance.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels