Git Product home page Git Product logo

iso9660's People

Contributors

barneygale avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

iso9660's Issues

Library does not specify a license

Hi,

I was wondering about what license this neat little library is available under? Is the intention to release it into the public domain, or do you have a specific license in mind?

Best regards,
Søren Løvborg

Assertion fails on Blu-Ray discs

Traceback (most recent call last):
File "iso9660.py", line 286, in
cd = ISO9660(iso_path)
File "iso9660.py", line 34, in init
self._unpack_pvd()
File "iso9660.py", line 169, in _unpack_pvd
self._pvd['volume_space_size'] = self._unpack_both('i')
File "iso9660.py", line 257, in _unpack_both
assert a == b
AssertionError

License

Hi, I would like to use this module, under what license it was released?

Doesn't find all files/folders in iso file.

I first want to say that your ISO9660 class is pretty nice and minimalist. I like a lot how it works and how it is used. However I have encountered an issue that stops me from using it and I can't figure out the cause of the problem myself: it seems that it doesn't finds all the files in the file-system.

Example:


a = ISO9660('path/to/file.iso')
for i in a.tree(): print i


This code snippet doesn't print all the files on disc. Tested with two different iso files from tier source as well as one created via "mkisofs -V TEST -l -o test2.iso data_folder". The found files have the correct 'ex_len' and 'ex_loc' but a lot of the files are missing.

A fix or a pointer to the issue would be welcome.

Thank you very much!

FG

[EDIT]
It seems it only "sees" the files that are listed in the first sector of each directory record (including for root). It may have something to do with the fact that there might be padding to avoid a file record to extend over two sectors.

[EDIT 2]
This quick dirty fix allows to list all files using the code snipet posted higher: http://pastebin.com/vQ24aqjX
But getting files via "a.get_file('/SUBFOLDER/FILE.EXT') then fails. It works for '/FILE' though,

extract feature and usage example.

There is no usage example to extract iso content and no example to use it as module/ library. It would be awesome if you support this feature. This can br some thing like this "python iso9660.py [path] [extract_dir_path]".
Thanks in advance

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.