Skip to content

[REQ] Display full time of downloaded book #19

@icetbr

Description

@icetbr

It would be nice to check if everything was downloaded. You could extract the duration from the site and show both of them on the terminal.

I use this command for example:

date -d@$(for file in *.mp3; do ffprobe -v error -select_streams a:0 -show_entries stream=duration -of default=noprint_wrappers=1:nokey=1 "$file"; done | paste -sd+ | bc -l) -u +%H:%M:%S

which gives 13:22:41 and the site has 13 hours

I leave here this code also in case anyone want to check manually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions