Skip to content
This repository has been archived by the owner on Jun 9, 2021. It is now read-only.

[External Multimedia] no support for panopto folder hierarchy #56

Open
otakenz opened this issue Aug 21, 2020 · 6 comments
Open

[External Multimedia] no support for panopto folder hierarchy #56

otakenz opened this issue Aug 21, 2020 · 6 comments

Comments

@otakenz
Copy link

otakenz commented Aug 21, 2020

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

Issue:
image
image
image

Outcome:
image

@indocomsoft
Copy link
Owner

Hi @otakenz, this is what I call "external multimedia". Could you try passing in --external-multimedia and see if the files are downloaded?

@otakenz
Copy link
Author

otakenz commented Aug 22, 2020

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

@indocomsoft
Copy link
Owner

Hmm, try passing in --verbose --show-errors and post here if there are any error messages (in red usually)

@otakenz
Copy link
Author

otakenz commented Aug 22, 2020

As requested, here it is:

image

@indocomsoft
Copy link
Owner

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!

@otakenz
Copy link
Author

otakenz commented Aug 22, 2020

Ok if i will try when i have time, thanks!

@indocomsoft indocomsoft changed the title [Invisible Multimedia] Multimedia not downloaded [External Multimedia] no support for panopto folder hierarchy Aug 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants