Skip to content

Add time formatting to AudibleAPI#30

Open
kamil-rudnicki wants to merge 1 commit intoGGyll:mainfrom
kamil-rudnicki:bookmarks-with-time
Open

Add time formatting to AudibleAPI#30
kamil-rudnicki wants to merge 1 commit intoGGyll:mainfrom
kamil-rudnicki:bookmarks-with-time

Conversation

@kamil-rudnicki
Copy link
Copy Markdown
Contributor

  • Introduced a new method _format_time to convert seconds into HH:MM:SS format.
  • Enhanced get_bookmarks to return an empty list instead of None for books without titles.
  • Improved bookmark printing in cmd_convert_audiobook to include book titles and detailed bookmark information.
  • Updated filename generation for audio clips to include position in seconds.
  • Enhanced highlight extraction to include position seconds and formatted time in transcriptions.

- Introduced a new method `_format_time` to convert seconds into HH:MM:SS format.
- Enhanced `get_bookmarks` to return an empty list instead of None for books without titles.
- Improved bookmark printing in `cmd_convert_audiobook` to include book titles and detailed bookmark information.
- Updated filename generation for audio clips to include position in seconds.
- Enhanced highlight extraction to include position seconds and formatted time in transcriptions.
Copy link
Copy Markdown
Owner

@GGyll GGyll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like a lot of added logic just for time formatting? What else is going on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants