Skip to content

Commit

Permalink
Removed install_programs.sh from Dockerfile and TMP prints.
Browse files Browse the repository at this point in the history
  • Loading branch information
marq4 committed Jun 28, 2024
1 parent 2692971 commit 186cc2b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ FROM ubuntu:latest
RUN mkdir -p /root/RandomVideos/share/
WORKDIR /root/RandomVideos/

ADD install_programs.sh .
ADD Instructions.txt .
ADD random_clip_generator.py .
ADD sanitize_video_titles.py .

RUN chmod +x install_programs.sh
2 changes: 0 additions & 2 deletions random_clip_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ def generate_random_video_clips_playlist(video_list: list) -> ET.Element:

for iteration in range(NUMBER_OF_CLIPS):
video_file = select_video_at_random(video_list)
print(f"{video_file = }")#TMP
duration = get_video_duration(iteration, video_file)

begin_at = choose_starting_point(duration)
Expand Down Expand Up @@ -139,7 +138,6 @@ def main():
verify_intervals_valid()
files = list_files_subfolder()
files = remove_playlist_if_found(files)
print(f"{files = }")#TMP
top_element = generate_random_video_clips_playlist(files)
create_xml_file(top_element)
print(f"VLC playlist generated: {XML_PLAYLIST_FILE}")
Expand Down

0 comments on commit 186cc2b

Please sign in to comment.