Skip to content

<Sound object>.duration always returns 0 #97

@Ayuto

Description

@Ayuto

Reference:
http://forums.sourcepython.com/showthread.php?940-Plugins-converts-from-Eventscripts-to-Source-Python&p=6441&viewfull=1#post6441

A possible solution is to add a sound library like mutagen. This would allow us to add more attributes to the Sound class.

Question:
What do we do with sound files packed in VPK files? Actually, this is not just about sound files, but any file within a VPK file. What if we want to call a function that requires a file path? Should we create a temporary file?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions