Coder Social home page Coder Social logo

lobster's People

Contributors

noahfx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

chaps

lobster's Issues

Single track support - Issue when tracks list size is 1

When using only one item in the tracks list file,
an index error is raised as the end_time is calculated with the next item's initial_time
value.

Traceback (most recent call last):
  File "/.../bin/lobster", line 7, in <module>
    exec(compile(f.read(), __file__, 'exec'))
  File "/.../bin/lobster", line 49, in <module>
    generate_album(**kwargs)
  File "/.../bin/lobster", line 27, in generate_album
    create_tracks(media_file_src, output, audio_segments,
  File "/.../lobster/audio.py", line 98, in create_tracks
    splitted_segments = split_audio(source_media, get_workingdir(),
  File "/.../lobster/audio.py", line 57, in split_audio
    s_audio_segments = build_time_range(len(audio_orig), audio_segments)
  File "/.../lobster/audio.py", line 40, in build_time_range
    nxt_stream_init_t = sortedStreamSegments[idx + 1].initial_time
IndexError: list index out of range

parse_tracks_file: validate_line call is missing a required argument "line_number"

The call of "validate_line" inside the parse_tracks_file function , is missing the required "line_number" argument:

Traceback (most recent call last):
  File "/.../bin/lobster", line 7, in <module>
    exec(compile(f.read(), __file__, 'exec'))
  File "/.../bin/lobster", line 49, in <module>
    generate_album(**kwargs)
  File "/.../bin/lobster", line 26, in generate_album
    audio_segments = parse_tracks_file(tracks)
  File "/.../lobster/parser.py", line 19, in parse_tracks_file
    validate_line(_d)
TypeError: validate_line() missing 1 required positional argument: 'line_number'

"youtube_dl" package dependency is missing after installation

When installing (and running lobster -m wizard , a ModuleNotFoundError exception is raised as
a seeming dependency youtube_dl is missing when performing the package installation.

  File "/.../lib/python3.8/site-packages/pafy/pafy.py", line 48, in <module>
    import youtube_dl
ModuleNotFoundError: No module named 'youtube_dl'

During handling of the above exception, another exception occurred:

Support for "endTime" in tracks file

As an "end-user" I want to be able to choose an optional "end Time" for track in the tracks file, so that a track
ends on the specified time if the "end Time" was provided else the current implementation for endtime will can be used.

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.