Giter Site home page Giter Site logo

Comments (4)

KyleMaas avatar KyleMaas commented on May 27, 2024

Okay, so that's coming from here:

output_dir = os.path.join(settings.HLS_DIR, p + produce_friendly_token())

produce_friendly_token() generates a 9-character string by default. So these are apparently temporary directories which would otherwise be deleted by:

shutil.rmtree(output_dir)

So at this point, I'm pretty sure that these extra directories can safely be deleted.

from mediacms.

cphpi avatar cphpi commented on May 27, 2024

great

from mediacms.

foeyonghai avatar foeyonghai commented on May 27, 2024

Hi @KyleMaas, are you able to trace back which video in your instance did cause this? Maybe it has something to do with:

  • extention
  • size
  • resolution
  • etc...

Another thing that I am very curious to is if this maybe could be caused by a failed upload. Sometimes in MediaCMS the upload displays an error like "upload failed" but afterwards seems to succeed in processing the video. The scenario that I am thinking of is that after getting an error the cleanup actions are halted/skipped.

You mentioned that it not always happens, that is something that triggered me.

By the way, I am not one of the developers/contributers of MediaCMS but I am such a big fan that I descided to dive deeper in it, therefore I am trying to help troubleshooting in some issues.

Best regards!

from mediacms.

KyleMaas avatar KyleMaas commented on May 27, 2024

@foeyonghai Unfortunately, I haven't been able to figure out any commonalities between the videos that are exhibiting the problem. Videos which don't leave behind junk are of similar size, extension, resolution, and duration as ones which don't leave behind junk. "Upload failed" is a fairly common occurrence around here, though, although I can't say all of them that show "upload failed" have this happen or all of them that leave behind junk show "upload failed". So I don't really know. But thanks for helping troubleshoot this!

from mediacms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.