noahfx / lobster Goto Github PK
View Code? Open in Web Editor NEWSplit audio files into tracks with a single command
License: MIT License
Split audio files into tracks with a single command
License: MIT License
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
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'
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:
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.