Commit Graph

167 Commits

Author SHA1 Message Date
marcobaobao 2c30bff45d changed memory_db internals to sync.Map to map+iterators+mutex 2024-09-05 15:32:51 +02:00
marcobaobao d3cf53c609 added livestream endpoints to REST API 2024-09-05 15:23:38 +02:00
Marco Piovanello d779830df6 Update livestream.go 2024-08-26 13:08:51 +02:00
marcobaobao 4375cd3ebc use --no-part for livestreams 2024-08-26 10:24:08 +02:00
marcobaobao b0c7c13e5e code refactoring, removed unused rx package 2024-08-26 10:18:14 +02:00
Marco Piovanello bb4db5d342 Use cookies saved server side (#188)
* retrieve cookies stored server side

fixed netscape cookies validation pipeline

* code refactoring
2024-08-26 10:09:02 +02:00
marcobaobao a4cfc53581 livestream code refactoring 2024-08-24 13:59:13 +02:00
marcobaobao d4feefd639 livestream code refactoring 2024-08-24 13:07:07 +02:00
marcobaobao 434efc79d8 code refactoring, dependencies update 2024-08-23 20:31:47 +02:00
marcobaobao 54771b2d78 resuse the message queue for livestream downloading 2024-08-23 18:52:13 +02:00
marcobaobao fceb36c723 code refactoring: cancellation signal for stdout parsers 2024-08-23 11:54:10 +02:00
marcobaobao 79f1473c6a fixed livestream process not properly killed 2024-08-21 11:16:44 +02:00
marcobaobao 8f2d9eaf6e code refactoring 2024-08-20 20:29:32 +02:00
marcobaobao 8b26bf513f code refactoring 2024-08-20 19:11:54 +02:00
marcobaobao 25210ccc22 code refactoring 2024-08-20 19:04:10 +02:00
marcobaobao 3205711bb1 improved livestream waiting 2024-08-20 18:50:42 +02:00
marcobaobao 92e3fd994e code refactoring / fix typos 2024-08-20 09:42:04 +02:00
Marco Piovanello fd5e62e23b Feat livestream support (#180)
* experimental livestrea support

* test livestream

* update wait time detection

* update livestream functions

* persist and restore livestreams monitor session

* fan-in logging

* deps update

* added live time display

* livestream monitor prototype

* changed to default logger instead of passing *slog.Logger everywhere

* code refactoring, comments
2024-08-19 22:08:09 +02:00
marcobaobao a64798644a code refactoring
fixed bad escape in i18n.yaml
2024-08-19 10:25:25 +02:00
marcobaobao 9b61436a05 openid code refactoring 2024-07-24 09:58:37 +02:00
marcobaobao 31e3cfab24 code refactoring 2024-07-23 19:23:51 +02:00
marcobaobao ed437ec367 oid configuration hotfix 2024-07-23 19:23:13 +02:00
Marco Piovanello 92aabc0086 OpenID authentification (#170)
* openid authentification

* openid middleware

* openId login

* tidied login page

* removed useless email text field
2024-07-23 19:04:05 +02:00
marcobaobao 38a0cedc9c fixed empty url in format selection
Closes #163
2024-07-14 15:52:36 +02:00
marcobaobao c0c2fcb009 fix "default templates are re-added upon restart"
Mentioned in #161
2024-07-08 10:19:44 +02:00
marcobaobao 3edebbdb6c prevent completed download restart 2024-07-02 11:37:06 +02:00
marcobaobao 0daf36719b Fixed process not cleared after download.
Closes  #160
2024-06-21 10:41:49 +02:00
marcobaobao 38683bfe85 code refactoring 2024-06-14 11:14:39 +02:00
marcobaobao 9c09c88d06 way faster playlist entries detection 2024-06-12 10:16:24 +02:00
marcopiovanello 6ffca7d64f sse logger consumer optimizations 2024-06-11 16:18:04 +02:00
marcobaobao 0b0ba4718c Kubernetes fixups according to #157 2024-06-09 11:21:13 +02:00
marcobaobao d614433501 fixed yt-dlp duplicated playlist entries 2024-06-07 16:24:36 +02:00
marcobaobao f4c4d6928b code refactoring 2024-06-07 11:19:17 +02:00
marcobaobao 00ca9156fb sped-up download by spawning 1 less yt-dlp process 2024-06-07 10:55:03 +02:00
marcobaobao 2f0afe27cc removed --no-mtime and -x switches in settings
Custom templates are powerful: --no-mtime has been set as default behavior (template named default), -x is another template named "audio only"
2024-06-07 10:08:32 +02:00
marcobaobao 4013a66b04 stream downloads zip archive 2024-06-03 11:03:16 +02:00
marcobaobao 4cc1ed681a fix ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION
closes #154
2024-06-03 10:52:05 +02:00
marcobaobao 22e80893f3 swagger 2024-05-24 15:53:11 +02:00
marcobaobao f2389a6e6a Fixed nil logger pointer in rest endpoints
Closes #153
2024-05-24 13:59:03 +02:00
marcobaobao 46926eb873 removed utils package 2024-05-20 08:59:39 +02:00
marcobaobao 472db89ea3 load balancer implementation, code refactoring 2024-05-20 08:48:01 +02:00
marcobaobao c10f60d4d4 async metadata provider 2024-05-16 11:05:08 +02:00
marcobaobao da84eb14f3 changed channel based approach to sync/semaphore 2024-05-16 10:39:29 +02:00
marcobaobao f5f0af7e1e fixed potential goroutine deadlock in message queue 2024-05-16 10:10:42 +02:00
marcobaobao 8f10baf09b changed to an "event bus" approach in the message queue, fixed unset download parameters. 2024-05-14 11:21:02 +02:00
marcobaobao 62eadb52a6 use message queue to restore download from session file 2024-05-13 11:15:08 +02:00
marcobaobao 6abfb57598 fixed playlist download not setting metadata 2024-05-13 11:04:16 +02:00
marco.piovanello 00bacf5c41 comments and code refactoring 2024-04-24 11:52:14 +02:00
marco.piovanello 01c327d308 fix nil pointer 2024-04-24 11:10:42 +02:00
marcobaobao 3da81affb3 better error logging 2024-04-22 10:03:16 +02:00