Commit Graph

18 Commits

Author SHA1 Message Date
f22fe297c5 Packaging with flit 2022-12-08 22:39:46 +01:00
Etienne Zind
5125f1d6ba reflect readme terminology in code 2022-12-08 01:20:23 +01:00
Etienne Zind
7dba75faf3 Added .vscode to gitignore 2022-12-08 01:19:19 +01:00
Etienne Zind
fa2e57b121 Readme corrections 2022-12-07 22:16:32 +01:00
Etienne Zind
6057014598 Update readme and doc. 2022-12-07 22:04:29 +01:00
Etienne Zind
c0feaa820a * refactoring using classmethods
* video resolution selection
* use video/audio URLs directly in FFMPEG command
  (no temporary m3u8 file anymore)
* embed subtitle in final video file
* moved to MKV container to enable auto-on subtitle
2022-12-06 21:05:34 +01:00
Etienne Zind
af465ad79e 1) Parse and locally temp/rewrite the main m3u8 file to enable future selection
of resultion. Picks the bigger one for now.
2) Revrite subtitles selection to limit to selected resolution.
2022-12-06 13:19:57 +01:00
Etienne Zind
2b9d8773bd factor out the actual stream download 2022-12-06 11:14:47 +01:00
Etienne Zind
6401c25205 convert variable in main() to lowercase 2022-12-06 09:18:48 +01:00
Etienne Zind
d908e4f15b - refactor API calls
- define namedtuple for "config" API
2022-12-06 09:15:15 +01:00
e7668fafe1 🏗 Wrap CLI code in main()
Idiomatic `__main__` usage to ease (future) tests and code structure
see: https://docs.python.org/3/library/__main__.html#idiomatic-usage
2022-12-06 01:38:47 +01:00
e98417e4e9 💥 Convert line endings to LF (unix) 2022-12-06 01:38:47 +01:00
e3791e847e 🔨 Apply pydocstyle to project 2022-12-06 01:38:47 +01:00
e221555e94 🔨 Apply black formatting to project 2022-12-06 01:38:47 +01:00
f9a3adf9ae 📝 Document usage 2022-12-06 01:38:47 +01:00
f74be11f76 📄 Change from WTFPL to AGPL 2022-12-05 23:56:10 +01:00
68e76085d9 ⚗ WIP: POC to retrieve locally video streams 2022-12-05 22:36:14 +01:00
7b3be4d42c Initial commit 2022-12-05 21:20:04 +00:00