Git Product home page Git Product logo

Comments (5)

JamesHeinrich avatar JamesHeinrich commented on August 23, 2024

Not a getID3 issue.

getID3 does not support remote files, whether over http:// or gs:// or your other favourite protocol. You'll have to manage your own wrapper functions to interact with the remote filesystem and let getID3 deal only with local files.

from getid3.

ekzobrain avatar ekzobrain commented on August 23, 2024

Yes, it is remote file, but due to PHP-builtin support it can be accessed with standard functions like fopen, fseek, fread, etc. So it is supported. We just need to fix a single function which validates path. It will be done in v 2.0

from getid3.

ekzobrain avatar ekzobrain commented on August 23, 2024

@iqbalansari , If you want to use v 1.9 - you'll have to modify souce code yourself.

from getid3.

maknapp avatar maknapp commented on August 23, 2024

I was just trying to get this to work a few weeks ago with a file wrapper and there are more things to change than just the path validation. Several functions (like is_file()) are used in getID3 that do not work with file wrappers.

from getid3.

iqbalansari avatar iqbalansari commented on August 23, 2024

@maknapp As far as Google Cloud Storage is concerned is_file is supported. I needed to set option_max_2gb_check to false, to prevent getID3 from trying to get file size using shell commands like ls (which are not supported on GAE), in this case I am absolutely sure the files I am processing would be far smaller than 2GB.

Except for the issue mentioned in OP I have been able to use getID3 on GAE without any issues. I hack around mentioned issue right now by passing gs:/// to getID3 instead of just gs://, of course this is just a hack, it would be great if this can be fixed in getID3 itself

@soulhunter1987 I do not mind switching to v2.0, I preferred v1.9 because there is no stable release for v2.0 on packagist. Thanks for looking into this.

from getid3.

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.