Commit graph

70 commits

Author SHA1 Message Date
Niko Storni
ae1ffb60c5 add ip throttling and better pooling
fix nil pointer dereference
2019-07-12 20:42:44 +02:00
Niko Storni
fa24d83ae9 add max length filter 2019-07-12 02:39:24 +02:00
Niko Storni
bab01a6354 prefer IPv4 over IPv6
youtube sucks and they ban /64 subnet blocks on IPv6
2019-07-12 01:54:34 +02:00
Niko Storni
89fe1e99d6 improve ipv6 validation
fix audio merge issue
2019-07-12 01:28:00 +02:00
Niko Storni
ec81af0857 fix download filters 2019-07-12 01:04:45 +02:00
Niko Storni
51cb7f5e34 improve youtube antithrottle
fix logging
2019-07-11 19:14:15 +02:00
Niko Storni
8ad2acc936 remove original downloader
add locking to IP selection to avoid concurrent access
2019-07-11 17:32:46 +02:00
Niko Storni
b8caf3f82b add IPv6 source pooling to bypass youtube throttling 2019-07-11 16:22:58 +02:00
Niko Storni
b5c9806dd0 improve space management 2019-06-24 20:43:50 -04:00
Niko Storni
6668840b11 fix description not containing youtube link
add workaround to SDK bug not spending the right UTXOs
fix bug in assignments
2019-06-13 19:33:58 +02:00
Niko Storni
dce71d2451 add adjustments to video tracking
reduce minimum refill amount (min account balance supersedes)
revert account_fund change as --everything isn't supported with outputs
fix bugs
2019-06-12 04:44:56 +02:00
Niko Storni
f4e75cf221 rewrite account funding algorithm
lock publishing when UTXOs management is in progress
spend everything when funding UTXOs
update lbry.go
2019-06-12 03:17:59 +02:00
Niko Storni
f7f0231c80 add VideoUpgradeFailed staus 2019-06-10 21:59:42 +02:00
Niko Storni
10ad46f464 various bug fixes 2019-06-06 23:25:31 +02:00
Niko Storni
76e653fb9b add Fee support
lowercase all tags
refactor code
implement and test regexps for tags
2019-06-06 02:16:07 +02:00
Niko Storni
cfe8ff0879
add flag to remove unpublished videos
refactor code
add workaround for SDK bug
add code to remove unpublished videos
fix alt downloader to only produce mp4
add missing height and width
add tags sorting
add a few channel wide tags
2019-06-04 22:21:44 +02:00
Niko Storni
3389a8be93 fix many bugs
calculate size for claims missing in the database
fix reprocessing for videos no longer on youtube
pass metadata instead of hardcoding it
add video height when updating streams
add tags to channels
add test for tags
2019-06-01 01:46:16 +02:00
Niko Storni
913c31a9f7 add channelID to video property
work around missing data for mocked videos
normalize tags
sort tags
2019-05-31 23:15:22 +02:00
Niko Storni
b184f033ab merge conflicts 2019-05-31 18:02:55 +02:00
Niko Storni
6767fdcc40 reprocess videos that are no longer on youtube (part 1) 2019-05-31 10:38:31 -04:00
Niko Storni
7df4137445 fix issues with metadata 2019-05-29 23:07:26 +02:00
Niko Storni
74d5e2606d fix cover URL
fix fallback download
fix thumbnail permissions
2019-05-28 22:40:31 +02:00
Niko Storni
b8d2b9335b implement fallback downloader
fix bugs
update lbry.go
add tags manager/mapper
2019-05-28 19:28:35 +02:00
Niko Storni
aecfc67f84 bug fixes
first working version of re-processing
add metadata version to api updates
2019-05-08 23:12:13 +02:00
Niko Storni
1f7017f3d0 videos never published should not be processed instead published 2019-05-07 22:07:44 +02:00
Niko Storni
75364805a5 more refactoring 2019-05-07 21:15:43 +02:00
Niko Storni
07f66a089f update dependency and fix bugs 2019-05-07 18:28:25 +02:00
Niko Storni
36abd1e471 remove lambda dependency
fix error checking
2019-05-07 10:01:11 -04:00
Niko Storni
502bfa924b change minimum refill amount
remove more berkeley code
add address reuse code
remove strPtr function in favor of utils
refactor code
2019-05-06 21:56:56 +02:00
Niko Storni
23b8fb4e54 add support for new SDK
add support for direct thumbnails upload
remove UCB code
add support for republishing
refactoring
2019-05-03 05:11:52 +02:00
Niko Storni
01590306a1 Add support for SDK 0.35
Implement thumbnails uploader
Fetch more data from youtube for additional metadata
2019-04-18 21:22:51 -04:00
Niko Storni
91fe8ba459 use go mod
update lbry.go deps
rename LBRY_API env var as the SDK is now using it too
fix startup routine
replace ytdl library
add hardcoded support for khan academy
2019-02-22 19:33:00 +01:00
Niko Storni
1a3a587514 hotfixes for imported channels
convert to go mod
bug fixes
2019-02-15 14:11:38 +01:00
Niko Storni
5e125fa641 upgrade ytsync to latest SDK 2019-01-30 13:42:23 +01:00
Mark Beamer Jr
4789f894b8 upgraded to latest lbry.go reorg 2019-01-16 12:51:15 +01:00
Niko Storni
9e102a3298 patch youtube API lies 2019-01-11 20:15:17 +01:00
Niko Storni
94c9e91bc7 add configurable size and length limits
swap safety logic
fix bugs
add hardcoded exceptions
remove unused code
2019-01-03 19:55:27 +01:00
Niko Storni
a7b2bc816d
fix update not picking up fresh accounts
fix huge videos clogging up the queue
2018-10-11 17:21:11 -04:00
Niko Storni
ea06ed54a6
fix nil pointer dereference 2018-10-09 15:57:10 -04:00
Alex Grintsvayg
bdcc1c62d3 missing files and fixes after splitting from lbry.go 2018-10-08 16:20:10 -04:00
Niko Storni
5a7d59a499 remove unused deps
remove unused code
handle edge case causing a publish error
address a few previous review notes
2018-10-02 20:53:54 -04:00
Niko Storni
58fef45a5f pair programming follow up 2018-10-02 20:53:54 -04:00
Alex Grintsvayg
5ec5412191 grin/niko coworking changes 2018-10-02 20:53:53 -04:00
Niko Storni
10f9cc1ba0 completely remove redis db dependency
improve download process
2018-09-26 16:27:32 -04:00
Niko Storni
3493a42216 update youtube download lib
drop sync server dependency
2018-09-26 16:27:25 -04:00
Niko Storni
a486ab6080 address memory leak 2018-09-05 13:54:36 -04:00
Niko Storni
2588e6dc6b switch to MP4 over webm 2018-09-05 13:44:25 -04:00
Niko Storni
06e9dd9a98 detect name collisions based on api data
improve mutex usage
remove unnecessary line breaks
2018-09-05 13:44:24 -04:00
Niko Storni
83b0e40ec5 user pointers!
bug fixes
now it works...
2018-09-05 13:44:24 -04:00
Niko Storni
6b4a1b13b4 add size support 2018-09-05 13:44:24 -04:00