[External Multimedia] no support for panopto folder hierarchy
Opened this issue · 6 comments
System: WSL2 Ubuntu 20.04
Issue: Unable to download multimedia content [see pictures below]
Expected: Multimedia are downloaded to /tmp/fluminus/<module_code>/Multimedia
Outcome: Multimedia folder are created but no multimedia are downloaded [see picture below]
Command: mix fluminus --download-to=/tmp/fluminus --multimedia --external-multimedia --lessons --webcasts
Hi @otakenz, this is what I call "external multimedia". Could you try passing in --external-multimedia
and see if the files are downloaded?
yes, i did passed in --external-multimedia (forgot to mention), in fact i also tried passing in all available --download-to tags
Observation on the CS3237(which uses external multimedia):
With --external-multimedia;
- A directory called "Multimedia" is successfully created within /tmp/fluminus/CS3237
- A directory called "CS3237 Lecture" is successfully created within /tmp/fluminus/CS3237/Multimedia
- However, no downloaded media was found inside /tmp/fluminus/CS3237/Multimedia/CS3237 Lectures
Without --external-multimedia;
- No directory called "Multimedia" is created within /tmp/fluminus/CS3237
Expected outcome:
With --external-multimedia;
- A directory called "Multimedia" is successfully created within /tmp/fluminus/CS3237
- A directory called "CS3237 Lecture" is successfully created within /tmp/fluminus/CS3237/Multimedia
- Two more folders called "Lecture 1 - IoT landscape" and "Lecture 2 - Statistical Model" is successfully created within /tmp/fluminus/CS3237/Multimedia/CS3237 Lectures with videos created within them respectively.
Without --external-multimedia;
- No directory called "Multimedia" is created within /tmp/fluminus/CS3237
Hmm, try passing in --verbose --show-errors
and post here if there are any error messages (in red usually)
Interesting, I think this is because my code assumed that panopto will not have hierarchical structure of folders. Unfortunately I don't have any mods with this structure so as to reverse engineer.
You're welcome to submit a PR though if you could reverse engineer and hook into the code!
Ok if i will try when i have time, thanks!